How To Alter The User-Friendly Bluetooth Local Name
Each Bluetooth device has a user-friendly local lift equally good equally an unique 48-bit hexadecimal device address (eg, C0:F8:DA:9D:CF:DF). The default local lift may move also generic, eg, ubuntu-0, to position you lot to the balance of the world. This shipping shows you lot how to assign a to a greater extent than descriptive local name.
To uncovering out the electrical current local lift of the Bluetooth device, execute the next command:
$ hciconfig -a hci0: Type: BR/EDR Bus: USB BD Address: C0:F8:DA:9D:CF:DF ACL MTU: 1022:8 SCO MTU: 121:3 UP RUNNING PSCAN ISCAN <..sniped> Link policy: RSWITCH HOLD SNIFF Link mode: SLAVE ACCEPT Name: 'ubuntu-0' Class: 0x6e0100 Service Classes: Networking, Rendering, Capturing, Audio, Telephony Device Class: Computer, Uncategorized HCI Version: 3.0 (0x5) Revision: 0x9999 LMP Version: 3.0 (0x5) Subversion: 0x9999 Manufacturer: Atheros Communications, Inc. (69)
The lift that other Bluetooth devices volition run into is ubuntu-0. Suppose you lot desire to rename the device penguin. Execute the next dominance alongside beginning privilege:
$ sudo hciconfig hci0 lift penguin
To verify that the lift was modified:
$ hciconfig -a hci0: Type: BR/EDR Bus: USB BD Address: C0:F8:DA:9D:CF:DF ACL MTU: 1022:8 SCO MTU: 121:3 UP RUNNING PSCAN ISCAN <..sniped> Link policy: RSWITCH HOLD SNIFF Link mode: SLAVE ACCEPT Name: 'penguin' Class: 0x6e0100 Service Classes: Networking, Rendering, Capturing, Audio, Telephony Device Class: Computer, Uncategorized HCI Version: 3.0 (0x5) Revision: 0x9999 LMP Version: 3.0 (0x5) Subversion: 0x9999 Manufacturer: Atheros Communications, Inc. (69)
The local lift was exclusively temporarily modified to penguin. It volition revert dorsum to ubuntu-0 at the side past times side organisation reboot or the side past times side Bluetooth daemon restart.
To brand the alter permanent, manually edit the Bluetooth configuration file. The config file is located inwards /var/lib/bluetooth/ nether the sub-directory named past times the Bluetooth device address (see below).
$ truthful cat /var/lib/bluetooth/C0\:F8\:DA\:9D\:CF\:DF/config lift ubuntu-0 pairable yep flat 0x6e0100 onmode connectable fashion connectable
Modify the describe of piece of employment lift ubuntu-0 to name penguin, in addition to salvage the file.
$ sudo vi /var/lib/bluetooth/C0\:F8\:DA\:9D\:CF\:DF/config
Now, your novel Bluetooth local lift volition persist fifty-fifty afterward a organisation reboot.
If you lot are interested inwards Bluetooth, delight run into my before post:
0 Response to "How To Alter The User-Friendly Bluetooth Local Name"
Post a Comment