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

Re: Correct place for networking commands in Debian?

Anthony Campbell wrote:

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?

Add this to /etc/network/interfaces:

auto eth0
iface eth0 inet static

André Carezia
Eng. de Telecomunicações
Carezia Consultoria - www.carezia.eng.br

Reply to: