找回密码
 注册
快捷导航
查看: 20537|回复: 47

终于搞定DB120 openwrt + aircard901自动拨号上网!

 关闭 [复制链接] |自动提醒
阅读字号:

477

回帖

0

积分

732

资产值

入门会员 Rank: 1

注册时间
2007-9-19
发表于 2010-5-30 17:15:57| 字数 154| - 中国–广东–广州 移动 | 显示全部楼层 |阅读模式
终于搞定DB120 openwrt + aircard901自动拨号上网!
DB120路由刷了openwrt 用aircard901上网,早就搞好了,需要手动拨号,今天终于发现不能拨好的原因了,利用openwrt的计划任务搞定了自动拨号,本想写个教程,实在是时间太少,有需要帮忙的PM我吧!最好能替我写个教程造福坛友!

1763

回帖

27

积分

1612

资产值

白金会员 Rank: 3Rank: 3Rank: 3

注册时间
2008-8-19
发表于 2010-5-30 17:23:07| 字数 32| - 中国–江苏–苏州 电信 | 显示全部楼层
想知道楼主手动拨号的时候设置的电话号码是多少?
是*99*1#吗?
T410S I5 540M 4G  128G SSD  NVIDIA3100
ET188*深神20+EM560*深神20
回复 支持 反对

使用道具 举报

382

回帖

0

积分

1356

资产值

入门会员 Rank: 1

注册时间
2009-5-27
发表于 2010-5-30 17:30:41| 字数 17| - 中国–广东–佛山 移动 | 显示全部楼层
我的也是手动拨号,计划任务怎么搞?
大家好
回复 支持 反对

使用道具 举报

680

回帖

15

积分

3105

资产值

黄金会员 Rank: 3Rank: 3Rank: 3

注册时间
2007-5-23
发表于 2010-5-30 17:34:25| 字数 16| - 中国–上海–上海–宝山区 电信 | 显示全部楼层
恭喜恭喜,
我的很早901都出了,
无卡
求电信无限卡1张,PM
回复 支持 反对

使用道具 举报

382

回帖

0

积分

1356

资产值

入门会员 Rank: 1

注册时间
2009-5-27
发表于 2010-5-30 18:35:56| 字数 233| - 中国–广东–佛山 移动 | 显示全部楼层
ABORT   BUSY
ABORT   'NO CARRIER'
ABORT   ERROR
REPORT  CONNECT
TIMEOUT 10
""      "AT&F"
OK      "ATE1"
OK      'AT+CGDCONT=1,"IP","$USE_APN"'
SAY     "Calling UMTS/GPRS"
TIMEOUT 30
OK      "ATD*99***1#"
CONNECT ' '
大家好
回复 支持 反对

使用道具 举报

382

回帖

0

积分

1356

资产值

入门会员 Rank: 1

注册时间
2009-5-27
发表于 2010-5-30 18:36:16| 字数 7| - 中国–广东–佛山 移动 | 显示全部楼层
3g.chat
大家好
回复 支持 反对

使用道具 举报

477

回帖

0

积分

732

资产值

入门会员 Rank: 1

注册时间
2007-9-19
 楼主| 发表于 2010-5-30 20:57:20| 字数 17| - 中国–广东–广州 移动 | 显示全部楼层

回复 #2 qq3135665 的帖子

*98*1#
*99***1#
都可以
回复 支持 反对

使用道具 举报

868

回帖

14

积分

1507

资产值

黄金会员 Rank: 3Rank: 3Rank: 3

注册时间
2004-6-18
发表于 2010-5-30 21:00:17| 字数 32| - 中国–山东–济南 移动 | 显示全部楼层
问下楼主aircard901的EDGE速度怎样?下载能达到多少?
签名?签名好干什么用!
回复 支持 反对

使用道具 举报

477

回帖

0

积分

732

资产值

入门会员 Rank: 1

注册时间
2007-9-19
 楼主| 发表于 2010-5-30 21:01:51| 字数 106| - 中国–广东–广州 移动 | 显示全部楼层

回复 #3 roybin 的帖子

