LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-03-2006, 08:07 PM   #1
android6011
Member
 
Registered: May 2005
Posts: 255

Rep: Reputation: 30
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

Last edited by android6011; 08-03-2006 at 11:05 PM.
 
Old 08-04-2006, 06:55 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
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
}
 
Old 08-04-2006, 12:19 PM   #3
android6011
Member
 
Registered: May 2005
Posts: 255

Original Poster
Rep: Reputation: 30
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. ?
 
Old 08-04-2006, 01:03 PM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
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.
 
Old 08-04-2006, 02:45 PM   #5
android6011
Member
 
Registered: May 2005
Posts: 255

Original Poster
Rep: Reputation: 30
ok, never mind , I figured out you can leave wpa_supplicant running and just issue "iwconfig eth0 mode monitor" as usual
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wpa_supplicant GrayGhost Slackware 10 01-08-2007 02:23 PM
wpa_supplicant addisonzinser Slackware 0 02-04-2006 12:12 AM
wpa_supplicant hosler Slackware 7 01-25-2006 04:48 PM
wpa_supplicant (AGAIN) gbergeson Linux - Laptop and Netbook 10 08-03-2005 08:28 AM
WPA_Supplicant Fraudulent Linux - Wireless Networking 0 10-04-2004 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration