Digi W manual Sample

Page 30

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-addressis 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-numberis the number to dial to reach the user. You can enter this number as digits only, with dashes (-) separating digits, or with commas.

Example: set user name=pppout n1=4452624

Sample

The following sample shows a very simple outbound PPP configuration. Here are some points on this configuration:

The port is set up for outbound connections (dev=mout).

Flow control is set to Hardware.

Default device and scripts are used

set ports range=3 device=mout

set flow range=3 ixon=off ixoff=off rts=on cts=on set line range=3 baud=115000

set user name=pppout protocol=ppp

set user name=pppout dialout=on outgoing=on device=gendialer set user name=pppout localipadr=0.0.0.0

set user name=pppout n1=4452624

30

Chapter 8 Configuring PPP

Image 30
Contents Digi TS W Family 9000329B N t e n t s Chapter Configuring WirelessConfiguring the IP Address Chapter IntroductionChapter Configuring PPP Setting Up RealPortConfiguring the Serial Ports Chapter Configuring AutoconnectionConfiguring IP Routing Configuring Security FeaturesConfiguring Snmp Configuring the Digi Device for IAIndustrial AutomationConfiguring DNS Configuring UsersConfiguring Power Over the Serial Ports Reference and CertificationsContents Setup Overview T r o d u c t i o nAbout This Guide About Entering Commands on the Command LineSupported Devices Other Documents in the LibraryAbout Configuration Methods Configuration Prerequisites Configuration Considerations N f i g u r i n g W i r e l e s sSelect Discover Digi Device from the CD Configuring Wireless Configuring Wireless Configuring Wireless Configuring Wireless Options for Configuring the IP Address and Mask N f i g u r i n g t h e I P a d d r e s sConfiguring the IP Address Using ARP-Ping Configuring the Ethernet Interface from the Command Line Configuring an IP Address using Dhcp and Rarp T t i n g U p R e a l P o r t About RealPortSetting Up RealPort Options for Configuring the Serial Ports Configuring the Serial Port Settings with the Web InterfaceConfiguring the Serial Port Settings from the Command Line Configuring Inbound PPP Connections N f i g u r i n g P P PConfiguring Inbound PPP Connections Example Configuring Outbound PPP Connections Command LineProcedure Sample Use the following table for additional configurations Configuring PPP D e m E m u l a t i o n Modem Emulation Digi One TS and PortServer TS 2/4 MEI onlyCommon User Scenarios Modem Emulation Cable Signals Serial Device Digi Device ServerOriginating, Answering, and Disconnecting Calls Application AT Com Digi Device Server Response MandServer. P represents a one second pause Modem Emulation AT Command Set Function Result CodeFunction Result ATPATXn Accepted but ignored There is no Nvram support currently AT+MS Registers Function Range Units Saved Default AsciiRegister Function Range Units Saved Default Register Function Range Units Saved Default 17 11h =XON/XOFF &K4 Result Codes Short Long Form Modem Emulation Configuring a User for Autoconnection Web Interface Configuring a Port for Autoconnection Web InterfaceCommands for Configuring Autoconnection by Port or by User N f i g u r i n g a u t o c o n n e c t i o nClick Serial Ports Configuring TCP Socket CommunicationConfiguring UDP Multicast Click Change ProfileClick Change Profile and select UDP Socket Configuring Autoconnection Configuring Static Routes N f i g u r i n g I P R o u t i n gConfiguring Dynamic Routes Using RIP Configuring Proxy ARP Configuring IP Routing Controlling Access to the Configuration Controlling Access to Inbound PortsN 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 Outbound Ports Controlling Access to the Command LineIssuing User Passwords Configuring SSH Version 2 for Secure CommunicationDevice Required Hardware Firmware Controlling Access to Services HttpSnmp SSH Configuring Security Features Configuring Modbus Configuring the User-Defined ProtocolConfiguring the Digi Device for IA Industrial Automation N f i g u r i n g D N S About the Domain Name SystemConfiguration Procedures N f i g u r i n g S N M P About Snmp and the Device Server AgentConfiguration Procedure Web Interface MIBFeature Description Set user Field About Configuring UsersCommon User Features N f i g u r i n g U s e r sConfiguring a User Web Interface Commands for Configuring a UserClick New User Copying the Configuration to and from a Remote Host Upgrading the FirmwareResetting Device Server Configuration to Defaults Commands for Resetting the Configuration to Defaults Managing the OS and Configuration Serial Power Feature Configuring RI PowerConfiguring DTR Power Serial Power Table DTR on DTR OFFConfiguring Power Over the Serial Ports F e r e n c e a n d C e r t i f i c a t i o n s Interpreting the LEDsColor State Indicates RJ-45 Pinouts EIA-232 EIA-422/485 EIA-485 Half Full-Duplex Certifications EnvironmentalDigi Contact Information Digi Contacts Reference and Certifications