Moxa W406-T-CE [50/74] W315a 325a linux user s manual managing communications

Moxa W406-T-LX [50/74] W315a 325a linux user s manual managing communications
W315A/325A Linux User's Manual Managing Communications
4-16
6. Edit the file /etc/ppp/options.eth0.
Type your username (the one you set in the /etc/ppp/pap-secrets and /etc/ppp/chap-secrets files)
after the nameoption. You may add other options as desired.
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
8. Use the following command to create a pppoe connection:
pppd eth0
The eth0 is what is connected to the ADSL modem LAN port.
9. Type ifconfig ppp0 to check if the connection is OK or has failed. If the connection is OK, you will see
information about the ppp0 setting for the IP address. Use ping to test the IP.
10. If you want to disconnect it, use the kill command to kill the pppd process.

Содержание

Скачать