Contents:
- Page 2
Setting up a Connection to a Modem
Click Here
to go to Setting up a Connection to a Modem Page 1
Configuring
a PPP Port for a Modem Using a Login Account
You can start PPP from a remote host by using
a login account on the communications server.
When configuring a PPP 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 PPP
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 UNIX host is attached.
The following example shows how to create
a login account named termserv_PPP with the password netbox on port
7. In this example, the remote host's Internet address is 89.0.0.2
and the server's port Internet address is 89.0.0.1, and the protocol
is set to PPP.
Local
1>> CHANGE ACCOUNT termserv_PPP PASSWORD 'netbox'
Local 1>> CHANGE ACCOUNT
termserv_PPP PROTOCOL PPP
Local 1>> CHANGE ACCOUNT
termserv_PPP HOST ADDRESS 89.0.0.2
Local 1>> CHANGE ACCOUNT
termserv_PPP 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 communications server port
and the account are ready to use.
Step 2.
The user on the remote PPP host must use a terminal emulator to dial
the modem and log in to the communications server using the login
account created in step 1. Once the user is logged in using the termserv_SLIP
account, SLIP is activated on the communications server's port.
Step 3.
The user on the remote PPP host must exit the terminal emulator and
activate PPP on the remote host. For instructions about how to activate
PPP on the remote host, refer to your operating system documentation.
Configuring
a SLIP Port for a Modem Using a Modem Dialer
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 the device(s) are
to be connected- Port 01 to 08 or 16.
- Client IP address - specify the
client IP address.
- Server IP address - specify the
server IP address.
- Netmask - for example 255.255.255.0
- Compression - enabled or disabled
(disabled is default).
- 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.
Using Command
Line Configuration.
To start SLIP from the communications server by using a modem dialer,
perform the following:
Step 1.
Set up a login account on the remote host that activates SLIP when
a user logs in to the account. For instructions about how to activate
SLIP on your remote host, refer to your operating system documentation.
Step 2.
Set up a modem dialer on the Communications Server using the SLIP
protocol. In privileged mode on the communications server, type:
Local
1>> CHANGE DIALER dialername SCRIPT 'atdt1234 CONNECT
\r\d\r\d\rrname:
accountname sword: acct_password'
Local 1>> CHANGE DIALER
dialername PROTOCOL SLIP
Local 1>> CHANGE DIALER
dialername HOST ADDRESS host_IP_addr
Local 1>> CHANGE DIALER
dialername LOCAL ADDRESS local_IP_addr
Where
- dialername is the name you want
to give the modem dialer.
- accountname is the name of the login
account on the remote host.
- acct_password is the password you
want to give the login account on the remote host.
- 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.
The following example shows how to set up
a modem dialer using the SLIP protocol. In this example, the modem
dialer is termserv_slip, the login account on the remote host is nslip,
the password for the login account is netbox, the remote host's Internet
address is 89.0.0.2, and the communications server's port Internet
address is 89.0.0.1.
Local
1>> CHANGE DIALER termserv_slip SCRIPT 'atdt1234
CONNECT \r\d\r\d\rusername: nslip Password: netbox'
Local 1>> CHANGE DIALER
termserv_slip PROTOCOL SLIP
Local 1>> CHANGE DIALER
termserv_slip HOST ADDRESS 89.0.0.2
Local 1>> CHANGE DIALER
termserv_slip LOCAL ADDRESS 89.0.0.1
Step 3.
Start the SLIP connection from the communications server by typing:
Local
1>> CONNECT DIALER dialername
Where dialername is the name of the modem
dialer. For example, to start the SLIP connection with a modem dialer
named termserv_slip, type:
Local
1>> CONNECT DIALER termserv_slip
When a successful connection is made, the
following messages appear:
Local
-129- Dialing 'termserv_slip' on port 8
Local -133- Dialer
connection [termserv_slip] established
Local -134- Starting
SLIP datalink session on port 8
Once the modem dialer is set up, you don't
have to reconfigure the port each time you want to start a SLIP connection.
Just use the CONNECT DIALER command to start a SLIP connection from
the communications server.
Once a SLIP connection is started, a user
can access the remote host like any other host on the network using
Telnet or rlogin.
Configuring
a PPP port for a Modem Using a Modem Dialer
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 the device(s) are
to be connected- Port 01 to 08 or 16.
- Client IP address - specify the
client IP address.
- Server IP address - specify the
server IP address.
- Netmask - for example 255.255.255.0
- Compression - enabled or disabled
(disabled is default).
- CHAP - enabled or disabled (disabled
is default).
- PAP Configuration - no PAP authentication,
any valid user or specified port user only (no authentication is
default).
- 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.
Using Command
Line Configuration.
To start PPP from the Communications Server by using a modem dialer,
perform the following:
Step 1.
Set up a login account on the remote host that activates PPP when
a user logs in to the account. For instructions about how to activate
PPP on your remote host, refer to your operating system documentation.
Step 2.
Set up a modem dialer on the communications server using PPP. In privileged
mode on the server, type:
Local
1>> CHANGE DIALER dialername SCRIPT 'atdt1234
CONNECT \r\d\r\d\r username: accountname
Password: acct_password'
Local 1>> CHANGE DIALER
dailername PROTOCOL PPP
Local 1>> CHANGE DIALER
dialername HOST ADDRESS host_IP_addr
Local 1>> CHANGE DIALER
dialername LOCAL ADDRESS local_IP_addr
Where
- dialername is the name you want
to give the modem dialer.
- accountname is the name of the login
account on the remote host.
- acct_password is the password you
want to give the login account on the remote host.
- 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.
The following example shows how to set up
a modem dialer using PPP. In this example, the modem dialer is termserv_ppp,
the login account on the remote host is nppp, the password for the
login account netbox, the remote host's Internet address is 89.0.0.2,
and the communications server's port Internet address is 89.0.0.1.
Local
1>> CHANGE DIALER termserv_ppp SCRIPT 'atdt1234
CONNECT \r\d\r\d\r rname: nppp sword: netbox'
Local 1>> CHANGE DIALER
termserv_ppp PROTOCOL PPP
Local 1>> CHANGE DIALER
termserv_ppp HOST ADDRESS 89.0.0.2
Local 1>> CHANGE DIALER
termserv_ppp LOCAL ADDRESS 89.0.0.1
Step 3.
Start the PPP connection from the communications server by typing:
Local
1>> CONNECT DIALER dialername
Where dialername is the name of the modem
dialer. For example, to start the PPP connection with a modem dialer
named termserv_ppp, type:
Local
1>> CONNECT DIALER termserv_ppp
When a successful connection is made, the
following messages appear:
Local
-129- Dialing 'termserv_ppp' on port 8
Local -133- Dialer
connection [termserv_ppp] established
Local -134- Starting
PPP datalink session on port 8
Once the modem dialer is set up, you don't
have to reconfigure the port each time you want to start a PPP connection.
Just use the CONNECT DIALER command to start a PPP connection from
the communications server.
Once a PPP connection is started, a user can
access the remote host like any other host on the network using Telnet
or rlogin.
There is one PPP setting that has no SLIP
counterpart: the character map value. The character map value is a
hexadecimal value in the range of 0-FFFFFFFF. It is a bitmap that
specifies certain control characters that would cause problems if
they were transmitted over a serial line. Any control characters specified
in the character map are not transmitted over a serial line. Instead,
they are transmitted as a two-character sequence that is remapped
to the original control character by the other host.
For example, if a serial line has a modem
attached and XON/XOFF flow control is being used, the XON and XOFF
characters should not be part of the data stream. You can use the
character mask to specify these two characters by using the value
A0000, and transmission of these two characters is disabled. This
value has two bits set, bits 17 and 19, to specify ASCII character
17 (XON, or DC1) and character 19 (XOFF, or DC3). The default character
map for PPP is FFFFFFFF, which includes all control characters.
Go
to Top of Page