3g support

Discuss the technical details of Gargoyle and ongoing development

Moderator: Moderators

Cezary
Posts: 135
Joined: Thu Sep 11, 2008 12:57 pm
Location: Poland
Contact:

3g support

Post 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.
Attachments
gargoyle_3g.jpg
gargoyle_3g.jpg (27.81 KiB) Viewed 14905 times

rfdude
Posts: 41
Joined: Sat May 08, 2010 2:16 pm

Re: USB Data Modem 3g support

Post 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.
rfdude
------------------
1.09.2 Buffalo WZR-HP-G300NH2 -> 8 OpenMesh AP's
1.10.0 Archer C7 -> Multiple Cisco 1702i Autonomous Mode

Cezary
Posts: 135
Joined: Thu Sep 11, 2008 12:57 pm
Location: Poland
Contact:

Re: 3g support

Post by Cezary »

Any modem/phone supported by usb-serial-option or usb-serial-sierrawireless.

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: 3g support

Post 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.

Cezary
Posts: 135
Joined: Thu Sep 11, 2008 12:57 pm
Location: Poland
Contact:

Re: 3g support

Post 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
Attachments
gargoyle_3g1.jpg
gargoyle_3g1.jpg (21.25 KiB) Viewed 14704 times
gargoyle_3g.jpg
gargoyle_3g.jpg (23.5 KiB) Viewed 14705 times

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: 3g support

Post 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

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: 3g support

Post by ispyisail »


Cezary
Posts: 135
Joined: Thu Sep 11, 2008 12:57 pm
Location: Poland
Contact:

Re: 3g support

Post by Cezary »

Yes, build gargoyle and add these patch.

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: 3g support

Post 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

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: 3g support

Post by ispyisail »

@Cezary

you don't have an image for a Routersation Pro

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

Thanks

Post Reply