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

Re: Network is unreachable. HELP!



> >The SIOCADDRT: Invalid argument, SIOCADDRT: Network is unreachable
> >messages may be because the later ifconfig's no longer require:
> >route add -net ${NETWORK}.
> 
>  One quick question: i'm not using network, only modem ppp, but i get on
>  the startup the same message: SIODCADDRT: invalid argument. It happens
>  when init.d runs route add -net 127.0.0.0 And my question is: if
>  ifconfig doesn't need this, why is this still there?
> 

Yes, route add -net 127.0.0.0 is also not needed. From memory, ifconfig 
requires the route add -net lines if you are running a 2.0.x kernel (I
think). However, the 

[ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1 

line is required (if you put your computer on a network with a gateway
anyway).

Regards,
Mark.


Reply to: