I built my first home-built PC with Corona, what do you guys do with your host name? If it is made by a manufacturer, it has a fixed name, if it is Windows, it is random alphanumeric characters by default, if it is Fedora, openSUSE, it is localhost, or if it is Ubuntu system, it is decided by yourself at the time of installation etc .. It's a hassle to run multiple laptops, desktops and Linux and get a name, so I wanted to change it, so I got stuck.
--Homebrew PC
I changed the host name with the YaST tool and confirmed the change on the terminal, but it did not change even when I looked into the Bluetooth setting screen, so it did not seem to change it together. So when I tried to open hciconfig, it was gone.
Reference: [https://wiki.archlinux.jp/index.php/Bluetooth#.E3.82.A4.E3.83.B3.E3.82.B9.E3.83.88.E3.83.BC.E3. 83.AB](https://wiki.archlinux.jp/index.php/Bluetooth#.E3.82.A4.E3.83.B3.E3.82.B9.E3.83.88.E3.83.BC. E3.83.AB) I felt like I used it as a Raspberry Pi, but was the version old ..?
If it is deprecated, I do not feel like using it, so there will be a change in BlueZ itself, if you look at help
[bluetooth]# help
Menu main:
Available commands:
-------------------
advertise Advertise Options Submenu
scan Scan Options Submenu
gatt Generic Attribute Submenu
list List available controllers
show [ctrl] Controller information
select <ctrl> Select default controller
devices List available devices
paired-devices List paired devices
system-alias <name> Set controller alias
reset-alias Reset controller alias
power <on/off> Set controller power
pairable <on/off> Set controller pairable mode
discoverable <on/off> Set controller discoverable mode
discoverable-timeout [value] Set discoverable timeout
agent <on/off/capability> Enable/disable agent with given capability
default-agent Set agent as the default one
advertise <on/off/type> Enable/disable advertising with given type
set-alias <alias> Set device alias
(Omitted below)
By discovering those things, I immediately
[bluetooth]# system-alias hogehoge
The identification name has also changed properly.
Recommended Posts