View Single Post
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#50
If you want true bluetooth tethering, I have compiled an open mode kernel with the necessary NAT and MASQUERADE modules. You can download the kernel and modules from my other post: http://talk.maemo.org/showthread.php?p=1329699

Then download the scripts from:
http://www.ctrl-h.net/nokia/harmattan/btpan/

I used a slightly modified version of the tether script posted by jschan from here:http://talk.maemo.org/showthread.php?t=58570. This is the one I was using on N900.

Then I added some rules to udev for any bnep* device.

Added a slightly modified test-nap script (just changed the timeout to something like 11 days) as discovered by myself and madmo:
Originally Posted by madmo View Post
Ok, I got Bluetooth pan working on the n9.


After that I got pan working with the test-nap.py script from the bluez repo and the tether.sh script from another thread on maemo.org.

I have put all the files into this gist: https://gist.github.com/4133214
The nap server is run from /etc/init/apps.

So here are the steps:
  • Download my kernel and modules.
  • Depmod the modules
  • Flash the kernel.
  • Untar the btpan scripts under /
  • remove the "network" clause from DisablePlugins in /etc/bluetooth/main.conf
  • Connect from other devices!

I have tethered both an iPod touch and Nexus 7 to my N9 and N950 at the same time. Works like a champ.
 

The Following 3 Users Say Thank You to jackburton For This Useful Post: