[小白请教]Ubuntu17.10 下使用 ZTE 4G 无线网卡遇到的问题

2018-04-14 20:08:36 +08:00
 Artists

网卡型号

ZTE MF832S

系统版本

Ubuntu 17.10 \n \l

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

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

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

enx00a0c6000000: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::afbb:cca8:4511:d902  prefixlen 64  scopeid 0x20<link>
        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,没能找到对应的错误解释

art1st@thinkpad:~$ 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

可以帮萌新指条路吗?

4894 次点击
所在节点    Linux
8 条回复
peterpei
2018-04-14 20:53:23 +08:00
买个
最简单
Artists
2018-04-14 20:57:41 +08:00
@peterpei 我竟然不知道如何反驳你的观点,谢谢你的回贴
plko345
2018-04-14 21:36:59 +08:00
好简...我都看不懂,话说要给网卡配地址什么的吗?没玩过这东西
airqj
2018-04-14 22:00:49 +08:00
有些无线网卡是有 SD 卡模式的,确定一下你的是不是属于这种
买这种网卡最好先上网查一下哪种型号最方便
要是熟悉 AT 指令还爱折腾的话,可以安装 mincom 调试.......
Artists
2018-04-15 11:08:43 +08:00
@airqj 已经能识别为网卡了,我现在怀疑是不是拨号配置的问题
iwtbauh
2018-04-15 13:58:52 +08:00
没用过 4G 网卡,用过 GPRS 网卡
那种 GPRS 蜂窝网卡是串口连接的,USB 应该就是一个 USB 转串口,然后 /dev/ttyUSB0,然后通过 AT 指令建立连接
panda1001
2018-04-28 21:39:56 +08:00
可以参考下树莓派上的 3g 拨号,用的是 pppd,选个具有中断功能 /dev/ttyUSB 节点,一般是 ttyUSB2 或 3
https://www.sfantree.com/raspberry_3g_module/
byron0511
2018-05-20 12:18:07 +08:00
可以试一下此文的方法,我也是 MF832s,把波特率改成 9600 就可以正常拨号。系统 Ubuntu 16.04
https://blog.csdn.net/u011552404/article/details/50865836

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/446857

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX