User`s manual

UC-8410/8416/8418/8430 Managing Communication
4-13
Setting up a Machine for Incoming PPP Connections
This first example applies to using a modem, and requires authorization with a username and password.
pppd/dev/ttyM0 115200 crtscts modem 192.168.16.1:192.168.16.2 login auth
You should also add the following line to the file /etc/ppp/pap-secrets:
* * ““ *
The first star (*) lets everyone login. The second star (*) lets every host connect. The pair of double quotation
marks (““) is to use the file /etc/passwd to check the password. The last star (*) is to let any IP connect.
The following example does not check the username and password:
pppd/dev/ttyM0 115200 crtscts modem 192.168.16.1:192.168.16.2
PPPoE
1. Connect the UC-8410/8416/8418/8430’s LAN port to an ADSL modem with a cross-over cable, HUB, or
switch.
2. Log in to the UC-8410/8416/8418/8430/8430 as the root user.
3. Edit the file /etc/ppp/chap-secrets and add the following:
“username@hinet.net” * “password” *
192.168.3.127 – PuTTY
# 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.
4. Edit the file /etc/ppp/pap-secrets and add the following:
“username@hinet.net” * “password” *
192.168.3.127 – PuTTY
support hostname “*” -
stats hostname “*” -
# OUTBOUND connections
# ATTENTION: The definitions here can allow users to login without a
# 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@hinet.net” * “password” *
# PPPOE user example, if you want to use it, you need to unmark it and modify it
#”username@hinet.net” * “password” *
# UserIDs that cannot use PPP at all. Check your /etc/passwd and add any