View Single Post
Posts: 20 | Thanked: 2 times | Joined on Jul 2007
#33
"root is not in the sudoers file". this is the error if i'm running the script as a rooter. but, from what i've seen cu is working with rfcomm and hciconfig where you are not allowed if you are not a rooter, or hciconfig as well. that's why i tryed to add in sudoers file access to those files for rooter, and for everybody so i don't need to login as rooter anymore to run the script. anyway is not working for me yet, i'm still working on it. and by the way, there's a way to hack in a bluetooth 2 enabled device, everything is on internet, all you need to do is don't sleep


NAME=`sudo hciconfig -a hci0 name | grep Name | cut -f 2 -d "'"`
sudo hciconfig -a hci0 name Charger
sudo rfcomm bind 0 $TARGET 17
sleep 2
cu -l /dev/rfcomm0
sudo rfcomm release 0
sudo hciconfig -a hci0 name $NAME

this is what you find in blueserial.sh i add the rfcomm.o in /dev downloaded from internet and is working for me, i managed to set cu +x and bs.sh but i still don't have too many permission, what i tryed to do infact is to give full rights to anybody on my 770 ( i don't have personal details or any goodies). so i tryed to jump over that error with you are not allowed anyway i managed to do it.

what i don't know is where to copy the cu file

any idea?

Last edited by junioru; 2007-07-30 at 09:29.