尊敬的大大、感谢你抽空指导我
我的设备是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. wiki 使用笔记

    Wiki 安装:Linux(Redhat EL5.3)下安装配置MediaWiki wiki配置: 配置文件:DefaultSettings.php  //权限等配置 左边导航条:/wiki/inde ...

  2. 深入了解shell

    接触linux很久了,但一直没有总线,老是尝鲜,什么都想学,但好多没多没有记住,特的总结了一些基本的东西,查了很多资料,不完善的方面我会慢慢的更新……   操作系统与外部最主要的接口就叫做shell. ...

  3. redis【摘自网上,只为以后查看】

    ubuntu安装启动redis 1.下载安装 cd /tmp wget http://redis.googlecode.com/files/redis-2.2.13.tar.gz tar -zxf r ...

  4. AngularJS 路由:ui-router

    UI-Router是Angular-UI提供的客户端路由框架,它解决了原生的ng-route的很多不足:视图不能嵌套.这意味着$scope会发生不必要的重新载入.这也是我们在Onboard中引入ui- ...

  5. C语言中short的意思

    short和int等一样,是C或C++的一种内部数据类型.用于表示有符号整数.不同的是,他们在内存中所占的空间大小不同,short通常为int所占一半,也有一些实现为和int一样,但不会比int大.所 ...

  6. 24种设计模式--建造者模式【Builder Pattern】

    在一个周三,快要下班了,老大突然又拉住我,喜滋滋的告诉我“牛叉公司很满意我们做的模型,又签订了一个合同,把奔驰.宝马的车辆模型都交给我们公司制作了,不过这次又额外增加了一个新需求:汽车的启动.停止.喇 ...

  7. html5 拖拽的简要介绍

    1,首先,你要告诉计算机那个元素可以拖动,或者是一张图,或者是一个盒子,在标签里面加上 draggable="true"  2,然后,监听该元素被拖动的函数 ondragstart ...

  8. Burp Suite Walkthrough

    Burp Suite is one of the best tools available for web application testing. Its wide variety of featu ...

  9. Fedora 21 安装桌面环境

    Mate桌面环境:$ sudo yum install @mate-desktop KDE桌面环境:$ sudo yum install @kde-desktop XFCE桌面环境:$ sudo yu ...

  10. List<Map<String, Object>>相关

    2016年8月6日13:53:00 --------------------------- List<Map<String, Object>> List集合新增列 则需要: L ...