background image

Page 86 

Ÿ

 PortServer Terminal Server

• 

TABS (ASCII 9) can be converted to spaces, with 8 spaces per TAB character.  Use 

set

line

 

otab=on

 if you want tabs converted. (See page 49).

Modems

Notes on Configuring Modems

Usually its desirable to configure modems to be bidirectional (

dev=mio

) although if desired they

may also be configured to be input only (

dev=min

) or output only (

dev=mout

). 

• 

Be sure to wire TD, RD, DCD, DTR and GND in the modem cable.

 

• 

Make sure the modem is configured so DCD goes high when an incoming connection is
received.  (For Hayes-compatible modems, this command is 

AT &C1

.)

 

• 

Make sure the modem is configured to answer the phone only when DTR is high, and to
drop the line when DTR goes low. (For Hayes-compatible modems, this command is

 

AT

S0=1

 

&D3

.)

 

• 

For the best results in bidirectional mode, the non-volatile parameters in the modem should
be configured for incoming calls, and the modem should be configured to reset to these
parameters each time DTR is dropped. (For Hayes-compatible modems, this command is 

AT

&D3

.)

 

• 

The PortServer cannot switch the serial line baud rate depending on the kind of connection
made, so you should configure the modem to lock the serial line speed at the highest baud
rate the modem will go.

 

• 

Generally it is best to use hardware flow control on modem lines, and leave software flow
control off.  (Both the UUCP and XMODEM protocols send all 256 characters, so these
protocols will not work with software flow control.)

 

• 

Note that many modems have external or internal jumpers that override the normal
operation of DTR, DCD, RTS and CTS. Be sure to check this in your modem manual!

 

• 

Be sure to watch the LEDs on the PortServer front panel to monitor correct modem
operation.  In particular, verify that DCD is off when the modem is not connected.  Verify
that the modem does not answer the phone when DTR is low, and hangs up when DTR is
dropped.

Summary of Contents for PortServer/16

Page 1: ... 55344 612 943 9020 Digi GmbH Domkloster 1 50667 Köln Germany Digi Asia Pte Ltd 13 06 Tower A 391A Orchard Road Ngee Ann City Singapore 0923 User s Guide and Reference Manual for the PortServer 8 and PortServer 16 Intelligent Network Terminal Servers 90028700B ...

Page 2: ...al provides this document as is without warranty of any kind either expressed or implied including but not limited to the implied warranties of fitness or merchantability for a particular purpose Digi International may make improvements and or changes in this manual or in the product s and or the program s described in this manual at any time This product could include technical inaccuracies or ty...

Page 3: ...DUCTION 1 PORTSERVER QUICK START 3 Configuring the PortServer over the Ethernet 5 COMMAND REFERENCE 28 ABBREVIATIONS 28 PORTSERVER HELP SCREENS 29 PORTSERVER EDITING KEYSTROKES 30 PORTSERVER COMMANDS 31 ADMIN 31 BOOT 31 CPCONF 32 EXIT 33 INFO 33 KILL 35 NEWPASS 36 PING 36 QUIT 37 SET 38 Range 38 Saving to EEPROM 39 altip 40 arp 41 config 42 Booting the PortServer Software with Remote Boot 43 flow ...

Page 4: ...deo Display Diagnostics 73 Front Panel Display Diagnostics 73 Basic Test Descriptions 74 PORTSERVER SECURITY 77 RESETTING THE PORTSERVER TO FACTORY DEFAULTS 80 DEVICES AND WIRING CONSIDERATIONS 81 Configuring PortServer Ports as Specific Devices 81 SERIAL DEVICE TYPE CHARACTERISTICS TABLE 84 PRINTERS 85 Configuring a Printer 85 Connecting a Printer 85 Printing a File 85 MODEMS 86 Notes on Configur...

Page 5: ...n Multisession 99 Configuring Multiscreens 100 PORTSERVER PORT NUMBERS 101 SPECIFICATIONS 102 DIGI SUPPORT SERVICES 103 The Digi Bulletin Board System 103 Internet FTP Server 103 World Wide Web Server 103 DigiFACTs FaxBack Server 103 Information About Your System 104 Technical Support 105 Customer Service 105 RETURN PROCEDURES 105 INDEX 107 ...

Page 6: ...y Alt A means hold down the Alt key while striking the A key Arrow keys refers to the up down right and left arrow keys When you are asked to enter a command type the text shown then press Enter Typefaces Examples of output to your computer screen are shown in mono spacedcharacters Commands and data that you are to enter via your keyboard are shown in mono spaced characters Variable information wi...

Page 7: ...armful interference in which case the user will be required to correct the interference at his own expense Only devices certified to comply with the limits for a Class A computing device may be attached to this equipment Operation with noncertified device s is likely to result in interference with radio and TV reception This equipment is intended for commercial use only and is not suited for opera...

Page 8: ...Page viii Ÿ PortServer Terminal Server Notes ...

Page 9: ...oaded from a connected server or workstation via TFTP Trivial File Transfer Proto col meaning that the PortServer operating system can always have the most current software without changing the firmware Description After the power up self tests and loading of the operating software either from firmware or downloaded the PortServer software sends login messages to all connected terminals Ports set ...

