User guide
Configuring Outbound PPP Connections: Command Line
Chapter 7 Configuring PPP 33
where range is the port or ports and flow-control=scheme is the flow control required for this connection.
Typically, for modem connections RTS and CTS are on.
Example: set flow range=3 ixon=off ixoff=off rts=on cts=on
See the set flow command in the Digi One/PortServer TS Command Reference for more information.
3. To configure baud rate for this connection to the modem, enter the following command:
set line range=range baud=bps
where range is the port or ports to configure and bps is the line speed in bits-per-second. Typically, you can
set this to 115000 bps for modem connections.
Example: set line range=3 baud=115000
4. If you do not want to use the Digi-supplied dialer script (genmdm) and login script (loginscript), which work
for most applications, use the set script command to create your own scripts.
See the set script command in the Digi One/PortServer TS Command Reference for more information.
5. If you do not want to use the Digi-supplied outbound device (gendialer), which works for most applications,
enter the following command:
set device name=name ports=ports dialer=name
where
• name=name is the name for this device
• ports are the ports to associate with this device
• dialer=name is the name of a dialer script, either the Digi-supplied script or a user-created one
6. To create a PPP user, enter the following command:
set user name=name protocol=ppp
where name is the name of the PPP user
Example
set user name=pppout protocol=ppp
7. To configure this user for outbound connections, enter the following command:
set user name=name outgoing=on device=device
where device is either the Digi-supplied device or the outbound device created earlier in this procedure
Example:
set user name=pppout outgoing=on device=gendialer
8. To configure an IP address for the local end of the PPP connection, enter the following command:
set user name=name localipaddr=ip-address
where name is the user’s name and ip-address is one of the following:
• 0.0.0.0. , which means that the user will request an IP address from the remote server.
• A specific IP address, which means that the Digi device will attempt to use this IP address. The remote
server must agree to this request.
Example: set user name=pppout localipadr=0.0.0.0
9. To configure a telephone number to dial to reach the outbound user, enter the following command:
set user name=name n1=telephone-number
where name is the user’s name and telephone-number is the number to dial to reach the user. You can enter