2012-09-23

mk802 -- wifi

RTL8188CUS 802.11n WLAN Adapter

1.
root@arm:~# lsusb | grep RTL
Bus 003 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

2.
root@arm:~# lsmod
Module                  Size  Used by
cpufreq_powersave       1076  0
pegasus                20639  0
fbcon                  36269  70
font                    7715  1 fbcon
bitblit                 4179  1 fbcon
softcursor              1131  1 bitblit
8192cu                515490  0

3.
root@arm:~# modinfo 8192cu | head
filename:       /lib/modules/3.0.42-bv1/kernel/drivers/net/wireless/rtl8192cu/8192cu.ko
version:        v3.3.2_3192.20120103
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     BB2AE8E045935F430768E1D
alias:          usb:v0BDAp8186d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0E66p0019d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0846p9021d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0B05p17ABd*dc*dsc*dp*ic*isc*ip*

4.
root@arm:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

# The primary network interface
auto eth1
iface eth1 inet dhcp
# Example to keep MAC address between reboots
#hwaddress ether DE:AD:BE:EF:CA:FE

# WiFi Example
auto wlan0
iface wlan0 inet dhcp
    wpa-ssid "your ssid"
    wpa-psk  "your passwd"

5.
root@arm:~# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 48:02:2a:xx:xx:xx
          inet addr:192.168.1.31  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:27321 errors:0 dropped:575330 overruns:0 frame:0
          TX packets:1527 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:49721241 (47.4 MiB)  TX bytes:2125537 (2.0 MiB)
.