Allied Telesis crash course

Allied Telesis

1. Password recovery procedure:

 * Connect to the router using a RS-232 cable
 * Connect to the router via HyperTerminal. Settings for HyperTerminal = 9600 - 8 - None - 1 Flow Control = None
 * Power cycle the router and right away press the s key continuously until you see the login prompt >
 * User:manager; Password:friend

2. Disable security mode:

 disable system security_mode

3. Set IP Address:

 enable ip
 add ip interface=vlan1 ipaddress=192.168.1.1 mask=255.255.255.0
 # To change Address
 set ip interface=interface ipaddress=ipadd mask=ipadd

4. Enable GUI

 set gui=d9924e22.rsc
 enable gui
 show http server

5. Usefull commands

 show install
 show file
 show sys

6. Update firmware

 set loader method=tftp server=10.40.1.118 destination=flash
 load file=89276-02.rez
 show load

SetCom Smart Cart Pico Howto

This smart card seems to support only 1024 bit key length and certificates in der format with .cer file extension.

Steps to generate and import keys:

1. generate private key and self signed certificate:

openssl req -x509 -nodes -days 3650 -newkey rsa:1024 -keyout privateKey.key -out certificate.crt

2. convert certificate to der format with cer extension

openssl x509 -outform der -in certificate.crt -out certificate.cer

2a. or optionally pack key and certificate in single file

openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt

3. import resulting file/files