xsdg <[EMAIL PROTECTED]> writes:
> If you use sid, go with the above format.  For more info check out
> `man interfaces`...especially the pre-up, up, down, and post-down
> parts... 

  I believe you can go with the interfaces interface as early as
  potato too. A related question: I want to transition to the new
  format too. I currently have my ifconfig eth0, route, and ipchains
  commands in /etc/init.d/network.local.

  While moving the eth0 configuration to /etc/network/interfaces is
  obvious, less obvious is what should be done with the ipchains
  commands and forwarding commands (echo "1" >
  /proc/sys/net/ipv4/ip_forward)

  Would I copy the remnants of /etc/init.d/network.local to
  /etc/network/firewall (or elsewhere?) and add "up
  /etc/network/firewall" to interfaces, or would I add lots of "up"
  commands for each individual ipchains command to the interfaces
  file?

-- 
Bill Wohler <[EMAIL PROTECTED]>  http://www.newt.com/wohler/
Maintainer of comp.mail.mh FAQ and mh-e. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.


Reply via email to