Hackers

Zyxel ES-2108 - Manual 

If you forget the password, how to reset the password to default?

via USB-serial adapter using screen:

 

sudo aptitude install screen lrzsz unzip
wget ftp://ftp2.zyxel.com/ES-2108/firmware/ES-2108_3.80\(ABK.2\)C0.zip
unzip ES-2108_3.80\(ABK.2\)C0.zip
cd 380ABK2C0
screen /dev/ttyUSB0 9600

 

*power on the switch*

 

Bootbase Version: V1.00 | 06/27/2005 11:59:40
RAM: Size = 32768 Kbytes
DRAM POST: Testing: 32768K
OK
FLASH: AMD 32M *1

ZyNOS Version: V3.60(ABK.1) | 01/13/2006 14:28:19

Press any key to enter debug mode within 3 seconds.
...............
Enter Debug Mode

ES-2108> atlc
Starting XMODEM upload (CRC mode)....
CCCC

 

Press <CTRL+A> <:> then enter: "exec !! sx 380ABK2C0.rom"

 

CCCCSending 380ABK2C0.rom, 384 blocks: Give your local XMODEM receive command now.
Xmodem sectors/kbytes sent:   0/ 0kRetry 0: NAK on sector
Bytes Sent:  49152   BPS:921                             

Transfer complete

Total  49152 bytes received.

Erasing......
............
OK

ES-2108> atgo

 

The system will be restarted automatically and new firmware will be initialized, this takes about 10min.

 

Copyright (c) 1994 - 2006 ZyXEL Communications Corp.
initialize switch, ethernet address: 00:13:49:81:19:a8
Initializing VLAN Database...
Initializing IP Interface...
Initializing Advanced Applications...
Initializing Command Line Interface...
Initializing Web Interface...
Generating SSL random file
Generating SSL configuration file
Generating SSL proxy configuration file
Generating SSL DH param
Generating SSL DSA param
Generating SSL CA certificate
Generating SSH key
Press ENTER to continue...

 

After the system is up, you should be able to log in with the default username "admin" and password “1234”.

 

Copyright (c) 1994 - 2006 ZyXEL Communications Corp.
ES-2108# 

 

Load Factory Defaults

 

ES-2108# show ip
IP Interface
     IP[0.0.0.0], Netmask[0.0.0.0], VID[1]

ES-2108# erase running-config
Do you really want to erase configuration? [Y]y
ES-2108# show ip
IP Interface
     IP[192.168.1.1], Netmask[255.255.255.0], VID[1]

ES-2108# write memory
ES-2108# reload config