[OpenWrt-Devel] [PATCH] comgt: Fix 3g.sh permissions

2018-12-05 Thread Rosen Penev
3g.sh needs to be executable. 600 is not correct for that. Signed-off-by: Rosen Penev --- package/network/utils/comgt/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/utils/comgt/Makefile b/package/network/utils/comgt/Makefile index d4d673e783..58

Re: [OpenWrt-Devel] [PATCH] comgt: NCM protocol now propagate defaultroute, peerdns, metric to dynamic ifaces

2016-02-26 Thread John Crispin
Hi, can you change this and put the functionality in a more generic place so that it works for all virtual interfaces ? felix explained in the hilink thread that bruno started where he thinks this should go. John On 09/02/2016 21:38, Jakub Janco wrote: > NCM protocol now propagate defaul

[OpenWrt-Devel] [PATCH] comgt: NCM protocol now propagate defaultroute, peerdns, metric to dynamic ifaces

2016-02-09 Thread Jakub Janco
NCM protocol now propagate defaultroute, peerdns, metric to its dynamic dhcp ifaces to maintain options defined in /etc/config/network. Signed-off-by: Jakub Janco --- package/network/utils/comgt/files/ncm.sh | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package/

Re: [OpenWrt-Devel] [PATCH] comgt: NCM protocol propagate defaultroute, peerdns, metric to dynamic ifaces

2016-02-09 Thread John Crispin
Hi Jakub, could it be that you manually edited the patch because (see inline) On 08/02/2016 11:57, Jakub Janco wrote: > NCM protocol now propagate defaultroute, peerdns, metric to its dynamic dhcp > ifaces to maintain these options defined in /etc/config/network. > > Signed-off-by: Jakub J

[OpenWrt-Devel] [PATCH] comgt: NCM protocol propagate defaultroute, peerdns, metric to dynamic ifaces

2016-02-08 Thread Jakub Janco
NCM protocol now propagate defaultroute, peerdns, metric to its dynamic dhcp ifaces to maintain these options defined in /etc/config/network. Signed-off-by: Jakub Janco ---  package/network/utils/comgt/files/ncm.sh | 10 --  1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pa

Re: [OpenWrt-Devel] [PATCH] comgt-ncm: Add possibility to choose PDP context type

2015-10-10 Thread Matti Laakso
>> Date: Sun, 20 Sep 2015 23:52:32 +0300 >> Subject: Re: [OpenWrt-Devel] [PATCH] comgt-ncm: Add possibility to >> choose PDP context type >> From: sami at olmari.fi >> To: malaakso at elisanet.fi >> CC: openwrt-devel at lists.openwrt.org >> >> Thi

Re: [OpenWrt-Devel] [PATCH] comgt-ncm: Add possibility to choose PDP context type

2015-10-07 Thread Sami Olmari
I suspect too that issue isn't ISP having IPv6 or not, as the error comes instantly in the line... I'd suspect that this option "allows" for IPv6 to be used, does it fail if no IPv6 is available (in IPV4V6) or not is issue for further time... So does diffirent NCM-devices possibly have diffirent op

Re: [OpenWrt-Devel] [PATCH] comgt-ncm: Add possibility to choose PDP context type

2015-10-07 Thread Lars Melin
On 2015-10-07 04:12, Andreas Fritiofson wrote: I see the exact same error in the logs and I've verified that E3276 doesn't accept IPV6 (or IPV4V6, or ... ) as the second parameter by manually echo -e 'AT+CGDCONT=1,"IPV6","internet.tele2.se ",""\r' > /dev/cdc-wdm0. Only

Re: [OpenWrt-Devel] [PATCH] comgt-ncm: Add possibility to choose PDP context type

2015-10-06 Thread Andreas Fritiofson
>> Date: Sun, 20 Sep 2015 23:52:32 +0300 >> Subject: Re: [OpenWrt-Devel] [PATCH] comgt-ncm: Add possibility to >> choose PDP context type >> From: sami at olmari.fi >> To: malaakso at elisanet.fi >> CC: openwrt-devel at lists.openwrt.org >> >> Thi

Re: [OpenWrt-Devel] [PATCH] comgt-ncm: Add possibility to choose PDP context type

2015-09-20 Thread Matti Laakso
> Date: Sun, 20 Sep 2015 23:52:32 +0300 > Subject: Re: [OpenWrt-Devel] [PATCH] comgt-ncm: Add possibility to > choose PDP context type > From: s...@olmari.fi > To: malaa...@elisanet.fi > CC: openwrt-devel@lists.openwrt.org > > This is not working with Huawei E32

