![]() |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Quote:
1) Install pc-connectivity-manager 2) The script cannot be created under notepad, it should be done directly under xterminal 3) Setup sudoers For 1) I've installed pc-connectivity-manager long time ago, I didn't realize it may be essential to the bluetooth PAN. I added it back in procedure. For 2) notepad would introduce some ^M characters in the transfer. It doesn't matter. I've attached a tarball which contain the script bluetooth-pan.sh. You can download the tarball, put it under /home/user/, run the following command to extract it: Code:
tar xvf bluetooth-pan.tar For 3) I found that sudoers might not by default having all the privilege granted to user. That's good, as it's more secure. Therefore, you might need to add the following files bluetooth-pan.sudoers under the /etc/sudoers/ (as root) Code:
user ALL = NOPASSWD: /home/user/bluetooth-pan.sh Code:
update-sudoers The above has been updated in the procedures. Thank you for your suggestion. Please let me know when you've further query. |
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:
|
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Quote:
So I have installed the pc-connectivity manager, put the tar in /home/user and extracted it in terminal as you instructed. I then try this command: chmod u+x /home/user/bluetooth-pan.sh but it doesnt seem to 'do' anything. I tried it as root and not as root. Also when I try the next command (as root): user ALL = NOPASSWD: /home/user/bluetooth-pan.sh it says /bin/sh: user: not found Does that mean anything to you!? |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
The second script is the content of the file /etc/sudoers.d/bluetooth-pan.sh you should create and you should run update-sudoers for it to take effect such that sudo bluetooth-pan.sh work.
It is strange that the script doesnt work under root, probably wrong path. You may want to check the correct path of the file, i.e. Code:
root |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
it doesn't work for me :( when I run the sudo /home/user/bluetooth-pan.sh nothing happens.
the first time I created the files in notepad, uploaded them in the right folders, chmoded them, updated the sudoers and it was the same... after that I used the files in the tar and made the same things .. restarted the device, still the same. I must say from now that in settings, PC-Connectivity Manager is set on "None", should the "default" be enabled? what settings should I put in? |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
Quote:
Code:
root |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
now this is what I get -> http://img823.imageshack.us/img823/1412/69583474.png
however I have installed the extended kernel (setting) and (general) and I rebooted the device .. and as I know iptables is in that kernel. Also I tried to search in the App Manager for iptables and it isn't listed, what should I use to install it? apt-get install iptables? |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
I see...the iptables is missing. May be it's not installed by default.
In this case I think you should install iptables. Code:
root Besides, I notice that the script run fine, so you should see a menu for choosing internet connection at the beginning. Did you see that? |
Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
it's weird because it doesn't pop up to select a connection (I tried connected to wifi and disconnected, to see) but I get the notification in that yellow field with "Bluetooth PAN Activated".
Also, I've tried connecting to the internet after pairing the pc with phone (and I've set up the IP manually on the PC) and it still doesn't work. If you find the bug that isn't showing the connection choser let me know, I'm really interested in this and I would like to help you fix it by providing feedback. thanks for the help |
All times are GMT. The time now is 23:59. |
vBulletin® Version 3.8.8