Got my Pi already – whoopee!
However, I can’t get WiFi set up, even with all the info from Omer and this topic.
I’m using an Edimax EW-7811Un wireless 802.11b/g/n nano USB adaptor. This is based on a Realtek RTL8188CUS chipset, and uses the rtl8192cu debian driver.
I’m using Debian squeeze from 19-04-2012.
The /etc/apt/sources.list already had ‘main non-free’.
I did:sudo aptitude update
sudo aptitude install firmware-realtek wireless-tools
I also did:sudo apt-get install wpasupplicant
but the wpasupplicant package was already up to date, as mentioned by @pdp7 (what is the difference between aptitude and apt-get?).
I added into /etc/network/interfaces:auto wlan0
iface wlan0 inet dhcp
wpa-ssid “NETWORK SSID”
wpa-psk “NETWORK PASSWORD”
Booting up the Pi with the dongle in place results in long timeouts from CRDA and somewhere after, so I boot up the Pi and then insert the WiFi dongle.
When I insert the dongle, I get the following from dmesg:usb 1-1.2: new high speed USB device number 6 using dwc_otg
usb 1-1.2: New USB device found, idVendor=7392, idProduct=7811
usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.2: Product: 802.11b WLAN Adapter
usb 1-1.2: Manufacturer: Realtek
usb 1-1.2: SerialNumber: 00e04c000001
cfg80211: Calling CRDA to update world regulatory domain
I get the following from lsmod:Module Size Used by
rtl8192cu 87384 1
rtl8192c_common 52464 1 rtl8192cu
rtlwifi 61528 1 rtl8192cu
mac80211 171628 3 rtl8192cu,rtl8192c_common,rtlwifi
cfg80211 123084 2 rtlwifi,mac80211
But from iwconfig I only get:lo no wireless extentions
eth0 no wireless extentions
(no mention of wlan0).
And from iwlist scan:lo Interface doesn"t support scanning
eth0 Interface doesn"t support scanning
(again, no wlan0).
lsusb just hangs takes a very long time to come back (or not).
I haven’t been able to understand the instructions about the 8192cu.ko module, rtl8192cufw.bin, or other things mentioned in this topic.
Can anyone tell me where I should go from here?
Update: I've managed to add 8192cu.ko – I did:wget http://www.electrictea.co.uk/rpi/8192cu.tar.gz
tar -zxvf 8192cu.tar.gz
sudo cp 8192cu.ko /lib/modules/3.1.9+/kernel/net/wireless/
but still no go.
From what I’ve been reading, having lsusb hang seems to be indicative of a real problem...