[leaf-user] Interest in support for 3G / 4G wireless Internet connectivity?

2013-06-16 Thread david M brooke
Hi,

I am just wondering how much interest there would be in support for 3G
(or 4G, where available) wireless Internet network connectivity for
Bering-uClibc. Does anybody have this working already?

I recently purchased a Huawei E3131 USB dongle and this works well on
other Linux distributions (e.g. Fedora) so it should be possible to make
it work on Bering-uClibc.

That particular Huawei model presents itself as a USB Ethernet device
(rather than a USB Modem) which uses the cdc_ether driver. It has
provision for connecting an external antenna and mine cost 20 Euros.

Typical use cases might be:
   - An alternative for high-speed, wired Internet in case that fails
  - Automatic fail-over?
   - Mobile or temporary installations where there is no option for
wired Internet connectivity

I think the main Package we are missing in order to support this is
http://www.draisberghof.de/usb_modeswitch/

dMb


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] Interest in support for 3G / 4G wireless Internet connectivity?

2013-06-16 Thread KP Kirchdoerfer
Hi David;

Am 16.06.2013 11:49, schrieb david M brooke:
 Hi,
 
 I am just wondering how much interest there would be in support for 3G
 (or 4G, where available) wireless Internet network connectivity for
 Bering-uClibc. Does anybody have this working already?
 
 I recently purchased a Huawei E3131 USB dongle and this works well on
 other Linux distributions (e.g. Fedora) so it should be possible to make
 it work on Bering-uClibc.
 
 That particular Huawei model presents itself as a USB Ethernet device
 (rather than a USB Modem) which uses the cdc_ether driver. It has
 provision for connecting an external antenna and mine cost 20 Euros.
 
 Typical use cases might be:
- An alternative for high-speed, wired Internet in case that fails
   - Automatic fail-over?
- Mobile or temporary installations where there is no option for
 wired Internet connectivity
 
 I think the main Package we are missing in order to support this is
 http://www.draisberghof.de/usb_modeswitch/

Sounds interesting. Another use case clould be to use a raspberry pi as
a router between the 3/4G internet connection and your local lan, in
case one has no wired connection (e.g. while on a building site :)).

I looked into the tarfile and it seems only require libusb (a version
without tcl support is mentioned in the README).

Do you have asked because you haven't time to start working on it? No
promises, but I may a look at it at the next rainy weekend, but shurely
testing will be up to you then.

kp

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] Interest in support for 3G / 4G wireless Internet connectivity?

2013-06-16 Thread Mike Noyes
On 06/16/2013 02:49 AM, david M brooke wrote:
 Hi,
 
 I am just wondering how much interest there would be in support for 3G
 (or 4G, where available) wireless Internet network connectivity for
 Bering-uClibc. Does anybody have this working already?

David,
That sounds like a good idea, and should be possible.

Huawei Mobile Broadband
http://www.huaweidevice.co.in/Products/MobileBroadband/index.php
https://www.google.com/search?q=raspberry+pi+huawei


 I recently purchased a Huawei E3131 USB dongle and this works well on
 other Linux distributions (e.g. Fedora) so it should be possible to make
 it work on Bering-uClibc.
 
 That particular Huawei model presents itself as a USB Ethernet device
 (rather than a USB Modem) which uses the cdc_ether driver. It has
 provision for connecting an external antenna and mine cost 20 Euros.
 
 Typical use cases might be:
- An alternative for high-speed, wired Internet in case that fails
   - Automatic fail-over?
- Mobile or temporary installations where there is no option for
 wired Internet connectivity
 
 I think the main Package we are missing in order to support this is
 http://www.draisberghof.de/usb_modeswitch/


-- 
Mike Noyes
http://sourceforge.net/users/mhnoyes
https://plus.google.com/u/0/113364780158082152468

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] Interest in support for 3G / 4G wireless Internet connectivity?

2013-06-16 Thread david M brooke
On Sun, 2013-06-16 at 15:52 +0200, KP Kirchdoerfer wrote:
 Hi David;
 
 Am 16.06.2013 11:49, schrieb david M brooke:
  Hi,
  
  I am just wondering how much interest there would be in support for 3G
  (or 4G, where available) wireless Internet network connectivity for
  Bering-uClibc. Does anybody have this working already?
  
  I recently purchased a Huawei E3131 USB dongle and this works well on
  other Linux distributions (e.g. Fedora) so it should be possible to make
  it work on Bering-uClibc.
  
  That particular Huawei model presents itself as a USB Ethernet device
  (rather than a USB Modem) which uses the cdc_ether driver. It has
  provision for connecting an external antenna and mine cost 20 Euros.
  
  Typical use cases might be:
 - An alternative for high-speed, wired Internet in case that fails
