我在ubuntu將wifi功能disable掉, 然後竟然無法直接透過UI的介面將wireless enable起來….
稍微google了一下, 下面的方式可以成功
首先試試看最基本的方式..
看來無效
1 2 |
root@ubuntu:~# ifconfig wlan0 up SIOCSIFFLAGS: Operation not possible due to RF-kill |
列出無線裝置
1 2 3 4 5 6 7 8 9 10 11 12 13 |
root@ubuntu:~# rfkill list 0: sony-wifi: Wireless LAN Soft blocked: yes Hard blocked: no 1: sony-bluetooth: Bluetooth Soft blocked: no Hard blocked: no 2: hci0: Bluetooth Soft blocked: no Hard blocked: no 3: phy0: Wireless LAN Soft blocked: yes Hard blocked: yes |
把wifi unblock吧~
再看看裝置是否ok了
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
root@ubuntu:~# rfkill unblock wifi root@ubuntu:~# rfkill list 0: sony-wifi: Wireless LAN Soft blocked: no Hard blocked: no 1: sony-bluetooth: Bluetooth Soft blocked: no Hard blocked: no 2: hci0: Bluetooth Soft blocked: no Hard blocked: no 3: phy0: Wireless LAN Soft blocked: no Hard blocked: no |