[已解决] 14.04LTS,无线3G网卡无法上网的问题

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
头像
男菜鸟
帖子: 1382
注册时间: 2008-12-16 14:01
来自: 漂在江湖

[已解决] 14.04LTS,无线3G网卡无法上网的问题

#1

帖子 男菜鸟 »

我有一个中兴AC8710无线3G,上网卡,在windows下可以正常上电信3G网络.

但是笔记本电脑(Dell Inspiron-N311z)升级到UBT14.04 LTS后却无法联网了,
经检查,在lsusb命令下,没有被发现!

代码: 全选

gu@gu-Inspiron-N311z:~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 1d57:001a Xenta 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 1bcf:2880 Sunplus Innovation Technology Inc. 
Bus 001 Device 003: ID 8086:0189 Intel Corp. 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
如何解决?

可是这个无线上网卡,在另外一部笔记本的Lubuntu 14.04下,却可以正常上3G网,
lsusb,可以正常识别!
上次由 男菜鸟 在 2015-09-06 23:05,总共编辑 1 次。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 14.04LTS,无线3G网卡无法上网的问题

#2

帖子 poloshiao »

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
檢查看看 你插入的 USB 插孔 是 2.0 還是 3.0
檢查看看 你 3G 的 USB 插口 是 2.0 還是 3.0
檢查看看 你的 Bios 對於 2.0 / 3.0 的設定 enable / disable ?
在windows下可以正常上电信3G网络.
請使用 Windows 裝置管理員
找出 3G Modem 的
Vendor ID
Product ID
头像
男菜鸟
帖子: 1382
注册时间: 2008-12-16 14:01
来自: 漂在江湖

Re: 14.04LTS,无线3G网卡无法上网的问题

#3

帖子 男菜鸟 »

檢查看看 你插入的 USB 插孔 是 2.0 還是 3.0
笔记本电脑有2.0,3.0USB的插孔,分别都试过,没有区别,都不行.
檢查看看 你 3G 的 USB 插口 是 2.0 還是 3.0
3G插孔没有标示,2.0或3,0,但是从2009年生产,估计是2.0
檢查看看 你的 Bios 對於 2.0 / 3.0 的設定 enable / disable ?
BIOS里没有对2.0,3.0的设置项
在windows下可以正常上电信3G网络.
找出 3G Modem 的 Vendor IDProduct ID
分别是19d2和fff1
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 14.04LTS,无线3G网卡无法上网的问题

#4

帖子 poloshiao »

分别是19d2和fff1
1. http://www.linux-usb.org/usb.ids
19d2 ZTE WCDMA Technologies MSM
fff1 無此號碼

2. 試試
http://askubuntu.com/a/318528
头像
男菜鸟
帖子: 1382
注册时间: 2008-12-16 14:01
来自: 漂在江湖

Re: 14.04LTS,无线3G网卡无法上网的问题

#5

帖子 男菜鸟 »

1. http://www.linux-usb.org/usb.ids
19d2 ZTE WCDMA Technologies MSM
fff1 無此號碼
这个说法似乎不正确,我在网上查到,有fff1的.
http://www.draisberghof.de/usb_modeswitch/
# ZTE AC8710
# ZTE AC2726
# and others
#
# Many new ZTE devices use this sequence. There are
# several ID combinations; check your default
#
# Contributor: Michael Khurtsiya, Amit Pundir and others

DefaultVendor= 0x19d2
DefaultProduct= 0xfff5

TargetVendor= 0x19d2
TargetProduct= 0xffff

# No. 2

DefaultVendor= 0x19d2
DefaultProduct= 0xfff6

TargetVendor= 0x19d2
TargetProduct= 0xfff1

# No. 3

DefaultVendor= 0x19d2
DefaultProduct= 0xfff5

TargetVendor= 0x19d2
TargetProduct= 0xfff1

MessageContent="5553424312345678c00000008000069f030000000000000000000000000000"
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 14.04LTS,无线3G网卡无法上网的问题

#6

帖子 poloshiao »

http://www.linux-usb.org/usb.ids
19d2 ZTE WCDMA Technologies MSM
fff1 無此號碼
这个说法似乎不正确,我在网上查到,有fff1的.
http://www.draisberghof.de/usb_modeswitch/
1. 並不矛盾
兩個網頁負責維護者不同
所以不同步 是正常的

