Operation not possible due to RF-kill

Ubuntu下在图形界面没有Enable Wi-Fi的时候

在终端使用ifconfig wlan0 up的时候报错

SIOCSIFFLAGS: Operation not possible due to RF-kill


使用rfkill list命令查看被被关闭的射频

0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: tpacpi_bluetooth_sw: Bluetooth
        Soft blocked: no
        Hard blocked: no
2: phy0: Wireless LAN
        Soft blocked: yes
        Hard blocked: no
3: phy1: Wireless LAN
        Soft blocked: yes
        Hard blocked: no

使用rfkill unblock all解锁设备

可以看到Wireless Lan的Soft blocked状态变成no了

这样就可以使用ifconfig wlan0 up命令使能无线接口了

你可能感兴趣的:(ubuntu,Wi-Fi)