歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 電信3G無線上網卡中興AC2726在Ubuntu 10.10安裝使用成功

電信3G無線上網卡中興AC2726在Ubuntu 10.10安裝使用成功

日期:2017/2/28 16:28:13   编辑:Linux教程

電信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裡面的用戶名密碼設置為空,無法自動設置,需手動改為用戶名:[email protected] ;密碼:vnet.mobi。


很郁悶,提示是1X的網絡,不知道速度怎麼樣?只能測試測試了。唉,終於解決Ubuntu10.10下的上網問題,

Copyright © Linux教程網 All Rights Reserved