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

Moxa V2401-CE Руководство по программной части (Linux) онлайн [53/108] 170746
V2401/2402 Series Linux User’s Manual Managing Communications
3-26
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 ADSL modem is connected to the LAN1 port, which is named eth0. If the ADSL modem is
connected to LAN2, use eth1, etc.
9. Type #ifconfig ppp0 to check if the connection is OK. If the connection is OK, you should see
the IP address of ppp0. Use #ping to test the IP address.
10. If you want to disconnect it, use the kill command to kill the pppd process.
ppp0 Link encap Point-to-Point Protocol
inet addr 192.76.32.3 P-t-P 129.67.1.165 Mask
255.255.255.0
UP POINTOPOINT RUNNING MTU 1500 Metric 1
RX packets 33 errors 0 dropped 0 overrun 0
TX packets 42 errors 0 dropped 0 overrun 0
MOXA:/etc# cat resolv.conf
#
# resolv.conf This file is the resolver configuration file
# See resolver(5).
#
#nameserver 192.168.1.16
nameserver 168.95.1.1
nameserver 139.175.10.20
nameserver 140.115.1.31
nameserver 140.115.236.10
MOXA:/etc#

Содержание

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

Скачать