首先要建个拨号的执行脚本文件,再在路由器管理页面的计划任务中添加内容 */1 * * * *  /d 提交就可以了。/d 为执行脚本 ,*/1 表示每1分钟执行一次,脚本要判断是否已连接上互联网,连上则直接跳过拨号,没连上才执行拨号。
回复 支持 反对

使用道具 举报

477

回帖

0

积分

732

资产值

入门会员 Rank: 1

注册时间
2007-9-19
 楼主| 发表于 2010-5-30 21:04:13| 字数 25| - 中国–广东–广州 移动 | 显示全部楼层

回复 #8 zmd99 的帖子

用路由器+901 不能在EDGE网络下拨号,原因未明
回复 支持 反对

使用道具 举报

868

回帖

14

积分

1507

资产值

黄金会员 Rank: 3Rank: 3Rank: 3

注册时间
2004-6-18
发表于 2010-5-31 12:29:27| 字数 34| - 中国–山东–济南 移动 | 显示全部楼层
难道真的用路由只能用3G网络?真这样的话我只有等了。。。。。。。。。
签名?签名好干什么用!
回复 支持 反对

使用道具 举报

160

回帖

18

积分

1547

资产值

白金会员 Rank: 3Rank: 3Rank: 3

注册时间
2007-4-19
发表于 2010-5-31 13:37:30| 字数 26| - 中国–广东–东莞 电信 | 显示全部楼层
我已经以160块包邮的价格甩卖了AC901,杯具啊。
回复 支持 反对

使用道具 举报

250

回帖

0

积分

1297

资产值

入门会员 Rank: 1

注册时间
2009-8-27
发表于 2010-5-31 13:50:30| 字数 12| - 中国–广东–广州 移动 | 显示全部楼层
晕,楼上,这价也特低啊。
回复 支持 反对

使用道具 举报

250

回帖

0

积分

1297

资产值

入门会员 Rank: 1

注册时间
2009-8-27
发表于 2010-5-31 15:22:29| 字数 70| - 中国–广东–广州 移动 | 显示全部楼层
lz弄个教程吧 可以修改下这贴里的http://www.ibmnb.com/thread-948344-1-6.html
把901需要注意的改下
回复 支持 反对

使用道具 举报

680

回帖

1

积分

1438

资产值

初级会员 Rank: 1

注册时间
2007-9-5
发表于 2010-5-31 16:47:00| 字数 21| - 中国–广东–广州 电信 | 显示全部楼层
LZ /etc/init.d/不能自动拨号?
回复 支持 反对

使用道具 举报

250

回帖

0

积分

1297

资产值

入门会员 Rank: 1

注册时间
2009-8-27
发表于 2010-6-4 17:09:21| 字数 5,200| - 中国–广东–广州 移动 | 显示全部楼层
/etc$ usb_modeswitch -W
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 001
Reading config file: /etc/usb_modeswitch.setup

