Moxa V2401-CE Руководство по программной части (Linux) онлайн [52/108] 170746

Moxa V2401-CE Руководство по программной части (Linux) онлайн [52/108] 170746
V2401/2402 Series Linux User’s Manual Managing Communications
3-25
5. Edit the file /etc/ppp/options and add the following line:
plugin rp-pppoe
6. If you use LAN1 to connect to the ADSL modem, add file /etc/ppp/options.eth0. If you use
LAN2 to connect to the ADSL modem, then add /etc/ppp/options.eth1, etc.
Type your username (the one you set in the /etc/ppp/pap-secrets and /etc/ppp/chap-secrets files)
after the name option. You may add other options as desired.
name username@hinet.net
mtu 1492
mru 1492
defaultroute
noipdefault
~
~
"/etc/ppp/options.eth0" 5 lines, 67 characters
# received. Note: it is not advisable to use this option
with the persist
# option without the demand option. If the active-filter
option is given,
# data packets which are rejected by the specified activity
filter also
# count as the link being idle.
#idle <n>
# Specifies how many seconds to wait before re-initiating the
link after
# it terminates. This option only has any effect if the
persist or demand
# option is used. The holdoff period is not applied if the
link was
# terminated because it was idle.
#holdoff <n>
# Wait for up n milliseconds after the connect script
finishes for a valid
# PPP packet from the peer. At the end of this time, or when
a valid PPP
# packet is received from the peer, pppd will commence
negotiation by
# sending its first LCP packet. The default value is 1000 (1
second).
# This wait period only applies if the connect or pty option
is used.
#connect-delay <n>
# Load the pppoe plugin
plugin rp-pppoe.so
# ---<End of File>---

Содержание

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

Скачать