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:
Post
by Cezary » Sun Oct 17, 2010 1:18 pm
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 (27.81 KiB) Viewed 16050 times
rfdude
Posts: 41 Joined: Sat May 08, 2010 2:16 pm
Post
by rfdude » Wed Oct 27, 2010 7:25 pm
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:
Post
by Cezary » Thu Oct 28, 2010 12:28 pm
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
Post
by Eric » Mon Nov 01, 2010 10:29 pm
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:
Post
by Cezary » Sat Nov 06, 2010 12:45 pm
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 (21.25 KiB) Viewed 15849 times
gargoyle_3g.jpg (23.5 KiB) Viewed 15850 times
ispyisail
Moderator
Posts: 5194 Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand
Post
by ispyisail » Mon Jan 03, 2011 6:11 pm
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: 5194 Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand
Post
by ispyisail » Mon Jan 03, 2011 11:56 pm
Cezary
Posts: 135 Joined: Thu Sep 11, 2008 12:57 pm
Location: Poland
Contact:
Post
by Cezary » Wed Jan 05, 2011 12:01 pm
Yes, build gargoyle and add these patch.
ispyisail
Moderator
Posts: 5194 Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand
Post
by ispyisail » Wed Jan 05, 2011 1:48 pm
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: 5194 Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand
Post
by ispyisail » Wed Jan 05, 2011 3:25 pm
@Cezary
you don't have an image for a Routersation Pro
gargoyle_1.3.9-ar71xx-ubnt-rspro-squashfs-factory.bin
Thanks