Huawei E220 not working with Ubuntu

There is a bug in the network-manager so that the Huawei E220 HDSPA modem cannot connect to the internet (Bug). For me the following workaround fixed the problem:

  • Unplug the modem
  • plug the modem
  • before trying to connect to the internet with the network-manger, run the following command:

  • Connect to the internet with the network-manager

apt-get Error org.freedesktop.DBus.Error.Spawn.ExecFailed: Cannot launch daemon, file not found or permissions invalid

Since a few months an error appeared in my ubuntu 12.04 everytime I ran the apt-get command. The last line of the command always showed the following error message:

It seems that one daemon couldn’t start.  After installing aptdaemon with the following command, the error message disappeared: