Wifi RTL8188CUS

To shutdown and restart the wlan0 interface

sudo ifdown --force wlan0
sudo ifup wlan0

http://beginnerscorner.wordpress.com/2013/04/18/wifi-static-ip-on-the-raspberry-pi/

sudo nano /etc/network/interfaces


allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface anjos inet static
address 192.168.1.51
netmask 255.255.255.0
gateway 192.168.1.254


sudo nano /etc/wpa_supplicant/wpa_supplicant.conf


ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="MY_SSID"
psk="MY_PASS"

# Protocol type can be: RSN (for WP2) and WPA (for WPA1)
proto=WPA

# Key management type can be: WPA-PSK or WPA-EAP (Pre-Shared or Enterprise)
key_mgmt=WPA-PSK

# Pairwise can be CCMP or TKIP (for WPA2 or WPA1)
pairwise=TKIP

#Authorization option should be OPEN for both WPA1/WPA2 (in less commonly used are SHARED and LEAP)
auth_alg=OPEN
id_str=”anjos
}

Update

The configuration above didn’t work at my 2º try.

This works:
http://interpretthecode.wordpress.com/2012/11/09/configuring-raspberry-pi-wireless-with-realtek-rtl8188cus/

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
auto walan0
iface wlan0 inet dhcp
wpa-ssid “MY_SSID”
wpa-psk “MY_PASSWORD”
iface default inet dhcp

Next, I will try this:

http://www.savagehomeautomation.com/projects/raspberry-pi-installing-the-edimax-ew-7811un-usb-wifi-adapte.html

RECONNECT WIFI PROBLEM!

This adapter doesn’t reconnect after the router goes down so we need to set up a script:

http://rpi.tnet.com/project/scripts/wifi_check

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s