LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-04-2014, 11:31 AM   #16
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918

Quote:
Originally Posted by unforgivenhero View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get GUI without internet? anniew555 Debian 15 08-21-2007 09:12 AM
cannot open any gui apps while in Internet! deepclutch Debian 4 08-18-2005 03:36 AM
Internet pre-GUI on Gentoo melkonianarg Linux - Networking 1 08-02-2005 10:45 AM
internet dialers with GUI except of kppp? xak Linux - Software 1 08-28-2003 11:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration