2013-07-31 18:27:59

by Michael McElroy

[permalink] [raw]
Subject: CLI scan tool needed

I've done a lot of searching before posting but can't seem to find the answer.

Using the backports project, I have one of the latest ralink driver
going on an arm processor running 2.6.29 along with all nl80211 parts.
Works great, thank you! The last piece I need is to get the to SSID
list, their security protocols, and signal strength. I'm looking for
output similar to 'wilist scanning'. 'iw scan' gives a lot of info but
not quite what I need without a lot of massaging.
GUI based utilities won't work for my environment.Can anyone give me
some suggestions where to look?

Thanks,

Mike


2013-07-31 20:31:00

by Krishna Chaitanya

[permalink] [raw]
Subject: Re: CLI scan tool needed

On Wed, Jul 31, 2013 at 11:57 PM, Michael McElroy <[email protected]> wrote:
> Using the backports project, I have one of the latest ralink driver
> going on an arm processor running 2.6.29 along with all nl80211 parts.
> Works great, thank you! The last piece I need is to get the to SSID
> list, their security protocols, and signal strength. I'm looking for
> output similar to 'wilist scanning'. 'iw scan' gives a lot of info but
> not quite what I need without a lot of massaging.

"wpa_cli -i <interface> scan"
this should give you the required info, if you are already running the
wpa_supplicant.

2013-07-31 21:24:09

by Michael McElroy

[permalink] [raw]
Subject: Re: CLI scan tool needed

Got it. Had to do a scan_results after the scan.

Thank you.

On Wed, Jul 31, 2013 at 4:51 PM, Michael McElroy <[email protected]> wrote:
> Thanks Krishna, but all it returns is OK. Running the version 2.0 of
> wpa_supplicant.
>
>
> On Wed, Jul 31, 2013 at 4:30 PM, Krishna Chaitanya
> <[email protected]> wrote:
>> On Wed, Jul 31, 2013 at 11:57 PM, Michael McElroy <[email protected]> wrote:
>>> Using the backports project, I have one of the latest ralink driver
>>> going on an arm processor running 2.6.29 along with all nl80211 parts.
>>> Works great, thank you! The last piece I need is to get the to SSID
>>> list, their security protocols, and signal strength. I'm looking for
>>> output similar to 'wilist scanning'. 'iw scan' gives a lot of info but
>>> not quite what I need without a lot of massaging.
>>
>> "wpa_cli -i <interface> scan"
>> this should give you the required info, if you are already running the
>> wpa_supplicant.

2013-07-31 20:58:13

by Michael McElroy

[permalink] [raw]
Subject: Re: CLI scan tool needed

Thanks Krishna, but all it returns is OK. Running the version 2.0 of
wpa_supplicant.


On Wed, Jul 31, 2013 at 4:30 PM, Krishna Chaitanya
<[email protected]> wrote:
> On Wed, Jul 31, 2013 at 11:57 PM, Michael McElroy <[email protected]> wrote:
>> Using the backports project, I have one of the latest ralink driver
>> going on an arm processor running 2.6.29 along with all nl80211 parts.
>> Works great, thank you! The last piece I need is to get the to SSID
>> list, their security protocols, and signal strength. I'm looking for
>> output similar to 'wilist scanning'. 'iw scan' gives a lot of info but
>> not quite what I need without a lot of massaging.
>
> "wpa_cli -i <interface> scan"
> this should give you the required info, if you are already running the
> wpa_supplicant.

2013-07-31 22:04:20

by Thomas Klute

[permalink] [raw]
Subject: Re: CLI scan tool needed

Am 31.07.2013 22:51, schrieb Michael McElroy:
> Thanks Krishna, but all it returns is OK. Running the version 2.0 of
> wpa_supplicant.

I think the command you want is "scan_results" instead of "scan", so
"wpa_cli -i <interface> scan_results" over all. ;-)

> On Wed, Jul 31, 2013 at 4:30 PM, Krishna Chaitanya
> <[email protected]> wrote:
>> On Wed, Jul 31, 2013 at 11:57 PM, Michael McElroy <[email protected]> wrote:
>>> Using the backports project, I have one of the latest ralink driver
>>> going on an arm processor running 2.6.29 along with all nl80211 parts.
>>> Works great, thank you! The last piece I need is to get the to SSID
>>> list, their security protocols, and signal strength. I'm looking for
>>> output similar to 'wilist scanning'. 'iw scan' gives a lot of info but
>>> not quite what I need without a lot of massaging.
>>
>> "wpa_cli -i <interface> scan"
>> this should give you the required info, if you are already running the
>> wpa_supplicant.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>