Change bluetooth mac address in Raspbian

admin

Administrator
Staff member
hi i need to change the bluetooth mac address from my device. i've download the bdaddr utility from <a href="http://blog.petrilopia.net/linux/change-your-bluetooth-device-mac-address/" rel="nofollow">here</a>! and i compiled it.

Then...

Code:
wget -U "Mozilla" http://www.petrilopia.net/wordpress/wp-content/uploads/bdaddrtar.bz2
...
mv bdaddrtar.bz2 bdaddr.tar.bz2
tar xvjf bdaddr.tar.bz2
cd bdaddr 
sudo apt-get install libbluetooth-dev
...
make

...

Code:
[email protected] ~/bdaddr $ hcitool dev
Devices:
    hci0    00:1F:81:00:08:30
[email protected] ~/bdaddr $ hciconfig
    hci0:   Type: BR/EDR  Bus: USB
    BD Address: 00:1F:81:00:08:30  ACL MTU: 1021:4  SCO MTU: 180:1
    UP RUNNING PSCAN ISCAN 
    RX bytes:2296 acl:0 sco:0 events:100 errors:0
    TX bytes:1081 acl:0 sco:0 commands:98 errors:0
[email protected] ~/bdaddr $ sudo ./bdaddr -i hci0 00:1F:81:00:48:30
Manufacturer:   Cambridge Silicon Radio (10)
Device address: 00:1F:81:00:08:30
New BD address: 00:1F:81:00:48:30

Can't write new address

Why can't i write the address? some idea?

thanks