raafa
(usa Debian)
Enviado em 05/08/2012 - 22:15h
root@oculto:/home/system# pkill wpa_supplicant
root@oculto:/home/system# wpa_passphrase sua_rede senha > /etc/wpa_supplicant/wpa_supplicant.conf
root@oculto:/home/system# nano /etc/network/interfaces
This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto lo wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-conf /etc/wpa_supplicant/wpa_supplicant.con
root@oculto:/home/system# nano /etc/network/interfaces
root@oculto:/home/system# /etc/init.d/networking stop
Deconfiguring network interfaces.../etc/network/interfaces:8: interface lo declared allow-auto twice
ifdown: couldn't read interfaces file "/etc/network/interfaces"
failed.
root@oculto:/home/system# /etc/init.d/networking start
Configuring network interfaces.../etc/network/interfaces:8: interface lo declared allow-auto twice
ifup: couldn't read interfaces file "/etc/network/interfaces"
failed.
root@oculto:/home/system# iwconfig
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:on
eth0 no wireless extensions.
root@oculto:/home/system# ps aux |grep -i wpa_supplicant
root 5662 0.0 0.0 3360 756 pts/1 S+ 22:13 0:00 grep -i wpa_supplicant