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

Re: Correct place for networking commands in Debian?

I believe they should go into /etc/network/interfaces.  You should also
have a networking script in /etc/init.d and the appropriate symlinks in
the /etc/rc.x directories.


> To set up my ADSL router I have to do:
>   ifconfig eth0 netmask up
>   route add default gw eth0
> Where is the correct Debian place to put these - /etc/network/interfaces
> perhaps, or should they go in rc.local?

Reply to: