返回列表 發帖

【Raspberry Pi】——Huawei E261 3G Modem

本帖最後由 角色 於 2013-10-28 01:11 編輯

This modem could be powered by the Raspberry Pi when it was inserted into the top USB port.
  1. root@raspberrypi:~# lsusb
  2. Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
  3. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  4. Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
  5. Bus 001 Device 004: ID 12d1:1436 Huawei Technologies Co., Ltd.
  6. root@raspberrypi:~# ls /dev/ttyU*
  7. /dev/ttyUSB0  /dev/ttyUSB1  /dev/ttyUSB2
複製代碼
There are three /dev/ttyUSBX ports given.

Don't forget to install the package by "apt-get install usb-modeswitch".

However when this modem was inserted at the lower USB port, the system was not able to boot up correctly.

TOP

I believe that the Huawei E261 model may give the three functions if configured properly

1. Voice (make and receive)
2. SMS (send and receive)
3. Data (Access the internet)

TOP

This modem that you do not need to unlock it since it comes with unlock mode. This modem consumes less power.

TOP

本帖最後由 角色 於 2013-10-30 01:07 編輯

After having installed the chan_dongle, you are able to read the modem's information using the command "dongle show devices", it gives

1081.gif

Please note the following:

Name of the device: dongle0
IMEI code
IMSI code

Similarly for my Huawei E1550 3G modem
1082.gif

TOP

Using the command "dongle show device settings dongle0"
  1. raspberrypi*CLI> dongle show device settings dongle0
  2. ------------- Settings ------------
  3.   Device                  : dongle0
  4.   Audio                   : /dev/ttyUSB1
  5.   Data                    : /dev/ttyUSB2
  6.   IMEI                    : xxxxxx047453218
  7.   IMSI                    : xxxxxx094232505
  8.   Channel Language        : en
  9.   Context                 : default
  10.   Exten                   : +85222334455
  11.   Group                   : 0
  12.   RX gain                 : 0
  13.   TX gain                 : 0
  14.   U2Diag                  : -1
  15.   Use CallingPres         : Yes
  16.   Default CallingPres     : Presentation Allowed, Passed Screen
  17.   Auto delete SMS         : Yes
  18.   Disable SMS             : No
  19.   Reset Dongle            : Yes
  20.   SMS PDU                 : Yes
  21.   Call Waiting            : auto
  22.   DTMF                    : relax
  23.   Minimal DTMF Gap        : 45
  24.   Minimal DTMF Duration   : 80
  25.   Minimal DTMF Interval   : 200
  26.   Initial device state    : start

  27. raspberrypi*CLI>
複製代碼

TOP

本帖最後由 角色 於 2013-10-30 21:53 編輯

I was able to send SMS using the following command
  1. dongle sms dongle0 85222334455 Hello
複製代碼

TOP

If you want to use the upper USB port of Raspberry Pi, no reboot was found. Also it has the sufficient power to power up the USB 3G modem (Huawei E261).

TOP

I found that the system hanged when I inserted Huawei E261 modem in the upper USB port. The Huawei E261 modem could be booted when the whole system was rebooted again.

TOP

It is seen from this case, in order to make the 3G USB modem work for the system, it is suggested to use an external powered USB hub to connect the 3G SUB modem. Otherwise   the 3G USB modem may not work.

TOP

This modem could be powered by the Raspberry Pi when it was inserted into the top USB port.There are ...
角色 發表於 2013-10-28 01:02



    您好, http://wiki.e1550.mobi/doku.php?id=requirements
这里的资料没有显示支持e261哦, 我手头也有一只e261 打算丢pi上去做asterisk的fxo, 不过不知道角色的测试结果如何, 电话短信是不是都正常, 有看到的话请回复哦, 谢谢.

TOP

应该没有问题,是否你的USB手指的电源不够呢?最好用一个USB hub。

TOP

回復 12# 角色


    我还没上, 是打算上, 这两天在我老婆家里, 过年嘛. 正在搜集资料做准备工作, 年前发现这里, 因为我也在用RouterBoard, 发现这里气氛挺好, 注册了好久也没让通过, 第二次让通过了, 很开心, 年前无聊的时候将手中的B+刷了raspbx玩一玩, 昨晚想起包里闲置了一个E261, 可以做个FXO. 于是就将E261开了语音并解锁了运营商, 很顺利, 已完成. 但是在B+上install-dongle的时候发现在老婆家无法连接raspbx的源, 无法更新, 所以打算过两天回家后再更新, 家里的网络可以访问raspbx的源, 看到你的帖子正好在提交E261和asterisk的经验, 所以来问问经验, 毕竟官方的list上没有显示E261在测试通过的范围内.

TOP

谢谢你的光临本论坛,这个论坛是香港讨论RouterOS,Asterisk,VPN最多的地方,由于没有商业味,所以大家都能畅所欲言!

用Raspberry Pi + USB modem最大的问题就是Raspberry Pi给USB Modem电源,有的不足,所以我们都外置一个Power USB hub (带电源的那种)。

上面都是我用E261的经验,你可以按着上面一步步去做就可以,遇到有什么问题可以跟帖讨论。

而你有用RouterBoard, 估计你的网络认识也不少!这个也欢迎你发帖讨论。

TOP

返回列表