Re: [OpenWrt-Devel] [PATCH] comgt-ncm: Add possibility to choose PDP context type

2015-09-20 Thread Sami Olmari
This is not working with Huawei E3276, only "option pdptype 'IP' works, IPV6 and IPV4V6... I do not have IPv6 offered from ISP currently, should it matter. At attachment there is clips from the log using each option type, most important clip here, same for IPV4V6 (aka no option set): Sun Sep 20 20

[OpenWrt-Devel] [PATCH] comgt-ncm: Add possibility to choose PDP context type

2015-09-08 Thread Matti Laakso
By setting the option pdptype to IP, IPV6 or IPV4V6 the user can choose the context type between IPv4, IPv6 and dual stack, respectively. The default setting is dual stack, except if option ipv6=0 is specified, in which case IPv4 context is the default. This allows for an out-of-the-box IPv6 suppor

[OpenWrt-Devel] [PATCH] comgt-ncm: add support run via proto wwan

2015-04-22 Thread Aleksandr Kolesnik
Signed-off-by: Aleksandr Kolesnik --- package/network/utils/comgt/files/ncm.sh 2015-04-16 23:59:02.606193538 +0300 +++ package/network/utils/comgt/files/ncm.sh 2015-04-22 14:15:34.0 +0300 @@ -27,6 +27,8 @@ proto_ncm_setup() { local device apn auth username password pincode delay mode

[OpenWrt-Devel] [patch ] comgt-ncm: add support run via proto wwan

2015-04-22 Thread Aleksandr Kolesnik
Signed-off-by: Aleksandr Kolesnik --- package/network/utils/comgt/files/ncm.sh 2015-04-16 23:59:02.606193538 +0300 +++ package/network/utils/comgt/files/ncm.sh 2015-04-22 14:15:34.0 +0300 @@ -27,6 +27,8 @@ proto_ncm_setup() { local device apn auth username password pincode delay mode

Re: [OpenWrt-Devel] [PATCH] comgt: add hso support

2015-02-23 Thread John Crispin
Hi, some comments inline On 22/02/2015 10:19, Cezary Jackiewicz wrote: > Add HSO support to comgt. This is work of Kyklas (see > https://dev.openwrt.org/ticket/6995), tested with Option GTM382. > > Signed-off-by: Cezary Jackiewicz > --- > > diff --git a/package/network/utils/comgt/Makefile >

[OpenWrt-Devel] [PATCH] comgt: add hso support

2015-02-22 Thread Cezary Jackiewicz
Add HSO support to comgt. This is work of Kyklas (see https://dev.openwrt.org/ticket/6995), tested with Option GTM382. Signed-off-by: Cezary Jackiewicz --- diff --git a/package/network/utils/comgt/Makefile b/package/network/utils/comgt/Makefile index 8fcf54e..1e12b68 100644 --- a/package/netwo

[OpenWrt-Devel] [PATCH] comgt: Use TCGETS and TCSETS ioctls for struct termios

2015-02-19 Thread Matti Laakso
When passing struct termios to ioctl TCGETS and TCSETS should be used instead of TCGETA and TCSETA, which are meant for the older struct termio. Should fix https://dev.openwrt.org/ticket/19012 Signed-off-by: Matti Laakso --- package/network/utils/comgt/Makefile | 2 +- .../network

Re: [OpenWrt-Devel] [PATCH] comgt-ncm: Fix NCM protocol

2015-01-28 Thread Matti Laakso
> Date: Wed, 28 Jan 2015 21:39:37 +0100 > From: cezary.jackiew...@gmail.com > > Dnia 2015-01-28, o godz. 18:44:47 > Matti Laakso napisał(a): > > > I'd appreciate if someone with Samsung or Sony-Ericsson modems could > > test this, I was only able to test it with Huawei E3276, E3372 and > > E353.

Re: [OpenWrt-Devel] [PATCH] comgt-ncm: Fix NCM protocol

2015-01-28 Thread Cezary Jackiewicz
Dnia 2015-01-28, o godz. 18:44:47 Matti Laakso napisał(a): > I'd appreciate if someone with Samsung or Sony-Ericsson modems could > test this, I was only able to test it with Huawei E3276, E3372 and > E353. Hi, ndis was tested with e3372 and working? On which version of firmware/WebUI? -- Pozd

[OpenWrt-Devel] [PATCH] comgt-ncm: Fix NCM protocol

2015-01-28 Thread Matti Laakso
This patch fixes the NCM protocol by adding the missing ifname to the netifd script and changing one unintended "send" statement to "print" in runcommand.gcom. It also cleans up logging and makes the manufacturer names case-insensitive. Furthermore, comgt-ncm should not depend on the USB-serial-rel

Re: [OpenWrt-Devel] [PATCH] comgt: Allow using non-TTY devices

2015-01-16 Thread John Crispin
On 13/01/2015 18:00, Matti Laakso wrote: > Some Huawei mobile broadband sticks utilizing the NCM protocol expose > the control channel as a cdc-wdm device node instead of a virtual TTY. > This device node does not support the terminal ioctls. This patch > adds a check whether the provided device

[OpenWrt-Devel] [PATCH] comgt: Allow using non-TTY devices

2015-01-13 Thread Matti Laakso
Some Huawei mobile broadband sticks utilizing the NCM protocol expose the control channel as a cdc-wdm device node instead of a virtual TTY. This device node does not support the terminal ioctls. This patch adds a check whether the provided device is a TTY or not and does not attempt to use the ter

Re: [OpenWrt-Devel] [PATCH] Comgt: Add option to ignore ioctl errors

2015-01-08 Thread John Crispin
On 29/12/2014 17:54, Matti Laakso wrote: > Some Huawei mobile broadband sticks utilizing the NCM protocol expose > the control channel as a cdc-wdm device node instead of a virtual serial > port. This device node does not support the serial port ioctls. Add command > line option to not check whet

[OpenWrt-Devel] [PATCH] Comgt: Add option to ignore ioctl errors

2014-12-29 Thread Matti Laakso
Some Huawei mobile broadband sticks utilizing the NCM protocol expose the control channel as a cdc-wdm device node instead of a virtual serial port. This device node does not support the serial port ioctls. Add command line option to not check whether ioctls are successful so that AT commands can a

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-11-17 Thread Matti Laakso
Hi Sami, Having an E3276 would be nice for developing this further. I have already a patch for comgt ready which allows it to be used with non-TTY device nodes (i.e., /dev/cdc-wdmX), I just need to test it before sending. Then I could dig further into netifd integration. Matti___

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-11-16 Thread Sami Olmari
Matti, would you like to have the Huawei e3276 for debugging this after I get it back? Yours to keep if you want to :) Mine skills is kinda not there with this, but need for working NCM is more than needed for me :) Sami Olmari On Sat, Nov 15, 2014 at 6:31 AM, John Crispin wrote: > no and i wil

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-11-09 Thread Matti Laakso
Hi Jamie, > On Thu, Oct 30, 2014 at 12:58:40PM +0200, Matti Laakso wrote: > > Hi Sami, > > > > >Using John's version: > > > > > >config interface 'wan' > > > option proto 'wwan' > > > option apn 'opengate' > > ># option device '/dev/cdc-wdm0' (with or without commenting this

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-11-05 Thread Sami Olmari
Shouldn't there be declared "proto_config_add_string ifname" somewhere at the /lib/netifd/proto/ncm.sh ? and use that as argument somewhere in here: echo "ncm[$$]" "Connected, starting DHCP" proto_init_update "*" 1 proto_send_update "$interface" And something similar for t

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-11-02 Thread Jamie Lenehan
On Thu, Oct 30, 2014 at 12:58:40PM +0200, Matti Laakso wrote: > Hi Sami, > > >Using John's version: > > > >config interface 'wan' > > option proto 'wwan' > > option apn 'opengate' > ># option device '/dev/cdc-wdm0' (with or without commenting this) > > > >Does absolutely noth

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-30 Thread Sami Olmari
okay: config interface 'wan' option ifname 'wwan0' option proto 'ncm' option apn 'opengate' option device '/dev/cdc-wdm0' Thu Oct 30 21:06:18 2014 daemon.notice netifd: wan (2446): comgt 21:06:18 -> -- Error Report -- Thu Oct 30 21:06:18 2014 daemon.notice netifd:

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-30 Thread Matti Laakso
Hi Sami, Using John's version: config interface 'wan' option proto 'wwan' option apn 'opengate' # option device '/dev/cdc-wdm0' (with or without commenting this) Does absolutely nothing, nothing in logread... However now when using config interface 'wan' opti

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-29 Thread Sami Olmari
Using John's version: config interface 'wan' option proto 'wwan' option apn 'opengate' # option device '/dev/cdc-wdm0' (with or without commenting this) Does absolutely nothing, nothing in logread... However now when using config interface 'wan' option proto 'ncm'

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-26 Thread John Crispin
*cough* fixed in r43071 On 26/10/2014 15:06, Matti Laakso wrote: > Hi Sami, > >> Well this is what John told me: >> >> "try /dev/cdc-wdm0 as a device or simply do >> >> config interface >> option proto wwan >> option apn opengate >> >> the new wwan proto will automagically detect your needed prot

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-26 Thread Matti Laakso
Hi Sami, > Well this is what John told me: > > "try /dev/cdc-wdm0 as a device or simply do > > config interface > option proto wwan > option apn opengate > > the new wwan proto will automagically detect your needed prot and device" > > > I had also tried this and variations, but same resuls: > > c

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-24 Thread Bjørn Mork
Sami Olmari writes: > Well this is what John told me: > > "try /dev/cdc-wdm0 as a device or simply do > > config interface > option proto wwan > option apn opengate > > the new wwan proto will automagically detect your needed prot and device" Ah, right. So I am only confusing things with my wil

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-24 Thread Sami Olmari
Well this is what John told me: "try /dev/cdc-wdm0 as a device or simply do config interface option proto wwan option apn opengate the new wwan proto will automagically detect your needed prot and device" I had also tried this and variations, but same resuls: config interface 'wan' op

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-23 Thread Bjørn Mork
Sami Olmari writes: > option proto 'wwan' I don't know much about how this is supposed to work (don't have any Huawei NCM modem), but I do see this in the patch posted earlier in this thread: > diff --git a/package/network/utils/comgt/files/3g.usb > b/package/network/utils/comgt/files/

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-22 Thread Sami Olmari
I wonder would this thread reach most of interested persons, not just John whom I've talked with plenty :) I have Huawei e3276, latest openwrt trunk, used kernel 3.14 (ar71xx target), I have chosen proper drivers and comgt-ncm etc, but for any reason when wan is set to assumedly proper settings, l

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-09 Thread Bjørn Mork
John Crispin writes: > i am currently using a vodafone k5105 which is a huawei rebrand. at > 150 euro its very expensive. any other good ones ? I find it impossible to recommend any specific modems because important firmware features like MBIM depend on both operator branding and geographical ta

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-09 Thread John Crispin
On 09/10/2014 14:58, Bjørn Mork wrote: > John Crispin writes: > >> ok, i am currently bumping some targets to v3.17. lets assume it >> is broken for < 3.16 and hope 3.17 works. >> >> NCM seems to be broken by design and only a container as each >> dongle apparently uses its own AT magic. at le

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-09 Thread John Crispin
On 09/10/2014 15:35, Conor O'Gorman wrote: > On 09/10/14 13:25, John Crispin wrote: >> >> personally i have been using mbim since i wrote umbim and it >> just works :) >> > > Ah, nice. I have some similar code, but in lua, from the json > files. It's only a management protocol. > > Note that

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-09 Thread Bjørn Mork
"Conor O'Gorman" writes: > On 09/10/14 13:25, John Crispin wrote: >> >> personally i have been using mbim since i wrote umbim and it just works :) >> > > Ah, nice. I have some similar code, but in lua, from the json > files. It's only a management protocol. > > Note that MBIM uses the NCM code for

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-09 Thread Conor O'Gorman
On 09/10/14 13:25, John Crispin wrote: personally i have been using mbim since i wrote umbim and it just works :) Ah, nice. I have some similar code, but in lua, from the json files. It's only a management protocol. Note that MBIM uses the NCM code for the bulk packet data, so it's packet

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-09 Thread Bjørn Mork
John Crispin writes: > ok, i am currently bumping some targets to v3.17. lets assume it is > broken for < 3.16 and hope 3.17 works. > > NCM seems to be broken by design and only a container as each dongle > apparently uses its own AT magic. at least between Motorola, Sony and > Huawei they are to

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-09 Thread John Crispin
On 09/10/2014 14:14, Bjørn Mork wrote: > "Conor O'Gorman" writes: >> On 08/10/14 11:00, John Crispin wrote: >>> the e3267 that sami sent me works with this proto, but i am >>> failing to get a DHCP addr. could someone with a ncm dongle >>> please try this patch on top of latest trunk please and

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-09 Thread Bjørn Mork
"Conor O'Gorman" writes: > On 08/10/14 11:00, John Crispin wrote: >> the e3267 that sami sent me works with this proto, but i am failing to >> get a DHCP addr. could someone with a ncm dongle please try this patch >> on top of latest trunk please and tell me if they are getting a dhcp addr ? > > I

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-09 Thread Conor O'Gorman
On 08/10/14 17:42, John Crispin wrote: On 08/10/2014 17:27, Conor O'Gorman wrote: On 08/10/14 11:00, John Crispin wrote: the e3267 that sami sent me works with this proto, but i am failing to get a DHCP addr. could someone with a ncm dongle please try this patch on top of latest trunk please

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-08 Thread John Crispin
hi conor On 08/10/2014 17:27, Conor O'Gorman wrote: > > > On 08/10/14 11:00, John Crispin wrote: >> the e3267 that sami sent me works with this proto, but i am >> failing to get a DHCP addr. could someone with a ncm dongle >> please try this patch on top of latest trunk please and tell me >> if

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-08 Thread Conor O'Gorman
On 08/10/14 11:00, John Crispin wrote: the e3267 that sami sent me works with this proto, but i am failing to get a DHCP addr. could someone with a ncm dongle please try this patch on top of latest trunk please and tell me if they are getting a dhcp addr ? I had a similar problem with a Huawe

