LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   wpa_supplicant question (https://www.linuxquestions.org/questions/linux-software-2/wpa_supplicant-question-470577/)

android6011 08-03-2006 08:07 PM

wpa_supplicant question
 
Right now I have bcm43xx an wpa_supplicant working on kernel 2.6.18-rc3. When I boot I run wpa_supplicant (arguments), the dhclient, this connects and Im good to go. But I was wondering how I can switch between access points. Say I am currently connected to one, what commands do I need to issue to switchs the AP. Also, how can I break the connection, and switch to monitor mode for things like aircrack-ng, and then go back to using the AP. thanks

Hangdog42 08-04-2006 06:55 AM

In theory, if you have different access points defined in your wpa_supplicant.conf, it is supposed to automatically detect when you move between access points. You can also add a priority statement to each entry where wpa_supplicant will look for those with a higher priority first. Here is an example based on my wpa_supplicant.conf and it seems to work:

Code:

network={
ssid="HomeSSID"
key_mgmt=NONE
auth_alg=SHARED
group=WEP104
wep_key0=HexWEPKey
wep_tx_keyidx=0
priority=5
}
network={
ssid="AnotherSSID"
key_mgmt=NONE
auth_alg=SHARED
group=WEP40
wep_key0="WEPHexKEy"
wep_tx_keyidx=0
priority=4
}
network={
ssid="AThirdSSID"
key_mgmt=NONE
auth_alg=SHARED
group=WEP40
wep_key0=WEPHexKey
wep_tx_keyidx=0
priority=1
}
network={
ssid="WPA_NETOWRK_SSID"
scan_ssid=1
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="WPA_Passphrase"
priority=1
}


android6011 08-04-2006 12:19 PM

Ok, what if I want to completely break the connection to the AP, and set the card into monitor mode for things like Kismet, what do I need to do to stop wpa_supplicant, stop the connection, etc. ?

Hangdog42 08-04-2006 01:03 PM

Quote:

Originally Posted by android6011
Ok, what if I want to completely break the connection to the AP, and set the card into monitor mode for things like Kismet, what do I need to do to stop wpa_supplicant, stop the connection, etc. ?


Sorry but I refuse to answer questions about using Kismet, aircrack or similar programs. My feeling is that if you really need to use them, you've probably got the skills to figure out how to use them.

android6011 08-04-2006 02:45 PM

ok, never mind , I figured out you can leave wpa_supplicant running and just issue "iwconfig eth0 mode monitor" as usual


All times are GMT -5. The time now is 05:58 PM.