yi-hack-v5 icon indicating copy to clipboard operation
yi-hack-v5 copied to clipboard

Change WiFI SSID does not work - Camera reboots attached to original SSID after update through UI (also with configure_wifi.sh script)

Open Cisor opened this issue 1 year ago • 2 comments

Steps to reproduce issue:

  • http://camaddress:8080/?page=wifi
  • Select network from "WiFi network ESSID"
  • Enter password
  • Enter password confirmation
  • Open browser console to Network tab
  • Save
  • http://camaddress:8080/?page=reboot
  • "Reboot Camera"

Behaviour:

  • "Saved" on wifi page
  • Camera returns -
{
"error":"false"
}
  • Camera reboots attached to previous network

Expected:

  • Camera reboots attached to new network

Also

  • echo "wifi_psk=thepasswordstring" >> /tmp/configure_wifi.cfg
  • echo "wifi_ssid=thessidstring" >> /tmp/configure_wifi.cfg
  • ./script/configure_wifi.sh
  • /tmp/sd/yi-hack-v5/www/cgi-bin/reboot.sh This outputs the file /tmp/sd/mtdblock2_20220731175303.bin containing the original credentials but there is no change after the reboot. Still attached to old wifi

Cisor avatar Jul 31 '22 17:07 Cisor

@Cisor Which camera model do you have?

alienatedsec avatar Sep 17 '22 18:09 alienatedsec

I knew I forgot something! It is a Yi Dome

Cisor avatar Sep 17 '22 18:09 Cisor

There have been a few changes since you raised this issue. Please can you try 0.3.7?

alienatedsec avatar Dec 06 '22 22:12 alienatedsec

I appreciate the follow up, thanks. I will test this, although it's not likely to be within a fortnight

Cisor avatar Dec 07 '22 09:12 Cisor

This issue has been stale for 30 days - it will be closed within the next 7 days if not updated

github-actions[bot] avatar Jun 18 '23 06:06 github-actions[bot]