[Linux] Ubuntu How to enable wireless

我在ubuntu將wifi功能disable掉, 然後竟然無法直接透過UI的介面將wireless enable起來….
稍微google了一下, 下面的方式可以成功

首先試試看最基本的方式..
看來無效

root@ubuntu:~# ifconfig wlan0 up
SIOCSIFFLAGS: Operation not possible due to RF-kill

列出無線裝置

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了

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

發表迴響