VMG1312-B10A: Factory Reset: Difference between revisions

From AAISP Support Site
 
(26 intermediate revisions by 4 users not shown)
Line 1: Line 1:
There are 4 configuration settings that the router can be in:
==Overview==
There are 3 configuration settings that the router can be in:
*Configured for your line by AAISP
*AAISP default settings
*ZyXEL Factory settings


{| class="wikitable"
When supplied, 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.
|-
! 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, the settings allow the router to get online and obtain the specific configuration for your line || Upload AAISP's rom-d file. Not usually required as it is usually already loaded by AAISP, More info below.
|-
| Configured by AAISP || The settings for your specific line, along with settings as per the Control Pages || Usually when first plugged in on a customer line. Or, 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 Base Settings' state. This is a temporary state and the router will receive its line-specific 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.


Holding in the reset button will revert the configuration back to the AAISP Base Settings. Further work is needed to revert the config back to the ZyXEL factory settings. See below.
==Reset to AAISP Defaults==


==Reset to AAISP Base Settings==
To 'factory' reset the router, follow these steps:

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


#Switch router on, wait for it to boot up
#Switch router on, wait for it to boot up
#With a paperclip, pen, etc, hold in the reset button
#With a paperclip, pen, etc., hold in the reset button
#Wait until the power light turns red (should be up to 5 seconds)
#Wait until power flashes red, keep holding it down until power stops flashing.
#Release the reset button
#Release the reset button
#Wait for the router to boot up again
#Wait for the router to boot up again


==About the AAISP Default settings==
==About the AAISP Base settings==


The factory 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.
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 its 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.
When a router is in AAISP Base 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.


*For more information about the AAISP configuration see: [[VMG1312-AAISP Configuration]]
*For more information about the AAISP configuration see: [[VMG1312-AAISP Configuration]]
Line 31: Line 40:
==Reset to the ZyXEL Factory Settings==
==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.
To erase the default AAISP settings, the 'ROM-D' file needs to be cleared, this is done via the CLI (Telnet or SSH) using the supervisor user and then issuing the <syntaxhighlight inline enclose="none" lang="bash">save_default clean</syntaxhighlight> command.


Here is an example:
Here is an example:


<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash highlight="1,6,7,8" lang="bash">
$ telnet 90.155.90.129
$ telnet 90.155.90.129
Trying 90.155.90.129...
Trying 90.155.90.129...
Line 42: Line 51:
VMG1312-B10A
VMG1312-B10A
Login: supervisor
Login: supervisor
Password:
Password: [your admin password]
> save_default clean
> save_default clean
ROM-D cleaned.
ROM-D cleaned.
</syntaxhighlight>
</syntaxhighlight>


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.
At this point you can reset the router for this to be applied. The router will then boot up in its 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.


In this state, the router has ZyXEL's default IP address, username and password.


=Adding the AAISP rom-d file=
=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.
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
FTP is used to add the rom-d file. Here the AAISP provided 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)


<syntaxhighlight highlight="1,5,9,16">
<syntaxhighlight highlight="1,5,9,16" lang="bash">
$ ftp supervisor@192.168.0.1
$ ftp supervisor@192.168.0.1
Connected to 192.168.0.1.
Connected to 192.168.0.1.
Line 77: Line 85:
</syntaxhighlight>
</syntaxhighlight>


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.
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 Base Settings to get online, retrieve a new firmware if available and then retrieve a config file for the line.



If you get an error such as:
[[Category:ZyXEL_VMG1312|Reset]]
bftpd:error:341.231:cmsImg_validateImage:1514:Could not determine image format [72063 bytes]
Then this will be due to the Firmware version not matching the version that the config file was made for. See the [[VMG1312: Software|Software Page]] for information about the software versions.
[[Category:ZyXEL VMG1312-B10A|Reset]]

Latest revision as of 15:37, 7 July 2017

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, the settings allow the router to get online and obtain the specific configuration for your line Upload AAISP's rom-d file. Not usually required as it is usually already loaded by AAISP, More info below.
Configured by AAISP The settings for your specific line, along with settings as per the Control Pages Usually when first plugged in on a customer line. Or, 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 Base Settings' state. This is a temporary state and the router will receive its line-specific configuration when it first logs in.

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

Reset to AAISP Base Settings

To reset the router to the AAISP base settings, 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 power flashes red, keep holding it down until power stops flashing.
  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 its own configuration for the line that it's connected to.

When a router is in AAISP Base 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' file 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 its 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 ZyXEL's 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 AAISP provided 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 Base Settings to get online, retrieve a new firmware if available and then retrieve a config file for the line.

If you get an error such as:

bftpd:error:341.231:cmsImg_validateImage:1514:Could not determine image format [72063 bytes]

Then this will be due to the Firmware version not matching the version that the config file was made for. See the Software Page for information about the software versions.