Re: Network Config Problem

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ray Hauge
Date:  
To: plug-discuss
Subject: Re: Network Config Problem

>On Sat, Aug 28, 2004 at 08:24:55AM -0700, Ray Hauge wrote:
><SNIP>
>
>
>>I checked the route this morning and there were two set for eth0. Both
>>of them had a default gateway of 0.0.0.0 I removed everything and added
>>them back. I couldn't set the gateway though, I had to instead use
>>
>>route add default gw <gateway address>
>>
>>Now I can at least attempt to ping places. Before I couldn't ping
>>anything. It was saying "Connect: invalid argument" Now it all the
>>pings just fail, even to 127.0.0.1.
>>
>>Thanks again,
>>Ray
>>
>>
>
>
>Wes Bateman wrote:
>
>
>Ray:
>
>Just to clarify what you found, when you say you had two for eth0, was that default gateways or two routes for eth0?
>
>A really simple table might look like this:
>
>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
>192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
>0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0

>
>The last one, the one with 0.0.0.0 in the leftmost (Destination) column is the default route. You should have one of those and it should have a gateway defined (not 0.0.0.0 - but the gateway's IP like the 192.168.1.1 above).
>
>If your interface is configured correctly (proper netmask, etc.), your default route setup properly, and any iptables rules in place verified to make sure they're not the culprit...then it should work.
>
>Did you compile this kernel upgrade you spoke of yourself? From your earlier post, I assumed that the new kernel was able to drive your NIC. If you do:
>
>ifconfig eth0
>
>do you get a configuration stanza for eth0 or an error? If you get config information, then the kernel can see the card okay (which it has to in order to have eth0 show up in your routing table...just grasping at straws I guess).
>
>Anyway, let me know if you're sure your routing table looks good and if you get it to work.
>
>Wes
>
>
>


Okay, I've found this out. The gatway and routes are all fine. The
problem comes when I looked in /lib/modules/kernel/drivers/net. It's
empty... except for the dummy driver. Also, lsmod is empty. I'm lead
to believe this is from my compiling the kernel and make
modules_install. I missed something in there, so I'm going through it
again. Hopefully that'll take care of it.

Thanks for the help.

Ray
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss