Pages

Thursday, April 11, 2013

Raspberry Pi Model A + Linksys WUSB54GC v3 WiFi installation record



I am PuTTY to log in the Raspberru Pi Model A with Linksys WUSB54GC v3 and made a record of the configuration file and system messages.


pi@raspberrypi ~ $ cat /etc/wpa.conf
network={
ssid=tlfong01
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=46154615
}


pi@raspberrypi ~ $ cat /etc/network/interfaces
auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet static
address 192.168.1.40
netmask 255.255.255.0
gateway 192.168.1.1

# The wireless interface
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa.conf



Raspberry Pi Model A + Linksys WUSBGC v3 USB Wifi adapter Test Record - tlfong01 2013apr11hkt22:33

login as: pi
pi@192.168.1.40's password:
Linux raspberrypi 3.2.27+ #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 armv6l
...

pi@raspberrypi ~ $ date
Thu Apr 11 13:59:10 UTC 2013

pi@raspberrypi ~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 003: ID 1737:0077 Linksys WUSB54GC v3 802.11g Adapter [Ralink RT2           070L]
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver

pi@raspberrypi ~ $ apt-cache search WUSB54GC
pi@raspberrypi ~ $

pi@raspberrypi ~ $ apt-cache search Ralink RT2070L
pi@raspberrypi ~ $

pi@raspberrypi ~ $ lsmod
Module                  Size  Used by
i2c_dev                 5587  0
snd_bcm2835            12808  0
snd_pcm                74834  1 snd_bcm2835
snd_seq                52536  0
snd_timer              19698  2 snd_seq,snd_pcm
snd_seq_device          6300  1 snd_seq
snd                    52489  5 snd_seq_device,snd_timer,snd_seq,snd_pcm,snd_bcm2835
snd_page_alloc          4951  1 snd_pcm
joydev                  9102  0
evdev                   8682  2
spidev                  5136  0
arc4                    1187  2
rt2800usb              13009  0
rt2800lib              47242  1 rt2800usb
crc_ccitt               1465  1 rt2800lib
rt2x00usb              11075  1 rt2800usb
rt2x00lib              41057  3 rt2x00usb,rt2800lib,rt2800usb
mac80211              236178  3 rt2x00lib,rt2x00usb,rt2800lib
cfg80211              171957  2 mac80211,rt2x00lib
hid_logitech_dj        10438  0
spi_bcm2708             4401  0
i2c_bcm2708             3681  0


pi@raspberrypi ~ $ dmesg
...

[    1.818030] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.825050] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.832450] usb usb1: Product: DWC OTG Controller
[    1.837302] usb usb1: Manufacturer: Linux 3.2.27+ dwc_otg_hcd
[    1.843222] usb usb1: SerialNumber: bcm2708_usb
[    1.848746] hub 1-0:1.0: USB hub found
[    1.858894] hub 1-0:1.0: 1 port detected
...
[    2.623440] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
[    2.637552] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.651178] usb 1-1: Product: USB 2.0 Hub
[    2.663076] hub 1-1:1.0: USB hub found
[    2.674196] hub 1-1:1.0: 4 ports detected
[    2.963155] usb 1-1.3: new high-speed USB device number 3 using dwc_otg
[    3.111174] usb 1-1.3: New USB device found, idVendor=1737, idProduct=0077
[    3.124522] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.138787] usb 1-1.3: Product: 802.11 g WLAN
[    3.149589] usb 1-1.3: Manufacturer: Ralink
[    3.161000] usb 1-1.3: SerialNumber: 1.0
[    3.273166] usb 1-1.4: new full-speed USB device number 4 using dwc_otg
..
[    3.417224] usb 1-1.4: New USB device found, idVendor=046d, idProduct=c52b
[    3.430611] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.444392] usb 1-1.4: Product: USB Receiver
[    3.455054] usb 1-1.4: Manufacturer: Logitech
[    4.145146] udevd[137]: starting version 175
...
[    7.021952] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    7.023764] Registered led device: rt2800usb-phy0::radio
[    7.023905] Registered led device: rt2800usb-phy0::assoc
[    7.024021] Registered led device: rt2800usb-phy0::quality
[    7.024230] usbcore: registered new interface driver rt2800usb
...
[   31.762329] wlan0: authenticate with cc:5d:4e:2b:88:b8 (try 1)
[   31.764808] wlan0: authenticated
[   31.860566] wlan0: associate with cc:5d:4e:2b:88:b8 (try 1)
[   31.863450] wlan0: RX AssocResp from cc:5d:4e:2b:88:b8 (capab=0x411 status=0 aid=1)
[   31.863477] wlan0: associated
...


pi@raspberrypi ~ $ iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: CC:5D:4E:2B:88:B8
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=70/70  Signal level=-31 dBm
                    Encryption key:on
                    ESSID:"tlfong01"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000174f41f53
                    Extra: Last beacon: 66610ms ago
                    ...
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK


pi@raspberrypi ~ $ sudo apt-get install wpasupplicant

pi@raspberrypi ~ $ cat /etc/wpa.conf
network={
ssid=tlfong01
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=46154615
}


pi@raspberrypi ~ $ cat /etc/network/interfaces
auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet static
address 192.168.1.40
netmask 255.255.255.0
gateway 192.168.1.1

# The wireless interface
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa.conf


pi@raspberrypi ~ $ sudo /etc/init.d/networking restart
[....] Running /etc/init.d/networking restart is deprecated because it may not re-enable so[warnterfaces ... (warning).
[....] Reconfiguring network interfaces...

!!! PuTTY connection lost at this point - tlfong01 2013apr11 !!! 


References 

http://elinux.org/RPi_Peripherals#Wireless:_TP-Link_TL-WN722N_USB_wireless_adapter_.28Debian_6.29
http://www.element14.com/community/docs/DOC-44703/l/raspberry-pi-wifi-adapter-testing
http://omer.me/2012/04/setting-up-wireless-networks-under-debian-on-raspberry-pi/
http://neville-wright.com/setup-your-raspberry-pi-wireless-network/
http://www.element14.com/community/docs/DOC-44703
http://elinux.org/RPi_VerifiedPeripherals#USB_WiFi_Adapters

.END









No comments:

Post a Comment