2014-07-28
Slitaz -- wpa
Successfully initialized wpa_supplicant
wlan0: Failed to initialize driver interface
1.
root@slitaz:/home/tux# /etc/init.d/wpa_supplicant start
Starting wpa_supplicant deamon: wpa_supplicant... Successfully initialized wpa_supplicant
wlan0: Failed to initialize driver interface [ Failed ]
2.
root@slitaz:/home/tux# dmesg | tail -15
usbcore: deregistering interface driver r8712u
usb 2-6: reset high-speed USB device number 4 using ehci_hcd
r8712u: Driver unloaded
r8712u: module is from the staging directory, the quality is unknown, you have been warned.
r8712u: DriverVersion: v7_0.20100831
r8712u: register rtl8712_netdev_ops to netdev_ops
r8712u: USB_SPEED_HIGH with 4 endpoints
r8712u: Boot from EFUSE: Autoload OK
r8712u: CustomerID = 0x0010
r8712u: MAC Address from efuse = c8:60:00:xx:xx:xx
r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
usbcore: registered new interface driver r8712u
r8712u: 1 RCR=0x153f00e
r8712u: 2 RCR=0x553f00e
ADDRCONF(NETDEV_UP): wlan0: link is not ready
root@slitaz:/home/tux#
3.
root@slitaz:/home/tux# lsmod | head -5
Module Size Used by Tainted: G
r8712u 115832 0
mac80211 161375 0
cfg80211 117342 1 mac80211
rfkill 10155 2 cfg80211
root@slitaz:/home/tux#
4.
root@slitaz:/home/tux# wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf &
root@slitaz:/home/tux# Successfully initialized wpa_supplicant
5.
root@slitaz:/home/tux# dmesg | tail
r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
usbcore: registered new interface driver r8712u
r8712u: 1 RCR=0x153f00e
r8712u: 2 RCR=0x553f00e
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers present
6.
root@slitaz:/home/tux# iwconfig wlan0
wlan0 IEEE 802.11bg ESSID:"slitaz" Nickname:"rtl_wifi"
Mode:Managed Frequency:2.442 GHz Access Point: 30:85:A9:xx:xx:xx
Bit Rate:54 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:****-****-****-****-****-****-****-**** Security mode:open
Power Management:off
Link Quality=100/100 Signal level=63/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
7.
root@slitaz:/home/tux# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr C8:60:00:xx:xx:xx
inet addr:192.168.1.32 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::ca60:ff:fexx:xxxx/xx Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:113 errors:0 dropped:81 overruns:0 frame:0
TX packets:12 errors:0 dropped:1 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14750 (14.4 KiB) TX bytes:1807 (1.7 KiB)