01-04-2014, 11:31 AM
|
#16
|
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313
|
Quote:
Originally Posted by unforgivenhero
I edited the interfaces file as root by adding the two lines:
iface eth0 inet dhcp
auto eth0
I then saved, rebooted and tried pinging google.com but I got unknown host.
I've also tried adding allow-hotplug eth0 to the above but nothing happened again.
Finally, I tried running the command: ifdown eth0 && ifup eth0, then ping google.com, but still unknown host.
Any ideas?
Edit:
I should add running the command: ifdown eth0 && ifup eth0, I get eth0 not recognized.
|
Code:
cat /etc/resolv.conf
|
|
|