OpenWrt Forum Archive

Topic: Scan for all APs *and* stations

The content of this topic has been archived on 24 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I've got kamikaze installed on a wrt54gl v1.1 (broadcom chipset) and am wondering if it is at all possible to do a scan and detect clients that are not associated? Essentially, I am looking to scan all channels and display rssi for all stations whether or nor they are associated with the AP performing the scan.

thanks
dave

(Last edited by daverod on 10 Aug 2007, 21:21)

hegnenberg wrote:

Try 'wlanconfig ath0 list scan' when in client mode...

I'm using a router with a broadcom chipset. That command is limited to the atheros chipset.


hegnenberg wrote:

Or, help to port shtumbler for ash: http://forum.openwrt.org/viewtopic.php?id=11725

As far as I can tell, that tool is to find available APs. I'm more interested in displaying signal strength for any nearby AP or client. If it's emitting RF, I'd like to see RSSI for the host in question. Is that possible with the broadcom driver??

thanks
dave

You should first be in "monitor" mode with the wifi adapter... The way to get there is diferent from Atheros chipset (try iwconfig wlan0 mode monitor ?). Then, you see all the packets on air, on a specific channel. The problem is how to read their level of RF (rssi) .

I am trying to do this with an Atheros chipset -- how can this be accomplished?  I have set the wifi adapter to "monitor" mode, but I don't know how to actually see the signal strrengths of anything beyond that. 

I have tried to use iwlist ath0 scanning last, but this only shows a fraction of the available APs (compared to my laptop scan).

I've also put the AP into sta mode and done a scan, and this returns a list of AP's, but it does not show anything else.

I want to see, as dave does, all objects emitting RF, be it AP or client.  The sta mode scan doesn't show me my laptop, which would be in an ideal scan.

Any ideas?

to scan APs and stations at the same time use airodump from aircrack package. Wlan interface should be in monitor mode.

The discussion might have continued from here.