Cyclades-TS Installation Manual Cyclades Corporation
Cyclades-TS Installation Manual Version 2.4 – October 2001 Copyright (C) Cyclades Corporation, 2001 We believe the information in this manual is accurate and reliable. However, we assume no responsibility, financial or otherwise, for any consequences of the use of this product or Installation Manual.
Table of Contents CHAPTER 1 HOW TO USE THIS MANUAL....................................................................................................... 5 CHAPTER 2 WHAT IS IN THE BOX ................................................................................................................... 6 CHAPTER 3 SUMMARY OF THE CONFIGURATION PROCESS.................................................................. 11 CHAPTER 4 CONFIGURATION .....................................................................
Basic File Manipulation Commands ................................................................................................................ 47 The vi Editor ..................................................................................................................................................... 48 The Routing Table............................................................................................................................................ 49 ssh - The Secure Shell Session ....
Cyclades-TS Installation Manual CHAPTER 1 HOW TO USE THIS MANUAL This manual assumes that the reader understands networking basics and is familiar with the terms and concepts used in Local and Wide Area Networking. The Cyclades-TS is a Linux-based terminal server, which gives it great flexibility. It runs an embedded version of the Linux operating system and Unix and Linux users will find the configuration process very familiar.
Cyclades-TS Installation Manual CHAPTER 2 WHAT IS IN THE BOX The Cyclades-TS is a line of console access and terminal servers. There are several models with differing numbers of serial ports. The following figures show the main units and accessories included in each package and how cables should be connected. The loop-back connector is provided for convenience in case hardware tests are necessary.
Cyclades-TS Installation Manual Cyclades-TS2000 Back View 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 90-240VAC Ethernet 10/100Base-T 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Console 16 On/Off Switch Cross Cable (Same as Console Cable) Connect to a DTE Device Wall Outlet Power Cable Console Cable Modem Cable Connect to a COM Serial Port Connect to a modem or to a null-modem adaptor ////////// Installation Manual Loop-Back Connector Mounting Kit FIGURE 2.
Cyclades-TS Installation Manual Cyclades-TS1000 Back View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Ethernet 10/100Base-T 90-240VAC CYCLADES TS1000 Console On/Off Switch Cross Cable (Same as Console Cable) Connect to a DTE Device Wall Outlet Power Cable Console Cable Modem Cable Connect to a COM Serial Port Connect to a modem or to a null-modem adaptor ////////// Installation Manual Loop-Back Connector Mounting Kit FIGURE 2.
Cyclades-TS Installation Manual Cyclades-TS800 Back View On/Off Ethernet DC IN Console 1 0 On/Off Switch Power Cable Modem Cable To Wall Outlet Cross Cable (Same as Console Cable) Connect to a DTE Device Console Cable Connect to a modem or to a null-modem adaptor ////////// Installation Manual Loop-Back Connector FIGURE 2.
Cyclades-TS Installation Manual Cyclades-TS400 Back View On/Off Console 1 0 On/Off Switch Ethernet DC IN Power Cable Modem Cable To Wall Outlet Cross Cable (Same as Console Cable) Connect to a DTE Device Console Cable Connect to a modem or to a null-modem adaptor ////////// Installation Manual Loop-Back Connector FIGURE 2.
Cyclades-TS Installation Manual CHAPTER 3 SUMMARY OF THE CONFIGURATION PROCESS The Cyclades-TS can be used as a: • console server, • terminal server, • remote access server. A detailed description of each of these profiles is provided in the next chapter. The Cyclades-TS’s operating system is embedded Linux. Even if you are a Unix user and find the tools and files familiar, do not configure this product as you would configure a regular Linux server.
Cyclades-TS Installation Manual E. Edit the pslave.conf file. This is the main configuration file that concentrates most product parameters and defines the functionality of the Cyclades-TS. The modifications made to this file will depend on the profile. F. Activate the changes. G.Test the configuration to make sure the ports have been set up properly. H. Save the changes and restart the server application. Full details on each step listed above and how to perform them are provided in the next chapter.
Cyclades-TS Installation Manual CHAPTER 4 CONFIGURATION This chapter guides you step by step through the configuration of the Cyclades-TS for the three principal applications: 1. Console Server, 2. Terminal Server, and 3. Remote Access Server. Many steps are common to both, so please read the entire chapter before beginning. STEP ONE Connect a PC or terminal to the Cyclades-TS using the console cable.
Cyclades-TS Installation Manual STEP TWO In this step, four Linux files must be modified to identify the TS1000 and its neighbors. Then, the boot parameters are configured. The operating system provides the vi editor, which is described in the Linux appendix for the uninitiated. The first file is /etc/hostname. The only entry should be the hostname of the Cyclades-TS. An example is shown in Figure 4.1. TS1000 FIGURE 4.1 CONTENTS OF THE /ETC/HOSTNAME FILE The second file is /etc/hosts.
Cyclades-TS Installation Manual route add default gw 200.200.200.5 FIGURE 4.4 CONTENTS OF THE /ETC/NETWORK/ST_ROUTES FILE Now, use the bootconf utility to configure the boot parameters. The console speed parameter should be changed if the terminal used as a console requires a different speed. The option to skip the flash test speeds up the boot process. The last option determines the operational mode of the Ethernet connection. Type bootconf on the command line.
Cyclades-TS Installation Manual STEP THREE - CONSOLE SERVER A console server application is shown in Figure 4.5. Radius Authentication Server, Syslog Server, Name Server IP Address: 200.200.200.2 Internet Workstation TS1000 Ethernet Interface IP Address: 200.200.200.1 Socket Port 7008 192.168.1.108 TS1000 Socket Port 7002 192.168.1.102 Socket Port 7001 192.168.1.101 Cyclades-PR1000 Ethernet Interface: 200.200.200.5 Workstation 200.200.200.4 Serial Connections Speed: 9.6 K FIGURE 4.
Cyclades-TS Installation Manual The fifth file is specific to the Cyclades-TS and a sample file with comments is supplied in the Linux file system. It is called /etc/portslave/pslave.conf. A listing of the pslave.conf file with all possible parameters, as well as the files used to create the three applications in this chapter, is provided in Appendix C. There are three basic types of parameters: conf.* parameters are global or apply to the Ethernet interface; all.
Cyclades-TS Installation Manual Parameter Description conf.syslog The IP address of a remote syslog daemon can be provided here, if desired. This value (0-7) is sent to the syslog server (the TS is a syslog client) to indicate in which file the syslog messages sent by portslave should be stored. The file /etc/syslog.conf on the syslog server contains a mapping between facility numbers and server log files.
Cyclades-TS Installation Manual Parameter Description all.authtype There are several authentication type options: local (authentication is performed using the /etc/passwd file), radius (authentication is performed using a Radius authentication server), none, local/radius (authentication is performed locally first, switching to Radius if unsuccessful), radius/local (the opposite of the previous option) and RadiusDownLocal (local authentication is tried only when the Radius server is down).
Cyclades-TS Installation Manual Parameter Description all.ipno This is the default IP address of the Cyclades-TS's serial ports. The "+" indicates that the first port should be addressed as 192.168.1.101 and the following ports should have consecutive values. Any host can access a port using its IP address as long as a path to the address exists in the host's routing table.
Cyclades-TS Parameter Installation Manual Description all.data_buffering A non-zero value activates data buffering. A file (/var/run/ttyS#.data) is created on the Cyclades-TS and all data received from the port is captured. The file contains a maximum size equal to this parameter, which is overwritten each time the maximum is reached. This file can be viewed using the normal Unix tools (cat, vi, more, etc.). all.
Cyclades-TS Installation Manual Parameter Description all.admin_users This parameter determines which users can open a sniff session, which is where a second connected user can see everything that a first connected user is doing on a given port. The second user can also cancel the first user's session (and take over). Only two users can connect to the same port simultaneously. This parameter is obligatory when authtype is not none, to determine who can open a sniff session or cancel a previous session.
Cyclades-TS Installation Manual 5. From a server on the LAN (not from the console), try to telnet to the server connected to the first port of the Cyclades-TS using the following command: telnet 200.200.200.1 7001 For both telnet and ssh sessions, the servers can be reached by either: 1. Ethernet IP of the Cyclades-TS and assigned socket port or 2. Individual IP assigned to each port. If everything is configured correctly, a telnet session should open on the server connected to port 1.
Cyclades-TS Installation Manual LAN Linux Server IP: 200.200.200.3 ETH0 IP: 200.200.200.1 TS1000 VT100 Terminal Port 16 Speed: 9600 Port 1 PC Running Terminal Application (VT100) FIGURE 4.8 TERMINAL SERVER APPLICATION The fifth configuration file (the first four were described in step two) is specific to the Cyclades-TS and a sample file with comments is supplied in the Linux file system. It is called /etc/portslave/pslave.conf. A listing of the pslave.
Cyclades-TS Installation Manual Parameter Description conf.eth_ip The IP address of the Ethernet interface. This parameter, along with the next two, is used by the cy_ras program to OVERWRITE the file /etc/network/ifcfg_eth0 as soon as the command "signal_ras HUP" is executed. The file /etc/network/ifcfg_eth0 should not be edited by the user unless the cy_ras application is not going to be used. The mask for the Ethernet network.
Cyclades-TS Installation Manual Parameter Description all.speed The speed for all ports. This value (as for all "all." parameters) can later be overridden for individual ports using the s.speed parameter. The data size for all ports. The number of stop bits for all ports The parity for all ports.
Cyclades-TS Parameter all.issue all.prompt all.term all.flow all.socket_port all.users s1.tty s16.tty Installation Manual Description Value for This Example This text determines the format of \r\n\ TSLINUX - Portslave Internet Services\n\ the login banner that is issued when \r\n\ Welcome to terminal server %h port S%p \n\ \r\n\ Customer Support: 510-770-9727 a connection is made to the Cyclades-TS. \n represents a new www.cyclades.com/\n\ \r\n line and \r represents a carriage return.
Cyclades-TS Installation Manual Execute the command signal_ras hup to activate the changes. At this point, the configuration should be tested. A step-by-step check list follows. 1. Since authentication was set to none, the Cyclades-TS will not authenticate the user. However, the Linux Server receiving the connection will. Create a new user on the server called test and provide him with the password test. 2. From the console, ping 200.200.200.3 to make sure the server is reachable. 3.
Cyclades-TS Installation Manual Syslog Server IP: 200.200.200.3 LAN Radius Authentication Server IP: 200.200.200.2 ETH0 IP:200.200.200.1 TS2000 Port 1 Speed: 57600 Port 32 Modem Modem IP: 200.200.200.42 Modem Modem PC PC IP: 200.200.200.11 FIGURE 4.11 REMOTE ACCESS SERVER APPLICATION The fifth configuration file (the first four were described in step two) is specific to the Cyclades-TS and a sample file with comments is supplied in the Linux file system. It is called /etc/portslave/pslave.conf.
Cyclades-TS Installation Manual Parameter Description conf.eth_ip The IP address of the Ethernet interface. This parameter, along with the next two, is used by the cy_ras program to OVERWRITE the file /etc/network/ifcfg_eth0 as soon as the command "signal_ras HUP" is executed. The file /etc/network/ifcfg_eth0 should not be edited by the user unless the cy_ras application is not going to be used. The mask for the Ethernet network.
Cyclades-TS Installation Manual Parameter Description all.speed The speed for all ports. This value (as for all "all." parameters) can later be overridden for individual ports using the s.speed parameter. The data size for all ports. The number of stop bits for all ports The parity for all ports. This variable determines which syslog messages will be sent to the syslog server configured in the conf.syslog parameter.
Cyclades-TS Installation Manual Parameter Description all.authhost1 This address indicates the location of the Radius authentication server and is only necessary if this option is chosen in the previous parameter. A second Radius authentication server can be configured with the parameter all.authhost2. This address indicates the location of the Radius accounting server, which can be used to track how long users are connected after being authorized by the authentication server. Its use is optional.
Cyclades-TS Installation Manual Parameter all.initchat Description Modem initialization string. all.flow This sets the flow control to hardware, software, or none. PPP options to auto-detect a ppp session. all.autoppp all.pppopt s1.tty s32.tty Value for This Example TIMEOUT 10 "" \d\l\dATZ \ OK\r\n-ATZ-OK\r\n "" \ "" ATMO OK\R\N "" \ TIMEOUT 3600 RING "" \ STATUS Incoming %p:I.HANDSHAKE "" ATA \ TIMEOUT 60 CONNECT@ "" \ STATUS Connected %p:I.
Cyclades-TS Installation Manual Execute the command signal_ras hup to activate the changes. At this point, the configuration should be tested. A step-by-step check list follows. 1. Since Radius authentication was chosen, create a new user on the Radius authentication server called test and provide him with the password test. 2. From the console, ping 200.200.200.2 to make sure the Radius authentication server is reachable. 3.
Cyclades-TS Installation Manual Restart the cy_ras process using its process ID. This can be done by executing the command: signal_ras hup This executes the ps command, searches for the cy_ras process id, then sends the signal HUP to the process, all in one step. Now the configuration is complete. saveconf is equivalent to tar -czf /proc/flash/script -T /etc/config_files in standard Linux (this command is emulated by busybox on the TS and does not support the z flag).
Cyclades-TS 7303 Installation Manual 7302 7035 7301 7034 7033 7003 7002 7001 Port Numbers LAN Cyclades-TS Slave 2 Ethernet IP Address: 20.20.20.3 Cyclades-TS Slave 1 Ethernet IP Address: 20.20.20.2 Cyclades-TS Master Ethernet IP Address: 20.20.20.1 Secondary Address: 209.81.55.110 Management Workstation IP Address: 20.20.20.10 Cyclades-PR1000 Router Ethernet IP Address: 209.81.55.111 Remote Management Workstation FIGURE 4.14 EXAMPLE USING THE CLUSTERING FEATURE.
Cyclades-TS Installation Manual The Master Cyclades-TS must contain references to the Slave ports. The configuration described earlier for Console Access Servers should be followed with the following exceptions for the Master and Slaves: Master Configuration: Parameter Description conf.eth_ip Ethernet Interface IP address. conf.eth_ip_alias Secondary IP address for the Ethernet Interface (needed for clustering feature). conf.eth_mask_alias Mask for secondary IP address above. all.
Cyclades-TS Installation Manual Parameter s35.tty s35.serverfarm s35.ipno etc. for s36-s64 S65.tty S65.serverfarm S65.ipno S66.tty S66.serverfarm S66.ipno S67.tty S67.serverfarm S67.ipno etc. for s68-s96 Description See s33.tty. An alias for this port. See s33.ipno. Value for This Example 20.20.20.2:7035 Server_on_slave1_serial_s3 0.0.0.0 The format of this parameter is IP_of_Slave[:slave_socket_port] for non-master ports. The value 7301 was chosen arbitrarily for this example. An alias for this port.
Cyclades-TS Installation Manual Parameter all.protocol all.authtype conf.eth_ip all.socket_port Value for This Example Socket_server None 20.20.20.3 7301+ FIGURE 4.17 CYCLADES-TS CONFIGURATION FOR SLAVE 2 (WHERE IT DIFFERS FROM THE STANDARD CAS PROFILE) To access ports from the remote management workstation, use telnet with the secondary IP address: Telnet 209.81.55.110 7001 to access the first port of the Master Cyclades-TS Telnet 209.81.55.110 7033 to access the first port of Slave 1 Telnet 209.81.55.
Cyclades-TS Installation Manual CHAPTER 5 UPGRADES AND TROUBLESHOOTING Upgrades All 6 files added by Cyclades to the standard Linux files are in the /proc/flash directory.
Cyclades-TS File /etc/securetty /etc/issue /etc/getty_ttyS0 /etc/hostname /etc/hosts /etc/host.conf /etc/nsswitch.conf /etc/resolv.conf /etc/config_files /etc/passwd /etc/group /etc/ssh/ssh_host_key.pub /etc/ssh/sshd_config /etc/ssh/ssh_config /etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.pub /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_dsa_key.pub /etc/snmp/snmpd.conf /etc/portslave/pslave.conf /etc/network/ifcfg_eth0 /etc/network/ifcfg* /etc/network/ifcfg_lo /var/run/radsession.
Cyclades-TS Installation Manual name altered), its name must be added to this file before executing saveconf and reboot. Cyclades Technical Support is always ready to help with any configuration problems. Before calling, execute the command cat /proc/version and note the Linux version and Cyclades-TS version written to the screen. This will speed resolution of most problems. Hardware Test A hardware test called tstest is included with the Cyclades-TS firmware.
Cyclades-TS Installation Manual was used to connect ports 4 and 5. Port Conversation This test sends and receives data on the selected port. One way to run this test is to place a loop-back connector on the port to be tested and begin. Enter the number of the port and a baud rate (9600 is a typical value). Type some letters, and if the letters appear on the screen, the port is working.
Cyclades-TS Installation Manual State ON DTR X ↓ DCD X ↓ OFF DSR X ↓ RTS X CTS X This is because the test is receiving the DTR signal sent through the DCD and DSR channels. When Ctrl-R is typed, the Xs in the RTS and CTS columns should move together. If the Xs change position as described, the signals are being sent and received correctly.
Cyclades-TS Installation Manual After printing “Linux/PPC load: root=/dev/ram”, the Cyclades-TS waits approximately 10 seconds for user input. This is where the user should type “single”. When the boot process is complete, the Linux prompt will appear on the console: [root@(none) /]# If the password or username was forgotten, execute the following commands: passwd saveconf reboot For configuration problems, the user has two options: 1.
Cyclades-TS Installation Manual APPENDIX A INFORMATION FOR USERS NOT FAMILIAR WITH LINUX Users and Passwords A username and password are necessary to log in to the Cyclades-TS. The user “root” is predefined, without a password. A password should be configured as soon as possible to avoid unauthorized access. Type the command: passwd to create a password for the root user.
Installation Manual Cyclades-TS /home /bin /dev /etc /lib /proc /mnt /opt /tmp /usr /var Contains the work directories of system users. Contains applications and utilities used during system initialization. Contains files for devices and ports. Contains configuration files specific to the operating system. Contains shared libraries. Contains process information Contains information about mounted disks. Location where packages not supplied with the operating system are stored.
Installation Manual Cyclades-TS Other commands allow the user to change directories and see the contents of a directory. pwd Supplies the name of the current directory. While logged in, the user is always "in" a directory. The default initial directory is the user's home directory, /home/ ls [options] directory_name Lists the files and directories within directory_name. Some useful options are -l for more detailed output and -a which shows hidden system files.
Cyclades-TS Installation Manual Entering the program, the user is automatically in the command mode.
Installation Manual Cyclades-TS or netstat -rn The file /etc/network/st_routes shown in Figure 4.5 is the Cyclades-TS’s method for configuring static routes.
Installation Manual Cyclades-TS :ip_addr or :serverfarm Note: “serverfarm” is a physical port alias. It can be configured in the file pslave.conf. An example: username: TS1000 IP address: host name: servername for port 1: cyclades 192.168.160.1 ts1000 file_server ttyS1 addressed by IP 10.0.0.1 or socket port 7001. The various ways to access the server connected to the port are: ssh -t cyclades:ttyS1@ts1000 ssh -t cyclades:7001@ts1000 ssh -t cyclades:10.0.0.
Installation Manual Cyclades-TS The Process Table The process table shows which processes are running. Type ps -a to see a table similar to that below.
Cyclades-TS Installation Manual Next, create a line in the file /etc/crontab_files for each process to be run. Each line must contain the three items: • status (active or inactive) - if this item is not active, the script will not be executed. • user - the process will be run with the priviledges of this user, who must be a valid local user. • source - pathname of the crontab file. When the /etc/crontab_files file contains the following line: active root /etc/tst_cron.src and the /etc/tst_cron.
Cyclades-TS Installation Manual To activate the DHCP client on the Ethernet Interface, set the global parameter conf.dhcp_client to 1. All other parameters related to the Ethernet Interface (conf.eth_ip, etc.) should be commented. If the IP addresses of the Cyclades-TS or the default gateway are changed, the Cyclades-TS will adjust its routing table accordingly. To inactivate the DHCP client, set the parameter conf.dhcp_client to 0.
Cyclades-TS Installation Manual The Cyclades-TS uses the Linux utility ipchains to filter IP packets entering, leaving and passing through its interfaces. An ipchains tutorial is beyond the scope of this manual. For more information on ipchains, see the ipchains man page (not included with the Cyclades-TS) or the howto: http://netfilter.filewatcher.org/ipchains/ HOWTO.html.
Cyclades-TS Installation Manual incoming packet filtering. The packet is either destined for the router or for another computer. In the latter case, the packet is processed by the forward chain. Packets that pass through the forward chain will then be processed by the output chain. source and destination have the following format: [!]address[/mask] [!][port[:port]] ! : reverses the definition, resulting in the opposite.
Cyclades-TS Installation Manual Another option is to edit the file /etc/network/firewall (or another file) directly, following the syntax defined in the file itself. If the file is edited in this way, the command fwset cannot be used to save and restore the configuration.
Installation Manual Cyclades-TS > ts_menu Cyclades-TS: Serial Console Server Connection menu 1 ttyS1 2 snoopy 3 linus 4 lucy 5 charlie 6 vt100-ssh Type 'q' to quit, a valid option [1-6], or anything else to refresh : selecting option 2 will telnet/ssh to the server snoopy. The names defined using the parameter serverfarm are used to make up the list. When no name is configured, ttyS is used where N is the port number.
Cyclades-TS Installation Manual APPENDIX B HARDWARE SPECIFICATIONS This chapter has all the information you need to quickly and successfully purchase or build RS-232 cabling. It focuses on information related to the Cyclades-TS, but most of the information applies to any RS-232 cabling The RS-232 Standard RS-232C, EIA RS-232, or simply RS-232 refer to a standard defined by the Electronic Industries Association in 1969 for serial communication.
Cyclades-TS Installation Manual verify if you think you have the correct cable and things still do not work. The most common configuration is 8N1 (8 bits of data per character, no parity bit included with the data, 1 stop-bit to indicate the end of a character). The baud rate in a RS-232 line translates directly into the data speed in bits per second (bps).
Cyclades-TS Installation Manual servers use RJ-45 connectors for serial communication. Unfortunately there is no standard RS-232 pin assignment for RJ-45 connectors. Every equipment vendor has its pin assignment. Most connectors have two versions. The ones with pins are said to be “male” and the ones with holes are said to be “female”.
Cyclades-TS Installation Manual cables from a computer store or cable vendor. For custom cables, refer to the cable diagrams to build your own cables or order them from Cyclades or a cable vendor. To Connect To Use Cable DCE DB-25 Female (standard) Cable 1 – RJ-45 to DB-25 M straight-through (Custom) - Analog Modems This custom cable can be ordered from Cyclades or other cable - ISDN Terminal Adapters vendors. A sample is included with the product ("straightthrough").
Cyclades-TS Installation Manual Most of the diagrams in this document show the “complete” version of the crossover cables, with support for modem control signals and hardware flow control. Applications that do not require such features have just to configure NO hardware flow control and NO DCD detection on their side. Both ends should have the same configuration for better use of the complete version of the cables.
Cyclades-TS Installation Manual Cable #2: Cyclades RJ-45 to DB-25 Female/Male, Crossover Application: It connects Cyclades products (serial ports) to console ports, terminals, printers and other DTE RS-232 devices.
Cyclades-TS Installation Manual Cable #3: Cyclades RJ-45 to DB-9 Female, Crossover Application: It connects Cyclades products (serial ports) to console ports, terminals, printers and other DTE RS-232 CCrCrr ooossss s DB-9 Female devices.
Cyclades-TS Installation Manual Cable #4: Cyclades RJ-45 to Cyclades RJ-45, Crossover Application: Usually used to connect two ports of a Cyclades product (“loopback”) for testing purposes.
Cyclades-TS Installation Manual Cable #5: Cyclades RJ-45 to Netra RJ-45, Crossover Usually used in console management applications to connect Cyclades products to a Sun Netra server or to a Cisco product.
Cyclades-TS Installation Manual APPENDIX C SAMPLE PSLAVE.CONF FILES The pslave.conf file with all possible parameters and their descriptions is presented first The pslave.conf files for the three examples configured in chapter 4 follow. The Complete pslave.conf File Provided with the Cyclades-TS # # pslave.conf Sample server configuration file. # # The Terminal Server uses a virtual terminal concept. Virtual terminals are # named s1, s2, etc.
Cyclades-TS Installation Manual # # # # # # # # # # # # # # # # # # # %l: %L: %p: %P: %b: %i: %j: %1: %2: %3: %4: %c: %m: %t: %r: %I: %T: %h: %%: # # # # # # # # # Generic SAMPLE: all async ports at 9600 bps, 8N1 Eth IP address 192.169.160.10/24 (MTU=1500) protocol socket_server host IP 192.168.160.8/24 syslogd IP 192.168.160.1 Radius Server IP 192.168.160.
Cyclades-TS Installation Manual # The Cyclades-TS can request all of its ethernet parameters to a DHCP server. # The administrator can activate the dhcp client with more options changing # the file /etc/network/dhcpcd_cmd. # #conf.dhcp_client 1 conf.eth_ip 192.168.160.10 conf.eth_mask 255.255.255.0 conf.eth_mtu1500 # # Secondary IP address of ethernet # #conf.eth_ip_alias 192.168.161.10 #conf.eth_mask_alias 255.255.255.
Cyclades-TS Installation Manual conf.rlogin /usr/local/bin/rlogin-radius # # Location of our patched pppd with Radius linked in. # conf.pppd /usr/local/sbin/pppd-radius # # Location of the telnet utility. This can be the system telnet. (Optional) # conf.telnet /bin/telnet # # Location of ssh utility. This can be the system SSH. (Optional) # conf.ssh /bin/ssh # # This parameter is only necessary when authentication is being # performed for a port.
Cyclades-TS Installation Manual # Speed. All ports are set to 9600 baud rate, 8 bits, No parity, 1 stop bit. # These values can be changed port by port later in the file. # all.speed 9600 all.datasize 8 all.stopbits 1 all.parity none # # Syslog server message level. An integer between 0 and 7. Zero: does not send # syslog messages to the syslog server. # all.syslog_level 4 # # Syslog Console message level. An integer between 0 and 7. Zero: does not send # syslog messages to the console. # all.
Cyclades-TS Installation Manual all.accthost1 192.168.160.3 all.radtimeout 3 all.radretries 5 #all.authhost2 192.168.160.4 #all.accthost2 192.168.160.4 # # The shared secret used by RADIUS. # all.secret cyclades # # Default protocol. # # Valid values are "login", "rlogin", "telnet", # "ssh", "ssh2", "slip", "cslip", "ppp", "ppp_only", "socket_client", # "socket_server" and "socket_ssh".
Installation Manual Cyclades-TS # all.mtu all.mru 1500 1500 # # Standard message issued on connect. # all.issue \r\n\ TSLINUX - Portslave Internet Services\n\ \r\n\ Welcome to terminal server %h port S%p \n\ \r\n\ Customer Support: 510-770-9727 http://www.cyclades.com/\n\ \r\n # # Login prompt. # all.prompt %h login: # # Terminal type, for rlogin/telnet sessions. # all.
Cyclades-TS # # # # # # # # # # # # Installation Manual "" \d\l\dATZ \ OK\r\n-ATZ-OK\r\n "" \ TIMEOUT 10 \ "" ATM0 \ OK\r\n "" \ TIMEOUT 3600 \ RING "" \ STATUS Incoming %p:I.HANDSHAKE \ "" ATA \ TIMEOUT 60 \ CONNECT@ "" \ STATUS Connected %p:I.HANDSHAKE # # Serial port flow control: # hard - hardware, rts/cts # soft - software, CTRL-S / CTRL-Q # none. # all.flow hard # # DCD signal (sets the tty parameter CLOCAL). Valid values are 0 or 1. # In a socket session, if all.
Cyclades-TS Installation Manual # # PPP options - User already authenticated and service type is PPP. # #all.pppopt %i:%j novj \ # proxyarp modem asyncmap 000A0000 \ # noipx noccp mtu %t mru %t netmask %m \ # idle %I maxconnect %T \ # ms-dns 192.168.160.5 ms-dns 0.0.0.0 \ # plugin /usr/lib/libpsr.so # # # When not set to zero, this parameter sets the wait for a TCP connection # keep-alive timer.
Cyclades-TS Installation Manual # # When non-zero, the contents of the data buffer are sent to the syslog # server every time a quantity of data equal to this parameter is collected. # [40 to 255 recomended] # # all.syslog_level should be greater than or equal to 5, and data_buffering # non-zero for syslog generation. # all.syslog_buffering 0 # # Show Data buffering menu options if parameter is set to zero # MENU: # "A non-empty Data Buffering File was found.
Cyclades-TS Installation Manual # # Port access restriction (more useful when used to a specific port). # A single comma and spaces/tabs may be used between names. # A comma may not appear between the ! and the first user name. # The users may be local or Radius. # # In this example, the users joe and mark CANNOT access any serial port # #all.users ! joe, mark # # In this example, ONLY the users joe and mark CAN access any serial port # #all.
Cyclades-TS Installation Manual #all.admin_users peter # # Port-specific parameters # s1.tty ttyS1 s2.tty ttyS2 s3.tty ttyS3 s4.tty ttyS4 s5.tty ttyS5 s6.tty ttyS6 s7.tty ttyS7 s8.tty ttyS8 s9.tty ttyS9 s10.tty ttyS10 s11.tty ttyS11 s12.tty ttyS12 s13.tty ttyS13 s14.tty ttyS14 s15.tty ttyS15 s16.tty ttyS16 # for TS2000 uncomment s17 through s32 #s17.tty ttyS17 #s18.tty ttyS18 #s19.tty ttyS19 #s20.tty ttyS20 #s21.tty ttyS21 #s22.tty ttyS22 #s23.tty ttyS23 #s24.tty ttyS24 #s25.tty ttyS25 #s26.
Installation Manual Cyclades-TS The pslave.cas File Provided With the Cyclades-TS for the Console Access Server Example # # pslave.conf Sample server configuration file. # # Console Access Server Profile # conf.eth_ip 200.200.200.1 conf.eth_mask 255.255.255.0 conf.eth_mtu1500 #conf.nfs_data_buffering 192.168.160.11:/tmp/ts_data_buffer conf.lockdir/var/lock conf.syslog 200.200.200.2 conf.facility 7 all.syslog_level 4 all.console_level 4 all.speed 9600 all.datasize 8 all.stopbits 1 all.parity none all.
Cyclades-TS Installation Manual all.poll_interval 0 all.socket_port 7001+ all.protocol socket_server all.data_buffering 0 all.syslog_buffering 0 #all.dont_show_DBmenu 1 # # Users joe and mark will only have access granted to the serial port ttyS2 # all.users ! joe, mark # # Sniff sessions will only display data sent by servers connected # to the serial port. # all.sniff_mode out # # Only users peter and john can open a sniff session # all.
Installation Manual Cyclades-TS #----------------# PORT 8 #----------------s8.tty s8.protocol s8.authtype s8.serverfarm ttyS8 socket_ssh none server_connected_serial8 Appendix C - Sample pslave.conf files - The pslave.
Cyclades-TS Installation Manual The pslave.ts File provided with the Cyclades-TS for the Terminal Server Example # # pslave.conf Sample server configuration file. # # Terminal Server Profile conf.eth_ip 200.200.200.1 conf.eth_mask 255.255.255.0 conf.eth_mtu1500 conf.lockdir/var/lock conf.rlogin /usr/local/bin/rlogin-radius conf.telnet /bin/telnet conf.ssh /bin/ssh conf.locallogins 0 all.speed 9600 all.datasize 8 all.stopbits 1 all.parity none all.authtype none all.protocoltelnet all.host 200.200.200.
Installation Manual Cyclades-TS # # Port-specific parameters # s1.tty ttyS1 s2.tty s2.authtype s2.protocol s2.speed s2.datasize s2.stopbits s2.parity ttyS2 local rlogin 19200 7 2 even s3.tty s3.protocol s3.authtype ttyS3 ssh2 remote s4.tty s4.protocol s4.authtype ttyS4 ssh remote s5.tty s5.users ttyS5 joe, mark Appendix C - Sample pslave.conf files - The pslave.
Cyclades-TS Installation Manual The pslave.ras File Provided With the Cyclades-TS for the Remote Access Server Example # # pslave.conf Sample server configuration file. # # Remote Access Server Profile # conf.eth_ip 200.200.200.1 conf.eth_mask 255.255.255.0 conf.eth_mtu1500 conf.lockdir/var/lock conf.pppd /usr/local/sbin/pppd-radius conf.syslog 200.200.200.3 conf.facility 7 all.speed 57600 all.datasize 8 all.stopbits 1 all.parity none all.syslog_level 4 all.console_level 4 all.authtype radius all.
Cyclades-TS Installation Manual all.initchat TIMEOUT 10 \ "" \d\l\dATZ \ OK\r\n-ATZ-OK\r\n "" \ "" ATMO \ OK\R\N "" \ TIMEOUT 3600 \ RING "" \ STATUS Incoming %p:I.HANDSHAKE \ "" ATA \ TIMEOUT 60 \ CONNECT@ "" \ STATUS Connected %p:I.HANDSHAKE all.flow hard all.dcd 1 all.autoppp %i:%j novj \ proxyarp modem asyncmap 000A0000 \ noipx noccp login auth require-pap refuse-chap \ mtu %t mru %t \ plugin /usr/lib/libpsr.so all.
Cyclades-TS Installation Manual #------------------------------------------# PORT 3 PPP Leased line #------------------------------------------s3.tty ttyS3 s3.protocol ppp_only s3.pppopt %i:%j novj \ proxyarp modem asyncmap 000A0000 \ noipx noccp login auth require-pap refuse-chap \ mtu %t mru %t \ plugin /usr/lib/libpsr.so s3.initchat "" s3.issue "" Appendix C - Sample pslave.conf files - The pslave.
Cyclades-TS Installation Manual APPENDIX D CUSTOMIZATION Everything related to the Cyclades-TS can be traced back to two files: /etc/rc.sysinit and /etc/ inittab. All Cyclades-TS application programs are started during boot by the init process. The related lines in the /etc/inittab file are listed below: # System initialization. ::sysinit:/etc/rc.
Cyclades-TS Installation Manual APPENDIX E THE WEB CONFIGURATION MANAGER An HTML server to facilitate administration and configuration of the Cyclades-TS was implemented in software v.1.3.0. To use this feature: 1. connect the Cyclades-TS to a terminal using the console cable, 2. log in to the Cyclades-TS from the terminal with root privileges, 3. change the IP address/mask/gateway using the command config_eth0 ip 200.200.200.1 netmask 255.255.255.0 gw 200.200.200.
Cyclades-TS Installation Manual FIGURE E.
Cyclades-TS Installation Manual To change the password: 1. Click on the link Web User Management->Users 2. Select the user root, then click on the Change Password button. 3. Type the new password twice and submit the request. 4. The next page will require a new login, type root and the new password 5. Click on the link Web User Management->Load/Save Configuration and click on the Save Configuration button. 6.
Cyclades-TS Installation Manual FIGURE E.
Cyclades-TS Installation Manual A Menu of links is provided along the left side of the page. A summary of what each link leads to is shown in the following figures. Link Name General Serial Ports Host Table Static Routes IP Chains Boot Configurations Edit Text File System Users System Groups Description of Page Contents Description, Ethernet, DNS, Syslog, Name Service Access, Data Buffering. Configuration for the Portslave package. Table of hosts in /etc/hosts.
Cyclades-TS Link Name Logout Reboot Send Message Port Conversation Download/Upload Image Load/Save Configuration Set Date/Time Active Sessions Process Status Restart Processes Installation Manual Description of Page Contents Exits the Web Manager. Resets the equipment. Sends messages to users logged in to a serial port. Does a port conversation through a serial port. Uses an FTP server to load and save a kernel image. Uses flash memory or an FTP server to load or save the TS's configuration.
Cyclades-TS Installation Manual Troubleshooting the Web Configuration Manager 1. What to do when the initial web page does not appear. Try pinging, telnetting or tracerouting to the Cyclades-TS to make sure it is reachable. If not, the problem is probably in the network or network configuration. Are the interfaces up? Are the IP addresses correct? Are filters configured which block the packets? If the Cyclades-TS is reachable, see if the /bin/webs process is running by executing the command ps.
Cyclades Corporation 41829 Albrae Street Fremont, CA 94538 - USA Phone: (510) 770-9727 Fax: (510) 770-0355 www.cyclades.com Cyclades Philippines Unit 804, LTA Bldg. 118 Perea St. Legaspi Village Makati City Phillipines 1200 Phone: (632) 813-0353 Fax: (632) 655-2610 www.ph.cyclades.com Cyclades South America Av. Santa Catarina, 155 04635-000 São Paulo, SP, Brazil Phone: 55-11-5033-3333 Fax: 55-11-5033-3388 www.cyclades.com.