[GH-ISSUE #1296] Configuration captive portal chanel #1111

Open
opened 2026-02-28 01:28:34 +03:00 by kerem · 4 comments
Owner

Originally created by @sebosfato on GitHub (Sep 29, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1296

Hello guys i have a quick question im not being able to find an answer...

When i try to connect my nodemcu to my mac it only make a efective conection and show the captive portal if i change the chanel like this... seting the 6 will make it connect and work ok... i found this issue having the mac to run the diagnostics and it detected that channel one was full or something like that...

if i use this in setup my index page run
WiFi.softAP(ssid,password,6,hiden);
but if i run the config portal it wont connect

however when it goes to the configuration portal (wifi manager) it dont even connect... i was trying to find a way to set the channel of the configuration portal is there a piece of line like this?

https://github.com/khoih-prog/ESP_WiFiManager
11. Using random AP-mode channel to avoid conflict

// From v1.0.10 only
// Set config portal channel, default = 1. Use 0 => random channel from 1-13
ESP_wifiManager.setConfigPortalChannel(0);
//////

Basic Infos

Hardware

WiFimanager Branch/Release: Master
esp8266 nodemcu

Core Version: 2.7 staging

Description

Problem description

wifi manager dont work on mac (how to change the channel of the config portal

Settings in IDE

Module: NodeMcu

Additional libraries:

Originally created by @sebosfato on GitHub (Sep 29, 2021). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1296 Hello guys i have a quick question im not being able to find an answer... When i try to connect my nodemcu to my mac it only make a efective conection and show the captive portal if i change the chanel like this... seting the 6 will make it connect and work ok... i found this issue having the mac to run the diagnostics and it detected that channel one was full or something like that... if i use this in setup my index page run WiFi.softAP(ssid,password,6,hiden); but if i run the config portal it wont connect however when it goes to the configuration portal (wifi manager) it dont even connect... i was trying to find a way to set the channel of the configuration portal is there a piece of line like this? https://github.com/khoih-prog/ESP_WiFiManager 11. Using random AP-mode channel to avoid conflict // From v1.0.10 only // Set config portal channel, default = 1. Use 0 => random channel from 1-13 ESP_wifiManager.setConfigPortalChannel(0); ////// ### Basic Infos #### Hardware WiFimanager Branch/Release: Master esp8266 nodemcu Core Version: 2.7 staging ### Description Problem description wifi manager dont work on mac (how to change the channel of the config portal ### Settings in IDE Module: NodeMcu Additional libraries:
Author
Owner

@sebosfato commented on GitHub (Sep 30, 2021):

I found the command in the wifimanager cpp

is it automatic channel? i didnt found much info about... anyways it would not connect if i didnt change the channel...

should'nt it try a different channel every time it reset if it were automatic?

<!-- gh-comment-id:930783881 --> @sebosfato commented on GitHub (Sep 30, 2021): I found the command in the wifimanager cpp is it automatic channel? i didnt found much info about... anyways it would not connect if i didnt change the channel... should'nt it try a different channel every time it reset if it were automatic?
Author
Owner

@tablatronix commented on GitHub (Sep 30, 2021):

I am not sure how the esp lib works by default, it might not be actually automatic but first one, not sure.. thats an ESP question.

Another issue you might be having is your esp country not set, so try that also.

<!-- gh-comment-id:931423738 --> @tablatronix commented on GitHub (Sep 30, 2021): I am not sure how the esp lib works by default, it might not be actually automatic but first one, not sure.. thats an ESP question. Another issue you might be having is your esp country not set, so try that also.
Author
Owner

@sebosfato commented on GitHub (Oct 5, 2021):

nice answer thanks a lot... im actually using your library...

Another question arising is how to deal with routers and keep my esp8266 to be reach by a mobile on other router. Im trying to find how to set subnet so everyone see each others...

<!-- gh-comment-id:934659234 --> @sebosfato commented on GitHub (Oct 5, 2021): nice answer thanks a lot... im actually using your library... Another question arising is how to deal with routers and keep my esp8266 to be reach by a mobile on other router. Im trying to find how to set subnet so everyone see each others...
Author
Owner

@tablatronix commented on GitHub (Oct 5, 2021):

We just use the esp functions, so I have no idea how it picks channels, would have to read the esp lib code.

We could add a random channel or perhaps scan for best channel, all of this adds bloat though

<!-- gh-comment-id:934818242 --> @tablatronix commented on GitHub (Oct 5, 2021): We just use the esp functions, so I have no idea how it picks channels, would have to read the esp lib code. We could add a random channel or perhaps scan for best channel, all of this adds bloat though
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1111
No description provided.