Your valuable suggestion pointed out what was missing from the procedures: 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 then cat /home/user/bluetooth-pan.sh, you should see the content. 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 and then update the sudoers as root: Code: update-sudoers I've also attached this file in the tarball. The above has been updated in the procedures. Thank you for your suggestion. Please let me know when you've further query.
tar xvf bluetooth-pan.tar
user ALL = NOPASSWD: /home/user/bluetooth-pan.sh
update-sudoers