解决kali linux笔记本蓝牙无法自启
已经设置了bluetooth服务自启, 开机时却无法自动启用, 用blueman才能手动打开
使用 rfkill list 会发现蓝牙默认 Soft blocked
解决方法:
# 创建解除阻塞的systemd服务
sudo tee /etc/systemd/system/unblock-bluetooth.service <<EOF
[Unit]
Description=Unblock Bluetooth on boot
After=bluetooth.service
[Service]
Type=oneshot
ExecStart=/usr/sbin/rfkill unblock bluetooth
[Install]
WantedBy=multi-user.target
EOF
# 启用并启动服务
sudo systemctl enable --now unblock-bluetooth.service


浙公网安备 33010602011771号