3g support

Discuss the technical details of Gargoyle and ongoing development

Moderator: Moderators

arteq
Posts: 31
Joined: Tue Sep 14, 2010 11:49 am
Location: Poland
Contact:

Re: 3g support

Post by arteq »


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

Re: 3g support

Post by ispyisail »

Thanks

Will try right now

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

Re: 3g support

Post by ispyisail »

Things are looking good but not perfect

This is my telco settings

Code: Select all

APN = internet.telecom.co.nz
username = (blank)
password = (blank)
Dial Number = *99#
PDP Type = IP
Authentication Mode = PAP
DNS Server = Obtain Automatically
PDP Address = Obtain Automatically
This is what I get when I plug my usb modem in (which looks good)

Code: Select all

usb 1-1: new high speed USB device using ar71xx-ehci and address 3
usb 1-1: configuration #1 chosen from 1 choice
option 1-1:1.0: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
option 1-1:1.1: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
scsi1 : SCSI emulation for USB Mass Storage devices
option 1-1:1.3: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi 1:0:0:0: Direct-Access     ZTE      MMC Storage      322  PQ: 0 ANSI: 2
usb-storage: device scan complete
sd 1:0:0:0: [sdb] Attached SCSI removable disk
Soon after this the router locked up

Look like I might have to try again with a reflash

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

Re: 3g support

Post by ispyisail »

I got it to work

YES


Required Changes

Code: Select all

/dev/ttyUSB2
and

Edit /etc/chatscripts/3g.chat, modify apn to:

Code: Select all

OK      'AT+CGDCONT=1,"IP","$USE_APN","",0,0'
as per
https://forum.openwrt.org/viewtopic.php?id=26045

Big thanks Guys

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

Re: 3g support

Post by ispyisail »

Been running for up for 5 hours now with good results

I think there is something wrong with the "connection attempts" but once connected works well.

Signal strength is poor and I suspect this has something to do with poor connection attempts?

I've been waiting for it to fail to post the logread but nothing to report so far

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

Re: 3g support

Post by ispyisail »

I know I'm not using an official build but i want to report anyway

If you change the SSID the router will lock up

To reset I removed the power

Router rebooted as expected but would not connect to the internet

SSH into router and ran "ifup wan" command which connected to the internet.

Router running fine after that.

This build is very touchy

arteq
Posts: 31
Joined: Tue Sep 14, 2010 11:49 am
Location: Poland
Contact:

Re: 3g support

Post by arteq »

try in ssh:
uci set network.wan.auto=1
uci commit
ifup wan

then wan up at boot automaticly(until do some changes in Gargoyle GUI ;))
Best Regards, Artur
http://openwrt.pl - Polish Center of OpenWrt
http://digi-led.pl - Electronic Parts

876
Posts: 3
Joined: Sun Feb 06, 2011 6:50 pm

Re: 3g support

Post by 876 »

will it work on TP-Link 1043 ???

arteq
Posts: 31
Joined: Tue Sep 14, 2010 11:49 am
Location: Poland
Contact:

Re: 3g support

Post by arteq »

no

876
Posts: 3
Joined: Sun Feb 06, 2011 6:50 pm

Re: 3g support

Post by 876 »

please make any gargoyle build with built in support 3g modems for Tp-Link 1043 (DD-WRT 3G support is very unstable ) i have many modems and test it ( E219 , E1550 , E173 and E1823)

Post Reply