尊敬的大大、感谢你抽空指导我
我的设备是db120 mu350 和广东无限卡
版本是OpenWrt Backfire 10.03.336 DIY full

一、        没有安装到kmod-usb-acm  为什么?

二、        我在终端入启路由,插上MU350,WinSCP连接到路由,打开终端输入命令查看是否MU350已被识别。显示如下  (与你所写的不一样,请问我的mu350识别了没有)
/etc/modules.d$ dmesg | grep usb
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usbcore: registered new interface driver rtl8187
usbcore: registered new interface driver p54usb
usb usb1: configuration #1 chosen from 1 choice
usb usb2: configuration #1 chosen from 1 choice
usb 2-1: new full speed USB device using bcm63xx_ohci and address 2
usbcore: registered new interface driver usblp
usbcore: registered new interface driver usbserial
usb 2-1: configuration #1 chosen from 1 choice
usbserial_generic 2-1:1.0: generic converter detected
usb 2-1: generic converter now attached to ttyUSB0
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver zd1211rw

三、这一步省略了上面是讲的3G上网卡的识别。如你的3G上网卡不能关闭存储模式,那就要用到usb-modeswitch了,这个软件前面我们已经装了。
我们直接新建/etc/usb-modeswitch.conf,内容如下:
[Copy to clipboard] [ - ]
CODE:
# ZTE MU350
#
# Contributor: Dale Lane
DefaultVendor= 0x19d2;
DefaultProduct= 0x0003
# choose one of these:
DetachStorageOnly=0
MessageContent=5553424312345678000000000000061b000000020000000000000000000000

再执行usb_modeswitch -W,就能把MU350切换到modem模式了。

使用usb-modeswitch后,设备不一定是/dev/usb/tts/0或者/dev/ttyUSB0,也有可能是/dev/usb/tts/1或者/dev/ttyUSB1

3G网卡的识别最重要的是/etc/usb-modeswitch.conf的创建,相关网卡的信息需要大家一起研究和收集了。
另外如果华为的卡用usb-modeswitch不能被识别,可以试试安装这个包:huaweiaktbbo
[Copy to clipboard] [ - ]
CODE:
opkg install huaweiaktbbo

然后直接运行命令:huaweiaktbbo
[Copy to clipboard] [ - ]
CODE:
huaweiaktbbo

RG100A路由猫刷openwrt使用3G上网卡与宽带合并教程http://blog.sina.com.cn/s/blog_64b4ea3a0101655r.html

rg100a使用OpenWrt,单路由实现多个3G上网卡宽带合并:  http://forum.51nb.com/viewthread.php?tid=1034040&extra=page%3D1&highlight=openwrt%2B3g%CD%F8%BF%A8&page=1

3G 无线上网卡拨号 -- 以华为 EC189 为例

USB 3G 网卡默认模式为闪存设备,使用 usb-modeswitch 切换 3G 网卡为 usbserial 模式,最终使用 pppd 拨号上网。

内核配置

只需选上 ppp 和 usbserial

DeviceDrivers --->

[*] Network device support-->

<*> PPP (point-to-point protocol) support

[*] PPP multilink support (EXPERIMENTAL)

[*] PPP filtering

<*> PPP support for async serial ports

<*> PPP support for sync tty ports

<*> PPP Deflate compression

<*> PPP BSD-Compress compression

<*> PPP MPPE compression (encryption) (EXPERIMENTAL)

[*]USB support --->

<*> USB Serial Converter support --->

[*] USB Generic Serial Driver

<*> USB driver for GSM and CDMA modems

openwrt 所需软件

ppp

chat

comgt

libpthread

librt

libusb-1.0

usb-modeswitch

zlib

openwrt 配置文件

网络配置文件 /etc/config/network

configinterface wan

optionifname 'ppp0'

optionservice 'evdo'

optiondevice '/dev/ttyUSB0'

optionusername 'ctnet@mycdma.cn'

optionpassword 'vnet.mobi'

optionproto 3g

optionauto 1

chat 配置文件 /etc/chatscripts/evdo.chat

ABORT BUSY

ABORT 'NO CARRIER'

ABORT ERROR

REPORT CONNECT

TIMEOUT10

'' AT

'OK-+++\c-OK'ATH0

TIMEOUT40

'' AT

OK 'ATDT#777'

CONNECT''

vi /etc/config/network
config interface 'wan'
       #option ifname 'eth0'
       #option proto 'dhcp'
        option proto '3g'
        option service 'evdo'
        option username 'ctnet@mycdma.cn'
        option password 'vnet.mobi'
        option device '/dev/ttyUSB0'

chat配置文件/etc/chatscripts/evdo.chat

ABORT BUSY

ABORT 'NO CARRIER'

ABORT ERROR

REPORT CONNECT

TIMEOUT10

'' AT

'OK-+++\c-OK'ATH0

TIMEOUT40

'' AT

OK 'ATDT#777'

CONNECT''

openwrt使用3G上网卡的更多相关文章

  1. 35、在JZ2440上使用3G上网卡

    1. 简单使用:1.1 选型:中国联通:E网时空 EW65 (64元), ZTE中兴 MF637U (160多)中国电信:Benton/本腾 EQ10B (35元)中国移动:华为 ET128 (99元 ...

  2. 电信3G上网卡自己主动重拨

    须要使用电信3G无线上网卡做一个測试,由于要长时间使用,在使用的过程中老掉线,所以做了一个自己主动重连的批处理,好了,闲话少叙,开工: 先建立一个拨号连接: 001.png watermark/2/t ...

  3. 3g 上网卡使用

    控制面板\网络和 Internet\网络连接每个USB孔都会分配网路名 --cisco vpn 连接问题解决 启动(以管理员身份运行) sc stop SharedAccess ---完美解决win7 ...

  4. OPENWRT路由3G拔号实验

    以下摘自:http://www.right.com.cn/forum/thread-155168-1-1.html 首先下载 Barrier Breaker 14.07 固件 配置好网络,可以访问到i ...

  5. openwrt使用3G拔号的实践笔记

    参照文档: https://soha.moe/post/make-4g-wifi-ap-with-openwrt.html 步骤: 1.安装必要的包: opkg update opkg install ...

  6. 【openwrt】再设置

    https://wiki.openwrt.org/zh-cn/doc/uci/network https://wiki.openwrt.org/zh-cn/doc/uci/wireless https ...

  7. TP-Link wr703N 使用华为HiLink系列上网卡的设置【转】

    转自:http://www.right.com.cn/forum/thread-103082-1-1.html 最近买了一个华为的E303s的上网卡,之前703的openwrt是按照需要拨号和使用U盘 ...

  8. 3G? 2G? 2.5G? 4G? 与 WIFI, GPRS,CDMA 3G无线上网

    首先说说无线上网有哪几种形式? WIFI, GPRS, CDMA 3G无线上网 1>wifi全称wireless fidelity,是当今使用最广的一种无线网络传输技术.实际上就是把有线网络信号 ...

  9. 3G/4G网卡使用

    整体架构: pppd call option & ----------↓---------- option脚本(设置PPP连接) ----------↓---------- chat脚本(进行 ...

随机推荐

  1. Debian 8 编译安装nginx 1.8

    1.安装编译环境 apt-get install build-essential apt-get install gcc make apt-get install libpcre+* apt-get ...

  2. Spring for Apache Kafka

    官方文档详见:http://docs.spring.io/spring-kafka/docs/1.0.2.RELEASE/reference/htmlsingle/ Authors Gary Russ ...

  3. ORA-00928: 缺失 SELECT 关键字

    ORA-00928: 缺失 SELECT 关键字 一般是表的列名使用了关键字,解决办法就是加双引号 来自为知笔记(Wiz)

  4. 使用Android Studio时so文件打包不到APK中

    1,需要在build中添加如下配置,这是必备的 Android {   sourceSets {       main {           jniLibs.srcDirs = ['libs']   ...

  5. sql查询最大id

    如 有个表里有字段 id,name,..... 当name是重复时取其id最大的一条记录 select max(id) id,name from 表 group by name --最小用mini - ...

  6. HDU-4593(水题)

    Robot Problem Description A robot is a mechanical or virtual artificial agent, usually an electro-me ...

  7. 使用Github建立个人博客

    总的说来 这个当有node.js 和gitbub的账号后,搭建一个自己的博客,想想还是挺美的事! 由于要把整个流程说清楚 估计lz还没这个实力,所以都是继承前辈们的经验,自己再添加一点遇到的问题和解决 ...

  8. JAVA SE 框架之俄罗斯方块的效果

    Mygame package com.sun.c; import java.awt.event.KeyListener; import com.sun.v.MyJpanel; import com.s ...

  9. SqlSugar常用增删改操作

    一.添加数据 特别说明: 1.特别说明:对于自增长列的表插入数据后,当前自增长列的字段,仍旧为0,但可以通过Insert方法的返回值来获取 SqlSugarClient db = SugarConte ...

  10. 使用Druid作为数据源

    Druid号称是Java语言中最好的数据库连接池. 1) 可以监控数据库访问性能,Druid内置提供了一个功能强大的StatFilter插件,能够详细统计SQL的执行性能,这对于线上分析数据库访问性能 ...