[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SIOCADDRT: Invalid Parameters



On 12/06/00 at 19:37 Corey Popelier spake the following magic words:
>Umm, two aspects I can think of:
>
>(1) in kernel 2.2.x -net isn't required at all iirc, so route add
>127.0.0.1 lo should be enough.
>(2) I would have thought the route should be 127.0.0.0 not 127.0.0.1
>... my /etc/init.d/network says 127.0.0.0 but don't take that for gospel.
>
>Cheers,
> Corey Popelier
> http://members.dingoblue.net.au/~pancreas
> Work Email: copo@commerce.wa.gov.au
>
>On Mon, 12 Jun 2000, Mark wrote:
>
>> On boot up, when my system executes the network init script, it gives
the
>> error:
>> 
>> SIOCADDRT: Invalid Parameters
>> 
>> the network script contains:
>> 
>> ifconfig lo 127.0.0.1
>> route add -net 127.0.0.1 lo
>> 
>> It's crashing on the "route add" bit. Shouldn't it be "route add -host"
>> instead of "-net"?

Hmm, ok, but the networks file is stock, set up by the debian install. I
have upgraded the kernel from 2.0.38 to 2.2.15 - would this be the "route"
of the problem?
-- 
Mark  Herrick - Liverpool - England
mark at blacksky dot co dot uk
Pick two: Good, Fast, Cheap



______________________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered 
through the MessageLabs Virus Control Centre. For further information visit-
http://www.star.net.uk/stats.asp



Reply to: