Como conectar na rede WiFi autenticada com WPA

Esta dica serve para conectar na rede WiFi, funciona mesmo se ela utilizar autenticação WPA/WPA2:

wpa_passphrase nomeseuwifi suasenha > /etc/wpa_supplicant.conf
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -D wext &
sleep 2
dhclient wlan0

Obrigado ao Vinicius Tinti pelo script com esta dica.

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