Connecting to device

Using the serial port to USB adapter, connect to the console port on the SRX210. On the computer, run lsusb and find the ID of the device in question and run the following commands

# Example:
Bus 005 Device 002: ID **067b:2303** Prolific Technology, Inc. PL2303 Serial Port
 
sudo modprobe usbserial vendor=0x**067b** product=0x**2303**
 
sudo screen /dev/ttyUSB0 9600

this should connect the terminal session to the device: default login is root without a password.

Load factory default

root# cli
configure
load factory-default
set system root-authentication plain-text-password
commit
request system reboot

Configure admin user

Run the following commands:

root# cli
configure
set system root-authentication plain-text-password
set system login user admin class super-user authentication plain-text-password
commit

Note: passwords can be cleartext, encrypted, or SSH pubkey strings (todo)

Type exit until back at the login screen and login as the new admin user.

Configuring network and system interfaces

Use the following commands (logged in as admin):

configure
set system host-name {host-name}
 
# configure interfaces
# setting up LAN (or trust, inside home zone)
set interfaces ge-0/0/1 unit 0 family inet address 192.168.1.10
 
# setting up WAN (or outside, untrust zone)
set interfaces ge-0/0/0/0 unit 0 family inet address 10.0.0.1