A factory erase (hard reset) resets all Opengear device configuration (i.e. the contents of /etc/config/) back to factory default settings. Factory default settings are defined by the currently installed firmware (i.e. the contents of /etc/default/).
At factory defaults, your Opengear device's primary Network Interface (otherwise known as wan/eth0/NET1) has the following configuration, and there is a single user account enabled:
- DHCP client enabled + static IP and netmask of: 192.168.0.1 / 255.255.255.0
- Username and password: root / default
Note: If a custom factory password has been configured, it will be used rather than default.
All configuration settings are erased. Logs and other files on mass storage devices (e.g. USB, SD card, internal non-volatile storage) are not erased.
You can trigger a factory erase using:
- Web UI
- Physical ERASE button
Once triggered, your Opengear device will reboot and perform the erase.
Note: It may take up to 5 minutes for your Opengear device to become available again. It may take an additional 5 minutes for the SSH service to become available again, as SSH keys are generated on first boot.
Factory reset using web UI
- Login to the Opengear web UI as root or an admin user
- Click System -> Administration, scroll to the bottom
- Check both Config Erase and Reboot
- Click Apply
Factory reset using the command line
- Login to the Opengear CLI as root, or login as an admin user and become root by running: sudo -s
- To factory erase immediately, run the command:
Factory reset using the ERASE button
- Locate the recessed ERASE button on the front, side or back of your Opengear device
- On most Opengear models, it is labeled ERASE
- Ensure the Opengear device is powered on and has fully booted, e.g. power on and wait 5 minutes
- Use a paperclip or ballpoint pen, do not use a graphite pencil
- Gently depress the ERASE button twice within a 2 second period
- To physically factory erase a SD4001 rev 0, short DB9 serial pin 2 (RXD) to pin 7 (RTS) (vertically adjacent) three times within a 5 second period
- To physically factory erase a KCS6000 or CMS6000, attach a VGA monitor, hold the left Shift key during boot and type erase at the LILO menu – when prompted, the case sensitive password is KcS61xX or CmS61xX respectively
Article is closed for comments.