内核更新升级到2.6.28.12,CDMA拨号成功,但是使用Gnome PPP无法拨号,请帮助解决

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
nirvanabird
帖子: 3
注册时间: 2009-05-02 23:17

内核更新升级到2.6.28.12,CDMA拨号成功,但是使用Gnome PPP无法拨号,请帮助解决

#1

帖子 nirvanabird » 2009-05-12 16:46

我的步骤如下:
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.
在这里成了各死循环,我搞不清是怎么个回事,请高手指点。
回复