I came across various instructions for connecting an Ubuntu powered laptop to the internet through your mobile phone’s data connection. My first thought was ‘brilliant’, followed rapidly by ‘ooh this’ll be fiddly’. It requires a bit of manual coding, but using Rahid Hasan’s excellent how-to it just worked first time (that link looks broken now, its also copied here). I can now enable my bluetooth on my eeePC, turn off the wifi, and a get a reasonable connection speed via my Nokia E71 on three. Grand – no more hotspot charges.
UPDATE: This is a little more complicated in Ubuntu 9.10. For some reason pairing the phones doesn’t result in a bond on the refcomm channel. I get the error “In file /etc/ppp/peers/BluetoothDialup: unrecognized option ‘/dev/rfcomm0′”. The following seems to solve it.
To get it working, follow the instructions linked above with the following modifications:
ls /devIs there one listed as rfcomm? If not, then the following command is required:
sudo rfcomm bind 0 xx:xx:xx:xx:xx:xx zReplace the x’s with your phone’s mac number and the z with your dialup channel number (both found when you follow the linked how to). This command only seems to be required once per session, then you can, in theory, pon and poff as much as you like. Perhaps the solution is to run the command at startup.
sudo pon BluetoothDialupAnd stop it with
sudo poff BluetoothDialupNB these commands can be written into custom application launchers through Preferences->Main Menu; but use gksu instead of sudo.