Page 10: ...mand followed by produces a list of subcommands and their descriptions PortServer Highlights Sixteen high speed asynchronous serial ports each with full modem control and hardware or software flow control Data rates of up to 57 600 bps Multiple PortServer boxes can be attached to the network limited only by the capacity of the network Full on board system diagnostics display results on front panel...

Page 11: ...h the peripheral and the PortServer s power switches must be turned off Plugging any electronic device into another device under power can cause damage to one or both of the devices Step 2 Connect your network cable to the appropriate connector on the left side of the Port Server Be sure to follow your network system s instructions and precautions on connecting devices to the network If you are us...

Page 12: ...straight through and that you will need a null modem cable or adapter to connect a terminal if you use the included cable leg You probably do not need all ten RS 232 lines for a terminal connection and may wish to save the pigtail connector for other connections The following diagram shows a simple three wire cable for connecting a terminal to the PortServer Usually serial terminals and printers n...

Page 13: ...ing the PortServer over the Ethernet If the IP address has not been set the PortServer will attempt to use RARP Reverse Address Resolution Protocol to determine its IP address If this succeeds the rest of the PortServer configuration may be completed by connecting to the PortServer using telnet without connecting a serial terminal For this to work a RARP server must be set up somewhere on the netw...

Page 14: ...cribed plugging the RJ 45 or RJ 11 connectors from the terminals into the appropriate sockets in the back of the PortServer All of the ports are equal and you can configure any port for any device Make sure the power is off on the PortServer and the terminals Some terminals require hardware handshaking most that do use Data Terminal Ready DTR for hardware handshaking Here is a wiring diagram for t...

Page 15: ...o set your port device as a host is a full 10 wire null modem cable Full 10 Wire Null Modem Cable RJ 45 10 Pin DB 25 Male Pin Pin TxD RxD RTS CTS DSR SG DCD DTR RI GND TxD RxD RTS CTS DSR SG DCD DTR RI GND 5 6 3 8 2 7 10 9 1 4 2 3 4 5 6 7 8 20 1 22 Signal Signal Cable Shield Pin 1 Pin 10 ...

Page 16: ...ld be con nected to Chassis Ground GND at one end of the cable run Full 10 Wire Modem Cable RJ 45 10 Pin DB 25 Male 1 2 3 4 5 6 7 8 9 10 Pin Pin RI DSR RTS GND TxD RxD SG CTS DTR DCD RI DSR RTS GND TxD RxD SG CTS DTR DCD Signal 22 6 4 1 2 3 7 5 20 8 Signal Cable Shield Pin 1 Pin 10 Now connect the modem s to the other ports as previously described plugging the RJ 45 or RJ 11 connectors from the mo...

Page 17: ...guration can be constructed using 6 pin RJ 11 plugs or either 8 or 10 pin RJ 45 plugs See RJ Connectors on page 91 for the relationship of the various sizes of RJ connectors to the 10 pin RJ 45 jack Make sure the power is turned off on both the PortServer and the printers and connect the printers to the other ports as previously described Log in and Configure the PortServer Step 1 Turn on the term...

Page 18: ...mples here will have phony numbers that you will have to replace with your own information IP Address First you need to set an IP address for the PortServer unit Your network administrator can give you an appropriate address to use Assuming an IP address of 192 83 159 1 for the sake of this example enter the following command set config ip 192 83 159 1 Again enter the IP Address as assigned by you...

Page 19: ... commands to build a table of names and their IP addresses See page 46 Network Subnet Mask Set your network subnet mask The PortServer s default setting is 255 255 255 0 that s also the mask used in this example set config submask 255 255 255 0 Gateway Address If you have a gateway set its IP address The default setting of 255 255 255 255 is used in this example set config gateway 255 255 255 255 ...

Page 20: ... 227 Again the IP address 192 83 159 227 shown above is for example only Use an IP address that is valid for your network The PortServer software should respond 192 83 159 227 is alive If you do not see the It is Alive message check the IP address set for the PortServer as well as that of the target machine Check your physical network cable connection You can also use the PortServer s front panel ...

Page 21: ...r her own PortServer port a regular user cannot configure any of the PortServer parameters The root login is always present and must always have a password It is not possible to remove the root user entry or delete the root password It is possible to change the root password with newpass see page 36 and it is also pos sible for you to forget the root password if you change it In this unfortunate e...

Page 22: ...se60 the baud rate to 38400 and select software flow control for both incoming and outgoing data Setting the terminal type and baud rate will require these Set commands set port set flow and set line The set command s range parameter will also come into play to tell the PortServer software that the changes we are making are to Port 2 Terminal Type Set the terminal type for Port 2 by typing set por...

Page 23: ... abbreviations will not be used in these examples and each command will have its own line set commands are discussed in detail on page 38 Printer Setup Example Printer with hardware flow control on port 3 Step 1 Turn off the power to the printer and the PortServer and connect the printer wired as discussed on page 9 then power up again Step 2 At the control terminal log in as root Step 3 The defau...

Page 24: ...til we logged in on another terminal to change it back Flow Control Change the flow control for Port 3 to DTR hardware by typing set flow cts on range 3 set flow cts on sets port 3 to use hardware flow control for output data Note how CTS is connected to DTR in the DTR wiring diagram on page 8 Also note that the printer s flow control must match the hardware flow control we are setting here You mu...

Page 25: ...al modem and setting the flow control to RTS CTS handshaking will require these Set commands set port and set flow The set command s range parameter will also come into play to tell the PortServer software that the changes we are making are to Port 4 Define Port as Bi directional Modem Set Port 4 to be a bidirectional modem port by typing set port dev mio range 4 Other related choices would have b...

Page 26: ...ontrol for output data Also note that the modem must be set through AT commands or DIP switches for hardware flow control You must also ensure that software flow control is off set flow ixon off range 4 set flow ixoff off range 4 set commands are discussed in detail on page 38 Please note that setting up and using modems through the PortServer terminal server or any system for that matter can get ...

Page 27: ...orate without the opportunity to manipulate the PortServer s command shell The PortServer software offers many automatic login and automatic connection options The one mentioned above is tied to a specific user rex we could also have tied it to a particular port but since Betty and Rex share the same terminal that would have left Betty without access to the PortServer command line You will want to...

Page 28: ... mark like set users to get a list of the set users options User names are case sensitive Betty does not mean the same as betty or bEtTy to the PortServer software IMPORTANT Note that for new users the user password is the same as the username with the same capitalization Betty s password until she changes it is the same as her username betty Require Password The user password is required by defau...

Page 29: ...ve to add name betty Change Login Prompt to MegaCorp Change the login prompt for port 2 from the default login to MegaCorp by typing set logins logprompt MegaCorp range 1 16 Note that if you wanted to change login prompt just for port 2 you could have typed range 2 the above range command changed the login prompt for all attached ports The login prompt length is 11 characters Also note the quotati...

Page 30: ... Rex is an auto user automatically connected to a destination host dest set users name rex auto on set users name rex dest 152 83 151 1 set users name rex dport 23 Again 152 83 151 1 is a phony IP address you would use the real IP address for the host named Corporate Setting dport is necessary to establish a terminal session with the other host The value 23 means a telnet type terminal which will ...

Page 31: ...a carriage return You may now start a second session To go directly to the first session bypassing the PortServer shell type the telnet escape character followed by a 1 Type the telnet escape character followed by a 2 to go directly to the second session Type the telnet escape character followed by a carriage return to go to the PortServer command shell From the PortServer command shell type 1 or ...

Page 32: ...e as long as corporate and its IP address had been entered in the PortServer s host table as described in Set Host on page 46 The syntax for the telnet command is telnet hostname hostip tcp port that extra port parameter is not applicable here but will be used in the next example Betty logs in to Corporate using her login and password as set up on that host Start new session with Engineering Betty...

Page 33: ...on 1 Corporate or session 2 Engineering by typing the numbers 1 or 2 respectively as the first character on a line Log out of Corporate Betty now switches back to her Corporate session using one of the methods just described and logs out of that session in the way required by the host She then closes the telnet session and returns to the PortServer command shell with the command close Log out of E...

Page 34: ...Recall that the telnet syntax is telnet hostname hostip tcp port The hostname here is actually the PortServer s nodename that you configured when you first set up the PortServer see page 10 In this example the PortServer s nodename was set to be termserver The tcp port parameter comes into play when telnetting to devices on the PortServer However it is not possible to telnet to Port 4 by entering ...

Page 35: ...modem to 2400 baud The exact command depends upon the brand and model of modem refer to your modem documentation when setting up modem connections Call Service Betty now calls the online information service by telling her modem to dial the telephone number Hayes AT command shown your modems may be different ATDT 123 4567 The example number 123 4567 above would be replaced by the actual telephone n...

Page 36: ...er Editing Keystrokes page 30 PortServer Commands page 31 telnet Commands page 60 rlogin page 61 Abbreviations All PortServer commands may be abbreviated to their shortest unique letters Therefore the com mand set users name jill can be abbreviated to set u n jill You may type an asterisk in place of range 1 n to reference all of the ports on the Port Server ...

Page 37: ...in root passwd admin boot close cpconf exit info kill mode newpass ping quit rlogin send set snmp status telnet who For help on a specific command type the command name followed by a question mark The example below asks for help for the command info info Displays or clears statistics tables syntax info table_name table_cmd tables network ip icmp tcp udp clear info After you enter a request for hel...

Page 38: ...Page 30 Ÿ Command Reference PortServer Editing Keystrokes The following keystrokes can be used in editing commands sent to the PortServer from a ter minal ...

Page 39: ...ion reset eewrite The boot command is used to reboot the PortServer and requires root privileges If the command is entered as boot action reset the PortServer is reset using the current parameters stored in memory as when first powered on Use boot action eewrite to reboot the PortServer using the factory default settings stored in ROM Note that in this event all user configuration will be lost See...

Page 40: ...o save the configuration using a terminal emulation program capture the output from the cpconf term command into a file To restore such a saved configuration simply send the contents of the file to the PortServer command line which will run all the commands as if they were typed by the user at the command line If this method is used it is very important that flow control works between the PortServ...

Page 41: ...and terminates the current PortServer login session If you exit a session without first closing it PortServer will automatically do a close for you See the telnet commands Note that quit works the same as exit The command exit can also be used to give up root privileges temporarily acquired with the admin command info Syntax info table_name table_command The info command is used to either view Por...

