当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 内核更新升级到2.6.28.12,CDMA拨号成功,但是使用Gnome PPP无法拨号,请帮助解决
帖子发表于 : 2009-05-12 16:46 

注册: 2009-05-02 23:17
帖子: 3
送出感谢: 0 次
接收感谢: 0 次
我的步骤如下:
nirvanabird@nirvanabird-laptop:~$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x Composite Device
Bus 006 Device 003: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 03f0:1d17 Hewlett-Packard LaserJet 1320
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 064e:a111 Suyin Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
可以看系统认出我的modem是cygnal公司的CP210x单芯片方案
$ sudo modprobe usbserial vendor=0x104c product=0xea60
原来再2.6.28.11内核中usbserial模块内建了,会出现找不到这个模块的错误,导致无法配置modem,提意见的不少,12内核又重新分离出这个模块了。
再次运行dmesg
[21015.432022] usb 6-1: new full speed USB device using uhci_hcd and address 4
[21015.595365] usb 6-1: configuration #1 chosen from 1 choice
[21015.598331] cp2101 6-1:1.0: cp2101 converter detected
[21015.712076] usb 6-1: reset full speed USB device using uhci_hcd and address 4
[21015.912897] usb 6-1: cp2101 converter now attached to ttyUSB0
[21086.682188] PPP BSD Compression module registered
[21086.703726] PPP Deflate Compression module registered
可以看到我的cp2101驱动正常了,maodem是ttyUSB0
sudo gedit /etc/wvdial.conf
进行配置,下面是我配置:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem = /dev/ttyUSB0
Phone = #777
Idle Seconds = 300
Password = CARD
Username = CARD
Modem Type = Analog Modem
Stupid Mode = 1
Compuserve = 0
Baud = 230400
New PPPD = yes
Auto DNS = 1
Dial Command = ATDT
Ask Password = 0
ISDN = 0
Username = CARD
保存好配置后,运行Wvdial
nirvanabird@nirvanabird-laptop:~$ sudo wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
ATZ
OK
ATQ0
OK
ATZ
OK
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue May 12 16:44:00 2009
--> Pid of pppd: 15229
--> Using interface ppp0
--> pppd: �[7f][02]����[08]���[08][01]
--> pppd: �[7f][02]����[08]���[08][01]
--> pppd: �[7f][02]����[08]���[08][01]
--> pppd: �[7f][02]����[08]���[08][01]
--> pppd: �[7f][02]����[08]���[08][01]
--> pppd: �[7f][02]����[08]���[08][01]
--> local IP address 118.115.29.196
--> pppd: �[7f][02]����[08]���[08][01]
--> remote IP address 172.22.209.26
--> pppd: �[7f][02]����[08]���[08][01]
--> primary DNS address 202.98.96.68
--> pppd: �[7f][02]����[08]���[08][01]
--> secondary DNS address 61.139.2.69
--> pppd: �[7f][02]����[08]���[08][01]
拨号成功了,上网都正常,但是我想能够监视网络情况,我使用Gnome PPP拨号就总是拨不上去,查看PPP的log显示如下:
--> Ignoring malformed input line: ";Do NOT edit this file by hand!"
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATM1L3DT#777
--> Waiting for carrier.
ATM1L3DT#777
CONNECT
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!}!} }3}"}&} } } } }#}%B#}%}'}"}(}"W}0~
--> PPP negotiation detected.
--> Unable to run /usr/sbin/pppd.
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.
~[7f]}#@!}!}"} }3}"}&} } } } }#}%B#}%}'}"}(}"o}1~
--> PPP negotiation detected.
--> Unable to run /usr/sbin/pppd.
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.
~[7f]}#@!}!}#} }3}"}&} } } } }#}%B#}%}'}"}(}"[08]i~
--> PPP negotiation detected.
--> Unable to run /usr/sbin/pppd.
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.
~[7f]}#@!}!}$} }3}"}&} } } } }#}%B#}%}'}"}(}"}?}3~
--> PPP negotiation detected.
--> Unable to run /usr/sbin/pppd.
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.
~[7f]}#@!}!}%} }3}"}&} } } } }#}%B#}%}'}"}(}"xk~
--> PPP negotiation detected.
--> Unable to run /usr/sbin/pppd.
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.
~[7f]}#@!}!}&} }3}"}&} } } } }#}%B#}%}'}"}(}"@j~
--> PPP negotiation detected.
--> Unable to run /usr/sbin/pppd.
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.
在这里成了各死循环,我搞不清是怎么个回事,请高手指点。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译