Digi W manual Procedure

Page 29

Procedure

1. To configure the port for a modem, enter the following command:

set ports range=range dev=device

where range is the port or ports and device is one of the following:

mout for outbound only modem connections

mio for bidirectional modem connections.

See the set ports command in the Digi One/PortServer TS Command Reference for more information.

Example: set ports range=3 device=mout

2. To configure flow control for the ports, enter the following command:

set flow range=range flow-control=scheme

where range is the port or ports and flow-control=schemeis 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=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

Chapter 8 Configuring PPP

29

Image 29
Contents Digi TS W Family 9000329B Configuring the IP Address Chapter Configuring WirelessN t e n t s Chapter IntroductionConfiguring the Serial Ports Setting Up RealPortChapter Configuring PPP Chapter Configuring AutoconnectionConfiguring Security Features Configuring IP RoutingConfiguring DNS Configuring the Digi Device for IAIndustrial AutomationConfiguring Snmp Configuring UsersReference and Certifications Configuring Power Over the Serial PortsContents T r o d u c t i o n Setup OverviewSupported Devices About Entering Commands on the Command LineAbout This Guide Other Documents in the LibraryAbout Configuration Methods Configuration Prerequisites N f i g u r i n g W i r e l e s s Configuration ConsiderationsSelect Discover Digi Device from the CD Configuring Wireless Configuring Wireless Configuring Wireless Configuring Wireless N f i g u r i n g t h e I P a d d r e s s Options for Configuring the IP Address and MaskConfiguring the IP Address Using ARP-Ping Configuring the Ethernet Interface from the Command Line Configuring an IP Address using Dhcp and Rarp About RealPort T t i n g U p R e a l P o r tSetting Up RealPort Configuring the Serial Port Settings with the Web Interface Options for Configuring the Serial PortsConfiguring the Serial Port Settings from the Command Line N f i g u r i n g P P P Configuring Inbound PPP ConnectionsConfiguring Outbound PPP Connections Command Line Configuring Inbound PPP Connections ExampleProcedure Sample Use the following table for additional configurations Configuring PPP Common User Scenarios D e m E m u l a t i o nModem Emulation Digi One TS and PortServer TS 2/4 MEI only Serial Device Digi Device Server Modem Emulation Cable SignalsApplication AT Com Digi Device Server Response Mand Originating, Answering, and Disconnecting CallsServer. P represents a one second pause Code Modem Emulation AT Command Set Function ResultATP Function ResultATXn Accepted but ignored There is no Nvram support currently AT+MS Ascii Registers Function Range Units Saved DefaultRegister Function Range Units Saved Default Register Function Range Units Saved Default 17 11h =XON/XOFF &K4 Result Codes Short Long Form Modem Emulation Commands for Configuring Autoconnection by Port or by User Configuring a Port for Autoconnection Web InterfaceConfiguring a User for Autoconnection Web Interface N f i g u r i n g a u t o c o n n e c t i o nConfiguring UDP Multicast Configuring TCP Socket CommunicationClick Serial Ports Click Change ProfileClick Change Profile and select UDP Socket Configuring Autoconnection N f i g u r i n g I P R o u t i n g Configuring Static RoutesConfiguring Dynamic Routes Using RIP Configuring Proxy ARP Configuring IP Routing N f i g u r i n g S e c u r i t y F e a t u r e s Controlling Access to the ConfigurationControlling Access to Inbound Ports Controlling Access to the Command Line Controlling Access to Outbound PortsDevice Required Hardware Firmware Issuing User PasswordsConfiguring SSH Version 2 for Secure Communication Http Controlling Access to ServicesSnmp SSH Configuring Security Features Configuring the User-Defined Protocol Configuring ModbusConfiguring the Digi Device for IA Industrial Automation About the Domain Name System N f i g u r i n g D N SConfiguration Procedures About Snmp and the Device Server Agent N f i g u r i n g S N M PMIB Configuration Procedure Web InterfaceCommon User Features About Configuring UsersFeature Description Set user Field N f i g u r i n g U s e r sClick New User Configuring a User Web InterfaceCommands for Configuring a User Upgrading the Firmware Copying the Configuration to and from a Remote HostResetting Device Server Configuration to Defaults Commands for Resetting the Configuration to Defaults Managing the OS and Configuration Configuring RI Power Serial Power FeatureConfiguring DTR Power DTR on DTR OFF Serial Power TableConfiguring Power Over the Serial Ports Color State Indicates F e r e n c e a n d C e r t i f i c a t i o n sInterpreting the LEDs RJ-45 Pinouts EIA-232 EIA-422/485 EIA-485 Half Full-Duplex Environmental CertificationsDigi Contact Information Digi Contacts Reference and Certifications