Page 42: ...stics collected over last 129 minute s ipInReceives 2294 ipInBcast 566 ipInNetBcast 1248 ipInSubBcast 0 ipInHdrErrors 566 ipInAddrErrors 0 ipInChkErrors 0 ipInVerErrors 0 ipInLenErrors 0 ipInClsErrors 566 ipInTypIcmp 0 ipInTypUdp 1300 ipInTypTcp 428 ipInTypUnknown 0 ipInDelivers 1728 ipOutRequests 743 ipOut2Wait 4 ipOutNoRoutes 0 ipForwDatagram 0 info icmp Network statistics collected over last 12...

Page 43: ...dp Network statistics collected over last 129 minute s udaInDatagrams 52 udpInErrors 0 udpInNameResp 2 udpInAddrResp 4 udpInKme 0 udpInUnknown 0 udpOutDatagram 55 udpNoPorts 1248 kill Syntax kill tty tty_number action eewrite The kill command is used to clear or reset the port named in the tty_number parameter The phrase action eewrite is an optional parameter that should only be used as a last re...

Page 44: ...the host responds ping will print hostname is alive if no answer it will print no answer from hostname The options are fill any_character Fills the packet with the designated character npkts num_packets The number of packets to send Allowable values are 1 to 30 000 default 1 As a special case enter 1 this will cause ping to send one datagram per second and print one line of output for every respon...

Page 45: ...es your current login session If you quit a session without first closing it PortServer will automatically do a close for you See the telnet commands Note that exit works the same as quit Quit can also be used to give up root privileges temporarily acquired with the admin command ...

Page 46: ...e horizontal line are set command variables referenced by their table index while the items below the line may be specified for modification by port number If you do not specify a range the set commands in this section will affect only the port you are logged in from Specify the table entry or a range of table entries with the range option in one of three formats set command range singleport This ...

Page 47: ... to save to the PortServer s EEPROM If you are logged in as root save is on by default If you are not logged in as root save is off by default Changes made by a non root user are valid only for the duration of the session Non root users can only set parameters for their individual ports If non root users wish to save their parameters in EEPROM they must use the command save on as part of the port ...

Page 48: ...entire table set altip ip ipaddr group port group This form of the command makes a new entry or changes an existing entry If the IP address matches an existing entry that entry will be modified Otherwise a new table entry will be created The IP address must be on the same network or subnetwork as the main IP address of the PortServer The group may be a port number or a group number See set ports g...

Page 49: ...h no range prints the entire table set arp ip ipaddress ether ethernetaddress tim2liv time The second form of the set arp command is used to add a new entry into the ARP table Set ipaddress to the ip address to be mapped in the normal nnn nnn nnn nnn format and set ethernetaddress to the six byte Ethernet address that this IP address should be mapped to such as 08 00 20 05 0b da The optional param...

Page 50: ...i Technical Support for assistance EP appears on the front panel display any time a write to EEPROM is in progress domain domain_name Specifies the domain name gateway ipaddress Sets the IP address of the gateway myname PortServer s_name Sets the node name of the PortServer box ip ipaddress Sets the PortServer s ip address nameserv ipaddress Specifies the name of the domain name server If an addre...

Page 51: ...rver Software with Remote Boot A feature of the PortServer operating system software is that it can be upgraded without ROM or other hardware changes Any upgraded software from Digi can be installed on a host on the network that supports TFTP Trivial File Transfer Protocol First configure the PortServer box for remote boot by using set configboothost ip_address_of_host_with_bootfile to specify the...

Page 52: ... buttons and to boot from the ROM and check that the boothost ip address is correct and that the bootfile path and name are correct Also ensure that your system supports TFTP To return to automatically booting from ROM enter set config boothost 255 255 255 255 flow Syntax set flow option value The set flow commands set or display the hardware and software flow control parameters for RS 232 serial ...

Page 53: ...lt off dsr on off Use or do not use DSR Data Set Ready for output flow control Default off dtr on off Use or do not use DTR Data Terminal Ready for input flow control Default off ixoff on off When ON use software flow control typically XON XOFF for input data Default on ixon on off When ON use software flow control typically XON XOFF for output data Default on range startport endport Specify a ran...

Page 54: ...ss This form of the set host command makes a new entry or changes an existing entry Set hostname to the name of the host and set ipaddress to the ip address of the host If the host name already existed in the table the new ip address will replace the old ip address otherwise a new table entry will be created for this hostname and address set host rmhost hostname This form of the set host command i...

Page 55: ... to indicate that the Ctrl key should be held while pressing the key For example Ctrl C must be entered as the two characters C eof end_of_file_character Default D Ctrl D erase erase_character Default H Ctrl H intr interrupt_character Default C Ctrl C kill kill_character Default U Ctrl U range startport endport Specify a range of ports to be modified save on off Save or do not save the changes to ...

Page 56: ... More than one option can be included in a command baud baudrate Use to set the baud rate for the port Legal values are 50 600 3600 19200 110 1200 4800 38400 150 1800 7200 57600 300 2400 9600 break ignore send escape Used to ignore default or send an escape sequence when a telnet break command is seen csize 5 6 7 8 Sets the Character size Can be 5 6 7 or 8 bits per character Default 8 error ignore...

Page 57: ...se this command to activate deactivate login and password protection define prompts and startup messages set logins range is used to specify multiple ports or one specific port Options are cmdprompt logprompt login write passprompt passwd range save verbose Character Strings Many of the values entered for logins are character strings To include a space in a character string enclose the entire stri...

