刚买了一个CDMA的USB接口无线上网卡,在windows下能够正常拨号上网,但在linux下不能成功连接到网络!哪位高手给看看。下面是log信息:
#dmesg
......
hub.c: new USB device 00:07.2-1, assigned address 5
usbserial.c: PL-2303 converter detected
usbserial.c: PL-2303 converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
divert: no divert_blk to free, ppp0 not ethernet
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
uhci.c: USB Universal Host Controller Interface driver v1.1
#cat /var/log/messages
......
Oct 26 18:35:50 localhost kernel: hub.c: new USB device 00:07.2-1, assigned address 5
Oct 26 18:35:51 localhost kernel: usbserial.c: PL-2303 converter detected
Oct 26 18:35:51 localhost kernel: usbserial.c: PL-2303 converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
Oct 26 18:35:57 localhost /etc/hotplug/usb.agent: Setup pl2303 for USB product 67b/2303/202
Oct 26 18:35:58 localhost devlabel: devlabel service started/restarted
Oct 26 18:38:08 localhost pppd[6701]: Terminating on signal 15.
Oct 26 18:38:08 localhost pppd[6701]: Exit.
Oct 26 18:38:08 localhost /etc/hotplug/net.agent: NET unregister event not supported
Oct 26 18:38:21 localhost 10月 26 18:38:21 ifup-ppp: pppd started for ppp0 on /dev/ttyUSB0 at 230400
Oct 26 18:38:21 localhost pppd[7469]: pppd 2.4.1 started by root, uid 0
Oct 26 18:38:22 localhost kernel: usb_control/bulk_msg: timeout
Oct 26 18:38:31 localhost last message repeated 8 times
Oct 26 18:38:32 localhost wvdial[7488]: WvDial: Internet dialer version 1.53
Oct 26 18:38:32 localhost wvdial[7488]: Warning: section [Dialer unicom] does not exist in wvdial.conf.
Oct 26 18:38:32 localhost wvdial[7488]: Initializing modem.
Oct 26 18:39:02 localhost kernel: uhci.c: USB Universal Host Controller Interface driver v1.1
为了能连接上这些 ISP,你需要用户名和密码以便让 pppd 在需要的时候能提供这些资料。这些信息不是被存储在 /etc/ppp/pap-secrets(如果使用 PAP 协议)就是在 /etc/ppp/chap-secrets(如果使用 CHAP 协议)。虽然 CHAP 更加的安全,但是 PAP 仍然是使用最为广泛的。因为这些文件包含有“秘密”,所以群组和其他用户应该不被允许读写这些文件。这些文件的格式在 pppd( 中有解释。“秘密”(第三格)是通过用户名(第一格)和/或服务器名称(第二格)来查找的。当连接到一个 ISP 时通常是不知道这个服务器的名字的,所以我们用用户名代替;上面 peers/KPN 和 peers/Planet 中的 user 那一行就是完成这个动作的。
# client name server name secret
kpn * kpn [email protected] * myfavoritepet