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 04-30-2002, 01:08 AM   #1
kgunnar
LQ Newbie
 
Registered: Apr 2002
Location: Bethesda, MD
Posts: 5

Rep: Reputation: 0
Question Unable to get TCP/IP connection


OK, just installed Redhat 7.2 and am unable to get a TCP/IP connection. On boot, I am getting the "Determining IP information from eth0 failed" error.

FYI, I am using a Netgear FA311 network card and am using a Linksys DSL router which I am unable to ping. I am currently using DHCP connections from this router with multiple windows PCs with no problem.

Any suggestions as to how to get my system configured correctly in order to get this problem resolved? It's probably something basic, but I wouldn't know where to start. Thanks in advance for the help!!

-karl-
 
Old 04-30-2002, 12:36 PM   #2
pbharris
Member
 
Registered: Apr 2001
Location: chicago, IL
Distribution: debian, redhat
Posts: 280

Rep: Reputation: 30
hello,
that seems like a common configuration. okay the router assigns a IP with DHCP - right? i would open netconfig and see what is in there for card 0, if nothing try picking out a module to use, i think that card takes a tulip module. then have it restart stuff, there are other options which i hope a pretty clear. if not please let us know.
 
Old 04-30-2002, 04:33 PM   #3
kgunnar
LQ Newbie
 
Registered: Apr 2002
Location: Bethesda, MD
Posts: 5

Original Poster
Rep: Reputation: 0
Yeah, the router is assigning IPS via DHCP. Forgive my ignorance, but how do I go about assigning a module? Unless I'm mistaken, I'm currently using a natsemi module, but I can't seem to change that in the settings. Thanks for the assist.

 
Old 04-30-2002, 06:00 PM   #4
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
You're fine with the Natsemi module; the FA-311 uses the natsemi.o, where the older FA-310TX uses the tulip.o module.

-Which DHCP client are you running, dhcpcd or pump? See if either daemon is running:
ps -ax |grep dhcp
ps -ax |grep pump

-In /etc/sysconfig/network, make sure the line "NETWORKING=" value is set to "yes".
-Make sure that /etc/sysconfig/network-scripts/ifcfg-eth0 contains the following entries:
ONBOOT=yes
and
BOOTPROTO=dhcp

The network card itself might have problems. If so, here are a few suggestions:

1. Turn off Plug-N-Play support in your BIOS; it can cause resource conflicts with some cards under Linux.
2. Type "lspci" (no quotes) and see if the FA-311 is identified in the resulting list.
3.Type "cat /proc/interrupts" to see if the card has been assigned a conflicting IRQ.
4. Type "cat /proc/ioports" and check for address conflicts.
5. Type "lsmod"; the natsemi module should appear in the resulting list.
6. Type "dmesg |less" to review your startup messages. Look for any errors/messages related to the NIC.
 
Old 04-30-2002, 06:28 PM   #5
kgunnar
LQ Newbie
 
Registered: Apr 2002
Location: Bethesda, MD
Posts: 5

Original Poster
Rep: Reputation: 0
Looks like its running the grep dhcp

/etc/sysconfig/network settings are correct and the

/etc/sysconfig/network-scripts/ifcfg-eth0 does have those entries


For second part:

1. Ok, will try that.
2. No, I don't see FA-311 anywhere
3. I don't see any conflicts from here
4. Ditto
5. Yes, the module is there.
6. I don't see any errors on the startup messages...

I don't know what else to do, this is driving me nuts!!!

Thanks again for the help.
 
Old 04-30-2002, 06:59 PM   #6
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Quote:
Looks like its running the grep dhcp
Good, that indicates that the dhcpcd client daemon is running. *note- the "grep dhcp" part of that command string I posted was just using the grep command to look for the text pattern "dhcp" in the output of the ps -ax command.
Quote:
For second part:

1. Ok, will try that.
Yes, do- it's often the first thing suggested when troubleshooting network card problems

Quote:
2. No, I don't see FA-311 anywhere
Any reference to "Natsemi" or "National Semiconductor" (the manufacturer of the 311's chipset)? Look for a line with "Ethernet Controller" near the beginning.

Quote:
3. I don't see any conflicts from here
4. Ditto
As above, any reference to National Semi?

Quote:
5. Yes, the module is there.
Good. Does the following entry exist in /etc/modules.conf:
alias eth0 natsemi

If not, add it.
 
Old 04-30-2002, 07:56 PM   #7
kgunnar
LQ Newbie
 
Registered: Apr 2002
Location: Bethesda, MD
Posts: 5

Original Poster
Rep: Reputation: 0
ok, when doing cat /proc ioports, there is the Ethernet Controller IS listed, but I don't see anything when doing cat /proc/interrupts.

It is listed when I type lspci

alias eth0 natsemi IS included in modules.conf....

-karl-
 
Old 04-30-2002, 08:38 PM   #8
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Toggle the BIOS Plug-N-Play option.
 
Old 05-01-2002, 12:02 AM   #9
kgunnar
LQ Newbie
 
Registered: Apr 2002
Location: Bethesda, MD
Posts: 5

Original Poster
Rep: Reputation: 0
No dice, even with the PnP disabled....

 
Old 05-01-2002, 04:24 AM   #10
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Fsck!

kgunnar,

My usage of DHCP is limited to Macs and PCs (as I run my Linux LAN on static addresses), so I'm out of suggetions for now. Hopefuly I can get into "Brilliant Idea" mode tomorrow after a little sleep and a full re-reading of this thread...
 
  


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
hijacking tcp connection atul_mehrotra Linux - Networking 4 04-30-2005 12:50 AM
To establish TCP/IP connection over UART vinaybms Linux - Networking 1 03-07-2005 10:41 AM
Postgress TCP/IP connection at Startup dhruiz Linux - Newbie 5 10-29-2004 09:09 AM
Reducing TCP/IP connection timeouts P_Shep Programming 6 09-27-2004 09:47 AM
Bridging subnet over tcp-connection ? lhm Linux - Networking 0 06-30-2001 04:38 PM


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