Actions

Difference between revisions of "Linux Console"

From Zenitel Wiki

(Some Linux commands)
(Some Linux commands)
Line 47: Line 47:
  
 
=Some Linux commands=
 
=Some Linux commands=
 +
 
:ping <IP-address>  (Checks communication against external device)<br\>
 
:ping <IP-address>  (Checks communication against external device)<br\>
 
:ps -A  (List running processes)
 
:ps -A  (List running processes)
 
:ls -l  (list files)
 
:ls -l  (list files)
 
:/sbin/ifconfig (list IP adresses  etc of ethernet ports)
 
:/sbin/ifconfig (list IP adresses  etc of ethernet ports)
 +
:netstat -a (list network connections)
  
 +
The Linux concole runs the "bash" shell.
 
Documentation for Linux commands: [http://www.die.net/doc/linux/man/ die.net/doc/linux]
 
Documentation for Linux commands: [http://www.die.net/doc/linux/man/ die.net/doc/linux]
 +
 +
The [[TST console]] debug function of the AMCD application can accessed from linux console.
  
 
=Access the AMC-IP via FTP Client=
 
=Access the AMC-IP via FTP Client=

Revision as of 16:13, 18 December 2007

Linux Console

The AlphaCom E runs a [Linux] distribution from MontaVista, kernel version 2.4.<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 concole 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.

Access the AMC-IP via FTP Client

AlphaCom E supports FTP protocol (File Transfer Protocol). FTP client (like Windows Commander) looks and acts very much like the Windows Explorer. The FTP ports (20:21) are by default disabled in the firewall.

Linux5.png