Network Manager recoonect script 8.10 hardy
My script to reload NetworkManager (if internet conection is lost) fails because it cannot get the "GetSecrets" even if I run crontab as root
#*/5 * * * * /home/felix/Scripts/testnet.sh
#Script to test internet connection and restart Network Manager if it fails.
ping -c 2 -w 3 google.com || /etc/init.d/NetworkManager restart
Mar 24 20:55:10 SYSMENGO NetworkManager: <WARN> get_secrets_cb(): Couldn't get connection secrets: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.NetworkManagerSettings.Connection .Secrets" member "GetSecrets" error name "(unset)" destination "org.freedesktop.NetworkManagerUserSettings").
Automatic Keyring, is that the solution?
Tags for this Thread