I am facing weird issue with my ethernet connection. Its showing connected but when I hit something in the browser it won't though its connecting via wifi to other networks but not with the wired cable though its showing the symbol up and down for the connection establishment but still the Internet not working. Let me know the other areas where I need to dig in.
FYI– I tested the same wire on windows with same configuration and Internet is working. I replaced some numbers from inet address with X
here.
Following are my inspection results –
Command – ifconfig -a
eth0 Link encap:Ethernet HWaddr e0:db:55:b0:90:91
inet addr:192.168.X.X Bcast:192.168.X.XXX Mask:255.255.255.0
inet6 addr: fe80::e2db:55ff:feb0:9091/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46 errors:0 dropped:0 overruns:0 frame:0
TX packets:406 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4376 (4.3 KB) TX bytes:44764 (44.7 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:3458 errors:0 dropped:0 overruns:0 frame:0
TX packets:3458 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:252271 (252.2 KB) TX bytes:252271 (252.2 KB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:100.66.241.233 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:6454 errors:0 dropped:0 overruns:0 frame:0
TX packets:5424 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:5439485 (5.4 MB) TX bytes:502462 (502.4 KB)
wlan0 Link encap:Ethernet HWaddr f8:2f:a8:c0:8b:6d
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:19
Command– dmesg | grep eth0
Command – sudo dhclient -r
& sudo dhclient eth0
I also restarted my network manager as suggested HERE
Best Answer
If you have networking and can ping by IP address or hosts listed in your /etc/hosts file, but can't browse to websites, it sounds like improper DNS resolution. Some quick tests:
If you don't have a name server listed, there are several ways to add it. See below or just search this wiki for "dns-nameservers". If you do have a nameserver listed, you can test it.
Two quick ways to add a DNS server if using NetworkManager and/or DHCP:
Restart the NetworkManager (with fingers crossed)
$ sudo restart network-manager
Edit
/etc/dhcp/dhclient.conf
and add aprepend
line -- there's a sample line for you to uncomment and edit. Then restart NetworkManager.#prepend domain-name-servers 127.0.0.1; prepend domain-name-servers 8.8.8.8 8.8.8.9;