Reset to factory

From IPLOG
Jump to: navigation, search

This document explains how to restore the IPLOG unit to factory settings.


The IPLOG unit uses two configuration parts, rootfs and userfs.

Rootfs contains a whole default configuration from the factory and it is not possible change it, this part is a read-only version.

Userfs contains all user changes and user applications. To restore your device to the factory default settings, enter the following commands with root privileges:

root@buildroot:~# rm /mnt/userfs/* -r
* deletes userfs files (configuration)

root@buildroot:~# reboot
* restarts the device


Warning : Remember that it permanently erases all user files and all custom applications. We strongly recommend backing up your system before resetting to factory default.

Reset from Recovery Mode

Reseting userfs files from the recovery mode is possible only after mount the userfs files from the common firmware image and delete the files there.

1. Recovery

How to Get to Recovery Mode

2. Mount Userfs

Open the SSH connection via Putty, use the default IP address and login for root user.

Type the following commands:

1. root@iplog-recovery:~# ubiattach -p /dev/mtd8
2. root@iplog-recovery:~# mount -t ubifs ubi1:userfs /mnt/userfs

Output Example:

root@iplog-recovery:~# ubiattach -p /dev/mtd8
UBI device number 1, total 1020 LEBs (129515520 bytes, 123.5 MiB), available 152 LEBs (19300352 bytes, 18.4 MiB), LEB size 126976 bytes (124.0 KiB)
root@iplog-recovery:~# mount -t ubifs ubi1:userfs /mnt/userfs
root@iplog-recovery:~#

Write the command for deleting all userfs files.

root@buildroot:~# rm /mnt/userfs/* -r
* deletes userfs files (configuration)

root@buildroot:~# reboot
* restarts the device