Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is it possible to have NetworkManager run a script before it connects to a wifi network and pass the SSID of the network to the script (or just execute a script based on SSID)? I'm switching back from WICD and am sorely missing this ability. I googled around but all I could find is /etc/NetworkManager/dispatcher.d/* which seems to execute after the connection is established and doesn't pass the SSID.

share|improve this question
    
How about /etc/network/if-up.d? –  Nattgew Apr 30 at 16:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.