2. lsusb 指令參照 http://www.linux-usb.org/usb.ids
2-1. http://manpages.ubuntu.com/manpages/tru ... usb.8.html
lsusb - list USB devices
FILES
/var/lib/usbutils/usb.ids
A list of all known USB ID's (vendors, products, classes, subclasses and protocols).
2-1-1. sudo cat /var/lib/usbutils/usb.ids | grep fff1
沒有
2-2. sudo cat /var/lib/usbutils/usb.ids | grep http
# http://www.linux-usb.org/usb-ids.html
# http://www.linux-usb.org/usb.ids
2-3. 進一步 參閱
http://askubuntu.com/questions/227881/l ... comes-from
2-4. 意思是
http://www.linux-usb.org/usb.ids 沒有
/var/lib/usbutils/usb.ids 可能也沒有
開機 可能不識 USB 裝置 / 也可能抓錯 驅動
2-4-1. 可以手動添加 fff1
參閱
https://www.kernel.org/doc/Documentatio ... fs-bus-usb
使用 add 搜尋
头像
男菜鸟
帖子: 1382
注册时间: 2008-12-16 14:01
来自: 漂在江湖

Re: 14.04LTS,无线3G网卡无法上网的问题

#7

帖子 男菜鸟 »

谢谢6楼指导.问题已经解决,分享过程:

1.在http://www.draisberghof.de/usb_modeswitch/#dow ... 3个文件到一个空目录:
1-1.usb-modeswitch-2.2.5.tar.bz2
1-2.usb-modeswitch-data
1-3.device_reference.txt

2.在新立得软件包管理器里,搜索,安装:
libusb-1.0-0
libusb-1.0-0-dev
libusb-1.0-0-dbg
libjim-0.74
libjim-dev

3.到下载文件的空目录,打开终端.解压usb-modeswitch-2.2.5.tar.bz2 后,
#cd usb-modeswitch-2.2.5
#sudo make
#sudo make install-shared #安装软件
#gedit device_reference.txt #打开文件,并搜索"ac8710",拷贝以下内容,并退出.

********************************************************************
# ZTE AC8710
# ZTE AC2726
# and others
#
# Many new ZTE devices use this sequence. There are
# several ID combinations; check your default
#
# Contributor: Michael Khurtsiya, Amit Pundir and others

DefaultVendor= 0x19d2
DefaultProduct= 0xfff5

TargetVendor= 0x19d2
TargetProduct= 0xffff

# No. 2

DefaultVendor= 0x19d2
DefaultProduct= 0xfff6

TargetVendor= 0x19d2
TargetProduct= 0xfff1

# No. 3

DefaultVendor= 0x19d2
DefaultProduct= 0xfff5

TargetVendor= 0x19d2
TargetProduct= 0xfff1

MessageContent="5553424312345678c00000008000069f030000000000000000000000000000"
********************************************************

4.sudo gedit /etc/usb_modeswitch.conf #打开配置文件,并把上述拷贝的内容,粘贴到文末,红色是修改部分,如下.保存退出.

# ZTE AC8710
# ZTE AC2726
# and others
#
# Many new ZTE devices use this sequence. There are
# several ID combinations; check your default
#
# Contributor: Michael Khurtsiya, Amit Pundir and others

#DefaultVendor= 0x19d2
#DefaultProduct= 0xfff5

#TargetVendor= 0x19d2
#TargetProduct= 0xffff

# No. 2

DefaultVendor= 0x19d2
DefaultProduct= 0xfff6

TargetVendor= 0x19d2
TargetProduct= 0xfff1

# No. 3

#DefaultVendor= 0x19d2
#DefaultProduct= 0xfff5

#TargetVendor= 0x19d2
#TargetProduct= 0xfff1

MessageContent="5553424312345678c00000008000069f030000000000000000000000000000"

5.重启电脑,插上USB无线上网卡.上网卡红灯熄灭后,终端 lsusb,此时可见:
Bus 002 Device 005: ID 19d2:fff1 ZTE WCDMA Technologies MSM
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 1d57:001a Xenta
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 1bcf:2880 Sunplus Innovation Technology Inc.
Bus 001 Device 003: ID 8086:0189 Intel Corp.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
电脑已经认出usb,modem.

6.网络图标-"编辑连接-'添加-移动宽带-中国-chine telecom-应用",回到"网络连接".
选择"china-telecom connection",点击右侧"编辑",如图设置即可.
0906B.jpeg
0906A.jpeg

7.网络图标菜单里,点击"china-telecom connection",上网卡拨号上网!
上次由 男菜鸟 在 2016-05-04 22:49,总共编辑 2 次。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: [已解决] 14.04LTS,无线3G网卡无法上网的问题

#8

帖子 poloshiao »

恭喜
也謝謝分享
回复