![]() |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Quote:
|
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Quote:
Things could be easier for me to guide you out if your are using a Linux. Not because I'm more familiar with Linux, but I can help you with pure CLI commands. Get back here once you have successfully setup up an internet gateway in your Windows XP. I'll show you how to manually setting default routing in N900 such that it could share your PC's internet traffic. |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Thanks for your help with trying some things I've got it working.
|
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Quote:
BTW, have you got it working by some other means? |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
This script, for whatever reason, wasn't working effectively for me and my iPad when I tried - and I wanted something that required less intervention. So I took bits of it (notably, the whole setting-up-dnsmasq bit for DHCP) and shoehorned it into a method described here: http://hacker.klever.net/n/2011/06/0...n#.T1ew6-XipJa. It works beautifully for me.
The advantage of this method is that there is no script that has to be run at any time. It Just Works Automatically, whether my n900 is connected via 3G or WiFi (that's 'cause the iptables setup is very subtly different, going by subnets rather than interface; it could probably be adapted to the OP's script as well). The disadvantages are twofold: 1) pc-connectivity-manager potentially conflicts with this method (it occasionally likes to modify one of the files in question by itself), so if you're using it for other purposes then this won't work for you, and 2) it requires modifying system files and so a typo can potentially screw up your system. If you're at all worried about possible screwups along the way, I'd suggest sticking to the script in the OP. There might be a way to make this work with pc-connectivity-manager (if it can be used to make the necessary changes to /etc/network/interfaces itself). I leave this as an exercise for the reader, as I have no interest in messing with that package again. :D Quick and dirty steps follow... Preqs needed: rootsh, Kernel-Power, iptables. pc-connectivity-manager should NOT be installed! FIRST: As root, modify the file "/etc/network/interfaces". Make a backup copy first! By default, it'll look something like this: Code:
auto lo You need to add the following section to the bottom of the file: Code:
auto bnep0 Code:
KERNEL=="bnep0", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifup -f %k ; /sbin/start-stop-daemon -S -p /var/run/btpan.pid -m -b -x /usr/sbin/dnsmasq -- -k -I lo -z -a 192.168.100.10 -F 192.168.100.100,192.168.100.105 -b'" FOURTH: Enjoy! Hopefully this will work for all y'all as well as it did for me. ;) |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Thank you very much Viqsi for taking your valuable effort in making others life better. (Even though I have iPad I have never ever attempted to try my own script with it ^^)
I figured recently many devices, such as Samsung Galaxy Tab 7.7, has bluetooth tetherng capability built in. Mobile makers seem to realize customers' needs, and advantages, for tethering with bluetooth. |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Viqsi's post above worked perfectly for me. Very easy. I've tried a few times in the past using info in the first post and haven't been able to get it to work. Thank you Viqsi!!!
|
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Tried the instructions, and thus far with my tab 7.0 plus i can get it pair, even tether ... just no magic.
Its been a rough set of hours trying to get the n900 to tether at all and it saddens me that such an open device has to be so damned hard to setup. My g2 with any custom rom on it tethers in less than a few minutes. Yet the n900 barely [ad-hoc only] tethers wifi and bluetooth is a hit or miss nightmare of configs and options. Was trying to get some new use out of an old device but after nearly six hours of fiddling with it i am pretty sure its going back to the box of exhibits. Seems the G2 won again ... if there comes a time when effective and easy tethering becomes an option i will revisit the device. Thanks for the efforrs put forth though on all parts. |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Got it working after a little more [and a few more hours], by combining the efforts of both guys 9000 and Viqsi.
Edited the 192.168.100.# to match the scripts 192.168.3.#'s for one, installed bluetooth-dun for two and ran the script. It found and updated messages after that. Going to fiddle now and see it the scripts still needed. Script's needed still [at least with my foolish med-lings :) ], made one for wifi and one for gprs [wifi for testing while keeping ssh up running]. Cool beans now, setup desktop shortcuts for the two types and all is gravy so far :). Thanks guys for the information. |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Just wanted to tell you it works with my SGT 7.7, and I'm glad to see that you have resolved it already. ^^
|
All times are GMT. The time now is 15:22. |
vBulletin® Version 3.8.8