The best way I can think is to run a script on connection and disconnection and in it use something like the following :<br><br>if iwconfig | grep 'ESSID:"MyNetworkName"; then<br> # Do something clever<br>fi<br>
<br>Hope this helps.<br>--<br>Martyn Ranyard<br><br><div class="gmail_quote">On Sun, May 17, 2009 at 8:58 PM, Timothy Baldwin <span dir="ltr"><<a href="mailto:timbaldwin@fastmail.co.uk">timbaldwin@fastmail.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am using Network Manager on Debian sid, and would like to execute a<br>
script upon connection to and disconnection from my wireless network.<br>
But not any other network.<br>
<br>
Any ideas? Scripts located in /etc/NetworkManager/dispatcher.d will<br>
apparently be executed on any connections/disconnection.<br>
<br>
_______________________________________________<br>
Wylug-help mailing list<br>
<a href="mailto:Wylug-help@wylug.org.uk">Wylug-help@wylug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/wylug-help" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/wylug-help</a><br>
</blockquote></div><br>