View previous topic :: View next topic |
Author |
Message |
mitschel Tux's lil' helper
Joined: 21 Jan 2005 Posts: 138 Location: Germany
|
Posted: Wed Jun 18, 2008 3:23 pm Post subject: Can wpa_supplicant exec something? |
|
|
Hi,
Is there a simple way to execute a script, which mounts for example my networkshares, if I enter my wlan? Of course also umounts on disconnect. I'm using wpa_supplicant..
Ty |
|
Back to top |
|
|
truc Advocate
Joined: 25 Jul 2005 Posts: 3199
|
Posted: Wed Jun 18, 2008 9:57 pm Post subject: |
|
|
wpa_cli can run a script when the status change from CONNECTED to DISCONNECTED and vice versa, you can really do what you want with this, check out its man page (espescially what argument are given the your script and which environment variables will be automaticly defined and accesible within your script)
Hope this helps! _________________ The End of the Internet! |
|
Back to top |
|
|
|