需要一个4G的usd数据卡或是手机能读取,采集 无线信号, 查了很久 高通的 9x15系列比较不错, 华为的EC5373u-819 就是用高通芯片的移动,联通 4G 路由器
有usb口和天线接口
买到手一试,发现竟然电脑usb连接后,识别的是一个虚拟网卡,不是高通的modem + diag 端口, QXDM 没法读取信息
查了一下,原来是huawei 新推出的技术模式 hilink模式, 插上电脑的usb网卡或是mifi 能快速的用网卡模式识别驱动,不像高通芯片的modem,at command port 等等要安装很久
但我就是需要diag 和 at command 端口
只有少数俄语的资料讨论 hilink的模式切换方法
可惜 华为的新市场都已经退化到 非英语用户居多了。。。
Huawei e3131 Hilink Ubuntu 12.10
Hello,
some time ago i had problem with connecting two Huawei e3131 Hilink modems to Ubuntu.
Hilink formware installed on modem makes it impossible.
To make the switch plug in the modem wait for Hilink to initialize and go to:Make sure automatic connect and reconect is disabled, disable everything even delete AP using web page.HTML Code:http://192.168.1.1
go to:modem will disconnect and switch to serial, new device should apear in:HTML Code:http://192.168.1.1/html/switchProjectMode.htmlconnect to it using com trminal of your choice:HTML Code:/dev/ttyUSB*
EX.To enable gms modem mode execute the following:Code:minicom -D /dev/ttyUSB0To switch back HiLink execute:Code:AT^U2DIAG=0Remove the modem and plug it again for changes to take effect.Code:AT^U2DIAG=119
If after pluging in there are no /dev/ttyUSB* devices check lsusb:If there is a modem availible...Code:# lsusb Bus 002 Device 002: ID 12d1:1c05 Huawei Technologies Co., Ltd. E173s 3G broadband stick (modem on) Bus 003 Device 002: ID 0930:0508 Toshiba Corp. Integrated Bluetooth HCI Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubNow /dev/ttyUSB* should apear.Code:$modprobe usbserial $modprobe serial $echo "12d1 1c05" > /sys/bus/usb-serial/drivers/option1/new_id
Use wvdial to connect:
Edit wvdial config:thats what's my config:Code:nano /etc/wvdial.confto connect execute:Code:[Dialer aero1] Modem = /dev/ttyUSB0 Init1 = ATRC=0 Init2 = AT^CURC=0 Init3 = AT+CGDCONT=1,"IP","darmowy" Phone = *99# Stupid mode = yes Username = "aero" Password = "aero" Dial Attempts = 0 Auto Reconect = yes [Dialer aero2] Modem = /dev/ttyUSB3 Init1 = ATRC=0 Init2 = AT^CURC=0 Init3 = AT+CGDCONT=1,"IP","darmowy" Phone = *99# Stupid mode = yesthe modem will auto reconnect to the network if connection is lost.Code:wvdial aero1 wvdial aero2
Cheers!