if-up hooks not working



Due to wireless issues I've been experiencing since upgrading to Ubuntu Gutsy, I've been switching somewhat frequently between wired and wireless. When I do that, my IP address changes and my router doesn't have enough configurability to force the IP to stay the same. So, I've written a set of scripts that keep my DNS server up-to-date.

After poking around the filesystem and NetworkManager's scanty documentation, I determined that I should place my script in /etc/network/if-up.d. However, I've discovered that those scripts get called when switching from wireless to wired, but not the other way around. How can I persuade NetworkManager to run my script *every* time it switches interfaces?

--
===Scott Severance===

Website: http://www.scottseverance.us
Blog: http://blog.scottseverance.us

Check out the Sermon Illustration Library: http://www.sermonillustrationlibrary.org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]