Correct place for networking commands in Debian?

From: Anthony Campbell (ac_at_acampbell.org.uk)
Date: 12/15/03

  • Next message: David Z Maze: "Re: changing roots on: dpkg -i"
    Date: Mon, 15 Dec 2003 15:34:27 +0000
    To: debian-user@lists.debian.org
    
    

    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?

    Anthony
      

    -- 
    ac@acampbell.org.uk    ||  http://www.acampbell.org.uk
    using Linux GNU/Debian ||  for book reviews, electronic 
    Windows-free zone      ||  books and skeptical articles
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: David Z Maze: "Re: changing roots on: dpkg -i"

    Relevant Pages

    • Re: xprint - why?
      ... On 23 Nov 2004, Andrew Schulman wrote: ... Anthony ... using Linux GNU/Debian || for book reviews, ...
      (Debian-User)
    • Re: Shorewall question
      ... On 07 Oct 2004, Anthony Campbell wrote: ... > using Linux GNU/Debian || for book reviews, ... Windows-free zone ...
      (Debian-User)
    • Re: tetex-extra will not install in sarge - PARTLY SOLVED
      ... > being missing. ... Have you run texconfig to set up dvips the way you want? ... > using Linux GNU/Debian || for book reviews, ...
      (Debian-User)
    • Re: Is resolv.conf essential?
      ... > Anthony writes: ... I've rerun pppconfig in case it was screwed up but it still won't find a ... whether with static or dynamic dns. ... using Linux GNU/Debian || for book reviews, ...
      (Debian-User)
    • Re: 2.6.12 and 2.6.13 wont access cdrom -UPDATE
      ... On 11 Oct 2005, Basajaun wrote: ... > Anthony Campbell wrote: ... > search in the Debian site gives 2.6.12 as the official kernel for Etch ... http://www.acampbell.org.uk (blog, book reviews, on-line books and sceptical articles) -- ...
      (Debian-User)