My code works, I don’t know why.

國王的耳朵是驢耳朵

Ubuntu 12.04下面無線網路無法ifconfig Wlan0 Up的檢查

| Comments

錯誤訊息

1
2
$ifconfig wlan0 up
SIOCSIFFLAGS: Operation not possible due to RF-kill

解決方式

  • 列出RF的block狀態,如果是硬體關掉請自行打開RF開關
    • rfkill list all
1
2
3
4
5
6
7
$ rfkill list all
8: phy1: Wireless LAN
  Soft blocked: yes
  Hard blocked: yes
9: hci0: Bluetooth
  Soft blocked: yes
  Hard blocked: no
  • 從軟體上面打開WIFI
    • rfkill unblock wifi

Comments