* usb-modeswitch: handle USB devices with multiple modes
* Version 1.1.2alpha (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x1ab7
DefaultProduct= 0x2000
TargetVendor=   0x1ab7
TargetProduct=  0x5700
TargetClass=    not set

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent="5553424312345678000000000000061b000000030000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice enabled (default)
Success check disabled
System integration mode disabled


Looking for target devices ...
  searching devices, found USB ID 1ab7:5700
   found matching vendor ID
   found matching product ID
   adding device
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0002
Found devices in target mode or class (1)
Looking for default devices ...
  searching devices, found USB ID 1ab7:5700
   found matching vendor ID
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0002
No devices in default mode or class found. Nothing to do. Bye.

-----------------------------------------------------------------
/etc$ usb_modeswitch -W
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 001
Reading config file: /etc/usb_modeswitch.setup

* usb-modeswitch: handle USB devices with multiple modes
* Version 1.1.2alpha (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x1ab7
DefaultProduct= 0x2000
TargetVendor=   0x1ab7
TargetProduct=  0x2000
TargetClass=    not set

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent="5553424312345678000000000000061b000000030000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice enabled (default)
Success check disabled
System integration mode disabled


Looking for target devices ...
  searching devices, found USB ID 1ab7:5700
   found matching vendor ID
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0002
No devices in target mode or class found
Looking for default devices ...
  searching devices, found USB ID 1ab7:5700
   found matching vendor ID
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0002
No devices in default mode or class found. Nothing to do. Bye.

------------------------------------------------------------------
/root$ usb_modeswitch -W
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 001
Check that you have permissions to write to 002/002 and, if you don't, that you set up hotplug (http://linux-hotplug.sourceforge.net/) correctly.
USB error: could not claim interface 0: Device or resource busy
USB error: could not release intf 0: Invalid argument
Reading config file: /etc/usb_modeswitch.setup

* usb-modeswitch: handle USB devices with multiple modes
* Version 1.1.2alpha (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x1ab7
DefaultProduct= 0x5700
TargetVendor=   0x1ab7
TargetProduct=  0x2000
TargetClass=    not set

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent="5553424312345678000000000000061b000000030000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice enabled (default)
Success check disabled
System integration mode disabled


Looking for target devices ...
  searching devices, found USB ID 1ab7:5700
   found matching vendor ID
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0002
No devices in target mode or class found
Looking for default devices ...
  searching devices, found USB ID 1ab7:5700
   found matching vendor ID
   found matching product ID
   adding device
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0002
Found devices in default mode or class (1)
Accessing device 002 on bus 002 ...
Using endpoints 0x04 (out) and 0x85 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usbfs")
OK, driver "usbfs" detached
Could not claim interface (error -16). Skipping device inquiry

USB description data (for identification)
-------------------------
Manufacturer: USB 1.1 Storage Device
     Product: 00000000000123456789
  Serial No.: 00000000000123456789
-------------------------
Looking for active driver ...
OK, driver found ("usbfs")
OK, driver "usbfs" detached
Setting up communication with interface 0 ...
Using endpoint 0x04 for message sending ...
Trying to send message 1 to endpoint 0x04 ...
OK, message successfully sent
-> Run lsusb to note any changes. Bye.

3个都试了,应该是最后一个成功吧,可接下来要做什么呢?
在60-usb-serial里面加内容,加过了,没什么用啊
/etc$ rmmod usbserial
rmmod: can't unload 'usbserial': unknown symbol in module, or unknown

parameter
这命令又用不了,和这也是insmod,都错误。
回复 支持 反对

使用道具 举报

250

回帖

0

积分

1297

资产值

入门会员 Rank: 1

注册时间
2009-8-27
发表于 2010-6-4 17:10:07| 字数 10| - 中国–广东–广州 移动 | 显示全部楼层
发错帖了,不好意思啊
回复 支持 反对

使用道具 举报

477

回帖

0

积分

732

资产值

入门会员 Rank: 1

注册时间
2007-9-19
 楼主| 发表于 2010-6-6 08:45:18| 字数 24| - 中国–广东 电信 | 显示全部楼层

回复 #11 zmd99 的帖子

哈哈,也就901这个现象,我试过et128没问题
回复 支持 反对

使用道具 举报

477

回帖

0

积分

732

资产值

入门会员 Rank: 1

注册时间
2007-9-19
 楼主| 发表于 2010-6-6 08:47:10| 字数 20| - 中国–广东 电信 | 显示全部楼层

回复 #12 luo92 的帖子

晕,早知道卖我好了,正想看下双901啥样
回复 支持 反对

使用道具 举报

477

回帖

0

积分

732

资产值

入门会员 Rank: 1

注册时间
2007-9-19
 楼主| 发表于 2010-6-6 08:51:41| 字数 27| - 中国–广东 电信 | 显示全部楼层

回复 #15 antclan 的帖子

关键不在这,主要是路由器带901上电后不能正常切换模式
回复 支持 反对

使用道具 举报

250

回帖

0

积分

1297

资产值

入门会员 Rank: 1

注册时间
2009-8-27
发表于 2010-6-6 09:42:04| 字数 3| - 中国–广东–广州 移动 | 显示全部楼层
配置图

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
回复 支持 反对

使用道具 举报

631

回帖

0

积分

2456

资产值

入门会员 Rank: 1

注册时间
2005-10-20
发表于 2010-6-6 10:19:23| 字数 21| - LAN | 显示全部楼层
详细配置说明什么时候出啊,期待。有图更好了
http://51911.cn
回复 支持 反对

使用道具 举报

477

回帖

0

积分

732

资产值

入门会员 Rank: 1

注册时间
2007-9-19
 楼主| 发表于 2010-6-6 16:31:09| 字数 47| - 中国–广东 电信 | 显示全部楼层

鍥炲? #21 wenlh 鐨勫笘瀛

鏃ュ織鏄剧ず宸茬粡鎸傛帴ttyUSB0,浣犺瘯涓嬪懡浠?cho "AT^INDLED锛
回复 支持 反对

使用道具 举报

477

回帖

0

积分

732

资产值

入门会员 Rank: 1

注册时间
2007-9-19
 楼主| 发表于 2010-6-6 16:41:53| 字数 149| - 中国–广东 电信 | 显示全部楼层
晕,cmwap发贴乱码了,编辑了一下提示过5分钟了!
从日志看已挂接ttyUSB0,你试下命令?echo "AT^INDLED" > /dev/ttyUSB0 设备正常的话901灯会闪,?图中用户名和实密码填一下,什么都行,我填net,另外网桥那个勾上,不知道是否必须,我是勾了的。
回复 支持 反对

使用道具 举报

250

回帖

0

积分

1297

资产值

入门会员 Rank: 1

注册时间
2009-8-27
发表于 2010-6-6 21:17:03| 字数 118| - 中国–广东–广州 移动 | 显示全部楼层
命令�echo "AT^INDLED" > /dev/ttyUSB0 设备901灯还是常亮,用户名和实密码填net网桥也勾了,还是不行。
还有今天杯具的把无限量卡锁定了。。。puk才错了3次就被锁了
回复 支持 反对

使用道具 举报

250

回帖

0

积分

1297

资产值

入门会员 Rank: 1

注册时间
2009-8-27
发表于 2010-6-7 09:53:53| 字数 129| - 中国–广东–广州 移动 | 显示全部楼层
"AT^INDLED=1" > /dev/ttyUSB0
执行这命令后灯会闪了
/$ ifup td01
Error setting PIN, check card manually
td01(3g): Failed to set the PIN code.
还是拨不了号
回复 支持 反对

使用道具 举报

699

回帖

0

积分

1676

资产值

入门会员 Rank: 1

注册时间
2005-12-23
发表于 2010-6-7 11:42:56| 字数 11| - 中国–湖南–株洲 电信 | 显示全部楼层
检查一下有没有3g信号
回复 支持 反对

使用道具 举报

250

回帖

0

积分

1297

资产值

入门会员 Rank: 1

注册时间
2009-8-27
发表于 2010-6-7 13:10:47| 字数 18| - 中国–广东–广州 移动 | 显示全部楼层
aaaaaaaaaaaaaaaaaa

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
回复 支持 反对

使用道具 举报

250

回帖

0

积分

1297

资产值

入门会员 Rank: 1

注册时间
2009-8-27
发表于 2010-6-7 13:41:21| 字数 18| - 中国–广东–广州 移动 | 显示全部楼层
在楼主的教导下成功拨上号了。。。哦也
回复 支持 反对

使用道具 举报

93

回帖

0

积分

641

资产值

入门会员 Rank: 1

注册时间
2009-2-17
发表于 2010-6-7 13:56:03| 字数 7| - 中国–广东–深圳 电信 | 显示全部楼层
技术贴 留名备用
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Powered by Discuz! X3.5 © 2001-2023 Comsenz Inc

GMT+8, 2025-2-7 21:16 , Processed in 0.215325 second(s), 65 queries , Gzip On, OPcache On.

手机版|小黑屋|安卓客户端|iOS客户端|Archiver|备用网址1|备用网址2|在线留言|专门网

返回顶部