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

Re: SIOCADDRT: File exists



>     I use my Debian 2.2r2 as a router, but it always shows the message "SIOCADDRT: File exists" at boot every time.
>     I use the kernel 2.2.17 that come with the debian 2.2.

That's because your using the old /etc/init.d/network file, what you can
do is edit that file and comment:

#route add -net 127.0.0.0
#route add -net 192.168.0.0

or whatever your network numbers are, the idea is, 2.2 kernels do this
them selfs.

In Debian 2.2 there is a new file:
/etc/network/interfaces which is the new way, just look in the docs of I
think netbase (/usr/share/doc/netbase).

Hope this helps.

-------------------------------------
New things are always on the horizon.



Reply to: