View Single Post
Posts: 76 | Thanked: 19 times | Joined on Apr 2007
#19
It's a pretty simple command:

/usr/sbin/hciconfig hci0 up
/usr/sbin/hciconfig hci0 down
and... wait for it..
/usr/sbin/hciconfig hci0 reset

Add to /etc/sudoers:
user ALL = NOPASSWD: /usr/sbin/hciconfig hci0 up
user ALL = NOPASSWD: /usr/sbin/hciconfig hci0 down
user ALL = NOPASSWD: /usr/sbin/hciconfig hci0 reset

and then call the above commands with sudo and you're all set! Someone want to wrap a try icon around this and close this issue like a good o-s community?