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

WebUI Network settings - Use DHCP issue #254

Open
wes58 opened this issue Oct 14, 2024 · 4 comments
Open

WebUI Network settings - Use DHCP issue #254

wes58 opened this issue Oct 14, 2024 · 4 comments
Labels
webui webui related

Comments

@wes58
Copy link

wes58 commented Oct 14, 2024

I have downloaded the latest firmware on WyzeCam 3 and I have noticed the following issue.
When I go to WebUI and network settings, I select "Use DHCP" to OFF. I set IP and other fields.
When I click "Save Changes" the "Use DHCP" switch goes back to ON.
After rebooting the camera and opening the WebUI network settings page the switch "Use DHCP" is ON.
When I turn it OFF it shows that parameters that I set before, though!
And it shows:
# cat /etc/network/interfaces.d/wlan0 auto wlan0 iface wlan0 inet static address 192.168.0.16 netmask 255.255.255.0 gateway 192.168.0.1
So it looks like it is the switch position that is incorrect

I checked on the second camera with older firmware and the switch "Use DHCP" retains the state that it was set to.

@themactep
Copy link
Owner

using static address on a wifi connection is a bad practice in general, pin the mac address to a desired ip address on your dhcp router and that will be equal to a static ip with a twist that you won't be locked out of the network if the target address is already accidentally occupied.

nevertheless, i'll look into the dhcp form later this week.

@wes58
Copy link
Author

wes58 commented Oct 15, 2024

I know all that. That's how I used to have it set up when I used wz_mini_hacks. But with my configuration I had some problems so when I saw that I can set up static IP with thingino firmware, I decided to do it this way.
And that leads me to another question. I don't know whether it can be done or not.
I have two modem/(wifi)router and wifi router. The second one is mainly used for cameras. Both wifi routers have the same password but different SSID
Can it be done that if SSID1 is not available the camera connects to SSID2?

Thanks for your response.
There is no rush with fixing it. It is just something I noticed when I updated the firmware

@themactep
Copy link
Owner

technically, wpa_supplicant can handle multiple networks. but i never tried that on camera, only on a full desktop. here's a little info https://raspberrypi.stackexchange.com/questions/11631/how-to-setup-multiple-wifi-networks

@wes58
Copy link
Author

wes58 commented Oct 16, 2024

After reading the information on the link that you gave me, it looks promising. But I can't do anything about it. I don't know much about Linux and I can't compile the firmware.
Thanks

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

No branches or pull requests

3 participants