Difference between revisions of "Linux Console"
From Zenitel Wiki
(→Accessing the Linux Console) |
(→Accessing the Linux Console) |
||
Line 11: | Line 11: | ||
[[File:Putty Linux.PNG|thumb|right|400px|In PuTTY enter the required connection parameters]] | [[File:Putty Linux.PNG|thumb|right|400px|In PuTTY enter the required connection parameters]] | ||
The Linux Console is accessed via the ethernet port of the AMC-IP. | The Linux Console is accessed via the ethernet port of the AMC-IP. | ||
− | |||
− | |||
*A SSH/Telnet client is required. The free SSH/Telnet client “Putty” is recommended. Download and install PuTTY from here: [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] | *A SSH/Telnet client is required. The free SSH/Telnet client “Putty” is recommended. Download and install PuTTY from here: [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] | ||
− | * In AlphaWeb, '''System Configuration''' -> '''Filters''', the SSH port (port 22) must be enabled. | + | * In AlphaWeb, '''System Configuration''' -> '''Filters''', the SSH port (port 22) must be enabled. |
* Start PuTTY, and enter the '''IP address''' of the AlphaCom, and select protocol '''SSH''' and port number''' 22'''. Press '''Open'''. | * Start PuTTY, and enter the '''IP address''' of the AlphaCom, and select protocol '''SSH''' and port number''' 22'''. Press '''Open'''. | ||
* You are now prompted for username and password: | * You are now prompted for username and password: | ||
Line 20: | Line 18: | ||
** Password: '''com''' | ** Password: '''com''' | ||
* You are now logged in to the Linux Console | * You are now logged in to the Linux Console | ||
+ | |||
+ | Note: AMC software version 10 is using the Telnet protocol on port 23, not the SSH protocol on port 22. The AlphaWeb filter settings and the PuTTY connection parameters must be set accordingly when accessing an AMC-IP running software 10. | ||
+ | |||
[[File:LinuxConsoleLogIn.PNG|thumb|400px|right|Successful login to the Linux Console]] | [[File:LinuxConsoleLogIn.PNG|thumb|400px|right|Successful login to the Linux Console]] | ||
Revision as of 09:00, 10 May 2012
AlphaCom XE runs a Linux distribution from Timesys, kernel ver. 2.6. Linux uses a Command Line Interface (CLI). This CLI can be accessed via the so-called Linux Console.
In the field the Linux Console can be used for:
- Collect information for debugging purposes, e.g. SIP trace
- Flash Image update – Recovery of file system
- To start the TST console: Gives direct access to the AMC-IP memory (NVRAM)
Contents
Accessing the Linux Console
The Linux Console is accessed via the ethernet port of the AMC-IP.
- A SSH/Telnet client is required. The free SSH/Telnet client “Putty” is recommended. Download and install PuTTY from here: PuTTY
- In AlphaWeb, System Configuration -> Filters, the SSH port (port 22) must be enabled.
- Start PuTTY, and enter the IP address of the AlphaCom, and select protocol SSH and port number 22. Press Open.
- You are now prompted for username and password:
- Username: alpha
- Password: com
- You are now logged in to the Linux Console
Note: AMC software version 10 is using the Telnet protocol on port 23, not the SSH protocol on port 22. The AlphaWeb filter settings and the PuTTY connection parameters must be set accordingly when accessing an AMC-IP running software 10.
The Linux Console can be accessed on two ways:
- Via the ethernet port using ”telnet”
- Via serial port 1
Linux Console - Telnet
Start the Windows command line
Type telnet <AMC IP-adress>
Username: alpha Password: com The Telnet port (23) is by default disabled in the firewall
Linux Console – Serial Port
Use a terminal program (like HyperTerminal) connected to serial port 1<br\> Communication parameters:
- 115.200 baud
- No parity
- 8 databits
- 1 stop bit
Turning AMC dipswitch S601-1 ON disables AlphaPro over IP
Some useful commands
- tst -s /tmp/sipd_trace (Start SIP trace - for debugging when SIP Trunk issues)
- ping <IP-address> (Checks communication against external device)<br\>
- ps -A (List running processes)
- ls -l (list files)
- /sbin/ifconfig (list IP adresses etc of ethernet ports)
- netstat -a (list network connections)
- Top (Displays a listing of the most CPU-intensive tasks on the system)
The Linux console runs the "bash" shell. Documentation for Linux commands: die.net/doc/linux
The TST console debug function of the AMCD application can accessed from linux console. Tracing of SIP is also possible.