User:Caveman978/SMC2662W

From eLinux.org
< User:Caveman978(Redirected from SMC2662W)
Jump to: navigation, search

BEFORE

Jun 5 19:48:44 raspberrypi kernel: usb 1-1.3.2: new full speed USB device number 10 using dwc_otg
Jun 5 19:48:44 raspberrypi kernel: usb 1-1.3.2: New USB device found, idVendor=0d5c, idProduct=a002
Jun 5 19:48:44 raspberrypi kernel: usb 1-1.3.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jun 5 19:48:44 raspberrypi kernel: cfg80211: Calling CRDA to update world regulatory domain
Jun 5 19:48:44 raspberrypi kernel: Atmel at76x USB Wireless LAN Driver 0.17 loading
Jun 5 19:48:44 raspberrypi kernel: usb 1-1.3.2: firmware atmel_at76c503-rfmd-acc.bin not found!
Jun 5 19:48:44 raspberrypi kernel: usb 1-1.3.2: you may need to download the firmware from
http://developer.berlios.de/projects/at76c503a/
Jun 5 19:48:44 raspberrypi kernel: at76c50x-usb: probe of 1-1.3.2:1.0 failed with error -2
Jun 5 19:48:44 raspberrypi kernel: usbcore: registered new interface driver at76c50x-usb

Firmware Install

http://packages.debian.org/squeeze/all/atmel-firmware/filelist

 pi@raspberrypi:~$ sudo apt-get install atmel-firmware

AFTER

Jun 5 19:57:31 raspberrypi kernel: usb 1-1.3.2: new full speed USB device number 11 using dwc_otg
Jun 5 19:57:31 raspberrypi kernel: usb 1-1.3.2: New USB device found, idVendor=0d5c, idProduct=a002
Jun 5 19:57:31 raspberrypi kernel: usb 1-1.3.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jun 5 19:57:31 raspberrypi kernel: usb 1-1.3.2: using firmware atmel_at76c503-rfmd-acc.bin (version 1.101.0-84)
Jun 5 19:57:31 raspberrypi kernel: at76c50x-usb 1-1.3.2:1.0: downloading internal firmware
Jun 5 19:57:34 raspberrypi kernel: usb 1-1.3.2: reset full speed USB device number 11 using dwc_otg
Jun 5 19:57:34 raspberrypi kernel: usb 1-1.3.2: device firmware changed
Jun 5 19:57:34 raspberrypi kernel: usb 1-1.3.2: USB disconnect, device number 11
Jun 5 19:57:34 raspberrypi kernel: usb 1-1.3.2: new full speed USB device number 12 using dwc_otg
Jun 5 19:57:34 raspberrypi kernel: usb 1-1.3.2: New USB device found, idVendor=0d5c, idProduct=a002
Jun 5 19:57:34 raspberrypi kernel: usb 1-1.3.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jun 5 19:57:34 raspberrypi kernel: at76c50x-usb 1-1.3.2:1.0: downloading external firmware
Jun 5 19:57:34 raspberrypi kernel: ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Jun 5 19:57:34 raspberrypi kernel: ieee80211 phy0: USB 1-1.3.2:1.0, MAC 00:04:e2:85:93:47, firmware 8.101.5-84
Jun 5 19:57:34 raspberrypi kernel: ieee80211 phy0: regulatory domain 0x10: FCC (USA)
Jun 5 19:57:34 raspberrypi kernel: udev[1034]: renamed network interface wlan0 to wlan1
Jun 5 19:57:34 raspberrypi ifplugd(wlan1)[1135]: ifplugd 0.28 initializing.
Jun 5 19:57:35 raspberrypi ifplugd(wlan1)[1135]: Using interface wlan1/00:04:E2:85:93:47 with driver <at76c50x-usb> (version: 3.1.9+)
Jun 5 19:57:35 raspberrypi ifplugd(wlan1)[1135]: Using detection mode: SIOCETHTOOL
Jun 5 19:57:35 raspberrypi ifplugd(wlan1)[1135]: Initialization complete, link beat not detected.

iwconfig

 pi@raspberrypi:~$ sudo iwconfig wlan1
 wlan1     IEEE 802.11b  ESSID:off/any  
         Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
         Retry  long limit:7   RTS thr:off   Fragment thr:off
         Encryption key:off
         Power Management:off

iwlist

 pi@raspberrypi:~$ sudo iwlist wlan1 scanning
 wlan1     Scan completed :
         Cell 01 - Address: 00:23:69:66:C6:CA
                   Channel:6
                   Frequency:2.437 GHz (Channel 6)
                   Quality=14/100  Signal level=14/100  
                   Encryption key:off
                   ESSID:"HOME"
                   Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                             24 Mb/s; 36 Mb/s; 54 Mb/s
                   Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                   Mode:Master
                   Extra:tsf=0000014941def6ab
                   Extra: Last beacon: 460ms ago
                   IE: Unknown: 000977696C6D636442474E
                   IE: Unknown: 010882848B962430486C
                   IE: Unknown: 030106
                   IE: Unknown: 2A0104
                   IE: Unknown: 2F0104
                   IE: Unknown: 32040C121860
                   IE: Unknown: 2D1A6C181BFFFF000000000000000000000000000000000000000000
                   IE: Unknown: 3D1606001700000000000000000000000000000000000000
                   IE: Unknown: DD090010180207F02C0000
                   IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00

edited /etc/network/interfaces

 pi@raspberrypi:~$ cat /etc/network/interfaces 
 # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
 # /usr/share/doc/ifupdown/examples for more information.
 auto lo
 iface lo inet loopback
 iface eth0 inet dhcp
 iface wlan0 inet dhcp
 wireless-essid WORK
 iface wlan1 inet dhcp
 wireless-essid HOME

ifup wlan1 and iwconfig/ifconfig after

 pi@raspberrypi:~$ sudo ifup wlan1
 pi@raspberrypi:~$ sudo iwconfig wlan1
 wlan1     IEEE 802.11b  ESSID:"HOME"  
         Mode:Managed  Frequency:2.437 GHz  Access Point: 00:23:69:66:C6:CA   
         Bit Rate=1 Mb/s   Tx-Power=20 dBm   
         Retry  long limit:7   RTS thr:off   Fragment thr:off
         Encryption key:off
         Power Management:off
         Link Quality=12/100  Signal level=12/100  
         Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
         Tx excessive retries:0  Invalid misc:0   Missed beacon:0
 pi@raspberrypi:~$ ifconfig wlan1
 wlan1     Link encap:Ethernet  HWaddr 00:04:e2:85:93:47  
         inet addr:192.168.1.133  Bcast:192.168.1.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:871 errors:0 dropped:0 overruns:0 frame:0
         TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000 
         RX bytes:231230 (225.8 KiB)  TX bytes:1620 (1.5 KiB)