-
Notifications
You must be signed in to change notification settings - Fork 722
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
Enable secure "standalone access point only" mode #51
Comments
There is a #define in the Makefile at https://github.com/jeelabs/esp-link/blob/master/Makefile#L119 that keeps the AP going. Set that to 'no' and build your own version and you're all set :-). |
Thanks for the very fast answer. :-) And getting a secure AP is done by first flashing an AT-software, configuring the AP, then flashing ESP-link compiled with the "no"-flag set. Correct? Then I'll just have to find a way to compile everything on Windows. ;-) |
Yes, that's the way you would have to do it. There is no support in esp-link for configuring the AP wifi settings. |
Ok, I will do so as soon as I find some spare time... In my experience it's a PITA to compile stuff like that on windows. Probably a virtual machine is the easier way. Anyhow, I'd greatly appriciate it if you at some point in the future found the time to make configuring an AP via the website possible. ;-) I'm surprised that this use case hasn't arised before by someone else?! Thanks again and have a nice weekend |
well, someone else wanted the ap mode and that's why there's the switch in the makefile. I just can't maintain an infinite number of options... The AP mode is pretty limited in a number of ways and so it's not a great solution anyhow: no power-down and no routing are two issues. |
I'll give it a shot as soon as I find a sufficient amount of time. :-) Of course you can't support every user's wishes. At least there IS a possibility, even though it is not available via GUI... I've read that AP mode is not without its problems. Unfortunately, for some (mobile) use cases it is the only possiblity as there simply are no access points around. BTW: setting up the toolchain on Windows isn't as easy as I thought. :-P Here comes the virtual machine... ;-) |
Hello i have been testing AP mode, first i flashed my ESP with AT firmware -aithinker- then set the specific paremeters like "AT+CWSAP="NoWorriESSID","password",3,3" and "AT+CWMODE=2" and you can finally flash esp-link firmware without blank.bin. Its working great with this way. I guess its not possible to use esp-link in both ends like wireless RS-232 solution? |
From gitter chat related to this topic:
Search for wifi_set_opmode(3), which turns on sta+ap mode, it's at Line 199 in c3e1a8a
Line 309 in c3e1a8a
To set the SSID I believe you need to call wifi_softap_set_config |
I think, the ability to use encrypted access point with setting password through web interface is a high priority thing. Because in case when access point, which we connect to in station mode, is (temporary) unavailable we have big security problem. Also, web interface doesn't support auth (Is it so?). I may to try add the ssid and password options and access point only mode in near time. |
Web interface simple HTTP auth is possible |
I tested esp-link-v2.2.3. Good work! I can change "SSID" and "Soft-AP Auth Mode" via "Soft-AP Settings", but finally I get two SSID: one with default ESP_**** and open autenification and second with setings with I was set in "Soft-AP Settings" (secured AP). Configuration WEB-site was opening by both AP. Is any chance to disable first AP with open auth? |
Hi,
First of all thank you for that nice piece of software! :-)
For my use case I need a mobile, battery powered standalone access point with encryption that bridges UART to TCP. From what I have seen, with ESP-link the ESP8266 can only be used as a station in a network but not as a secured access point. Could you please think about implementing this feature?
Thanks and best
The text was updated successfully, but these errors were encountered: