-
Notifications
You must be signed in to change notification settings - Fork 61
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
AP mode enhancements #317
Comments
The Looking ahead, it would be beneficial to develop an "AP Self-Hosted Server Mode." However, compatibility with multiple Wi-Fi clients may vary across drivers, so this feature would require thorough testing. If you're interested in contributing, feel free to submit a pull request! |
I think BusyBox should have enough to do what I need. I think we just need to turn on dumpleases and ntpd server. Unfortunately I can't seem to get the build system to work right so I'm having trouble testing this, and I don't want to do a PR on something I haven't tested. Is there a way I can get a build with these turned on? |
clone https://github.com/themactep/docker-worker |
OK so I'm part of the way there. There are two things I'm not super sure about:
|
I'd like to hook up multiple cameras to one that is acting as host in a remote environment. This seems to work pretty well, but could use some tweaks.
AP mode should probably run the ntp server to serve time out to clients; this seems to already be built into BusyBox; just need to turn it on in AP mode.
udhcpd seems to be behaving strangely -- the pid file doesn't show up, and the lease file isn't updating. If I give it USR1 it will update, but it seems to not be doing it on its own.
The AP should probably add its own configured hostname to dnsd-ap.conf.
WiFi client hostnames aren't showing up in dnsd-ap.conf as well; not sure if this should be handled with some script called by udhcp to update dnsd-ap.conf on new leases; maybe that file needs to be tossed into /tmp and generated as well. Might need dumpleases turned on...
Ultimately it might be nice to switch in/out of AP mode either with the reset button or maybe some magic SD card, but baby steps...
Thanks!
The text was updated successfully, but these errors were encountered: