I have a workaround for this:  It is to make NetworkManager restart
pdnsd on connecting by using the dispatcher.

In a terminal, go to the script directory of the dispatcher and create a new 
script using gedit:
  cd /etc/NetworkManager/dispatcher.d
  sudo gedit 99pdnsd


In gedit, cut & paste and save the following:

#!/bin/bash
#
# Restart pdnsd after the connection is made
if [ $1 == "wlan0" ] && [ $2 == "up" ]; then
        /etc/init.d/pdnsd restart;
fi


Now, back in the terminal, make the script executable:
  sudo chmod 755 99pdnsd


Now, when NetworkManager is used resulting in the interface 'wlan0' being 'up', 
the init script is run to restart pdnsd.

Of course, you might want to replace wlan0 with the network interface of
your liking, or add other options for other interfaces.

-- 
pdnsd requires manual restart after new WiFi connection gets established
https://bugs.launchpad.net/bugs/452351
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

Reply via email to