电信3G无线上网卡中兴AC2726在Ubuntu 10.10安装使用成功,首先插入无线网卡。应该在右下角有个提示,关于TF卡被挂载之类的提示,不用管他。
进入终端:
root@lijun:~# lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 19d2:fff1 ONDA Communication S.p.A.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 005: ID 413c:8160 Dell Computer Corp.
Bus 003 Device 004: ID 413c:8162 Dell Computer Corp.
Bus 003 Device 003: ID 413c:8161 Dell Computer Corp.
Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0c45:6410 Microdia
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
可以在拔除一切USB设备前后观察查询结果变化。我的中兴AC2726上网卡显示为:
Bus 005 Device 003: ID 19d2:fff1 ONDA Communication S.p.A.
到/etc/usb_modeswitch.d内查找 19d2:fff1的文件,没有。
但是www.linuxidc.com又出现:
19d2:fff5,内容如下:
########################################################
# ZTE "fff" devices 1 DefaultVendor= 0x19d2
DefaultProduct=0xfff5 TargetVendor= 0x19d2
TargetProductList="fff1,ffff" MessageContent="5553424312345678c00000008000069f030000000000000000000000000000" CheckSuccess=20
另有19d2:fff6,内容如下:
########################################################
# ZTE "fff" devices 2 DefaultVendor= 0x19d2
DefaultProduct=0xfff6 TargetVendor= 0x19d2
TargetProduct= 0xfff1 MessageContent="5553424312345678c00000008000069f030000000000000000000000000000" CheckSuccess=20
我选取了19d2:fff6,参考写了/etc/usb_modeswitch.conf,如下:
DisableSwitching=0
File="/etc/usb_modeswitch.conf"
sed -i "1iCheckSuccess=5" $File
sed -i "1iMessageEndpoint=0x01" $File
sed -i "MessageContent="5553424312345678c00000008000069f030000000000000000000000000000"" $File
sed -i "1iTargetProduct=0xfff1" $File
sed -i "1iTargetVendor = 0x19d2" $File
sed -i "1i" $File
sed -i "1iDefaultProduct= 0x19d2" $File
sed -i "1iDefaultVendor= 0xfff6" $File
重起 udev:sudo /etc/init.d/udev restart
NetworkManager里面的用户名密码设置为空,无法自动设置,需手动改为用户名:ctnet@mycdma.cn ;密码:vnet.mobi。
很郁闷,提示是1X的网络,不知道速度怎么样?只能测试测试了。唉,终于解决Ubuntu10.10下的上网问题,Fedora 14下安装JDK(1.6.0.22)Ubuntu备份安装源地址和已经安装的软件名称等相关资讯 Ubuntu 10.10
- Ubuntu 10.10下月起停止更新 (03/12/2012 15:39:45)
- Ubuntu 10.10安装使用VNC (10/29/2011 13:13:05)
- 在Ubuntu 10.10上安装LAMP (07/18/2011 09:19:11)
| - Ubuntu 10.10与Fedora 14下使用scp (11/15/2011 16:03:56)
- Ubuntu 10.10用LibreOffice替换 (08/10/2011 19:53:36)
- Ubuntu 10.10同步CyanogenMod源码 (07/06/2011 17:59:10)
|
本文评论 查看全部评论 (0)