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

Closed
wes58 opened this issue Oct 14, 2024 · 8 comments
Closed

WebUI Network settings - Use DHCP issue #254

wes58 opened this issue Oct 14, 2024 · 8 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

@mominulaziz
Copy link

mominulaziz commented Feb 12, 2025

I have Wyze V3 running build id: master+f358a8e, 2025-02-04 09:20:24 +0000
I am unable to save Static ip. As soon as I disable DHCP and provide required information I get the error: wlan0 MAC address format is invalid. Also, my TP link router has a warning for the same device: Random MAC address detected. This device is dropping the wifi like crazy but about 5 feet away from the router. So, I tried to have it as static from the router but still same issue now trying to do it from the web ui but I am unable to do it. I have used the thingino firmware to this device and it was never registered through the wyze app. So, not sure what is happening. I also see a generate random mac option but not sure what and how to use it.

@themactep
Copy link
Owner

what is your mac address? i just switched my v3 to a static ip from web ui, no issues. your build might be too old. tru to perform a full upgrade.

@mominulaziz
Copy link

mominulaziz commented Feb 13, 2025

I did a full upgrade and now it is working. The only issue i think is that performing full upgrade is not convenient as I have to setup everything from scratch like wifi, stream password, stream configuration. After observing this build for a day i noticed the following,

  1. both wyze 3 are disconnecting from wifi about every 2 minutes and really unstable
  2. sub stream does not work at all
  3. web interface is extremely slow
  4. one of the camera does not display correct resolution in main stream in the preview (attachment)
  5. router is still complaining about random mac address for one camera: 02:91:d3:42:90:ee
  6. I have changed the frame rate to 15 for both streams for both cameras.

I have set static ip for both cameras to both camera and router level and optimized wifi channels but still connections are very unstable and does not work most of the time. Both cameras are using build: master+3a782b9, 2025-02-13 09:12:12 +0000

Image

@themactep
Copy link
Owner

Tonight build will have persisted partition for keeping configurations between upgrades.

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

4 participants