View Single Post
Posts: 16 | Thanked: 38 times | Joined on Dec 2009
#189
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'.

Originally Posted by 9000 View Post
Although setting sudoers is better, but it seems to confuse a lot of people. I've made change to the procedure section 4.3.3 to run the script directly with root privilege:

Code:
echo "/home/user/bluetooth-pan.sh" | sudo gainroot
It's easier to just add this to the beginning of the script:
Code:
if [ $(whoami) != "root" ]; then
  echo "$0" | sudo gainroot
  exit
fi
 

The Following User Says Thank You to rdnetto For This Useful Post: