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

2013-07-08 Thread david M brooke
For the record, this is now working successfully in my BuC 5.0 test
environment. kp kindly provided the Packages for usb_modeswitch and I
have written some documentation in the Wiki at
http://sourceforge.net/apps/mediawiki/leaf/index.php?title=Bering-uClibc_5.x_-_User_Guide_-_Advanced_Topics_-_Setting_Up_a_Wireless_Internet_Connection

I am surprised (in a good way!) at the network performance - more than
20Mb/s Download, 2.5Mb/s Upload, with a modest 3G signal strength.

Hopefully this will be included in the next 5.x release.

dMb

On Mon, 2013-06-17 at 14:49 +0200, Graziano Brioschi wrote:
 Hi everyone
 
 one vote for 3G/4G support!
 
 I have build a similar solution on an Alpine Linux in 2010; I have 
 compiled usb_modeswitch from source and I have built some simple bash 
 script to use this tool to switch some Huawey 3G USB dongle...
 I remenber that usb_modeswitch needs libusb to compile correctly; it is 
 capable to use udev, but i didn't make tests on this, I have used it in 
 manual mode on command line
 
 
 bye
 Graziano
 
 Il 16/06/2013 11.49, david M brooke ha scritto:
  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-22 Thread david M brooke
On Sat, 2013-06-22 at 00:20 +0200, KP Kirchdoerfer wrote:
 Hi;
 
 Am 16.06.2013 21:03, schrieb david M brooke:
  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 ;-)
 
 Duh, 4.x is outdated now :)
 
 After working more than a year on 5.x going back to 4.x is a little bit
 painful, and will require some more work to adjust it to 5.x later.
 Anway, since you went in advance with preparing the docs, I switched
 back to 4.x and started to work on usbmodeswitch tonight. Currently I
 managed to compile it, so hopefully I'll be able to prepare a first
 package over the weekend.
 
 I hesitate to prepare a new release for 4.x only for usb-modeswitch, and
 updating the packages page on our webpage doesn't work any longer easily
 due to the changes on SF lately. Therefor I prefer that you rewrite the
 docs for 5.x - would that be possible?
 
 
 kp

Hi kp,

Thanks for taking a look at this. My logic regarding 4.x was that:
   a) There might be a demand for this from users still on 4.x
   b) I am still using 4.x myself :-}

Clearly it is time for me to migrate to 5.0! I will certainly create a
5.x documentation page and I'm happy to take this forward on either 4.x
or 5.x based on your recommendation. Once we get it working on 5.x we
can always back-port to 4.x if there is a demand.

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-22 Thread Andrew
22.06.2013 15:18, david M brooke пишет:
 On Sat, 2013-06-22 at 00:20 +0200, KP Kirchdoerfer wrote:
 Hi;

 Am 16.06.2013 21:03, schrieb david M brooke:
 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 ;-)
 Duh, 4.x is outdated now :)

 After working more than a year on 5.x going back to 4.x is a little bit
 painful, and will require some more work to adjust it to 5.x later.
 Anway, since you went in advance with preparing the docs, I switched
 back to 4.x and started to work on usbmodeswitch tonight. Currently I
 managed to compile it, so hopefully I'll be able to prepare a first
 package over the weekend.

 I hesitate to prepare a new release for 4.x only for usb-modeswitch, and
 updating the packages page on our webpage doesn't work any longer easily
 due to the changes on SF lately. Therefor I prefer that you rewrite the
 docs for 5.x - would that be possible?


 kp
 Hi kp,

 Thanks for taking a look at this. My logic regarding 4.x was that:
 a) There might be a demand for this from users still on 4.x
 b) I am still using 4.x myself :-}

 Clearly it is time for me to migrate to 5.0! I will certainly create a
 5.x documentation page and I'm happy to take this forward on either 4.x
 or 5.x based on your recommendation. Once we get it working on 5.x we
 can always back-port to 4.x if there is a demand.

 dMb

I think that changes that should be present into 4.x branch, should be 
done into 4.x and them merged upward. IMHO there will be no troubles to 
compile package targetted to 5.x into 4.x buildtree (except dependency 
troubles) - so it's just required to use 5.x rules for source configure 
call (don't forget --host and --build specifying and so on) when working 
on package into 4.x branch.

--
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-21 Thread KP Kirchdoerfer
Hi;

Am 16.06.2013 21:03, schrieb 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 ;-)


Duh, 4.x is outdated now :)

After working more than a year on 5.x going back to 4.x is a little bit
painful, and will require some more work to adjust it to 5.x later.
Anway, since you went in advance with preparing the docs, I switched
back to 4.x and started to work on usbmodeswitch tonight. Currently I
managed to compile it, so hopefully I'll be able to prepare a first
package over the weekend.

I hesitate to prepare a new release for 4.x only for usb-modeswitch, and
updating the packages page on our webpage doesn't work any longer easily
due to the changes on SF lately. Therefor I prefer that you rewrite the
docs for 5.x - would that be possible?


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-17 Thread Graziano Brioschi
Hi everyone

one vote for 3G/4G support!

I have build a similar solution on an Alpine Linux in 2010; I have 
compiled usb_modeswitch from source and I have built some simple bash 
script to use this tool to switch some Huawey 3G USB dongle...
I remenber that usb_modeswitch needs libusb to compile correctly; it is 
capable to use udev, but i didn't make tests on this, I have used it in 
manual mode on command line


bye
Graziano

Il 16/06/2013 11.49, david M brooke ha scritto:
 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/

-- 

Graziano Brioschi

Outland s.a.s.
sede operativa:
Via A. Don Rocca, 13
20030, Senago (MI)
tel: 02 9948 6014
mobile: 328 8382622
email: graziano.brios...@outland.it
-- U4E --


--
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/


[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/