VMG1312-B10A: Factory Reset: Difference between revisions

From AAISP Support Site
Line 6: Line 6:
! State !! Info !! How to apply
! State !! Info !! How to apply
|-
|-
! ZyXEL Factory Settings || The actual state of the router before AAISP apply their 'base' setting || 'save_default clean' command via CLI. More info below
| ZyXEL Factory Settings || The actual state of the router before AAISP apply their 'base' setting || 'save_default clean' command via CLI. More info below
|-
|-
! AAISP Base Settings || As supplied by AAISP before the config for your line is applied || Upload AAISP's rom-d file. Not usually required, More info below.
| AAISP Base Settings || As supplied by AAISP before the config for your line is applied || Upload AAISP's rom-d file. Not usually required, More info below.
|-
|-
! Configured by AAISP || The settings for your specific line, along with settings as per the Control Pages || Via the Control Pages, or by holding in reset for 5 sec. More info below
! Configured by AAISP || The settings for your specific line, along with settings as per the Control Pages || Via the Control Pages, or by holding in reset for 5 sec. More info below
|-
|-
! Customer Edited || If customer makes further changes to their config after AAISP has sent the settings || Restore from a backup you made previously
| Customer Edited || If customer makes further changes to their config after AAISP has sent the settings || Restore from a backup you made previously
|}
|}



Revision as of 20:08, 9 July 2015

Overview

There are 4 configuration settings that the router can be in:

State Info How to apply
ZyXEL Factory Settings The actual state of the router before AAISP apply their 'base' setting 'save_default clean' command via CLI. More info below
AAISP Base Settings As supplied by AAISP before the config for your line is applied Upload AAISP's rom-d file. Not usually required, More info below.
Configured by AAISP The settings for your specific line, along with settings as per the Control Pages Via the Control Pages, or by holding in reset for 5 sec. More info below
Customer Edited If customer makes further changes to their config after AAISP has sent the settings Restore from a backup you made previously

When supplied by AAISP, the router will be in the 'AAISP default settings' state. This is a temporary state and the router will get its own configuration when it first logs in.

Holding in the reset button will revert the configuration back to the AAISP default settings. Further work is needed to revert the config back to the ZyXEL factory settings. See below.

Reset to AAISP Defaults

To reset the router to the AAISP base config, follow these steps:

  1. Switch router on, wait for it to boot up
  2. With a paperclip, pen, etc, hold in the reset button
  3. Wait until the power light turns red (should be up to 5 seconds)
  4. Release the reset button
  5. Wait for the router to boot up again

About the AAISP Base settings

The reset state is the state the router was in when we sent it to you. In most cases that will mean is has been given our 'standard' configuration. This configuration has settings for it to talk back to AAISP and request it's own configuration for the line that it's connected to.

When a router in it's AAISP default settings it will connect to AAISP using a temporary 'provisioning' login. This default configuration will connect either by the DSL port or the WAN 4 port. When it connects the router will be sent a software upgrade if there is one available, and then will be sent its individual configuration for the connection.

A factory reset router will also be send an updated firmware if there is one available.

Reset to the ZyXEL Factory Settings

To erase the default AAISP settings, the 'ROM-D' needs to be cleared, this is done via the CLI (Telnet or SSH) using the supervisor user and then issuing the save_default clean command.

Here is an example:

$ telnet 90.155.90.129
Trying 90.155.90.129...
Connected to brick.h.hearn.org.uk.
Escape character is '^]'.
VMG1312-B10A
Login: supervisor
Password: [your admin password]
 > save_default clean
ROM-D cleaned.

At this point you can reset the router for this to be applied. The router will then boot up in it's original factory settings without any of the AAISP configuration settings. You can reset the router by holding in the reset button for 5 seconds.

In this state, the router has its default IP address, username and password.

Adding the AAISP rom-d file

If you need to restore an AAISP rom-d file, then here are the steps to take. Support are able to provide you with the rom-d file on request.

FTP is used to add the rom-d file. Here the rom-d file is actually called vmg1312-b.rom-d, so when we upload it we have to specify the target file name of rom-d. (the lines highlighted contain things you need to type in)

$ ftp supervisor@192.168.0.1
Connected to 192.168.0.1.
220 Ftp firmware update utility
331 Password please.
Password: zyad1234
230 User logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put vmg1312-b.rom-d rom-d
local: vmg1312-b.rom-d remote: rom-d
229 Entering extended passive mode (|||47630|)
150 BINARY data connection established.
100% |*************************************************************************| 72063      101.21 MiB/s    00:00 ETA
226 Ftp image done. PLEASE TYPE 'bye' or 'quit' NOW to quit ftp and the Router will start writing the image to flash.
72063 bytes sent in 00:02 (28.38 KiB/s)
ftp> quit
221 The Router is rebooting...

At this point the ftp connection is closed and as it says, the router will reboot. The router will still need to be reset before the router will use the rom-d settings. Once reset though, the router will use the AAISP default settings to get online, retrieve a new firmware if available and then retrieve a config file for the line.