Re: [OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-08 Thread John Crispin
the e3267 that sami sent me works with this proto, but i am failing to get a DHCP addr. could someone with a ncm dongle please try this patch on top of latest trunk please and tell me if they are getting a dhcp addr ? On 08/10/2014 05:17, John Crispin wrote: > From: Matti Laakso > > Signed-off-b

[OpenWrt-Devel] [PATCH] comgt: add ncm proto support

2014-10-08 Thread John Crispin
From: Matti Laakso Signed-off-by: Matti Laakso --- package/network/utils/comgt/Makefile | 15 ++ package/network/utils/comgt/files/3g.usb |2 +- package/network/utils/comgt/files/ncm.json| 49 +++ package/network/utils/comgt/files/ncm.sh | 156

Re: [OpenWrt-Devel] [PATCH] [comgt] add support for defining dial number in config file

2014-03-29 Thread Luiz Angelo Daros de Luca
Do I need to improve anything to get commited? --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2014-03-17 18:13 GMT-03:00 : > From: Luiz Angelo Daros de Luca > > Signed-off-by: Luiz Angelo Daros de Luca > --- > package/network/utils/comgt/Makefile | 2 +- > packag

[OpenWrt-Devel] [PATCH] [comgt] add support for defining dial number in config file

2014-03-17 Thread luizluca
From: Luiz Angelo Daros de Luca Signed-off-by: Luiz Angelo Daros de Luca --- package/network/utils/comgt/Makefile | 2 +- package/network/utils/comgt/files/3g.chat | 2 +- package/network/utils/comgt/files/3g.sh | 9 - 3 files changed, 10 insertions(+), 3 deletions(-) diff --git

[OpenWrt-Devel] [PATCH] [comgt] add support for defining dial number in config file

2014-03-17 Thread luizluca
Some telcoms requires specific dial number in order to connect 3g dongles. Currently, the only possible way is to edit /etc/chatscripts/3g.chat, which is not very userfriendly. This patch adds the optional option "dialnumber" to /etc/config/network for 3g. If provided, it will replace the default

Re: [OpenWrt-Devel] [PATCH] comgt

2012-07-12 Thread Vasilis Tsiligiannis
ìm=ªíÛMûێó{2d$àT*'µéíN¶§±÷«w(v)àm«뀨ž×§µ<©z×±·úej)܅ªìz___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] comgt

2010-07-13 Thread Michael Grigorev
- fixed use CGREG for registration checking - fixed typo in builtin script APN (bug ID 1610044). 2010/7/13 Daniel A. Nagy > What exactly does this patch do/achieve? -- With the best regards, Michael Grigorev NVSta

Re: [OpenWrt-Devel] [PATCH] comgt

2010-07-13 Thread Daniel A. Nagy
What exactly does this patch do/achieve? Michael Grigorev wrote: > Signed-off-by: Michael Grigorev > > > Index: package/comgt/patches/004-CHANGELOG.diff > === > --- package/comgt/patches/004-CHANGELOG.

[OpenWrt-Devel] [PATCH] comgt

2010-07-12 Thread Michael Grigorev
Signed-off-by: Michael Grigorev Index: package/comgt/patches/004-CHANGELOG.diff === --- package/comgt/patches/004-CHANGELOG.diff (revision 0) +++ package/comgt/patches/004-CHANGELOG.diff (revision 0) @@ -0,0 +1,18 @@ +--- a/CHANGELOG