As far as I know, network-manager doesn't support scripts so I don't know how do to it to be automatic. The best for you would be opening a new 'Question' about it (well, search first..), then please post here the link to it so that it can also help other people.
** Changed in: network-manager (Ubuntu) Status: Incomplete => Confirmed -- Slow network speed on intrepid https://bugs.launchpad.net/bugs/280073 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs