Cyclades PC400 installation manual Netstat -rn, Net-host, Netmask, Ssh The Secure Shell Session

Page 37

Cyclades-PC400

Installation Manual

netstat -rn

Type man netstat at the Linux prompt for more informations about netstat options. Routes should be added to the file /proc/net/route or at the prompt (for temporary routes) using the following syntax:

route [adddel] [-net-host] target netmask nt_msk [gw gt_way] interf

[adddel]

one of these tags must be present -- routes can be either added or deleted.

[-net-host]

-net is for routes to a network and -host is for routes to a single host.

target

target is the IP address of the destination host or network

netmask

the tag netmask and a mask are necessary only when subnetting is used. Otherwise, a

nt_msk

mask appropriate to the target is assumed. nt_msk must be specified in dot notation.

gw gt_way

specifies a gateway, when applicable. gt_way is the IP address or hostname of the

 

gateway.

interf

the interface to use for this route. Must be specified if a gateway is not. When a gateway

 

is specified, the operating system determines which interface is to be used.

Type man route at the Linux prompt for more information about the syntax for the command route.

ssh - The Secure Shell Session

ssh is a command interface and protocol often used by network administrators to connect securely to a remote computer, and is a highly recommended alternative to telnet/rlogin. ssh replaces its non-secure counterpart rsh. There are two versions of the protocol, ssh and ssh2. Type man ssh2 at the Linux command prompt for more information about the use of ssh.

Appendix A - Linux

37

Image 37
Contents Cyclades-PC400 FCC Warning Statement Cyclades-PC400 Installation ManualCanadian DOC Notice Table of Contents Appendix B Hardware Specifications Upgrades of Software and Manuals What is in the BOXStep One Hardware InstallationStep Two Step Three Step Five Step FourSoftware Installation Software Installation Make config Make menuconfig Step ONE Board and System ConfigurationStep TWO Dspprofilebegin InterfnNbegin Label Description ISDN-PRI Profile Parameters Interface Parameters USA AT&T Pc400load Last or channelnumberchannelnumberchannelnumber etcPc400util -p Step ThreeStep Four Guided Examples for the Most Common Applications Step FiveISDN-BRI LANRAS DIAL-IN Application Parameters Parameter Description Value for T1 Value for E1 Line∙∙∙ LAN Example 2 a LAN-to-LAN Example Using ChannelsETH0 10 Multiple LAN-TO-LAN Application Parameters ∙∙∙ General Tips TroubleshootingRoot@cyclades common# ./pc400hwtest Hardware TestGlobal Test ESC Previous Menu G Global E ErrorsPasses Pg0 Board DSP U19 U06 U20 U07ESC Previous Menu G Global E ErrorsAdministrative Utilities Appendix a Information for Users not Familiar with Linux Users and PasswordsPasswd Linux File StructureCp filename destination Basic File Manipulation CommandsVi Editor Mode What is done there How to Get ThereVi filename Routing Table Net-host Netstat -rnNetmask Ssh The Secure Shell SessionLoading the Configuration File PID TTY Stat Time CommandProcess Table Get information from the board Minute hour date month day-of-week user commandSyslog Crond UtilityActive root /etc/tstcron.src Dhcp Dynamic Host Configuration Protocol Client59 * * * * /etc/testcron.sh Packet Filtering using ipchains Interface is Accept DenyCyclades-PC400 Installation Manual RJ-48C Signal Pin RxTip RxRing TxTip TxRing Appendix B Hardware SpecificationsCyclades Philippines