Telnet To a PortThe following is an example of how to connect to a modem to program it on a Lucent PortMaster (TM). Assuming that the modem is a V.34 and/or has the ability to lock the Data Terminal Equipment ( DTE) interface speed to 115200. Consult the manual that came with the modem for product specifications. Command> set s1 speed 1 115200 Set device mode to allow telnetting to a port as follows: A telnet attempt can not be made: "telnet portmaster1 6001" (In this example an attempt is being made to telnet to portmaster1) and be connected to the port. If a "connection refused" message is received from the telnet attempt verify that the socket is in a listen state: portmaster1> show netconns Hnd Recv-Q Send-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.6001 0.0.0.0.0 LISTEN ^^^^ -----This is set on the port-----| Also, check the port status using the command> show s# where # is the port number you are trying to configure. If it shows a status of "USERNAME" this is an indication that carrier (DTE carrier, which has nothing to do with the CD light on your modem) is present on the line. This can mean that modem control still enabled on the port or that the wrong type of cable is attached. Though PortMaster products 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 but this is rarely, the case. PortMaster uses pins 2-8 and 20: 2 TXD Transmit Data (output) 3 RXD Receive Data (input) 4 RTS Request to Send (output) 5 CTS Clear to Send (input) 6 DSR Data Set Ready (input) 7 SGND Signal Ground 8 DCD Data Carrier Detect (input) 20 Data Terminal Ready (output) The following string produces excellent results with most Hayes-compatible modems,
however, please consult the modem manual: For a US Robotics Courier or Sportster use: Note: If you have already configured the modem on a PC or elsewhere you should connect to it via the PortMaster once in this manner and enter command AT&F&W to set it back to factory default so the DTE rate floats. Disconnect, then reconnect and input the above string to lock DTE rate. Modem configurations may vary; the modem needs to raise carrier when a call comes in, reset itself when DTR is dropped, lock the DTE speed and use hardware flow control (RTS/CTS). We typically use (6000 + port#) but you can use anything from 1 to 64k. Ports 10000-10100 have special filters applied to them for 2 security (see the Manual entry on "Outbound Security" for details). You can also set several ports to use the same number to create a pool of modems. It is possible to combine this with dialin and network usage: If you are using the graphical or screen interface changes can be made with Edit Port. |