Tuesday, December 4, 2018

Connected to ethernet but no internet or outgoing connections

I am connected to Ethernet "wired connection 1"; I can see that in the network manager (the up and down arrows).



But when I open up Firefox or anything else that requires internet connection I get told the same thing; no internet connection.



$ ifconfig
enp3s0 Link encap:Ethernet HWaddr 94:de:80:c7:fd:2b
inet6 addr: fe80::f527:1269:a6f5:57e5/64 Scope:Link
inet6 addr: 2001:878:3ac:163:8a7:7349:6e60:d84/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0

TX packets:3 errors:0 dropped:47 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:848 (848.0 B) TX bytes:288 (288.0 B)

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:2292 errors:0 dropped:0 overruns:0 frame:0
TX packets:2292 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1
RX bytes:171576 (171.5 KB) TX bytes:171576 (171.5 KB)


I should note that no other devices have trouble connecting to the router nor does Windows 7 when I dual boot to that.



When I do ping google.com I get:



ping: unknown host google.com



when I do cat /etc/network/interfaces I get:



# interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback auto eth iface eth0 inet dhcp


Ubuntu version 16.04.



If you need more information, please do tell me.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...