Linux Commands & Source Code
304
Console Server & RIM Gateway User Manual
APPENDIX A:
Linux Commands & Source Code
The
console server
platform is a dedicated Linux computer, optimized to provide monitoring and secure access to serial
and network consoles of critical server systems and their supporting power and networking infrastructure.
Opengear
console servers
are built on the 2.6 uCLinux kernel as developed by the uCLinux project (except for
SD4001/4002 and CM4008 which have less flash and use 2.4 uCLinux kernel). This is GPL code and source can be
found at
Some uCLinux commands have config files that can be altered (e.g.
portmanager, inetd
,
init
,
ssh/sshd/scp/sshkeygen,
ucd-snmpd, samba, fnord, sslwrap).
Other commands you can run and do neat stuff with (e.g.
loopback
,
bash (shell)
,
ftp,
hwclock
,
iproute
,
iptables
,
netcat
,
ifconfig
,
mii-tool
,
netstat
,
route
,
ping
,
portmap
,
pppd
,
routed
,
setserial
,
smtpclient
,
stty
,
stunel
,
tcpdump
,
tftp
,
tip
,
traceroute)
Below are most of the standard uCLinux and BusyBox commands (and some custom Opengear commands) that are in
the default build tree. The
Administrator
can use these to configure the
console server
, and monitor and manage attached
serial console and host devices:
addgroup *
Add a group or add an user to a group
adduser *
Add an user
agetty
alternative Linux getty
arp
Manipulate the system ARP cache
arping
Send ARP requests/replies
bash
GNU Bourne-Again Shell
busybox
Swiss army knife of embedded Linux commands
cat *
Concatenate FILE(s) and print them to stdout
chat
Useful for interacting with a modem connected to stdin/stdout
chgrp *
Change file access permissions
chmod *
Change file access permissions
chown *
Change file owner and group
config
Opengear tool to manipulate and query the system configuration from the command line
cp *
Copy files and directories
date *
Print or set the system date and time
dd *
Convert and copy a file
deluser *
Delete USER from the system
df *
Report filesystem disk space usage
dhcpd
Dynamic Host Configuration Protocol server
discard
Network utility that listens on the discard port
dmesg *
Print or control the kernel ring buffer
echo *
Print the specified ARGs to stdout
erase
Tool for erasing MTD partitions
eraseall
Tool for erasing entire MTD partitions
false *
Do nothing, unsuccessful
find
Search for files
flashw
Write data to individual flash devices
flatfsd
Daemon to save RAM file systems back to FLASH
ftp
Internet file transfer program
gen-keys
SSH key generation program
Содержание ACM5000
Страница 3: ......
Страница 10: ...Table of Contents 10 Console Server RIM Gateway User Manual...
Страница 11: ......
Страница 94: ...Chapter 5 Firewall Failover and Out of Band 94 Console Server RIM Gateway User Manual...
Страница 119: ......
Страница 149: ......
Страница 191: ......
Страница 205: ......
Страница 225: ......
Страница 303: ......
Страница 313: ......
Страница 323: ......