I am a “I just want it to work” kind of guy. I have two laptops with built-in Cingular WWAN, I was paying the $59 per month for each of them. I also had a Cingular 8125 with an unlimited data plan. Well, I figured hell, I might as well get a UMTS/HSPDA capable phone and cancel my WWAN since it doesn’t work under Linux and use the phone’s internet.
I went out and got a Treo 750 (I love this phone BTW). I canceled my data plans and at the time was still using windows and found that the bluetooth tethering just ROCKED! Very fast and easy to use and it was almost seamless connectivity.
During my migration to Linux, this was one of the key things I just wanted to work. Once I got Linux (ubuntu) installed on my SZ and UX, one of the first things I set to work on was bluetooth tethering. I googled and did other research on this matter and found about 8 or 9 different ways to accomplish this in Linux (not just ubuntu but in several distros) I want to share with you the way I found worked for me.
This guy, Glyph Lefkowitz, for me has written the easiest no-nonsense way to tether bluetooth with your laptop.
His guide is here: http://glyf.livejournal.com/65878.html
If anyone knows a better way please let me know by commenting on this post.
However, I need to add a few notes to what to do to prepare:First off, follow the guide to step 3. At step 3 make sure you set your pin, you can leave it at 1234 but remember what you set it at.
Finish step 3 now, BEFORE step 4, you will want to pair your phone with your laptop.
Once you finished editing /etc/bluetooth/hcid.conf with the “auto” and Pin number change do:
/etc/init.d/bluetooth restartThen, on your PHONE, go to New Partnership (on windows mobile its under “bluetooth settings > Devices” or whatever it is on your phone to do a bluetooth pairing. You should get a screen with found devices. On that list, you should see your laptop, select it. It will ask you for a passkey or pin. Enter the pin number you put in the /etc/bluetooth/hcid.conf and complete the steps to finish pairing. If all went well, your laptop should show up on the paired device list.
Now, go back to that guide and finish all the steps.
NOTES:
My dial-out number was just *99#.
I also had to go to network manager ( System > Administration > Network) and disable (uncheck) wired networking for my DNS to work properly. (I had to do this prior to initiating the dial-out) I was getting connectivity but unable to resolve. I need to troubleshoot this further but this workaround works for me and I don’t mind. If anyone can help with this let me know.
Separate but related note on the UX: How I figured out the above, when I un-docked the UX, it would intermittently say that my wired connectivity was on then off. I went in and unchecked the wired networking box when the UX was out of it’s cradle and had no issues with the bluetooth tethering. Tried this on the SZ and it worked fine.
– — –
Notes to myself of full install steps in case the above site goes down:
1) Check to see bluetooth is working properly: hciconfig
2a) Put phone in discoverable mode and then in ubuntu: hcitool scan (you will see an output with the phone’s bluetooth mac address - write or copy this)
2b) get rfcomm chanel by doing: sdptool search –bdaddr <mac address found from 2a> DUN (you will see a line with “RFCOMM” and chanel.. this is your chanel needed for your rfcomm.conf file
3a) edit /etc/bluetooth/hcid.conf and make sure the variable security is set to auto and the passkey is set to what you want.
3b) restart bluetooth by doing: /etc/init.d/bluetooth restart
3c) Pair PHONE to laptop using the passkey provided in 3a
4a) edit /etc/bluetooth/rfcomm.conf and remove all comment (#) from the first column starting with the line that has rfcomm0 { all the way to the closing }
4b) change the following: bind to yes, device to the mac address found in 2a, and comment to whatever you like
5) install gnome-ppp (I just do an apt-get install gnome-ppp)
6) run gnome-ppp (applications > internet > gnome-ppp)
7) In the dialog: Username: user, Password: pass, tick “remember password”, Phone Number: *99#
8 ) Click Setup, configure:
your Speed to be something nice and high
am a “I just want it to work” kind of guy. I have two laptops with built-in Cingular WWAN, I was paying the $59 per month for each of them. I also had a Cingular 8125 with an unlimited data plan. Well, I figured hell, I might as well get a UMTS/HSPDA capable phone and cancel my WWAN since it doesn’t work under Linux and use the phone’s internet.
I went out and got a Treo 750 (I love this phone BTW). I canceled my data plans and at the time was still using windows and found that the bluetooth tethering just ROCKED! Very fast and easy to use and it was almost seamless connectivity.
During my migration to Linux, this was one of the key things I just wanted to work. Once I got Linux (ubuntu) installed on my SZ and UX, one of the first things I set to work on was bluetooth tethering. I googled and did other research on this matter and found about 8 or 9 different ways to accomplish this in Linux (not just ubuntu but in several distros) I want to share with you the way I found worked for me.
This guy, Glyph Lefkowitz, for me has written the easiest no-nonsense way to tether bluetooth with your laptop.
His guide is here: http://glyf.livejournal.com/65878.html
If anyone knows a better way please let me know by commenting on this post.
However, I need to add a few notes to what to do to prepare:First off, follow the guide to step 3. At step 3 make sure you set your pin, you can leave it at 1234 but remember what you set it at.
Finish step 3 now, BEFORE step 4, you will want to pair your phone with your laptop.
Once you finished editing /etc/bluetooth/hcid.conf with the “auto” and Pin number change do:
/etc/init.d/bluetooth restartThen, on your PHONE, go to New Partnership (on windows mobile its under “bluetooth settings > Devices” or whatever it is on your phone to do a bluetooth pairing. You should get a screen with found devices. On that list, you should see your laptop, select it. It will ask you for a passkey or pin. Enter the pin number you put in the /etc/bluetooth/hcid.conf and complete the steps to finish pairing. If all went well, your laptop should show up on the paired device list.
Now, go back to that guide and finish all the steps.
NOTES:
My dial-out number was just *99#.
I also had to go to network manager ( System > Administration > Network) and disable (uncheck) wired networking for my DNS to work properly. (I had to do this prior to initiating the dial-out) I was getting connectivity but unable to resolve. I need to troubleshoot this further but this workaround works for me and I don’t mind. If anyone can help with this let me know.
Separate but related note on the UX: How I figured out the above, when I un-docked the UX, it would intermittently say that my wired connectivity was on then off. I went in and unchecked the wired networking box when the UX was out of it’s cradle and had no issues with the bluetooth tethering. Tried this on the SZ and it worked fine.
– — –
Notes to myself of full install steps in case the above site goes down:
1) Check to see bluetooth is working properly: hciconfig
2a) Put phone in discoverable mode and then in ubuntu: hcitool scan (you will see an output with the phone’s bluetooth mac address - write or copy this)
2b) get rfcomm chanel by doing: sdptool search –bdaddr <mac address found from 2a> DUN (you will see a line with “RFCOMM” and chanel.. this is your chanel needed for your rfcomm.conf file
3a) edit /etc/bluetooth/hcid.conf and make sure the variable security is set to auto and the passkey is set to what you want.
3b) restart bluetooth by doing: /etc/init.d/bluetooth restart
3c) Pair PHONE to laptop using the passkey provided in 3a
4a) edit /etc/bluetooth/rfcomm.conf and remove all comment (#) from the first column starting with the line that has rfcomm0 { all the way to the closing }
4b) change the following: bind to yes, device to the mac address found in 2a, and comment to whatever you like
5) install gnome-ppp (I just do an apt-get install gnome-ppp)
6) run gnome-ppp (applications > internet > gnome-ppp)
7) In the dialog: Username: user, Password: pass, tick “remember password”, Phone Number: *99#
8 ) Click Setup, configure:
your Speed to be something nice and high