Jak wyłączyć Bluetooth z terminala w Ubuntu
lsusbktóre znam inną metodę, która działa
Jak wyłączyć Bluetooth z terminala w Ubuntu
lsusbktóre znam inną metodę, która działa
Odpowiedzi:
Zatrzymać :
sudo service bluetooth stop
Aby zacząć od nowa:
sudo service bluetooth start
Zrestartować :
sudo service bluetooth restart
Aby sprawdzić bieżący status:
service bluetooth status
Lub możesz użyć rfkillpolecenia:
rfkill block bluetooth
Możesz także wyłączyć pojedyncze adaptery, takie jak
sudo hciconfig hci0 down
Jeśli hci0jest to jedyny adapter, oznacza to, że Bluetooth jest niedostępny.
wyłącz usługę Bluetooth:
#disable bluetooth service
sudo systemctl disable bluetooth
#stop running instance
sudo systemctl stop bluetooth
włącz ponownie usługę później:
#re-enable bluetooth service later
sudo systemctl enable bluetooth
#start bluetooth service again
sudo systemctl start bluetooth