What if you use Wicd when cannecting to wireless networks. Its just so much easier.
here is my wpa_supplicant.conf file
network={
ssid="DhiraaguADSL"
psk=1234567890
}
now i run the command
wpa_supplicant -B -i wlan1 -Dwext -c /etc/wpa_supplicant.conf
now i get error
Line 3: Invalid PSK '1234567890'
Line 3: failed to parse psk '1234567890'
Line 4: WPA-PSK accepted for key management, but no PSK configured
Line 4: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant.conf'
im using BT4 Final and AWUS03H
What if you use Wicd when cannecting to wireless networks. Its just so much easier.
i have changed the settings in AP, now it is WPA, TKIP, PSK
wpa_supplicant.conf
network={
ssid="hospital 13"
scan_ssid=1
key_mgmt=WPA-PSK
psk="1234567890"
}
root@bt:~# wpa_supplicant -Dwext -iwlan1 -c/etc/wpa_supplicant.conf
CTRL-EVENT-SCAN-RESULTS
Trying to associate with 00:1b:11:24:27:2e (SSID='hospital 10' freq=2437 MHz)
Associated with 00:1b:11:24:27:2e
WPA: Key negotiation completed with 00:1b:11:24:27:2e [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:1b:11:24:27:2e completed (auth) [id=0 id_str=]
WPA: Group rekeying completed with 00:1b:11:24:27:2e [GTK=TKIP]
WPA: Group rekeying completed with 00:1b:11:24:27:2e [GTK=TKIP]
WPA: Group rekeying completed with 00:1b:11:24:27:2e [GTK=TKIP]
^CCTRL-EVENT-TERMINATING - signal 2 received
ioctl[SIOCSIWENCODEEXT]: No such file or directory
root@bt:~#
when the command is running, i do get internet
if i stop then connection gets lost.
i have this problem when using WEP also
its like every one minute the connection lost, then i have to give the command
iwconfig wlan1 essid "test"
any idea?
i am using alfa awus036h wifi adaptor
Something like the below should work OK.
make new file with the below entered and save as wpa_supplicant.conf, save to for instance /root/
Code:ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 ap_scan=1 network={ scan_ssid=1 ssid="your_essid_here" proto=RSN key_mgmt=WPA-PSK pairwise=TKIP CCMP group=TKIP psk="your 1337 pa$$\/\/0rD here" }
Start it up ;
in a seperate console start up dhclient ;Code:wpa_supplicant -i wlan0 -c wpa_supplicant.conf
Interwebs should be working.Code:dhclient wlan0
Last edited by TAPE; 05-28-2010 at 10:06 AM.