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 03-11-2008, 06:47 PM   #1
phaedo5
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 192.168.1.101 (255.255.255.0) and then setting the gateway to the router 192.168.1.1.

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: 192.168.1.101
Bcast: 192.168.1.255

netstat -nr shows:
Destination Gateway GenMask
192.168.1.0 0.0.0.0 255.255.255.0
169.254.0.0 0.0.0.0 255.255.0.0
0.0.0.0 192.168.1.1 0.0.0.0

Ping of router returns: Destination Host Unreachable
 
Old 03-11-2008, 06:55 PM   #2
pentode
Member
 
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, 07:52 PM   #3
davimint
Member
 
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 127.0.0.1. 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 08:03 PM.
 
  


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


All times are GMT -5. The time now is 05:46 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