Re: unknown message
Hi
>scratch wrote:
>>
>> IIRC, this message probably means that you have recently updated to a 2.2
>> kernel. In this kernel, ifconfig sets it own routes, so there is no more
>> need for a manual 'route add'. Check your init.d scripts, especially
>> '/etc/init.d/network'.
>>
>> OTOH, I could be completely wrong here, and this message seems like the
>> thing i described, but really isn't and you *are* trying to set a wrong
>> route.
>>
>I get this message too. Last night I was searching the archives on dmesg
>and this error message came up several times. From some of the postings,
>it would seem that you're right. There was a fix--commenting out some
>line or another. I forgot what exactly and I haven't gone back to take
>another look. A search on SIOCADDRT would turn up those fixes though.
I think you switched to Linux 2.2.x here.
With Linux 2.2 it's is no longer necessary to add the whole network to the
routing table manually/by script, it will be done automatically by
ifconfig... you can change the init script (/etc/init.d/network) to remove
the rather harmless error, I think it looks like this now:
-----
source(/0):~$ cat /etc/init.d/network
#! /bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0 /* It tries to add the network, but that already
has been done in the previous line */
-----
the "route add -net" line is superfluous, you can comment it with # or
delete the whole line ;)
Watch it! This only counts for 2.2 kernels!!
Gtnx
Paul
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Student @ | Using the Power of Linux...
University of Technology | ICQ: 8678828
Eindhoven, The Netherlands | email: paul@donald-duck.ele.tue.nl
----- End forwarded message -----
Reply to: