Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Setting Channel or Finding all APs #3

Open
BzowK opened this issue May 6, 2019 · 0 comments
Open

Not Setting Channel or Finding all APs #3

BzowK opened this issue May 6, 2019 · 0 comments

Comments

@BzowK
Copy link

BzowK commented May 6, 2019

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant