I'm very new to Ubuntu, all of a sudden my internet is not working in my Ubuntu machine.
But fortunately the internet is working in my Windows machine. The ethernet cable is not even gets detected in my Ubuntu machine.
As a new user to Ubuntu, this is really frustrating. Are there any ways to use internet in Ubuntu?
Edit:
Doing ifconfig eth0
:
eth0 Link encap:Ethernet HWaddr 6c:f0:49:c4:7f:2d
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:42
Doing lspci
, gives me :
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 01)
00:1d.0 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA Controller [IDE mode] (rev 01)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
In my windows machine I have the config like this:
I'm new to Ubuntu, I need some help in setting up my internet connection!! Thanks in advance.
Yep... you need a driver. The best plan is to get the driver on your windows machine, then boot to linux and compile it. You can follow the steps found in this guide at the Ubuntu Forums:
cd
to the top directory in the expanded directory.sudo make clean modules
sudo make install
r8168.ko
exists in the directory/lib/modules/3.2.0-24-generic/kernel/drivers/net/ethernet/realtek/
./etc/initramfs-tools/modules
and add a line with "r8168" in it.sudo depmod -a
sudo update-initramfs -v -u -k
uname -r
Ok it seems that your network card is recognized, so it should be a problem with your network. Try those steps:
Check if you have internet now (without closing the terminal window). If it works you should create a new Wired connection in Network Manager(with Method as "Authomatic (DHCP)").
If you still dont have internet you should inspect your Windows network configuration. Probably you have a fixed IP address that you can gather from there, and supply it to Network Manager.
Edit
Looking at your configuration it seems your network is configured using DHCP. So, go to Network Manager, delete any Wired network you could have there, and create a new one.
Then select DHCP in IPv4 tab:
After that try to connect manually through the newly created connection. If it still don't work try to select "Automatic (DHCP) addresses only" (step 3) and add the information "DNS servers" you got in the Windows screenshot.
This is as a bug in Ubuntu 12.0.4 (bug: #145382 | broken 70-persistent-net.rules)
The fix is:
nano /etc/udev/rules.d/70-persistent-net.rules
NAME='eth0'
/etc/network/interfaces
is correct