Configuring A Lucent PortMaster (TM) For Netdata Over Serial Connection


This example provides information  to configure a Lucent PortMaster (TM) for netdata over a serial connection. 

For this example assume the modem is a V.34 that has the ability to lock its Data Terminal Equipment (DTE) interface speed to 115200. Consult the manual provided by the modem manufacturer for product specifications. 

Command> set s1 speed 1 115200
Command> set s1 speed 2 115200
Command> set s1 speed 3 115200
Command> set s1 xon off
Command> set s1 over xon off
Command> set s1 rts on

Set device mode to allow telnet to a port as follows: 

Command> set s1 device /dev/network
Command> set s1 service_device telnet 6001
Command> set s1 modem off
Command> reset s1

Now you can "telnet 01 6001" (if your PortMaster is called 01) and be connected to the port. 

If the response is a "CONNECTION REFUSED" message from telnet use the following command to verify that the port is in a "LISTEN" state: 

Command> show netconns
Hnd Recv-QSend-Q Local Address  Foreign Address(state)
890    0  0   192.200.1.67.23  0.0.0.0.0   TCP-SPX LISTEN
 33    0  0   192.200.1.67.60010.0.0.0.0   LISTEN
                                ^^^^
--------------------------------|

805    0  0   192.200.1.67.16430.0.0.0.0   TCP-SPX LISTEN
 11    0  0   192.200.1.67.161 0.0.0.0.0   UDP
 10    0  0   192.200.1.67.60110.0.0.0.0   TCP-SPX LISTEN
  9    0  0   192.200.1.67.60180.0.0.0.0   LISTEN
  4    0  0   192.200.1.67.1011192.200.1.10.1642ESTAB.
  1   24  0   192.200.1.67.520 0.0.0.0.0   UDP

Check the port status, enter Command> show s# where # is the port number attempting to be configured. If it shows a status of "USERNAME" this indicates that DTE carrier, (not related  to the CD light on your modem) is present on the line. This can mean that  you have modem control still enabled on the port or   the wrong type of cable is attached. PortMasters have female DB-25 connectors.  They are a DTE device, therefore, a straight through cable is used with modems. A "USERNAME" status could also indicate an actual problem with the modem, however, this is rarely the problem.. 

PortMaster uses pins 2-8 and 20: 

2       Transmit Data           (output)
3       Receive Data            (input)
4       Request to Send         (output)
5       Clear to Send           (input)
6       Data Set Ready          (input)
7       Signal Ground
8       Data Carrier Detect     (input)
20      Data Terminal Ready     (output)

The following modem string produces excellent results with most Hayes compatible modems. It is recommended to consult the modem manual provided by the modem manufacturer. 
AT&F&C1&D3&K3&Q5&W 

For US Robotics Courier or Sportster modems use modem string AT&F1S0=1&W 

Note:  Remove the physical connection between the PortMaster and the modem to drop the connection.  This will set the modem back to the factory default. Once the modem has been configured by a PC or other device with the proper initialization string,  reconnect the cable to the PortMaster Serial port.  Enter the "Attach" command> attach sx [x=the serial port number]. This allows you to attach to the modem.  Once you are attached to the modem enter the following initialization string: AT&F1s0=1&w .  This will reset the DTE port speed between the modem and the PortMaster. 

Mileage on the modem configuration may vary; The modem must raise carrier when a call comes in, reset itself when DTR is dropped, lock the DTE speed, and use hardware flow control (RTS/CTS). 

Typically  6000 + port# is used, but you can use anything from 1 to 64k. Ports 10000-10100 have special filters applied to them for 1 security (see the Appendix on "Outbound Security" for details). You can also set several ports to use the same number to create a pool of modems. 

You can also combine this with dialin and network usage: 

Command> set s1 login device /dev/network network 
Command> set s1 modem on
Command> save s1 
Command> reset s1

Changes may be made with Edit Port when using the graphical or screen interface. 

Note:  If you are not implementing the 2 security method, this set up should only be used to configure your modems.  The telnet access to the modems should then be turned off as follows: 

Resetting the port back to the original configuration may be done manually  or, if you have not saved these configuration commands to flash, enter the Command> reboot.  This command will cause the ports to return to their original configuration. 

Command> set s1 login network twoway
Command> set s1 modem on
Command> save s1 
Command> reset s1