V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
Artists
V2EX  ›  Linux

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

  •  
  •   Artists · 2018-04-14 20:08:36 +08:00 · 4871 次点击
    这是一个创建于 2175 天前的主题,其中的信息可能已经有所发展或是发生改变。

    网卡型号

    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
    
    

    可以帮萌新指条路吗?

    8 条回复    2018-05-20 12:18:07 +08:00
    peterpei
        1
    peterpei  
       2018-04-14 20:53:23 +08:00 via Android
    买个
    最简单
    Artists
        2
    Artists  
    OP
       2018-04-14 20:57:41 +08:00
    @peterpei 我竟然不知道如何反驳你的观点,谢谢你的回贴
    plko345
        3
    plko345  
       2018-04-14 21:36:59 +08:00   ❤️ 1
    好简...我都看不懂,话说要给网卡配地址什么的吗?没玩过这东西
    airqj
        4
    airqj  
       2018-04-14 22:00:49 +08:00   ❤️ 1
    有些无线网卡是有 SD 卡模式的,确定一下你的是不是属于这种
    买这种网卡最好先上网查一下哪种型号最方便
    要是熟悉 AT 指令还爱折腾的话,可以安装 mincom 调试.......
    Artists
        5
    Artists  
    OP
       2018-04-15 11:08:43 +08:00 via Android
    @airqj 已经能识别为网卡了,我现在怀疑是不是拨号配置的问题
    iwtbauh
        6
    iwtbauh  
       2018-04-15 13:58:52 +08:00 via Android   ❤️ 1
    没用过 4G 网卡,用过 GPRS 网卡
    那种 GPRS 蜂窝网卡是串口连接的,USB 应该就是一个 USB 转串口,然后 /dev/ttyUSB0,然后通过 AT 指令建立连接
    panda1001
        7
    panda1001  
       2018-04-28 21:39:56 +08:00   ❤️ 1
    可以参考下树莓派上的 3g 拨号,用的是 pppd,选个具有中断功能 /dev/ttyUSB 节点,一般是 ttyUSB2 或 3
    https://www.sfantree.com/raspberry_3g_module/
    byron0511
        8
    byron0511  
       2018-05-20 12:18:07 +08:00
    可以试一下此文的方法,我也是 MF832s,把波特率改成 9600 就可以正常拨号。系统 Ubuntu 16.04
    https://blog.csdn.net/u011552404/article/details/50865836
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   994 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 20:00 · PVG 04:00 · LAX 13:00 · JFK 16:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.