Skip to content

Not Setting Channel or Finding all APs #3

Description

@BzowK

Good Afternoon -

I live in a neighborhood with many APs and found then script when searching for something specifically like it. After testing, I planned to implement to run via cron to hopefully stay on the best channel. Unfortunately, either I'm not doing something correctly or there's an issue with the script as I'm having two issues:

Issue 1: Not Setting Channel
After downloading & running chmod on the script, I executed "./setAutoChannel.sh 0" (my 2.4ghz wlan1 interface) via SSH which echoed the below:

Iteration 1
Iteration 2
Iteration 3
Channel 1 has an average of 0 networks
Channel 6 has an average of 0 networks
Channel 11 has an average of 0 networks
Setting channel to 1
root@KNGateway:~# ./setAutoChannel.sh 1
Iteration 1
Iteration 2
Iteration 3
Channel 1 has an average of 1 networks
Channel 6 has an average of 1 networks
Channel 11 has an average of 0 networks
Setting channel to 11

After this, I went into LUCI and looked up that interface, but it was still on the channel it was on prior to running the script:
Mode: Master | SSID: XXXXXXXX
BSSID: XX:XX:XX:XX:XX:XX
Encryption: WPA2 PSK (CCMP)
Channel: 2 (2.417 GHz)
Tx-Power: 30 dBm
Signal: -55 dBm | Noise: -85 dBm
Bitrate: 83.4 Mbit/s | Country: US

Issue 2: Not Finding all APs
The echo above shows that the scan seemingly detected 2 2.4Ghz networks on channel 1 & 6. However, when performing a site survey, I see many more as shown in the attached screenshot.
24Survey

Finally, it fixing those two is simple, 5Ghz support would be great too as the screenshot has a whole other page of 5Ghz APs which is much more crowded.

Any suggestions? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions