技术解析

[小白请教]Ubuntu17.10 下使用 ZTE 4G 无线网卡遇到的问题
0
2021-06-24 16:03:38
idczone

网卡型号

ZTE MF832S

系统版本

Ubuntu 17.10 \n \l

通过 lsusb 能够查看到该设备已被识别为网卡

Bus 001 Device 006: ID 19d2:0199 ZTE WCDMA Technologies MSM 

通过 ifconfig 命令也能佐证这一点

enx00a0c6000000: flags=4163  mtu 1500
        inet6 fe80::afbb:cca8:4511:d902  prefixlen 64  scopeid 0x20
        ether 00:a0:c6:00:00:00  txqueuelen 1000  (以太网)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2047  bytes 340052 (340.0 KB)
        TX errors 232  dropped 0 overruns 0  carrier 0  collisions 0

遇到的问题则是通过 wvdialconf 生成配置文件时,出现了一个 CME ERROR 6003,没能找到对应的错误解释

[email protected]:~$ sudo wvdialconf 
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: Scanning ttyUSB0 first, /dev/modem is a link to it.
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S0   S1   S2   S3   S4   S5   S6   S7   
Modem Port Scan<*1>: S8   S9   S10  S11  S12  S13  S14  S15  
Modem Port Scan<*1>: S16  S17  S18  S19  S20  S21  S22  S23  
Modem Port Scan<*1>: S24  S25  S26  S27  S28  S29  S30  S31  
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- +CME ERROR: 6003
ttyUSB1<*1>: failed with 9600 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- +CME ERROR: 6003
ttyUSB1<*1>: and failed too at 115200, giving up.
ttyUSB2<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://alumnit.ca/wiki/?WvDial

可以帮萌新指条路吗?


买个
最简单

我竟然不知道如何反驳你的观点,谢谢你的回贴

好简...我都看不懂,话说要给网卡配地址什么的吗?没玩过这东西

有些无线网卡是有 SD 卡模式的,确定一下你的是不是属于这种
买这种网卡最好先上网查一下哪种型号最方便
要是熟悉 AT 指令还爱折腾的话,可以安装 mincom 调试.......

已经能识别为网卡了,我现在怀疑是不是拨号配置的问题

没用过 4G 网卡,用过 GPRS 网卡
那种 GPRS 蜂窝网卡是串口连接的,USB 应该就是一个 USB 转串口,然后 /dev/ttyUSB0,然后通过 AT 指令建立连接

可以参考下树莓派上的 3g 拨号,用的是 pppd,选个具有中断功能 /dev/ttyUSB 节点,一般是 ttyUSB2 或 3
https://www.sfantree.com/raspberry_3g_module/

可以试一下此文的方法,我也是 MF832s,把波特率改成 9600 就可以正常拨号。系统 Ubuntu 16.04
https://blog.csdn.net/u011552404/article/details/50865836

数据地带为您的网站提供全球顶级IDC资源
在线咨询
专属客服