Is it possible to do "something" every time linux connects to a network?
Posted
by quodlibetor
on Server Fault
See other posts from Server Fault
or by quodlibetor
Published on 2010-05-09T23:29:55Z
Indexed on
2010/05/09
23:38 UTC
Read the original article
Hit count: 204
Hey, I'm trying to make a script run every time NetworkManager (or whatever, but that's what I'm talking to right now) connects to a network (or changes networks).
What I really want is, metaphorically, an init directory that fires everything inside of it whenever my wifi interface changes state/essid. Or a "network status changed" runlevel. Or something.
© Server Fault or respective owner