Closed hetzbh closed 4 months ago
While the #208 is a good manual solution, it looks like the app itself does not update the IP, only the parts that you added (web GUI etc) are updated.
I don't understand, sorry.
208
Does not work: https://github.com/roleoroleo/yi-hack-Allwinner-v2/issues/347
I tested it now and it works. Which service is not working?
The script works. But after a day or soem hours, the dhcpd starts again and gets an ip from dhcp server. as here discribed: https://github.com/roleoroleo/yi-hack-MStar/issues/208
Try this:
#!/bin/sh
touch /tmp/wifidhcp.sh
mount -o bind /tmp/wifidhcp.sh /home/app/script/wifidhcp.sh
touch /tmp/ethdhcp.sh
mount -o bind /tmp/ethdhcp.sh /home/app/script/ethdhcp.sh
killall -9 udhcpc
ifconfig wlan0 192.168.1.127 netmask 255.255.255.0 up
route add default gw 192.168.1.1
echo "nameserver 192.168.1.1" >> /tmp/resolv.conf
I found out, that the IP Bug i reported has to with my DLAN AP. Without the DLAN AP, the Cams get everytime the right reserved ip from my router. but i can test it for you, if you want that
Maybe there are 2 dhcp servers on your lan.
but i can test it for you, if you want that
Yes please, if you have time.
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.
Hi,
Is there a way to set the IP to static and set the parameters? it's a bit frustrating to hunt the IP of each camera...
Thanks