Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Ubuntu 11.10.

I need to run script, when wlan0 interface up. I have tried this:

  1. /etc/network/if-up.d/if-up-wlan0
  2. /etc/init/script.conf
  3. /etc/NetworkManager/dispatcher.d/01ifupdown

All entries runs twice: on system startup and on it's shutdown, but I need run only on startup. It seems like Network Manager up wlan on system shutdown or something like this.

How it can be fixed?

share|improve this question
Nobody knows... Hardware bug, possible :) – user51072 Apr 9 '12 at 15:50
Fixed by upgrading to 12.04 – user51072 May 3 '12 at 10:05

closed as too localized by Oli May 3 '12 at 10:29

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.