Page 58: ...in must be ON for Auto users write on off Use to set whether the user other than root can save to the EEPROM Default off user cannot write to EEPROM Root privileges required passprompt character_string Use to define the login password prompt Root privileges required Default is passwd passwd on off Use to set whether the user is required to give a password before using terminal Default on range sta...

Page 59: ...o on page 56 which is similar except that a specified User is always connected to the specified destination bypassing the PortServer s command shell without regard to what port that user is using Important login must be set to on for Auto users see set logins login on page 50 bin on off Used in conjunction with auto to specify a binary connection Default off dest IPaddress Use to specify the desti...

Page 60: ...s group group Assign a group number of like devices output modems for example specified by the range value so that a user can ask for by group number if he or she does not care which particular port they get but are satisfied with the first open one Pick a group number in the range 17 80 to avoid confusion or conflicts with the regular port names See PortServer Port Numbers on page 101 sess number...

Page 61: ...tric numhops The second form of the command makes a new entry into the routing table Set network_address to the address of the network or host this routing entry should cover Set ipmask to the network subnetmask for the network this routing entry should cover or 255 255 255 255 for a route to a single host Set ipaddress to the ip address of the gateway that ip packets covered by this routing entry...

Page 62: ... set terms command makes a new terminal table entry or changes an existing entry Set terminal_type to the name of the terminal type this name should match the name used for the termtype in the set port command page 51 and must also match the name used by the hosts on your network for this type of terminal If termtype matches an existing entry that entry will be modified by this command otherwise a...

Page 63: ...3 clrseq set terms term wy60 swtseq 1 w0 set terms term wy60 swtseq 2 w1 set terms term wy60 swtseq 3 w2 Note that the parameter term wy60 must be repeated in each line entered otherwise the swtseq changes would not be made to the wy60 termtype set terms rmterm terminal_type This removes the terminal table entry that refers to the terminal_type set terms rmterm on range range This removes entries ...

Page 64: ...ing user entry Set username to the name of the user If the name matches an existing entry that entry will be modified by this command otherwise a new table entry will be created Setting passwd on will require the user to enter a password when logging in setting passwd off allows the user to log in without a password If a new user that requires a password is created the initial password is the same...

Page 65: ... 50 set users newname newusername name oldusername This is used to change the user name oldusername already in the table to the new name newusername set users rmuser username This form of the command is used for removing entries from the users table and removes the entery that refers to username set users rmuser on range range This form is used to remove entries from the table by index numbers whi...

Page 66: ...traps to the IP address given snmp location location of PortServer This gives SNMP the value of system sysLocation which is a text string that describes the location of the box in a form meaningful to the user This parameter is optional Note that the entry must be surrounded by quotation marks if there are spaces used in the text snmp contact Person to contact This gives SNMP the value of system s...

Page 67: ...f the current users of the PortServer Information includes each user s name and tty the number of sessions each user is using and where each user is connected from and connected to The output looks like who tty username nsess connected_from connected_to 15 root 2 local_tty15 local_shell ...

Page 68: ...me 15 off off off 1 poe 15 on off off 2 ctsi bin Enter mode bin onor mode bin offto turn bin binary characters both directions on or off Default off crmod Enter mode crmod onor mode chmod offto turn crmod on or off This adds line feed characters 010 dec to and received carriage returns 013 This does not affect any characters you type CR becomes CR LF Default off crlf Enter mode crlf onor mode chlf...

Page 69: ...ur local username esc escape_character You may specify a different escape character for disconnecting from the remote host Normally you would close an rlogin session by typing CR That is three keystrokes Carriage Return key Tilde key period key Use esc to change the tilde character in this context If the character is a control character the carat character must be used to indicate that the Ctrl ke...

Page 70: ...break ec erase character el erase line escape esc character ga go ahead ip interrupt process nop no operation synch synchronize process For example to send a break signal type send brk status Syntax status The status command displays information on the current telnet session if any including the peer you are connected to and the current mode Here s an actual example status Connection 1 sunny Escap...

Page 71: ...age return You may also type your telnet escape character followed by a digit to switch to an alternate telnet session Also see Multiple Sessions on page 98 Use the format telnet nodename port 2000 to telnet to a device on a specific port of the PortServer unit Nodename is the PortServer s node name By Digi International s convention 2000 is added to the port number to reference a device on port 8...

Page 72: ...BIOS 71 User Diagnostics 73 PortServer Security 77 Resetting the PortServer to Factory Defaults 80 Devices and Wiring Considerations 81 Serial Device Type Characteristics Table 84 Printers 85 Modems 86 RTTY Program 89 RJ Connectors 91 Multiple Sessions 98 Configuring Multi Screens 100 PortServer Port Numbers 101 Specifications 102 Digi Support Services 103 ...

Page 73: ... incoming call This must be supported by the host driver software You must have the correct driver s for your host operating system s to take advantage of RealPort protocol The device type set port dev type must be set properly for ports that are going to be used with RealPort protocol Ports that are to be used with three wire connections that do not need modem signals should have the device type ...

Page 74: ...ring snmp with no options as in snmp prints out a list of the current SNMP configuration The result is the following snmp SNMP Status SNMP Daemon running on Authentication traps being sent off Trap destination 199 99 88 1 sysLocation Bill s office 101 sysContact Bill Jones In this example the SNMP Daemon is running so the PortServer will answer SNMP requests from a management station Authenticatio...

