中移动G3随e行 3G 无线上网卡 Huawei ET302s 无法上网问题
发表于 : 2012-06-17 20:53
基本安装信息:
本人安装的版本是Ubuntu10.4
由于在Ubuntu下无法使用G3上网,只能在XP下载相应的上软件自行安装(本人初学,说的可能不是很专业)
1.usb-modeswitch_1.1.0-2_i386.deb
2.wvdial_1.60.3_i386.deb
以上两个软件安装成功。
2.在网上查找了一些关于配置G3无线上网卡的信息,照葫芦画瓢画了一遍,简单说一下步骤:
1).列出相关usb硬件信息
net@net-laptop:~$ lsusb | grep Huawei
Bus 002 Device 004: ID 12d1:1d50 Huawei Technologies Co., Ltd.
net@net-laptop:~$
2).编写usb_modeswitch.conf配置文件
net@net-laptop:~$ more /etc/usb_modeswitch.conf
######################################
# Huawei ET302s
#
# Contributor: Dale Lane
DefaultVendor= 0x12d1
DefaultProduct= 0x1d50
TargetVendor= 0x12d1
TargetProduct= 0x1d50
# choose one of these:
#DetachStorageOnly=0
HuaweiMode=1
######################################
net@net-laptop:~$
3).编写wvdial.conf配置文件
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Password = any
Phone = *99***1#
Modem Type = USB Modem
Stupid Mode = 1
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
username = any
; Phone = <Target Phone Number>
; Password = <Your Password>
; Username = <Your Login Name>
4).执行下面的命令后,打印出的信息好像不太正确,请专业的朋友知道一下,看看问题出在哪?谢谢先
net@net-laptop:/etc$ sudo usb_modeswitch -c /etc/usb_modeswitch.conf -W
* usb-modeswitch: handle USB devices with multiple modes
* Version 1.1.0 (C) Josua Dietze 2010
* Based on libusb 0.1.12
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x1d50
TargetVendor= 0x12d1
TargetProduct= 0x1d50
TargetClass= not set
DetachStorageOnly=0
HuaweiMode=1
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent= not set
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice enabled (default)
Success check disabled
System integration mode disabled
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 007
usb_os_find_busses: Found 006
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 007
usb_os_find_devices: Found 002 on 006
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 006
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 004 on 002
skipped 3 class/vendor specific interface descriptors
skipped 6 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipped 5 class/vendor specific interface descriptors
skipped 4 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 001
Looking for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 0461:4d22
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 12d1:1d50
found matching vendor ID
found matching product ID
searching devices, found USB ID 05e3:0608
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0002
Found devices in target mode or class (1)
Looking for default devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 0461:4d22
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 12d1:1d50
found matching vendor ID
found matching product ID
searching devices, found USB ID 05e3:0608
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0002
Found default devices (1)
Accessing device 004 on bus 002 ...
Ambiguous Class/InterfaceClass: 0x02/0x08Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
SCSI inquiry data (for identification)
-------------------------
Vendor String: HUAWEI
Model String: Mobile CMCC CD
Revision String: 1.00
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Mobile
Product: HUAWEI Mobile System Solution
Serial No.: 000000-00-0000000
-------------------------
Sending Huawei control message ...
USB error: error sending control message: Broken pipe
Error: sending Huawei control message failed (error -32). Aborting.
net@net-laptop:/etc$
5).按照晚上说的,执行完上面的命令后,检查/dev/下面, 会出来ttyACM0, ttyACM1, 和ttyACM2几个文件
可是没有!那位高手解决了此问题,请赐教!
本人安装的版本是Ubuntu10.4
由于在Ubuntu下无法使用G3上网,只能在XP下载相应的上软件自行安装(本人初学,说的可能不是很专业)
1.usb-modeswitch_1.1.0-2_i386.deb
2.wvdial_1.60.3_i386.deb
以上两个软件安装成功。
2.在网上查找了一些关于配置G3无线上网卡的信息,照葫芦画瓢画了一遍,简单说一下步骤:
1).列出相关usb硬件信息
net@net-laptop:~$ lsusb | grep Huawei
Bus 002 Device 004: ID 12d1:1d50 Huawei Technologies Co., Ltd.
net@net-laptop:~$
2).编写usb_modeswitch.conf配置文件
net@net-laptop:~$ more /etc/usb_modeswitch.conf
######################################
# Huawei ET302s
#
# Contributor: Dale Lane
DefaultVendor= 0x12d1
DefaultProduct= 0x1d50
TargetVendor= 0x12d1
TargetProduct= 0x1d50
# choose one of these:
#DetachStorageOnly=0
HuaweiMode=1
######################################
net@net-laptop:~$
3).编写wvdial.conf配置文件
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Password = any
Phone = *99***1#
Modem Type = USB Modem
Stupid Mode = 1
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
username = any
; Phone = <Target Phone Number>
; Password = <Your Password>
; Username = <Your Login Name>
4).执行下面的命令后,打印出的信息好像不太正确,请专业的朋友知道一下,看看问题出在哪?谢谢先
net@net-laptop:/etc$ sudo usb_modeswitch -c /etc/usb_modeswitch.conf -W
* usb-modeswitch: handle USB devices with multiple modes
* Version 1.1.0 (C) Josua Dietze 2010
* Based on libusb 0.1.12
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x1d50
TargetVendor= 0x12d1
TargetProduct= 0x1d50
TargetClass= not set
DetachStorageOnly=0
HuaweiMode=1
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent= not set
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice enabled (default)
Success check disabled
System integration mode disabled
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 007
usb_os_find_busses: Found 006
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 007
usb_os_find_devices: Found 002 on 006
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 006
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 004 on 002
skipped 3 class/vendor specific interface descriptors
skipped 6 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipped 5 class/vendor specific interface descriptors
skipped 4 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 001
Looking for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 0461:4d22
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 12d1:1d50
found matching vendor ID
found matching product ID
searching devices, found USB ID 05e3:0608
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0002
Found devices in target mode or class (1)
Looking for default devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 0461:4d22
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 12d1:1d50
found matching vendor ID
found matching product ID
searching devices, found USB ID 05e3:0608
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0002
Found default devices (1)
Accessing device 004 on bus 002 ...
Ambiguous Class/InterfaceClass: 0x02/0x08Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
SCSI inquiry data (for identification)
-------------------------
Vendor String: HUAWEI
Model String: Mobile CMCC CD
Revision String: 1.00
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Mobile
Product: HUAWEI Mobile System Solution
Serial No.: 000000-00-0000000
-------------------------
Sending Huawei control message ...
USB error: error sending control message: Broken pipe
Error: sending Huawei control message failed (error -32). Aborting.
net@net-laptop:/etc$
5).按照晚上说的,执行完上面的命令后,检查/dev/下面, 会出来ttyACM0, ttyACM1, 和ttyACM2几个文件
可是没有!那位高手解决了此问题,请赐教!