Page 1 of 4

3g support

Posted: Sun Oct 17, 2010 1:18 pm
by Cezary
Hi Eric,

I made initial support for 3G connection - modem usb as wan. Patch for current rev, reguired additional packages - chat, comgt, usb-modeswitch, libusb, usb-modeswitch-data, kmod-usb-serial and kmod-usb-serial-option. Works with popular Huawei modems, should also working with another one supported by openwrt.

Some modem need switch from usb_storage to modem; so sometimes needs hack to start 3g connection after restart:

Code: Select all

D=$(uci -q get network.wan.device)
A=$(uci -q get network.wan.proto)
[ -e $D -a "$A" == "3g" ] && ifup wan
exit 0
in /etc/rc.local.

patch: http://eko.one.pl/openwrt/sources/gargo ... 1017.patch

Tested on Huawei E170. Screenshot attached.

Re: USB Data Modem 3g support

Posted: Wed Oct 27, 2010 7:25 pm
by rfdude
That is clever. Nice solution to turn the Gargoyle router into a cellular data modem connected hotspot while making sure you don't exceed your monthly cap.

Any pointers in trying to make this work with other USB data modems? Thanks.

Re: 3g support

Posted: Thu Oct 28, 2010 12:28 pm
by Cezary
Any modem/phone supported by usb-serial-option or usb-serial-sierrawireless.

Re: 3g support

Posted: Mon Nov 01, 2010 10:29 pm
by Eric
This is great. I'll try to test this and get it integrated into the experimental branch within the next week or two.

Re: 3g support

Posted: Sat Nov 06, 2010 12:45 pm
by Cezary
Some changes - predefined list of operators / apn / passwords from a file, with custom options.

Patch: http://eko.one.pl/openwrt/sources/gargo ... 1106.patch

Re: 3g support

Posted: Mon Jan 03, 2011 6:11 pm
by ispyisail
Hi all

I'm trying to install a 3g modem (ZTE MF636) on a routerstation Pro.

I've installed 1.3.9 AR71xx but it appears that the patch is still not installed?

Are there any how-to's on installing the patch to 1.3.9?

Thanks guys

Re: 3g support

Posted: Mon Jan 03, 2011 11:56 pm
by ispyisail

Re: 3g support

Posted: Wed Jan 05, 2011 12:01 pm
by Cezary
Yes, build gargoyle and add these patch.

Re: 3g support

Posted: Wed Jan 05, 2011 1:48 pm
by ispyisail
Yes, build gargoyle and add these patch.
I've made a gargoyle buildroot

Then added your 3g patch to the "patches-generic" folder

then run

"make"

But your patch was not added?

I think I need to do something else?

Thanks

Re: 3g support

Posted: Wed Jan 05, 2011 3:25 pm
by ispyisail
@Cezary

you don't have an image for a Routersation Pro

gargoyle_1.3.9-ar71xx-ubnt-rspro-squashfs-factory.bin

Thanks