Raspberry Pi WiFi
Today I decided to buy myself a Raspberry Pi – Model B. Going to use it in my home automation system. Because the Pi doesn’t have WiFi onboard you’ll have to use a WiFi dongle. Still had a Sitecom N300X4 laying in the drawer. After trying some different setups, I now have a good one.
——– lsusb listing of the N300X4
Bus 001 Device 004: ID 0df6:0060 Sitecom Europe B.V. WLA-4000 802.11bgn [Ralink RT3072]
——– /etc/network/interfaces – wlan0 config
#allow-hotplug wlan0
auto wlan0
iface wlan0 inet manual
wireless-power off << TURNING THIS OFF, DROPS THE ICMP LATENCY FOR 70%
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet static
address XXX.XXX.XXX.XXX
netmask XXX.XXX.XXX.XXX
network XXX.XXX.XXX.XXX
gateway XXX.XXX.XXX.XXX
——– /etc/wpa_supplicant/wpa_supplicant.conf – WPA2 WiFi
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid=”{YOUR_SSID}”
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=”{YOUR_PSK}”
}