FYI, some marose motherfucker just wrote a sexy script to get WiFi working on boot on debian squeeze (unfortunately pre-wheezy) on wifi dongles that use the realtek RTL8188CUS chipset, which are the cheap microdongles on amazon.
This was the one i purchased.
It was the cheapest one available that was eligible for Amazon Prime. and i can confirm it works as its going right now. heres my lsusb and ip addr showing the WiFi dongle as recognised and working.
Code:
login as: pi
pi@192.168.1.2's password:
Linux raspberrypi 3.1.9+ #125 PREEMPT Sun Jun 17 16:09:36 BST 2012 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jun 18 22:16:38 2012 from 192.168.1.4
pi@raspberrypi:~$ lsusb
Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@raspberrypi:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether b8:27:eb:4f:3d:fd brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:d0:c1:47:8b:db brd ff:ff:ff:ff:ff:ff
inet 192.168.1.2/24 brd 192.168.1.255 scope global wlan0
inet6 fe80::2d0:41ff:fec7:db8b/64 scope link
valid_lft forever preferred_lft forever
All you have to do is read this - http://dl.dropbox.com/u/80256631/install-rtl8188cus.txt - and essentially do as it says depending on wether or not you are ethernet-connected. Its highly recommended that you are however.
The basic rundown of the script is that you copy it to your /boot/ folder using another computer and then just start up your pi and run it. (by using the command "sudo /boot/<scriptname>.sh")
It will then download the actual r-pi wifi drivers for the chipset, download a DHCP update and dependencies for both things, then after that it will run that other dudes rpi-updater and essentially update a bunch of stuff on your rpi which fixes a LOT of base problems (along with a really annoying problem that stopped people not being able to use startx without a display connected, essentially rendering VNC useless as while tightvnc would install and start a server, it wouldnt start up x so there wasnt a desktop for you to actually interact with).
Once the script is finished (and it will take a decent amount of time, like 20min > half hour). Plug in your wifi module and reboot. Voila, wifi working perfectly fine.
Heres my pi with the WiFi dongle connected and working.
http://db.tt/oWiHmmaD
http://db.tt/79xS9V8G
Now all i need to do is find a battery that has an infinite power source and i run my pi with NO WIRES AT ALL.
EDIT* Before anyone asks, no this isnt currently working on XBMC because its being cunty. its being worked on. As soon as XBMC works with wifi i'll know because im looking to get my hands on that motherfucker ASAFP.
Bookmarks