Moxa TC-6110-T-LX [24/117] The difficult way manually

Moxa TC-6110-T-LX [24/117] The difficult way manually
TC-6110 Linux User's Manual Managing Communications
3-6
The Difficult Way (Manually)
You may wish or need to connect to your PPPoE provider by manually configuring a connection. Here is
how.Use the following procedure to configure PPPoE:
1. Connect the TC-6110-LXs LAN port to an ADSL modem (you may use a cable, HUB, or switch).
2. Log in to the TC-6110-LX as the root user.
3. Edit the file /etc/ppp/pap-secrets and add the following entry in the place indicated below:
“username@YourProvider.net” * “password” *
# ATTENTION: The definitions here can allow users to login without a
# password if you don’t use the login option of pppd! The mgetty Debian
# package already provides this option; make sure you don’t change that.
# INBOUND connections
# Every regular user can use PPP and has to use passwords from /etc/passwd
* hostname ““ *
username@YourProvider.net” * “password” *
# UserIDs that cannot use PPP at all. Check your /etc/passwd and add any
# other accounts that should not be able to use pppd!
guest hostname “*” -
master hostname “*” -
root hostname “*” -
support hostname “*” -
stats hostname “*” -
# OUTBOUND connections
username@YourProvider.net is the username obtained from the ISP to log in to the ISP account.
password is the corresponding password for the account.
4. Edit the file /etc/ppp/options and add plugin rp-pppoe in the indicated place:
# 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>---
5. If you connecting over LAN1, use the template below to create a file /etc/ppp/options.eth0. LAN2
should be named
/etc/ppp/options.eth1. All interfaces follow this convention.
name username@YourProvider.net
mtu 1492
mru 1492
defaultroute
noipdefault
~
~
/etc/ppp/options.eth0” 5 lines, 67 characters

Содержание

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

Скачать