Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] eth0 to use dhcp or static


On Tue, 29 May 2001, Andre Pang <andrep@xxxxxxxxxxxxxxx> wrote...

| on this topic, have you (or anybody else) tried a program like
| NetEnv, but is able to reconfigure your proxy servers etc. on
| the fly, rather than at boot time?  i usually suspend my laptop
| when i leave home and take it to uni, so rebooting it is
| inconvienient.  i know about the programs that do it (divine
| comes to mind), but i'm wondering if people have any
| recommendations before i spend two days prodding all of them :)


Well, this would be fairly simple, IMO.

Netenv just calls a script in the /etc/netenv/ directory when you run the
program - so you can do whichever you like there. I used this feature to
set up the firewall rules on the box at the COMPSOC/SLUG codefest.

Read over the docs, I'm sure this is possible...


[----------------------------------------------------------------------]
  Matt 'Dopey' Hope                              matth@xxxxxxxxxxxxxxx