pip3 install paramiko scp
Сhange your serial number on UFiber Nano G via ssh
./ubi_serial_hack.py -r 192.168.1.1 -p 22 --serial 48:57:54:43:30:30:30:30
Change your serial and MAC
./ubi_serial_hack.py -r 192.168.1.1 -p 22 --serial 48:57:54:43:30:30:30:30 --mac 11:22:33:44:55:66
Manual method. Put the mtdblock3.BIN in the script folder and run with --nossh flag.
./ubi_serial_hack.py --nossh --serial 48:57:54:43:30:30:30:30
Ignoring abnormal termination with unsupported boards.
./ubi_serial_hack.py --insecure --serial 48:57:54:43:30:30:30:30
Read only from filepath
./ubi_serial_hack.py -f mtdblock3.BIN
Before using the script firmware should be upgraded to version 4.2.1 and SSH should be enabled from the device admin panel. Script will compain about firmware checksum on UFiber LOCO devices so to continue installation you need to use --insecure flag
./ubi_serial_hack.py -r 192.168.1.1 -p 22 --serial 48:57:54:43:30:30:30:30 --mac 11:22:33:44:55:66 --insecure
UFiber NANO G Firmware versions: v2.1.1 and v4.1.0
UFiber LOCO Firmware versions: v4.2.1