Comment 60 for bug 1073433

Francisco Reverbel (reverbel) wrote :

Today I' ve seen an improvement in Quantal: the workaround suggested at #13 resumed working after I got a kernel update from 3.5.0-22-generic to 3.5.0-23-generic.

Per Sandor' s suggestion, I have added to /etc/init two files that relieve me from the burden of manually disabling/enabling the network manager. These two files are shown below.

$ cat /etc/init/hack1-for-nm-bug.conf
description "Hack 1 to circumvent NetworkManager bug in Ubuntu 12.10"

start on started gdm

script
  /usr/bin/nmcli nm enable true
end script

$ cat /etc/init/hack2-for-nm-bug.conf
description "Hack 2 to circumvent NetworkManager bug in Ubuntu 12.10"

start on runlevel [016]

script
  /usr/bin/nmcli nm enable false
end script