Configuring Linux?
Moderator: Wiz Feinberg
- b0b
- Posts: 29084
- Joined: 4 Aug 1998 11:00 pm
- Location: Cloverdale, CA, USA
- Contact:
Configuring Linux?
I have here a new Dell PowerEdge server with red Hat Linux 6.2, a newly installed SDSL line and router from Covad, and my trusty old Windows box with a modem. I ran a wire from the router to the Dell.
The router has an IP address ending in 187. I can ping it fine from the Windows box through the modem and my Sonic.net dialup account. The Covad guy plugged his laptop into it when he installed it and showed me streaming video from the Web. So I know that the router and the SDSL line are working.
I connected the Dell box to the router and tried to ping it. Now this is wierd - 98% of the packets don't come back, but I can see the lights dancing on the router and now and then a packet comes back. I swapped ethernet wires, but no change.
I think that maybe the NIC isn't configured correctly in Linux. I can't find any way to do this. Any suggestions?
------------------
<img align=left src="http://b0b.com/Averybob.gif" width=64 height=81><small>
</small> -b0b- <small> quasar@b0b.com </small>
-System Administrator
The router has an IP address ending in 187. I can ping it fine from the Windows box through the modem and my Sonic.net dialup account. The Covad guy plugged his laptop into it when he installed it and showed me streaming video from the Web. So I know that the router and the SDSL line are working.
I connected the Dell box to the router and tried to ping it. Now this is wierd - 98% of the packets don't come back, but I can see the lights dancing on the router and now and then a packet comes back. I swapped ethernet wires, but no change.
I think that maybe the NIC isn't configured correctly in Linux. I can't find any way to do this. Any suggestions?
------------------
<img align=left src="http://b0b.com/Averybob.gif" width=64 height=81><small>
</small> -b0b- <small> quasar@b0b.com </small>
-System Administrator
- Bill Llewellyn
- Posts: 1921
- Joined: 6 Jul 1999 12:01 am
- Location: San Jose, CA
- Contact:
Bob,
That sounds like a question for comp.os.linux.networking or a related newsgroup. I know that all I can give you personally is a blank stare (but then, that's normal for me).
------------------
<font size=-1>Bill (steel player impersonator) | MSA Classic U12 | Email | My online music | Forum birthdays</font>
That sounds like a question for comp.os.linux.networking or a related newsgroup. I know that all I can give you personally is a blank stare (but then, that's normal for me).
------------------
<font size=-1>Bill (steel player impersonator) | MSA Classic U12 | Email | My online music | Forum birthdays</font>
- George Rozak
- Posts: 591
- Joined: 26 Feb 2000 1:01 am
- Location: Braidwood, Illinois USA
b0b,
I use Slackware, so I'm not sure if this applies to Red Hat or not. In Slackware the NIC can be configured by loading the appropriate module (Linux name for device driver) in the file /etc/rc.d/rc.modules. It's a text file, and if it exists on your box, you may want to read through it for hints on loading the proper module, IRQ, I/
O address, etc. for your particular NIC.
Keep in mind that, instead of loading modules, Linux also supports precompiled kernels for specific hardware devices such as NICs. If this is the case with your box, Dell may have already compiled the installed kernel for your specific NIC. You might want to check with their tech support people about this to find out for sure.
In general though (but not always), I've found that intermittent problems are usually hardware related. The next thing that I'd probably try is reseating the NIC in its expansion slot given that you are seeing some returned packets. If that doesn't work, I'd try replacing the NIC with an exact duplicate if possible.
Hope this helps, & Good Luck.
George
I use Slackware, so I'm not sure if this applies to Red Hat or not. In Slackware the NIC can be configured by loading the appropriate module (Linux name for device driver) in the file /etc/rc.d/rc.modules. It's a text file, and if it exists on your box, you may want to read through it for hints on loading the proper module, IRQ, I/
O address, etc. for your particular NIC.
Keep in mind that, instead of loading modules, Linux also supports precompiled kernels for specific hardware devices such as NICs. If this is the case with your box, Dell may have already compiled the installed kernel for your specific NIC. You might want to check with their tech support people about this to find out for sure.
In general though (but not always), I've found that intermittent problems are usually hardware related. The next thing that I'd probably try is reseating the NIC in its expansion slot given that you are seeing some returned packets. If that doesn't work, I'd try replacing the NIC with an exact duplicate if possible.
Hope this helps, & Good Luck.
George
- Bobby Lee
- Site Admin
- Posts: 14863
- Joined: 4 Aug 1998 11:00 pm
- Location: Cloverdale, California, USA
- Contact:
- George Rozak
- Posts: 591
- Joined: 26 Feb 2000 1:01 am
- Location: Braidwood, Illinois USA
One other thing I just thought of b0b. You can use the dmesg command from the Linux command prompt to display all of the initial boot messages that appeared when the system was last booted. You'll probably have to pipe it to more or less (i.e., dmesg | more) as there's usually several screens of messages that scroll by. Anyway, if the NIC wasn't loaded properly on bootup, you'll probably see some sort of error message that will give you a clue as to what the problem might be. There's a lot of info there, so you'll probably have to search line by line for the NIC card info. Anyway, those initial boot messages have helped me resolve some problems in the past.
George
George
-
- Posts: 1355
- Joined: 4 Aug 1998 11:00 pm
- Location: Saskatchewan Canada
b0b, George's suggestions are right on, but you might try the following as well (quicker perhaps): type ifconfig and you'll get the NIC configuration with IP address, gateway, etc etc. (you must be root to use ifconfig).
Also, I prefer less because it lets you scroll backwards when you read the output
Also, I prefer less because it lets you scroll backwards when you read the output
- Bobby Lee
- Site Admin
- Posts: 14863
- Joined: 4 Aug 1998 11:00 pm
- Location: Cloverdale, California, USA
- Contact: