Moxa DA-710-XPE [46/73] Attention

Moxa DA-710-XPE [46/73] Attention
DA-710 Series Linux Managing Communications
3-21
# Keep modem up even if connection fails
persist
crtscts
modem
192.168.16.1:192.168.16.2
debug
-detach
Configure the chat script /etc/ppp/ppp-ttyM0.chat
SAY 'Auto Answer ON\n'
'' ATS0=1
Start the pppd dial-in service.
# pppd call dialin
ATTENTION
If you hope to have auto dial
-in service, you can respawn the dial-in service in /etc/inittab.
MOXA:~# mount –o remount,rw /dev/hda1 /
MOXA:~# echo “p0:2345:respawn:pppd call dialin” >> /etc/inittab
MOXA:~# umount /
PPPoE
The following procedure is for setting up PPPoE:
1. Connect the DA-710-LX’s LAN port to an ADSL modem with a cross-over cable, HUB, or switch.
2. Log in to the DA-710-LX as the root user.
3. Edit the file /etc/ppp/chap-secrets and add the following:
“username@hinet.net” * “password” *
# Secrets for authentication using CHAP
# client server secret IP addresses
# PPPOE example, if you want to use it, you need to unmark it and modify it
"username@hinet.net" * "password" *
username@hinet.net is the username obtained from the ISP to log in to the ISP account. password is the
corresponding password for the account.

Содержание

Похожие устройства

Скачать