Jan 112014
Using raspberian the Wifi setup for the Raspberry Pi is really easy. I had the Wifi stick connected while installing and found all drivers being there already.
lsusb showed
Bus 001 Device 004: ID 0846:9041 NetGear, Inc. WNA1000M 802.11bgn [Realtek RTL8188CUS]
and /etc/network/interfaces had
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
So i created my WPA-Supplicant file using
wpa_passphrase
and pasted the output in /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="ssid"
psk=<myencryptedpassword>
}
after doing ifdown wlan0 && ifup wlan0 I was connected to my network!
Update:
If you want a static IP, you have to “tell it” WPA-Supplicant like this:
/etc/network/interfaces
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
iface homewlan inet static
address 192.168.12.123
network 192.168.12.0
netmask 255.255.255.0
broadcast 192.168.12.255
gateway 192.168.12.200
/etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
id_str="homewlan"
ssid="ssid"
psk=<myencryptedpassword>
}
Update:
According to this and this site, the chipset is able to create and AP. Just get hostapd and https://github.com/segersjens/RTL8188-hostapd/archive/v1.0.tar.gz