Skip to content

Change WiFi credentials (deprecated)

roleo edited this page May 10, 2024 · 3 revisions

Now you can change WiFi credentials from the hack webui

If you want to change WiFi ssid and password without using the Yi app, you can do it with an SD card. This method only applies if your cam has already been hacked.

  1. Remove power from the cam.
  2. Download the following archive sdwifi.tar.gz and decompress it to a FAT32 formatted SD card in the folder "yi-hack"; don't clean the SD card, it must contain both the hack (already applied) and this decompressed archive.
  3. Edit the file configure_wifi.cfg according to your needs. Pay attention to the special chars:
    • Use only the following special chars: \ | ! " $ % & / ( ) ' ? ^ [ ] @ < > , ; . : - _
    • Don't use double quote " around ssid and psk
    • Space chars are allowed
  4. When you open the SD card you will find these new files in the yi-hack folder.
/ --- yi-hack --- configure_wifi.cfg
              |-- configure_wifi.sh
              |-- startup.sh
  1. Insert the SD into the cam and power on it.
  2. The cam will reboot once.
  3. Check the wifi connection.
  4. Delete the files listed above (configure_wifi.cfg, configure_wifi.sh and startup.sh).
  5. The script makes a backup of the flash partition where are stored ssid and password (in case something goes wrong).