Raspberry Pi with RTL8188CUS 802.11n wifi adapter

I did my research and determined that if I wanted WiFi on my Raspberry Pi I should stick to a model that can also run in Access Point mode for hacking around with, and sure enough I settled on a Realtek RTL8188CUS chipset one.

If anyone is interested, I purchased mine from this ebay seller here. This is a direct link to the one I actually got, in fact I bought two since they were cheap and I do have two Raspberry Pi’s after all.

I am using the blog post here, to determine if I can get it to do something. So far so good, see the output below;

michaelf@tom ~ $ dmesg | grep rtl
[ 6.792640] usbcore: registered new interface driver rtl8192cu
michaelf@tom ~ $ lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 005: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

I followed the post and sure enough it works. if you want your RPi to still use a static IP with the br0 interface you can use the sample one below.

#/etc/network/interfaces
auto lo
iface lo inet loopback
auto br0
iface br0 inet static
bridge_ports eth0 wlan0
bridge_fd 1
bridge_maxwait 0
bridge_hello 3
bridge_maxage 10
bridge_stp off
address 192.168.n.14
netmask 255.255.255.0
network 192.168.n.0
broadcast 192.168.n.255
gateway 192.168.n.254

allow-hotplug eth0
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet manual

If you want to setup the WiFi adaptor in client mode, you can follow the information on this post here. Which I can confirm works, as I got it working with my adapter.