Skip to content
October 10, 2012 / alancads

BT5 WIFI OPEN, WEP, WPA

# /etc/init.d/network-manager stop

# update-rc.d -f network-manager remove

# ifconfig wlan0 down

# ifconfig wlan0 up

# iwlist wlan0 scan

[network open]

# iwconfig wlan0 essid nomedarede

[wep]

# iwconfig wlan0 essid nomedarede key senha

[wpa]

# wpa_passphrase nomedarede senha > /etc/wpa_supplicant/wpa_supplicant.conf

# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -B -D wext

# dhclient wlan0

[edit is file to configure automatic wirelles on boot]

# vim /etc/network/interfaces

auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Credit: blog.cesar.augustus.nom.br

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

%d bloggers like this: