i cannot connect my computer to internet whenever i switch to linux environment. My cpu got 2 operating system. When i switch to Windows i can connects to internet but when i switch to linux, it can't. I already try to configure the setting on my own and post some question on forums but still, it's fail. Anyone can help me?
installing a newer version of ubuntu will solve the nic detection problem
after that set the ip address, Subnet mask, default gateway, and the dns server ips
it will solve u r problem
for setting the above ip address do these steps through the terminal
To configure your system to use a static IP address assignment, add the static method to the inet address family statement for the appropriate interface in the file
/etc/network/interfaces. The example below assumes you are configuring your first Ethernet interface identified as eth0. Change the address, netmask, and gateway values to meet the requirements of your network.
in terminal
sudo gedit /etc/network/interfaces
inseart
auto eth0
iface eth0 inet static
address 10.0.0.100
netmask 255.255.255.0
gateway 10.0.0.1
then save the file and close
By adding an interface configuration as shown above, you can manually enable the interface through the
ifup command.
ie,
sudo ifup eth0
DNS Client Configuration
To configure your system to use DNS for name resolution, add the IP addresses of the DNS servers that are appropriate for your network in the file
/etc/resolv.conf
Below is an example of a typical configuration of
/etc/resolv.conf for a server on the domain "example.com" and using two public DNS servers.
in terminal
sudo gedit /etc/resolv.conf
search example.com
nameserver 8.8.8.8
nameserver 8.8.4.4
it is enough