linux研究(小寿的天下!)xiaoshou330.blog.chinaunix.net
xiaoshou330
全部博文(91)
驱动开发(2)
内核移植(4)
文件系统制作(3)
U-Boot移植(7)
网络技术(0)
网络设备(3)
c语言(5)
vs2005(0)
空间域名(0)
qt读写文件程序(0)
linux常用函数(5)
shell脚本(4)
调试技术(3)
数据库开发(9)
实用工具(0)
设备驱动开发(9)
操作实践(s3c241(5)
参考资料(1)
2011年(4)
2010年(22)
2009年(22)
2008年(43)
dahailin
小雅贝贝
linczone
sillyboy
天才精英
zhanggf8
穹鸟无痕
zhuyubin
yu123
forlfs
浪花小雨
ox_one
wanghong
分类: LINUX
2008-04-05 10:18:08
[root@listentec ~]#cat /etc/ppp/pap-secrets foo * "" *
OS: RedHat 9.0 CROSS Compiler: cross-3.3.2或者cross-3.4.1 pppd: pppd-2.4.3
[root@listentec ~]#tree /etc/ppp/etc/ppp|-- pap-secrets|-- ppp-off|-- ppp-on|-- ppp-on-dialer`-- resolv.conf0 directories, 5 files
[root@listentec ~]#ifconfig eth0 down[root@listentec ~]#/etc/ppp/ppp-on &[root@listentec ~]#Serial connection established.using channel 1Using interface ppp0Connect: ppp0 <--> /dev/ttyS2Warning - secret file /etc/ppp/pap-secrets has world and/or group accesssent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <magic 0xc328b095> <pcomp> <accomp>]rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>]sent [LCP ConfReq id=0x2 <asyncmap 0x20a0000> <magic 0xc328b095>]rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xb7a54d00>]sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <magic 0xb7a54d00>]rcvd [LCP ConfAck id=0x2 <asyncmap 0x20a0000> <magic 0xc328b095>]Warning - secret file /etc/ppp/pap-secrets has world and/or group accesssent [PAP AuthReq id=0x1 user="foo" password=<hidden>]rcvd [PAP AuthAck id=0x1 "Welcome!"]Remote message: PAP authentication succeededsent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]rcvd [IPCP ConfReq id=0x1 <addr 10.79.158.165>]sent [IPCP ConfAck id=0x1 <addr 10.79.158.165>]rcvd [LCP ProtRej id=0x1 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]rcvd [IPCP ConfNak id=0x2 <addr 10.79.78.138> <ms-dns1 211.136.20.203> <ms-dns3 202.96.69.38>]sent [IPCP ConfReq id=0x3 <addr 10.79.78.138> <ms-dns1 211.136.20.203> <ms-dns3 202.96.69.38>]rcvd [IPCP ConfAck id=0x3 <addr 10.79.78.138> <ms-dns1 211.136.20.203> <ms-dns3 202.96.69.38>]local IP address 10.79.78.138remote IP address 10.79.158.165primary DNS address 211.136.20.203secondary DNS address 202.96.69.38[root@listentec ~]#ifconfiglo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:89 errors:0 dropped:0 overruns:0 frame:0 TX packets:89 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4809 (4.6 KiB) TX bytes:4809 (4.6 KiB)ppp0 Link encap:Point-to-Point Protocol inet addr:10.79.78.138 P-t-P:10.79.158.165 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:64 (64.0 B) TX bytes:97 (97.0 B)
上一篇:C语言模块化 (小寿转载)
下一篇:Linux程序设计——用getopt处理命令行参数(小寿转载)
登录 注册