|
Edited by miha at 2015-12-15 14:44
Well... it's not that simple to get wifi working...
I have WPA2-PSK WLAN@home so I did following:
- # ip link show wlan0
- 7: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT qlen 1000
- link/ether 58:63:56:c8:eb:2c brd ff:ff:ff:ff:ff:ff
- # iwlist wlan0 scan |grep mySSID
- ESSID:"mySSID"
-
- # wpa_passphrase <mySSID>
- # vi /etc/wpa_supplicant.conf
- ctrl_interface=/var/run/wpa_supplicant
- network={
- ssid="mySSID"
- psk=73b35a8ce20a19d9b736149d3be3fa48154631fgef0d1b132cdda72adb1fcce
- key_mgmt=WPA-PSK
- proto=RSN WPA
- pairwise=CCMP TKIP
- group=CCMP TKIP
- }
Copy code
An then try:
- # wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf
- rfkill: Cannot open RFKILL control device
- ioctl[SIOCSIWAP]: Operation not permitted
- ioctl[SIOCSIWENCODEEXT]: Invalid argument
- ioctl[SIOCSIWENCODEEXT]: Invalid argument
- # whoami
- root
Copy code
And this is output of dmesg right after command wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf:
- [ 8406.811486] RTL871X: rtw_aes_decrypt(wlan0) no_gkey_bc_cnt:1, no_gkey_mc_cnt:0
- [ 8408.399109] RTL871X: sta recv deauth reason code(2) sta:00:1e:52:7a:a3:2a, ignore = 0
- [ 8408.410647] hw_var_set_bssid reg=618
- [ 8411.230122] RTL871X: nolinked power save enter
- [ 8420.290221] ==> rtl8188e_iol_efuse_patch
- [ 8420.515175] RTL871X: nolinked power save leave
- [ 8420.516604] RTL871X: set bssid:00:1e:52:7a:a3:2a
- [ 8420.516666] RTL871X: set ssid [mySSID] fw_state=0x00000088
- [ 8420.516696] hw_var_set_bssid reg=618
- [ 8420.532249] RTL871X: start auth
- [ 8420.535103] RTL871X: auth success, start assoc
- [ 8420.538491] RTL871X: assoc success
- [ 8420.550522] RsvdPageNum: 8
- [ 8420.942993] RTL871X: rtw_aes_decrypt(wlan0) no_gkey_bc_cnt:2, no_gkey_mc_cnt:0
- [ 8423.168493] hw_var_set_bssid reg=618
- [ 8423.174154] RTL871X: set bssid:00:1e:52:7a:a3:2a
- [ 8423.174352] RTL871X: set ssid [mySSID] fw_state=0x00000088
- [ 8423.174372] hw_var_set_bssid reg=618
- [ 8423.179193] RTL871X: set bssid:00:1e:52:7a:a3:2a
- [ 8423.179356] RTL871X: set ssid [mySSID] fw_state=0x00000088
- [ 8423.179730] RTL871X: set bssid:00:1e:52:7a:a3:2a
- [ 8423.179774] RTL871X: set ssid [mySSID] fw_state=0x00000088
- [ 8423.194871] RTL871X: start auth
- [ 8423.196581] RTL871X: auth success, start assoc
- [ 8423.199384] hw_var_set_bssid reg=618
- [ 8424.541721] RTL871X: set bssid:00:00:00:00:00:00
- [ 8426.020118] RTL871X: nolinked power save enter
- [ 8426.900449] ==> rtl8188e_iol_efuse_patch
- [ 8427.158739] RTL871X: nolinked power save leave
- [ 8428.470108] RTL871X: nolinked power save enter
Copy code
Br
-miha
|
|