Thursday, December 10, 2009

Ubuntu (Karmic) : Wireless Works Once

Managed to change tarriffs on my phone to have unlimited text and web.... Just so long as I don't view any Videos I'll be fine under the "Fair Use Policy" of 500mb.

Found out connecting to "Mobile Broadband" / "Wireless Networking" only worked once. Then when I tried to reconnect, that nice network-manager icon span really fast blinking green and grey, and to stop that I had to click on it and then disconnect to something that I have connected to yet!!

Resolution
Make a script to restart the "networking" and "network-manager". Run this script everytime you disconnect.

1) Create a file called "3gfix" in your home folder.
2) Edit the file with your fav text editor.
3) Add the following lines
#!/bin/bash
sudo service networking restart
sudo service network-manager restart
4) Save it
5) Change the permissions on that file to be executable

Now to run it
1) Click Applications->Accessories->Terminal
2) Type the following and then press enter :)
./3gfix
OR you can

1) press "ALT+F2"
2) Type "./3gfix"
3) Tick "run in terminal"
4) Press Enter or click "Run"

Final Thoughts
Give the Ubuntu Community time to resolve this minor networking issue, patience is a virtue :)