How to gain access to the Serial Shell on a JACE
The serial shell provides direct console access to JACE controllers, allowing advanced configuration, troubleshooting, and recovery when network access is unavailable. This guide covers accessing the serial shell on various JACE models.
Overview
Serial shell access provides:
- Direct Console Access: Bypass network configuration issues
- Recovery Access: Access when network is unavailable
- Advanced Configuration: Low-level configuration capabilities
- Troubleshooting: Debug network and system issues
- Factory Reset: Perform factory reset operations
Prerequisites
Before accessing serial shell, ensure you have:
- Serial Cable: Appropriate serial cable for JACE model
- Serial Terminal Software: Terminal emulator (PuTTY, Tera Term, etc.)
- Serial Port: Computer with serial port or USB-to-serial adapter
- JACE Access: Physical access to JACE unit
- Documentation: JACE model-specific documentation
Serial Connection Specifications
Connection Parameters
Standard Serial Settings:
- Baud Rate: 9600 (most common) or 115200
- Data Bits: 8
- Stop Bits: 1
- Parity: None
- Flow Control: None
Note: Some JACE models may use different settings. Check model documentation.
Physical Connection
JACE Serial Port:
- Connector Type: Typically DB9 or terminal block
- Pin Configuration: Varies by JACE model
- Cable Type: Straight-through or null modem cable
- Voltage Levels: RS-232 standard levels
Step-by-Step Access Process
Step 1: Identify Serial Port
On JACE Unit:
- Locate Serial Port: Find serial port connector on JACE
- Port Type: Identify connector type (DB9, terminal block, etc.)
- Port Label: Check for port labels or markings
- Documentation: Refer to JACE documentation for port location
Common Locations:
- Front Panel: Some models have front panel serial port
- Rear Panel: Most models have rear panel serial port
- Terminal Block: Some models use terminal block connections
Step 2: Connect Serial Cable
Physical Connection:
- Power Off: Power off JACE if required (check documentation)
- Connect Cable: Connect serial cable to JACE serial port
- Secure Connection: Ensure connection is secure
- Power On: Power on JACE unit
Cable Types:
- DB9 to DB9: Standard serial cable
- USB to Serial: USB-to-serial adapter for computers without serial ports
- Terminal Block: Direct wire connections for terminal block models
Step 3: Configure Serial Port on Computer
Windows:
- Device Manager: Open Device Manager
- Serial Ports: Expand "Ports (COM & LPT)"
- Identify Port: Note COM port number (e.g., COM3, COM4)
- Port Properties: Configure port if needed (usually default settings work)
Linux/Mac:
- Identify Device: Identify serial device (e.g.,
/dev/ttyUSB0,/dev/ttyS0) - Permissions: Ensure user has permissions to access serial port
- Device Check: Verify device is recognised by system
Step 4: Configure Terminal Software
Using PuTTY (Windows):
- Open PuTTY: Launch PuTTY application
- Connection Type: Select "Serial"
- Serial Line: Enter COM port (e.g., COM3)
- Speed: Set baud rate (typically 9600)
- Settings: Configure other settings:
- Data bits: 8
- Stop bits: 1
- Parity: None
- Flow control: None
- Open: Click "Open" to connect
Using Tera Term (Windows):
- Open Tera Term: Launch Tera Term
- New Connection: Select "Serial"
- Port: Select COM port
- Settings: Configure serial settings (9600, 8, N, 1)
- OK: Click OK to connect
Using Screen (Linux/Mac):
screen /dev/ttyUSB0 9600
Using Minicom (Linux):
minicom -s
# Configure serial port and settings
Step 5: Access Serial Shell
After Connection:
- Press Enter: Press Enter key to wake up console
- Login Prompt: You should see login prompt
- Enter Credentials: Enter username and password
- Default username:
adminorroot - Default password:
adminor check documentation
- Default username:
- Shell Access: You should now have shell access
If No Prompt:
- Wait: Wait a few seconds for JACE to boot
- Press Enter: Press Enter multiple times
- Check Settings: Verify serial settings are correct
- Check Connection: Verify cable connection is secure
Step 6: Navigate Shell
Basic Shell Commands:
- Help: Type
helpor?for available commands - List Commands: Use tab completion or command list
- Exit: Type
exitorlogoutto exit shell - Reboot: Use
rebootcommand to restart JACE
Common Serial Shell Commands
System Information
# System information
uname -a
cat /proc/version
cat /proc/cpuinfo
# Memory information
free
cat /proc/meminfo
# Network configuration
ifconfig
ip addr show
Network Configuration
# View network settings
ifconfig eth0
cat /etc/network/interfaces
# Configure network (varies by JACE model)
# Use appropriate network configuration commands
Platform Commands
# Platform status
platform status
# Platform restart
platform restart
# Platform configuration
platform config
Factory Reset
# Factory reset commands (varies by model)
factory-reset
# or
reset-config
# or
restore-defaults
Warning: Factory reset will erase all configuration. Use with caution.
Troubleshooting
No Connection
If unable to establish connection:
- Cable Check: Verify serial cable is connected properly
- Port Settings: Verify serial port settings are correct
- Port Selection: Ensure correct COM port is selected
- Driver Installation: Verify USB-to-serial drivers are installed
- Cable Type: Try different cable (straight vs null modem)
No Response
If JACE doesn't respond:
- Baud Rate: Try different baud rates (9600, 115200, etc.)
- Connection Timing: Connect before or after power-on
- Boot Process: Wait for JACE to complete boot process
- Reset: Try power cycling JACE
- Alternative Access: Consider alternative access methods
Wrong Characters
If seeing garbled characters:
- Baud Rate: Verify baud rate matches JACE settings
- Data Bits: Check data bits setting (usually 8)
- Parity: Verify parity setting (usually None)
- Stop Bits: Check stop bits setting (usually 1)
- Flow Control: Verify flow control settings
Login Issues
If unable to login:
- Credentials: Verify username and password
- Default Credentials: Try default credentials (see related topics)
- Case Sensitivity: Check case sensitivity
- Multiple Attempts: Some systems lock after failed attempts
- Reset: Consider factory reset if credentials unknown
Model-Specific Notes
JACE-8000 Series
- Serial Port: DB9 connector typically on rear panel
- Baud Rate: Usually 9600
- Access: May require specific boot sequence
JACE-9000 Series
- Serial Port: May use USB or DB9 connector
- Baud Rate: Typically 115200 or 9600
- Access: Modern models may have enhanced serial access
JACE-7000 Series
- Serial Port: DB9 connector
- Baud Rate: Usually 9600
- Access: Standard serial shell access
Security Considerations
Serial Access Security
- Physical Security: Protect physical access to JACE
- Serial Port: Consider disabling serial port if not needed
- Access Control: Implement access control for serial shell
- Audit Logging: Enable audit logging for serial access
- Documentation: Document serial access procedures securely
Best Practices
Connection Management
- Document Settings: Document serial settings for each JACE model
- Cable Management: Keep serial cables organised and labelled
- Port Documentation: Document which ports are used
- Backup Access: Serial access provides backup when network fails
Troubleshooting
- Serial First: Try serial access when network access fails
- Document Issues: Document serial access issues and solutions
- Test Regularly: Periodically test serial access
- Training: Ensure team members know how to access serial shell
Related Topics
- What are the default credentials of a JACE
- How to generate a platform reset Token
- How to restore connectivity on older JACE8000s after performing a Factory Reset
Additional Resources
- JACE Serial Access Documentation
- Terminal Emulator Guides
- Serial Communication Standards
- JACE Model-Specific Technical Manuals