Page 75: ...fIndex ifDescr ifType ifMtu ifSpeed ifPhysAddress ifAdminStatus ifOperStatus ifLastChange ifInOctets ifInUcastPkts ifInNUcastPkts ifInDiscards ifInErrors ifInUnknownProtos ifOutOctets ifOutUcastPkts ifOutNUcastPkts ifOutDiscards ifOutErrors ifOutQLen ifSpecific Address Translation MIB atIfIndex atPhysAddress atNetAddress IP MIB ipForwarding ipDefaultTTL ipInReceives ipInHdrErrors ipInAddrErrors ip...

Page 76: ...ets tcpCurrEstab tcpInSegs tcpOutSegs tcpRetransSegs tcpConnState tcpConnLocalAddress tcpConnLocalPort tcpConnRemAddress tcpConnRemPort tcpInErrs tcpOutRsts UDP MIB udpInDatagrams udpNoPorts udpInErrors udpOutDatagrams udpLocalAddress udpLocalPort SNMP MIB snmpInPkts snmpOutPkts snmpInBadVersions snmpInBadCommunityNames snmpInBadCommunityUses snmpInASNParseErrs snmpInTooBigs snmpInNoSuchNames snmp...

Page 77: ...e user of test or activity status The ten LEDs have different meanings according to the testing or display mode that the PortServer operating system is in They are SEND Serial Activity You can monitor a port s activity by pressing either pushbutton when AC is shown on the alphanumeric display The display will then show the port number being monitored depress the same pushbutton repeatedly until th...

Page 78: ... while the PortServer hardware fixes this it indicates that the twisted pair wiring has been installed with the wires transposed Receive CS RX ERR OVF Carrier Sense blinks when the PortServer hardware senses the Ethernet carrier Blinks when a packet is destined for the PortServer box Network error on packet received CRC Frame FIFO overrun etc Overflow set when packets come faster than the PortServ...

Page 79: ...t All ten LEDs should be lit for one second upon the completion of the POST sequence before the firmware begins the optional software download or enters Command Mode The following table lists the tests performed during the POST sequence and the LED that corre sponds to each test The front panel alphanumeric display shows EP when saving to EEPROM b1 b2 etc when booting via TFPT and E1 E2 etc for TF...

Page 80: ...pon completion the POST sequence will automatically proceed to Command Mode and display dE on the 7 segment display At this point the operator has five seconds to select user diagnostics During this five second period the LEDs display the contents of the status error word If no errors were detected the ten LEDs will all be off Any LEDs remaining on indicate that the corresponding test see the prec...

Page 81: ... 8 data bits 1 stop bit and no parity There are eight tests that can be selected These tests perform diagnostic checks on hardware sections of the PortServer If V is pressed to enter Video display mode a startup screen appears The screen displays test information and waits for user input To start any test press the appropriate test number See Basic Test Descriptions on page 74 for information on t...

Page 82: ...til an error is detected or until you stop the test by pressing the pushbutton Failures accumulate and count up in the 10 digit LED display To stop the test with the pushbutton press and hold the button and wait for the left decimal point to go OFF Then release the pushbutton and the test will stop The left alphanumeric display will display either a P or an F for pass or fail respectively The righ...

Page 83: ...als a 0h 10002h equals a 2h etc This same tag pattern is written 32K times beginning at address 20000h The two 64K blocks are compared to determine pass or fail status Test 3 Memory DMA Test This test uses DMA0 to move data from one memory location to another The byte pattern is incremented for each pass and is displayed on the front panel LEDs 0 7 TD RI The pattern is written to 32K bytes beginni...

Page 84: ...ests the 8390 NIC s ability to transmit receive and verify data in three diagnostic modes To ensure that all test display information and test results are correct the PortServer unit must be disconnected from the Ethernet network and the PortServer s Ethernet connector properly termi nated Test 7 Watchdog Timer Test This test checks out the watchdog timer a hardware feature used to ensure system r...

Page 85: ... user s port the user can save those parameters to become the default parameters the next time anyone logs in on that port If the write option is off only the root user can save port settings A regular user can temporarily gain root privileges through the admin command if that user knows the root password This is the most common way of logging into a system These logins identify a user by name res...

Page 86: ...e one configured for the auto connection See Set Users name auto on page 56 Auto user login One or more ports presumably physically secure may be configured to leave the Unknown user permanently logged in No user name or password is ever required to gain access to PortServer command mode Example set login range 1 4 login off passwd off Important Login must be set to ON for Auto users see set login...

Page 87: ...t to a different system See Set Ports Auto on page 51 Auto Connect port causes any port activity such as a received character on a tty port or a DCD high transition on a modem port to automatically connect to a specified system No access to the PortServer command line is allowed If configured with set port dport 23 the connection uses telnet protocol If configured with set port dport 0 uid X the c...

Page 88: ... cause you to lose all user settings Turn off the PortServer s power switch Press and hold both arrow pushbuttons and at the same time and turn on the power switch Hold the pushbuttons in until the display reads EP stands for EEPROM Program This will reset the PortServer to boot from the factory ROM The default Root login will revert to dbps ...

