You are not logged in.

#1 2009-01-19 04:44:46

mintcoffee
Member
From: Waterloo, ON
Registered: 2007-10-05
Posts: 120
Website

if-up.d directory

I was wondering if there is a if-up.d directory to execute arbitrary scripts when a network interface is activated. Ubuntu has one according to this bug report: https://bugs.launchpad.net/ubuntu/+sour … omments/64 . Is there a particular package that we need to install for this functionality?

Last edited by mintcoffee (2009-01-19 05:15:29)


Arch on a Thinkpad T400s

Offline

#2 2009-01-19 06:48:30

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: if-up.d directory

if you are using netcfg2 you can use these in profile
# Commands to run at various stages of configuration
PRE_UP=
POST_UP=
PRE_DOWN=
POST_DOWN="some command"


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#3 2009-01-20 16:53:43

mintcoffee
Member
From: Waterloo, ON
Registered: 2007-10-05
Posts: 120
Website

Re: if-up.d directory

Thanks for the suggestion. I'm using wicd at the moment, and while I can set a script to execute on each connection, I want one to execute globally on one of my interfaces (wlan0).


Arch on a Thinkpad T400s

Offline

Board footer

Powered by FluxBB