Moxa Technologies UC-7110 Manual de usuario Pagina 30

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 46
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 29
UC-7101/7110/7112 Software User’s Manual Configuring UC-7101/7110/7112
Enabling NAT at Bootup
In most real world situations, you should use a simple shell script to enable NAT when the
UC-7101/7110/7112 boot up, as indicated by the following:
1. setting iptables
2. iptables-save > /home/xxx.file (xxx.file is the user defined file name)
3. vi /etc/rc
4. Append echo 1 > /proc/sys/net/ipv4/ip_forward
5. Append iptables-restore /home/xxx.file (xxx.file is the user defined file name)
Configuring Dial-in/Dial-out Service
Dial-out Service
Direct cable connection:
y Without username and password, use:
/>pppd connect ‘chat –v’ /dev/ttyM0 38400 crtscts&
y
With username and password, use:
/>pppd connect ‘chat –v’ user xxxxx password xxxxx /dev/ttyM0 38400 crtscts&
Connect Using a Modem:
y Use:
/>pppd connect ‘chat –v ATDT<phone_number> CONNECT’ user xxxxx password xxxxx
/dev/ttyM0 38400 crtscts&
ATTENTION
If dial out fails, the pppd connection will be blocked, and the users will need to shut down pppd,
and re-dial. Since the return value is always OK (regardless of whether or not the connection is
blocked), the API must be set up to check the network status to determine if the connection is
complete.
Dial-in Service
Direct cable connection:
y Use either of the following:
/>pppd <Local_IP_Address>:<Remote_IP_Address> /dev/ttyM1 38400 local crtscts
or
/>pppd <Local_IP_Address>:<Remote_IP_Address> /dev/ttyM0 38400 local crtscts login
auth
Connect Using a Modem:
y Use:
/>pppd connect ‘chat –v AT CONNECT’ <local_IP_Address>:<Remote_IP_Address>
/dev/ttyM0 38400 crtscts login auth
4-8
Vista de pagina 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 45 46

Comentarios a estos manuales

Sin comentarios