Sunday, December 30, 2012

Mobile Broadband Auto Connect on Ubuntu 12.04.1 LTS

Ubuntu broke the auto-connect for a mobile broadband modem in 12.04.1 Apparently this is considered to be a bug, so it will get fixed one day. For now the instructions on this excellently written web page work:

http://www.thefanclub.co.za/how-to/how-auto-connect-ubuntu-1204-gsm-mobile-broadband-connection-on-boot-startup-service


In short they have written a shell script which turns your broadband on as soon as possible

You put it in

 /etc/init.d/mobile-broadband-connect

Make it executable:
sudo chmod +x /etc/init.d/mobile-broadband-connect

And run update-rc.d

sudo update-rc.d mobile-broadband-connect defaults

after which it can be controlled with:

sudo service mobile-broadband-connect status/start/stop

And should run at startup to connect your modem.

I found this works a treat, but in case you want to remove it I found that a combination of these commands seems to do it:

sudo service mobile-broadband-connect stop

sudo rm /etc/init.d/mobile-broadband-connect
sudo update-rc.d mobile-broadband-connect remove



No comments:

Post a Comment