Page 89: ...rver sees DCD go high and then allows incoming connections from the Ethernet through the serial connection to the BBS When an incoming connection happens the PortServer raises DTR and the BBS sees DCD go high and knows that there is a call It looks just like a modem answered The BBS can terminate the connection by dropping DTR which the PortServer sees as DCD going low the PortServer then terminat...

Page 90: ... RD and GND connections are generally needed making it easy to wire up to a printer dev min Modem In This is designed for a modem for incoming communications only DTR and DCD are supported In this mode the PortServer ignores all input until DCD appears Then it flushes all input for 2 seconds to discard messages like RING and CONNECT before it spawns a login or attempts a connection Anytime DCD dro...

Page 91: ...want to wire RTS and CTS for hardware flow control dev mio Modem In Out This is designed for a modem used as a bi directional device incoming and out going with full DTR DCD modem support When idle the PortServer leaves DTR high so the modem will answer the telephone If DCD goes high when the device is idle it assumes an incoming connection and acts like a dev min device until the device goes idle...

Page 92: ... the device type characteristics Device Type DTR RTS when idle Spawn Login Remote Connect telnet rsh allowed Action when DCD drops term prn host min mout mio high low low high low high data never never DCD raises never DCD raises no yes if DCD no yes if idle ignore ignore hangup hangup hangup hangup ...

Page 93: ...and data will be lost Most printers that use hardware flow control use DTR flow control Therefore DTR from the printer must be wired to some input on the PortServer usually CTS or DCD that can be used for flow control Some printers use Printer Busy pin 11 for output flow control The type of flow control used is set by the set flow commands described on page 44 When setting flow control on the Port...

Page 94: ...odem should be configured for incoming calls and the modem should be configured to reset to these parameters each time DTR is dropped For Hayes compatible modems this command is AT D3 The PortServer cannot switch the serial line baud rate depending on the kind of connection made so you should configure the modem to lock the serial line speed at the highest baud rate the modem will go Generally it ...

Page 95: ...in alphabetically so you will have them to yourself at least most of the time The pseudo tty driver will not allow access to the master side of a pseudo tty by more than one program at a time so once rtty grabs a pseudo tty it controls it until it lets go However to drop a connection rtty must close the device and then reopen it While the device is closed for only a few milliseconds it is still po...

Page 96: ...on any other directly connected port It is possible for several or many different computer systems on a network to configure pseudo ttys associated with the same port or port group on an PortServer This works because RTTY only attempts a connection when data is written to the pseudo tty If the PortServer port is available the connection is made and the program accessing the port can continue If th...

Page 97: ...efore writing the data to the port d Daemonize A detached child process is spawned to perform the program function ignoring all signals h Hold the tty open so stty settings are not disrupted and EOF s are not sent when the tty is locally closed q Quit after one session is complete Normally the program loops to handle multiple sessions s Suppress the copyright notice w Wait for data to be written t...

Page 98: ...Page 90 Ÿ PortServer Terminal Server and only with Digi terminal servers and other network products 0 ...

Page 99: ...ame physical dimensions but the 6 pin version has an extra pin at each end The RJ 11 plugs are physically smaller than RJ 45 plugs but are designed so that they fit into the center of an RJ 45 jack In this way the four pins closest to the center of any size connector will always carry the same signals as the middle four pins of any other connector The contacts of a 6 pin RJ 11 connector correspond...

Page 100: ...ries all eight of the RS 232 signals supported by the PortServer hardware plus the two ground lines Signal Ground SG and Chassis Ground GND The 10 pin configuration includes the modem control lines Ring Indicator RI and Data Carrier Detect DCD RJ 45 WIRING 10 PIN PLUG TO 10 PIN JACK ...

Page 101: ...nd DCD It is ideal for use with terminals and printers that require full hardware handshaking as when both DSR and CTS must be satisfied for data transmission to occur The PortServer software permits software rewiring the RJ 45 connectors so that DCD is available in 8 pin configurations See Modems on page 86 RJ 45 WIRING 8 PIN PLUG TO 10 PIN JACK ...

Page 102: ...age 94 Ÿ PortServer Terminal Server 6 Pin RJ 11 Plugs 6 pin RJ 11 plugs can be used in hardware handshaking situations that require only RTS and CTS to be available RJ 11 WIRING 6 PIN PLUG TO 10 PIN JACK ...

Page 103: ...quiring no handshaking or software handshaking XON XOFF No hardware handshake lines are available with this configuration This is useful for the popular three wire connection TxD RxD and Signal Ground used for terminals and printers that support XON XOFF handshaking RJ 11 WIRING 4 PIN PLUG TO 10 PIN JACK ...

Page 104: ... 8 20 22 Chassis Ground TxD RxD RTS CTS DSR Signal Ground DCD DTR RI 1 2 3 4 5 6 7 8 9 10 RI DSR RTS Chassis Ground TxD RxD Signal Ground CTS DTR DCD Pin Pin Signal Signal Cable Leg Options and Part Numbers DB 25 Male DB 25 Female DB 9 Male 24 Inch Cables 61020024 61030024 61070024 48 Inch Cables 61020048 61030048 N A The pin configuration of the DB 25 connector on the Cable Leg is shown in the di...

