Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-11-2008, 07:47 PM   #1
LQ Newbie
Registered: Feb 2007
Posts: 4

Rep: Reputation: 0
Network Newbie

I'm fairly new to linux but I'm trying to get a CentOS machine running. I have it installed, but I can't connect to the internet. No network.

I have a cable modem running through a linksys router. I've tried setting the Linux box up as a DHCP client - it fails. It doesn't find anything. I've tried setting it up with a static ip like ( and then setting the gateway to the router

I'm really lost. I don't know where to begin on how to troubleshoot this. Here is some extra info. If anyone can point me in the right direction, thank you.

ifconfig shows:
inet addr:

netstat -nr shows:
Destination Gateway GenMask

Ping of router returns: Destination Host Unreachable
Old 03-11-2008, 07:55 PM   #2
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
This is a wired Ethernet connection between the computer and the router?? I'd go back to using DHCP client on the computer unless you need a fixed IP address.

lsmod and lspci (as root) will help you determine the NIC card being detected and the module that is being loaded.

First step is to figure out what's going on with the Ethernet NIC.

If this is a wireless connection, it's normal to have initial problems, but a wired connection generally goes pretty smoothly.
Old 03-11-2008, 08:52 PM   #3
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Rep: Reputation: 33
Is that the complete "netstat -nr" info ?
I'm still learning but I don't see entry for "lo" the loopback interface which is normally You may check the /etc/hosts file or simply run the scrip that configures the network again. Sorry, I can't remember how that is done in CentOS.

EDIT: Sorry, read your post again.
I never seen a install setup up with
that loopback after reading your post correctly.
I would still look at /etc/hosts and make sure
that it picked up the info correctly.

Last edited by davimint; 03-11-2008 at 09:03 PM.


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
Newbie network maxsanders Linux - Newbie 1 04-07-2007 11:46 PM
A Newbie Trying to network eaterofsmoke Mandriva 8 01-28-2005 06:55 PM
Network help for a newbie! loserpunk603 Linux - Networking 4 08-09-2004 01:00 PM
Newbie needs help with network please. Maranello Linux - Networking 6 08-09-2003 06:32 AM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 10:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:48 AM.

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