Moxa V2616A-C5-LX [41/111] Nameserver 168 5 nameserver 139 75 0 0

Moxa V2616A-C5-LX [41/111] Nameserver 168 5 nameserver 139 75 0 0
V2616A Linux Managing Communications
3-19
# 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>---
6. If you use LAN1 to connect to the ADSL modem, add the file /etc/ppp/options.eth0, if you use LAN2 to
connect to the ADSL modem, add /etc/ppp/options.eth1, etc.
name username@hinet.net
mtu 1492
mru 1492
defaultroute
noipdefault
~
~
/etc/ppp/options.eth0” 5 lines, 67 characters
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 needed.
7. Set up DNS.
If you are using DNS servers supplied by your ISP, edit the file /etc/resolv.conf by adding the following
lines of code:
nameserver ip_addr_of_first_dns_server
nameserver ip_addr_of_second_dns_server
For example:
nameserver 168.95.1.1
nameserver 139.175.10.20
MOXA:/etc# cat resolv.conf
#
# resolv.conf This file is the resolver configuration file
# See resolver(5).
#
nameserver 168.95.1.1
nameserver 139.175.10.20
MOXA:/etc#
Use the following command to create a pppoe connection:
#pppd eth0

Содержание

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

Скачать