![]() |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
I've also got an asus transformer, I've managed to get it to tether to the n900 using your PAN script...
only issue I had was that when tethered it still behaved like there was no internet connection... then I found that iptables had been uninstalled when I uninstalled v47 of the power kernel in order to install v46... now, all is well :) thanks for the script! |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Quote:
|
Re: [HOWTO] N900 Bluetooth-PAN Tethering (tested with a WiFi XOOM!)
Just like to say a big thanks to jschan and 9000 for all they've written on this topic.
I used jschan's tether scripts with dbus and finally got an unrooted Samsung Tab 10.1 running Android 3.1 tethered via Bluetooth PAN to the N900. The only change I made was to uncomment this line: Code:
#echo 1 > /proc/sys/net/ipv4/ip_forward Code:
echo 1 > /proc/sys/net/ipv4/ip_forward After following jschan's instructions: 1. Turn on BT on the N900 2. Pair gtab with n900 3. N900 BT status icon should turn blue 4. In Wireless & networks > Bluetooth Settings on the gtab your device should be listed as 'Paired' with the Spanner Icon and a darker Bluetooth Tethering icon to the left. 5. Tap the Spanner 6. Under 'Profiles' tap 'Tethering - use for Internet Access' 7. In the status are of the gtab a bright blue Tethering icon will appear, per the screenshot from Youth. Note with the dbus scripts installed I didn't have to manually run the tethering script to start the process. Battery usage seems ok as well. Also, I don't have PC Connectivity Manager or Bluez Switch installed. big thanks again. |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Thanks for your report.
I'm researching on the reason why some device can't get the DHCP, may be update the script very soon. |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Hi, the Tab only got an IP address via the N900 when that ip_forward line was uncommented. Prior to that, pairing and 'connection' was completed but without an IP being provide.
I used jschan's tethering script here: http://talk.maemo.org/showpost.php?p...&postcount=124 You can see here: # Enable IP forwarding #echo 1 > /proc/sys/net/ipv4/ip_forward echo 1 > /proc/sys/net/ipv4/conf/$INTERFACE/forwarding echo 1 > /proc/sys/net/ipv4/conf/$EXTERNAL_INTERFACE/forwarding That it was commented out. I tried your initial script right back on page 1 of this thread but it didn't work, although that does have the ip_forward line uncommented. Hope that helps. |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
It uses Google's DNS. It should use your ISP DNS instead.
But as long as it works for you it is fine. ;) |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Hi Guys,
I'm having a bit of an odd time... It worked fine yesterday to my Transformer (Not Optimus Prime :P). I've tried to connect today, but the script says "Bnep0 does not exist" Not sure whats gone wrong :S I've tried reinstalling Libicd2 to no avail.... |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Have you paired them up?
|
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
I haven't been able to get mine to pair properly. Tried with my Asus Transformer and an iPad. The icon (on the n900) only stays blue for a moment with the Transformer. It goes blue permanently with the iPad. Neither of them show any profiles as being available, despite being paired. (Also, the Transformer shows it as being paired regardless of whether or not the bluetooth is actually on, so I think it only pairs when you select a profile).
'lsmod | grep bne' shows nothing, and ifconfig doesn't show bnep0 at any stage. The lines referring to it in your script just produce 'no such device'. Quote:
Code:
if [ $(whoami) != "root" ]; then |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
1 Attachment(s)
Quote:
One tip about the auto connect functionality: if the Internet connection is already up, I never seem to have any problems with my Xoom getting a good connection. However, when the N900 has to establish the connection, it takes longer to get through the script and start up DMASQ, thereby causing the same timing issue some of the other guys have experienced, I believe. Simply breaking the bt connection from the tablet and then re-establishing it always fixes the issue since the Internet connection doesn't have to re-establish itself at that point. I'm guessing all Honeycomb tablets (such as your Galaxy) would behave the same way. Cheers, Code:
#!/bin/sh |
All times are GMT. The time now is 09:43. |
vBulletin® Version 3.8.8