Stallion Technologiessupport
Product documentation
online documentation
 
Documetation image, 8K

EasyServer II: Setting Up Devices and Services (continued)

EasyConnection

EasyIO

EasyServer II

Go to Previous Page Go to Contents Page Go to Next Page

Part One

Contents: 

Click Here to go to Setting up a Connection to a Modem Page 2


 

Setting up a Connection to a Modem

This section describes how to setup a network modem, initialise a modem by a port initialisation string, set the default PPP mtu_size, configure Telnet listener, SLIP, and PPP ports for a modem. 

The information in this section is intended for system administrators with access to priviledged commands, and assumes a knowledge of the TCP/IP protocol and UNIX system administration. 
 

Configuring a Network Modem 

This section describes how to configure a Modem that is accessed via a network port on the Communications Server (i.e.., for use with svr_tty). 

Using Web Configuration.   
Invoke the Server's setup utility by entering its IP address in a network-connected web-browser, (i.e. http://123.456.789.001).  When the Setup front page is displayed: 

Step 1. 
Press the 'Setup' button. Specify a valid user name and password, if prompted. 

Step 2.  
Select the 'Modem' hyperlink from the main Setup screen. 

Step 3.  
Select 'Network Modem' from Setup Modems screen. 

Step 4. 
Specify the following: 

  • Ports to which printer(s) are to be connected- Port 01 to 08 or 16. 
  • Modem Initialisation Script Enabled - on or off (default is off) 
  • Modem Initialisation Script - normally begins with 'at'. 
  • Baud Rate - from 5 to 230,400 or autobaud (default 115200). 
  • Character size - 8 or 7 (default 8). 
  • Parity - none, even, odd, mark or space (default none) 
  • Stop bits - 1 or 2 (default 1) 
  • Flow Control - none, hardware or software (default hardware) 

Step 5.  
Press the Configure button when ready. The input parameters are implemented immediately. The setup program now confirms that the input has been accepted by displaying the Configuration Results screen. 

Initialise a Modem by a Port Initialisation String 

A port initialisation command can be used to initialise a modem at boot time. The command syntax is: 

 SET/DEFINE/CHANGE PORT INITIALIZATION SCRIPT script  

where script is the initialisation string. Note that the initialisation string may also be defined when configuring ports using a web browser. 

Configuring a Telnet Listener Port for a Modem 

To make devices attached to Communications Server ports available to users on the network, configure Telnet listeners and associate them with communications server ports. You can configure up to 32 Telnet listeners. 

When configuring a Telnet listener for a modem, the port you are configuring must not be in use. You can't be logged in to the port you want to configure, and it can't be in use by any other user or service. 

In the example below, Telnet listener 2003 is added to the permanent database and associated with port 3 on the communications server. It is identified as a modem and enabled for connections. 

Local 1>> CHANGE TELNET LISTENER 2003 PORTS 3 ENABLED 

Local 1>> CHANGE TELNET LISTENER 2003 IDENTIFICATION 
`MODEM 987-6543'  

Local 1>> CHANGE TELNET LISTENER 2003 CONNECTIONS  
ENABLED  

Local 1>> CHANGE PORT 3 ACCESS REMOTE  

Telnet listener 2003 is now ready to accept connections for modem service. A few parameters must be set, however, before the port can handle modem connections. The sample configuration below shows how to configure port 3 for dial-out modem access. 

Local 1>> CHANGE PORT 3 MODEM CONTROL ENABLED  
Local 1>> CHANGE PORT 3 SPEED 9600 

Now a user can access the modem via Telnet from a remote host by giving the name or Internet address of the communications server and the TCP port number of the Telnet listener. For example, to access a communications server named termserv on Telnet listener 2003, from the remote host type: 

% telnet termserv 2003  
 
 

Configuring for Dialin Login 

Using Web Configuration.   
Invoke the Server's setup utility by entering its IP address in a network-connected web-browser, (i.e. http://123.456.789.001).  When the Setup front page is displayed: 

Step 1.  
Press the 'Setup' button. Specify a valid user name and password, if prompted. 

Step 2.  
Select the 'Modem' hyperlink from the main Setup screen. 

Step 3.  
Select 'Dialin PPP' from Setup Modems screen. 

Step 4.  
Specify the following: 

  • Ports to which terminal(s) are to be connected - Port 01 to 08 or 16. 
  • Telnet or Rlogin - (default is telnet) automatically either telnet or rlogin to the specified host or IP address. 
  • Modem Initialisation Script Enabled - on or off (default is off) 
  • Modem Initialisation Script - normally begins with 'at'. 
  • Baud Rate - from 5 to 230,400 or autobaud (default 9600). 
  • Character size - 8 or 7 (default 8). 
  • Parity - none, even, odd, mark or space (default none) 
  • Stop bits - 1 or 2 (default 1) 
  • Flow Control - none, hardware or software (default software) 

Step 5.  
Press the Configure button when ready. The input parameters are implemented immediately. The setup program now confirms that the input has been accepted by displaying the Configuration Results screen. 
 

Configuring a SLIP Port for a Modem Using a Login Account 

You can start SLIP from a remote host by using a login account on the Communications Server. 

When configuring a SLIP port, the port you are configuring must not be in use. You can't be logged in to the port you want to configure, and it can't be in use by any other user or service. 

To create a login account on the Communications Server: 

Step 1.  
In privileged mode on the communications server, type: 

Local 1>> CHANGE ACCOUNT username PASSWORD 'password'  
Local 1>> CHANGE ACCOUNT username PROTOCOL SLIP  
Local 1>> CHANGE ACCOUNT username HOST ADDRESS host_IP_addr  
Local 1>> CHANGE ACCOUNT username LOCAL ADDRESS local_IP_addr  
Local 1>> CHANGE PORT port_number LOGIN ACCOUNT ENABLED MODEM CONTROL  
 ENABLED  
Local 1>> LOGOUT PORT port_number  

Where  

  • username is the name you want to give the login account. 
  • password is the password you want to use for the login account. 
  • host_IP_addr is the Internet address of the remote host. 
  • local_IP_addr is the Internet address of the port on the communications server. 
  • port_number is the number of the port to which the modem is attached. 

The following example shows how to create a login account named termserv_SLIP with the password netbox on port 7. In this example, the remote host's Internet address is 89.0.0.2 and the communication server's port Internet address is 89.0.0.1, and the protocol is set to SLIP. 

Local 1>> CHANGE ACCOUNT termserv_SLIP PASSWORD 'netbox'  
Local 1>> CHANGE ACCOUNT termserv_SLIP PROTOCOL SLIP  
Local 1>> CHANGE ACCOUNT termserv_SLIP HOST ADDRESS 89.0.0.2  
Local 1>> CHANGE ACCOUNT termserv_SLIP LOCAL ADDRESS 89.0.0.1  
Local 1>> CHANGE PORT 7 LOGIN ACCOUNT ENABLED MODEM CONTROL ENABLED  
Local 1>> LOGOUT PORT 7  

At this point, the communication server port and the account are ready to use. 

Step 2.  
The user on the remote SLIP host must use a terminal emulator to dial the modem and log in to the communication server using the login account created in step 1. Once the user is logged in using the termserv_PPP account, PPP is activated on the server's port. 

Step 3.  
The user on the remote SLIP host must exit the terminal emulator and activate SLIP on the remote host. For instructions about how to activate SLIP, refer to the operating system documentation. 
 

Go to Top
Go to Top of Page

 Go to Previous Page Go to Contents Page Go to Next Page

Copyright © 2007 Lantronix. All rights reserved