]
local IP address 10.24.228.224
remote IP address 192.168.254.254
primary DNS address 211.137.160.5
secondary DNS address 211.136.17.107
Script /etc/ppp/ip-up started (pid 12196)
Script /etc/ppp/ip-up finished (pid 12196), status = 0x0
6.测试: ping
itlanger@udesktop:~$ ping
PING (202.108.22.43) 56(84) bytes of data.
64 bytes from xd-22-43-a8.bta.net.cn (202.108.22.43): icmp_seq=1 ttl=50 time=1523 ms
64 bytes from xd-22-43-a8.bta.net.cn (202.108.22.43): icmp_seq=2 ttl=50 time=1444 ms
64 bytes from xd-22-43-a8.bta.net.cn (202.108.22.43): icmp_seq=3 ttl=50 time=891 ms
64 bytes from xd-22-43-a8.bta.net.cn (202.108.22.43): icmp_seq=4 ttl=50 time=1551 ms
64 bytes from xd-22-43-a8.bta.net.cn (202.108.22.43): icmp_seq=5 ttl=50 time=995 ms
^C
--- ping statistics ---
6 packets transmitted, 5 received, 16% packet loss, time 8875ms
rtt min/avg/max/mdev = 891.870/1281.506/1551.916/279.838 ms, pipe 2
7. 关闭连接: CTRL-C
或者: sudo killall -9 ppp0
参考文章:
1. http://blog.csdn.net/bouillisy/archive/2005/07/27/436203.aspx
2. http://blog.chinaunix.net/u3/90973/showart_1998886.html