Hi,

On  15 Apr, this message from Tamas K Papp echoed through cyberspace:
> When my wireless card is plugged in, I would like to
> 
> 1. ifdown eth0
> 2. ifup ath0
> 3. reconfigure firestarter (I have figured out how to do this from a
> script)

Probably the easiest is to hook into /etc/network/interfaces and use the
pre-up/post-down options to add actions to execute.

man 5 interfaces

Cheers

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   [EMAIL PROTECTED]            |
http://www.cpu.lu/~mlan        |                     Learn Always. "


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to