Actions

Difference between revisions of "Linux Console"

From Zenitel Wiki

(Linux Console)
Line 1: Line 1:
=Linux Console=
+
==Linux Console==
 
The AlphaCom E runs a [Linux] distribution from MontaVista, kernel version 2.6.<br\>
 
The AlphaCom E runs a [Linux] distribution from MontaVista, kernel version 2.6.<br\>
 
Linux uses a command line interface (CLI).
 
Linux uses a command line interface (CLI).
Line 12: Line 12:
 
*Via serial port 1
 
*Via serial port 1
  
=Linux  Console - Telnet=
+
==Linux  Console - Telnet==
 
Start the Windows command line
 
Start the Windows command line
  
Line 27: Line 27:
  
  
=Linux Console – Serial Port=
+
==Linux Console – Serial Port==
  
 
[[Image:Linux3.png|right|250px|thumb]]
 
[[Image:Linux3.png|right|250px|thumb]]
Line 44: Line 44:
  
  
=Some Linux commands=
+
==Some Linux commands==
  
 
:ping <IP-address>  (Checks communication against external device)<br\>
 
:ping <IP-address>  (Checks communication against external device)<br\>

Revision as of 09:15, 10 May 2012

Linux Console

The AlphaCom E runs a [Linux] distribution from MontaVista, kernel version 2.6.<br\> Linux uses a command line interface (CLI).

When do I need to use the Linux Console?

  • Ping devices on the network
  • File image update
  • Access to the file system

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

Linux1.png

Type telnet <AMC IP-adress>

Linux2.png

Username: alpha
Password: com
The Telnet port (23) is by default disabled in the firewall


Linux Console – Serial Port

Linux3.png

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

Linux4.png


Some Linux commands

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)

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.