Closed myhobby2 closed 5 months ago
This is an old question, maybe never solved. The network connection is handled by Yi processes and it's not simple to intercept the scripts to set an IP address.
You could try to add the following lines at the end of /tmp/sd/yi-hack/script/wifidhcp.sh
ifconfig wlan0 YOUR_IP netmask YOUR_NETMASK
route add -net 0.0.0.0 gw YOUR_GATEWAY
I'm sure that it works when the cam starts. But I don't know if it lasts over time.
Super, I was able to change the IP address the way you advised. Great help! Thanks.
Please, test it a couple of days. If it works, I can add this feature to the hack.
I will test it and come back on this with 1 and 2 weeks ;-)
So far so good. Few reboots, new router firmware.... no issues. I think I can be added to setting for the web-interface
Ok.
Come back on this... I'm not completely convinced ;-) Although I did set my camera to a fixed IP and even checked it, this afternoon it has a new IP address.. No power issues or reboot done.
Is there a job running trying to do a dhcp handshake after a defined time ?
Check my last commits. I think I found a final solution.
I'm too incompetent to check this Can read a bit of code, but I can't find the commits on github online or in github desktop ;-) Any advice what I should do (I think a fresh download of your solution) ?
I will send a new beta image.
I found the commits ;-) Learning every day. Camera's are waiting for a new compiled version ;-)
What's your model?
y211ga RFUSY44J4A serial RFUSY44UY, firmware 9.0.19.12_202102241808
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Default the IP-address is assigned by the DHCP server on the network. Tried to set that via my Fritzbox 7490 to a fixed IP address, but so far no success.
Question: Is it possible to set an IP address manually via a camera configuration ?