LinuxQuestions.org
Review your favorite Linux distribution.
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, 12:31 PM   #16
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:12 AM
cannot open any gui apps while in Internet! deepclutch Debian 4 08-18-2005 04:36 AM
Internet pre-GUI on Gentoo melkonianarg Linux - Networking 1 08-02-2005 11:45 AM
internet dialers with GUI except of kppp? xak Linux - Software 1 08-29-2003 12:42 AM


All times are GMT -5. The time now is 04:34 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration