Script to save scan data

Is it posible to make a script that saves the values of all the connections found when a scan is done??
The main point is to do a scan, see the signal level and connect to the best one via script.

no need for a script I found out. Remove the SSID from the wireless config. Enter a single connect-list entry with a default profile. It will connect to any AP thats available with the best signal strength automatically.

Thanks, but that doesn’t suit my needs.
I have two wlan enabled, one in station mode and the other as AP. If I do what you told me, the station connects to my AP, and doesn’t work properly.

you can modify the connect list to disallow connection to specific APs

Thanks, I just realized that.
But I have a cuestion. I’ve done that, but it doesn’t connect to the AP with the best signal strength (-47 in my case) and instead connects to another one in the range i’ve displayed but with worse signal strength (-70).
Do you know why this happens??

you can also modify the connect list to disallow connection to APs with a below-certain-limit signal

Yes, I know that.

My connection list rules are:
-Not to connect to certain MAC addresses: the ones of the other WLAN and VirtualAPs associated to it.
-Connect to “anyone” if signal strength is in this range: -75..75.

The issue comes when, without SSID, it connects to a AP with -70dbm having one with (-45 dbm) just at the same room for testing.
I was told that the common thing was to connect to the AP with better signal strength.

enable the “wireless,debug” logging and then look in the log file - you will see why the client connects to that specific AP.

Hi all

Since this script seems to be a script orientated thread, I would like to come back to the first post.

It would be real nice to have a script make snapshots of all your clients connections’ signal strengths at different times of the day.

If this could be exported to a file and mailed/uploaded somewhere, you can easily see when a certain client or group of clients’ signals start deteriating. This will help you find a problem long before you have a crisis.

I’ll see what I come up with. Currently I’m working on something else, but I’ll pay attention to this if anyone is interested.

G

Ever had any luck to this?

Hi Rudi

No, no real luck with such a system. But, we have a general rule of thumb of always ensuring your clients link at between -70 and -75db. This ensures your links are all much more stable, and it makes it easy to see that all your clients have a 70-75db signal. When this changes to say -80 to -85db, then you know something is wrong

Thanks. Pity.
I basically use -50 to -70dBm for clients, specially since I use NV2 on most of my towers.
The issue is that although some clients are having -55dBm they still disconnect. This issue is at large discussed in several places in this forum. Since imho it all has to do with interference from other TDMA channels in the vicinity (real distance as in neighbouring working channels) I need to know of each clients what other signals they are being bombarded with. The only way to find out is a wireless scan. But to visit now each client… weeks of work… I also want to scan them when they are not using their units. So in the middle of the night or when they are at work…

Hi again

I had very similar problems in the past, but back then I was using high powered cards (XR5 etc) on highsites. Since then I learned from a RF engineer that by using high powered cards (similar to using amps) actually “boosts” your interference levels too.

The same RF engineer also tought me to keep your clients’ signal levels as close as possible to being the same, sweet spot being -70 to -75db.

The way I understand it is more or less like this: The AP (or distributing highsite) has to adjust its own output power according to the signal of the client it is currently talking to. In other words, if it is “talking” to a -50db client, the AP will “talk” to the -50dm client with “less power”. Whereas, when the same AP is “talking” to a -80db client, more “power” is required. The point being, everytime the AP has to adjust its power levels, ALL connected clients will have to adjust their linkspeed, and in many cases loose connectivity for a few split seconds.

Imagine this:
There is a person talking to a hall full of people. Some users are deaf, others have super hearing aids. Now the speaker is talking to someone in the front with a super hearing aid, obviously he talks a bit softer. While doing so, the people in the back has to adjust their hearing aids. Now he’s talking to someone in the back, so suddently everyone has to turn down the volume on their hearing aids. Every time this happens, there is a few seconds where noone can hear or communicate anything.

I hope my explainations make sense, as that is the way I understand it.

So the lesson I learned was to keep all your signal levels the same (for clients with extremely good signals, turn down the gain on that client’s wireless card)

Oh, and if you are using high powered cards, don’t. High powered cards amplifies not only your TRANSMIT power, but also the interference in the area. (Also keep in mind, high powered cards only TRANSMIT more “power”, the card is still “listening” at the same level as an unamplified card)

Regarding NV2. At first it appeared to me that NV2 is a bit unstable, especially in high interference areas. But since then I discovered the by using a narrower band (like 10mhz) you are subject to less interference, and thanks to NV2 you get much better throughput. Perhaps you should play with that

Hey Guys,

I find this topic a very useful one since sometimes I need to do a remote scan for SSID and Signal strength but any duration more than 40 seconds will result in “Scan Not Working” and nothing will display.
I want to know why is this happening for duration more than 40 secs and If there’s a way to export the result into a file in the remote RB RAM ( Into /file ).
Please HELP!!!