Correct place for networking commands in Debian?
From: Anthony Campbell (ac_at_acampbell.org.uk)
Date: Mon, 15 Dec 2003 15:34:27 +0000 To: email@example.com
To set up my ADSL router I have to do:
ifconfig eth0 192.168.1.1 netmask 255.0.0.0 up
route add default gw 192.168.1.2 eth0
Where is the correct Debian place to put these - /etc/network/interfaces
perhaps, or should they go in rc.local?
-- firstname.lastname@example.org || http://www.acampbell.org.uk using Linux GNU/Debian || for book reviews, electronic Windows-free zone || books and skeptical articles -- To UNSUBSCRIBE, email to email@example.com with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org