- Automatic fail-over?
 - Mobile or temporary installations where there is no option for
  wired Internet connectivity
  
  I think the main Package we are missing in order to support this is
  http://www.draisberghof.de/usb_modeswitch/
 
 Sounds interesting. Another use case clould be to use a raspberry pi as
 a router between the 3/4G internet connection and your local lan, in
 case one has no wired connection (e.g. while on a building site :)).
 
 I looked into the tarfile and it seems only require libusb (a version
 without tcl support is mentioned in the README).
 
 Do you have asked because you haven't time to start working on it? No
 promises, but I may a look at it at the next rainy weekend, but shurely
 testing will be up to you then.
 
 kp

Hi kp,

Mainly I asked to test the level of interest in the wider user
community. As you have spotted, I have a relevant use case (on a
building site with a nearby 3G mast) so I will look at this at some
point, but if there is a lot of interest I can do that sooner.

I will certainly take of Documentation and Testing. If someone with an
up-to-date BuC 4.x development environment were to prepare a
usb_modeswitch Package that would help accelerate progress ;-)

From the docs I think our current libusb should be OK.

On Fedora there are udev rules which call usb_modeswitch but I think
maybe that is too much complexity / automation for us.
Perhaps a pre-up entry for in /etc/network/interfaces could be used to
run usb_modeswitch?

dMb


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] Interest in support for 3G / 4G wireless Internet connectivity?

2013-06-16 Thread Andrew
Hi.

16.06.2013 22:03, david M brooke пишет:
 On Sun, 2013-06-16 at 15:52 +0200, KP Kirchdoerfer wrote:
 Hi David;

 Am 16.06.2013 11:49, schrieb david M brooke:
 Hi,

 I am just wondering how much interest there would be in support for 3G
 (or 4G, where available) wireless Internet network connectivity for
 Bering-uClibc. Does anybody have this working already?

 I recently purchased a Huawei E3131 USB dongle and this works well on
 other Linux distributions (e.g. Fedora) so it should be possible to make
 it work on Bering-uClibc.

 That particular Huawei model presents itself as a USB Ethernet device
 (rather than a USB Modem) which uses the cdc_ether driver. It has
 provision for connecting an external antenna and mine cost 20 Euros.

 Typical use cases might be:
 - An alternative for high-speed, wired Internet in case that fails
- Automatic fail-over?
 - Mobile or temporary installations where there is no option for
 wired Internet connectivity

 I think the main Package we are missing in order to support this is
 http://www.draisberghof.de/usb_modeswitch/
 Sounds interesting. Another use case clould be to use a raspberry pi as
 a router between the 3/4G internet connection and your local lan, in
 case one has no wired connection (e.g. while on a building site :)).

 I looked into the tarfile and it seems only require libusb (a version
 without tcl support is mentioned in the README).

 Do you have asked because you haven't time to start working on it? No
 promises, but I may a look at it at the next rainy weekend, but shurely
 testing will be up to you then.

 kp
 Hi kp,

 Mainly I asked to test the level of interest in the wider user
 community. As you have spotted, I have a relevant use case (on a
 building site with a nearby 3G mast) so I will look at this at some
 point, but if there is a lot of interest I can do that sooner.

 I will certainly take of Documentation and Testing. If someone with an
 up-to-date BuC 4.x development environment were to prepare a
 usb_modeswitch Package that would help accelerate progress ;-)

 From the docs I think our current libusb should be OK.

 On Fedora there are udev rules which call usb_modeswitch but I think
 maybe that is too much complexity / automation for us.
 Perhaps a pre-up entry for in /etc/network/interfaces could be used to
 run usb_modeswitch?

 dMb

usb_modeswitch is required to switch device from 'CD-ROM' mode (when 
device is seen as USB CD-ROM with Windows drivers) to 'modem' mode (when 
device is represented as multiple TTYs/ethernet device). So it should be 
called before connection will be setted up.
Look for other embedded projects. For ex., in wive-ng there is a script 
that is called from mdev by line:

1-.*:1.* 0:0  @/etc/scripts/usbctrl.sh

and script is here: 
https://gitorious.org/wive-rtnl-ralink-rt305x-routers-firmware/wive-rtnl-ralink-rt305x-routers-firmware/blobs/master/user/usb/usbctrl.sh



--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/