Page 105: ...d in a modem ready DTE configured DB 25 plug Altpin If you want to use 8 pin RJ 45 to DB 25 adapters a software feature called ALTPIN has been incorporated into the PortServer software to swap the DCD and DSR signals This makes DCD available on pin 1 of an 8 pin RJ 45 connector RJ 45 ALTPIN WIRING 8 PIN PLUG TO 10 PIN JACK Digi device drivers do not require DSR in modem control applications and si...

Page 106: ...e maximum number of sessions configured for that port set port sess number_of_sessions see page 52 In the following examples TESC refers to the telnet escape character The default telnet escape character is Ctrl Control Right Bracket and can be changed see page 47 In the middle of a telnet session you can enter TESC CR to return to the PortServer command line TESC digit to switch to session digit ...

Page 107: ...multiple screen switch sequences see Configuring Multi Screens on page 100 The PortServer screen switching algorithms were carefully designed to preserve as much screen context as possible It is of course not possible to keep screen context for four sessions on a ter minal with only three screens The PortServer does its best by keeping screen context on the three sessions most recently used and lo...

Page 108: ...ral different names For example you might want to have separate names for a wyse 60 in 43 line mode no screen switching a wyse 60 in 24 line standard mode 2 screens available a wyse 60 in 24 line ECON 80 mode 3 screens available and even a wyse 60 in WYSE 50 mode 6 screens available For each terminal you must define the name the number of screens used the terminal screen clear sequence and the seq...

Page 109: ...re 01 16 a connection is made to the specified port Numbers greater than 16 indicate a port group number as configured with set port group group_number see page 52 When several PortServer ports are configured with the same group number they work like a telephone hunt group Any attempted connection goes to the lowest numerical port number that can currently accept a connection The altip command pag...

Page 110: ...connector Power Requirements 5 volts 5 1250 ma typical 12 volts 5 250 ma typical 12 volts 5 50 ma typical Environmental Ambient temperature 16 6 C 60 F to 29 4 C 85 F Relative humidity 20 to 80 Altitude 0 to 2135 meters 0 to 7 000 feet Certification The Digi International PortServer terminal server is certified to meet the following emissions and safety standards Emissions FCC Part 15 Subpart J Cl...

Page 111: ...ecommended modem communications parameters are 8 bits no parity and one stop bit 8 N 1 Other settings may also work Download protocols include Zmodem Xmodem Ymodem Kermit and others Internet FTP Server Digi has set up an Anonymous FTP server for those with access to the Internet network The ad dress is ftp digibd com Log in as anonymous and enter your E mail address when asked for a password Drive...

Page 112: ...model and clock speed of your computer How much RAM does your computer have Hard disk controller Type Memory addressed at I O port used IRQ LAN card Type Memory addressed at I O port used IRQ Other Type Memory addressed at I O port used IRQ Operating system Version Digi device driver version ...

Page 113: ...em and any potential conflicts between devices Digi Technical Support can also be reached via Internet E mail Please send correspondences to support digibd com and include your voice and FAX phone numbers Customer Service Digi also has a staff of Customer Service representatives to help you with software and docu mentation update requests as well as Returned Merchandise Authorizations RMAs in case...

Page 114: ...ed Merchandise Authorization number from Digi by speaking to a Digi Customer Service repre sentative Authorized returns should be shipped to Digi International 10000 West 76th Street Eden Prairie MN 55344 The RMA number should appear on the shipping carton on or near the address label Products received without an RMA number clearly marked on the outside of the package will be returned unopened to ...

Page 115: ...51 boot 31 bootfile 43 boothost 43 filename 43 break char brk 62 command 48 Bulletin Board 103 C Cable 3 wire 4 close 33 37 60 cmdprompt changing 50 config 42 cpconf 32 33 csize char size 48 Ctrl telnet escape 47 98 cts 45 cu 87 Customer Assistance 105 Customer Service 105 D dcd 45 Default Settings ii dest specify port destination 51 Device set ports for devices 51 Digi BBS 103 domain 42 E edelay ...

Page 116: ...ting keys 47 kill 47 kill tty 35 L Line parameters 48 login set if required 50 Logins parameter setting 49 logprompt setting 50 M Mode telnet parameters 60 Modem connecting 97 device 82 83 Modem In setting port as 51 Modem Out setting port as 51 Modem In Out setting port as 51 N nameserv 42 netcx option 42 newname set users 57 newpass 36 No Operation char nop 62 node name 42 nodename 63 O OFC 69 o...

Page 117: ...43 boothost 43 domain 42 gateway 42 ip 42 myname 42 nameserv 42 submask 43 set flow aixon 45 altpin 45 cts 45 dcd 45 ixoff 45 ixon 45 ri 45 rts 45 set keys eof 47 erase 47 intr 47 kill 47 tesc 23 47 xoff 47 xoffa 48 xon 47 xona 48 set line baud 48 break 48 csize 48 error 48 inpck 48 istrip 48 onlcr 49 parity 49 stopb 49 set logins cmdprompt 50 login on off 50 logprompt 50 passprompt 50 passwd 50 v...

Page 118: ...Term terminal escape sequences 54 Terminal device 82 setting port as 51 Termtype setting 52 tesc 23 47 TFTP error messages 44 tim2liv 41 Trivial File Transfer Protocol error messages 44 U User index 52 Users table 56 uucp 87 V verbose 50 W Who list current users 59 World Wide Web 103 write option 50 X xoff set 47 xoffa 48 xon set 47 xona 48 ...

Reviews: