<TABLE class=tableborder1 style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" cellSpacing=1 cellPadding=5 align=center><TBODY><TR><TD class=tablebody1 vAlign=top width=*>
<TABLE class=tablebody2 style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" width="90%" border=0><TBODY><TR><TD style="FONT-SIZE: 9pt; LINE-HEIGHT: 12pt" width="100%">我在linux下用mc35i 的gprs modem拨号上网,xp下可以上网,但在redhat9下却无法上网。已经弄了两个礼拜了。我感觉脚本应该没什么问题,因为网上的上网脚本很多,我都试了,可一直都不能成功。以下是我拨号时产生的信息:
[root@arm ppp]# tail -f /var/log/messages
Jul 2 16:01:12 arm pppd[2993]: pppd 2.4.1 started by root, uid 0
Jul 2 16:01:13 arm chat[2994]: timeout set to 3 seconds
Jul 2 16:01:13 arm chat[2994]: abort on (\nBUSY\r)
Jul 2 16:01:13 arm chat[2994]: abort on (\nNO ANSWER\r)
Jul 2 16:01:13 arm chat[2994]: abort on (\nRINGING\r\n\r\nRINGING\r)
Jul 2 16:01:13 arm chat[2994]: send (AT^M)
Jul 2 16:01:13 arm chat[2994]: expect (OK)
Jul 2 16:01:13 arm chat[2994]: AT^M^M
Jul 2 16:01:13 arm chat[2994]: OK
Jul 2 16:01:13 arm chat[2994]: -- got it
Jul 2 16:01:13 arm chat[2994]: send (-+++c^M)
Jul 2 16:01:13 arm chat[2994]: expect ()
Jul 2 16:01:13 arm chat[2994]: got it
Jul 2 16:01:13 arm chat[2994]: send (ATH0^M)
Jul 2 16:01:14 arm pppd[2993]: Serial connection established.
Jul 2 16:01:14 arm pppd[2993]: Using interface ppp0
Jul 2 16:01:14 arm pppd[2993]: Connect: ppp0 <--> /dev/ttyS0
Jul 2 16:01:14 arm /etc/hotplug/net.agent: assuming ppp0 is already up
Jul 2 16:01:15 arm pppd[2993]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Jul 2 16:01:45 arm pppd[2993]: LCP: timeout sending Config-Requests
Jul 2 16:01:45 arm pppd[2993]: Connection terminated.
Jul 2 16:01:45 arm pppd[2993]: Receive serial link is not 8-bit clean:
Jul 2 16:01:45 arm pppd[2993]: Problem: all had bit 7 set to 0
Jul 2 16:01:45 arm /etc/hotplug/net.agent: NET unregister event not supported
Jul 2 16:01:46 arm pppd[2993]: Exit.
[root@arm ppp]# ./ppp-on
Press CTRL+C to close the connection at any stage
defining PDP context
Serial connection established.
using channel 17
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS0
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf2ba456c> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf2ba456c> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf2ba456c> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf2ba456c> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf2ba456c> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf2ba456c> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf2ba456c> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf2ba456c> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf2ba456c> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf2ba456c> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
Connection terminated.
可以看出我的问题应该是收不到远端LCP配置帧,正确的结果应该每发送一条LCP配置帧,就会收到一条返回的配置帧。不知是什么问题。Receive serial link is not 8-bit clean:
Problem: all had bit 7 set to 0 是什么东西啊?会不会是redhat9内核本身的问题啊?恳请DX给解答一下。谢谢了!
</TD></TR></TBODY></TABLE>
</TD></TR><TR><TD class=tablebody1 vAlign=center align=middle width=175>[url="http://www.hyesco.com/forum/look_ip.asp?boardid=4&userid=3075&ip=*.*.*.*&action=lookip"]

[/url] 2006-7-2 21:19:31</TD><TD class=tablebody1 vAlign=center width=*><TABLE cellSpacing=0 cellPadding=0 width="100%"><TBODY><TR><TD vAlign=center align=left> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>