<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/package/network/utils/comgt/files, branch master</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>comgt: increase timeout on runcommands</title>
<updated>2018-08-29T06:34:10+00:00</updated>
<author>
<name>Giuseppe Lippolis</name>
<email>giu.lippolis@gmail.com</email>
</author>
<published>2018-08-26T08:52:27+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=774d7fc9f2897d7b33ef15ddaa3522531eb85970'/>
<id>774d7fc9f2897d7b33ef15ddaa3522531eb85970</id>
<content type='text'>
Some combination of modem/wireless operator requires more time to
execute the commands.
Tested on DWR-512 embedded wwan modem and italian operator iliad (new
virtual operator).

Signed-off-by: Giuseppe Lippolis &lt;giu.lippolis@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some combination of modem/wireless operator requires more time to
execute the commands.
Tested on DWR-512 embedded wwan modem and italian operator iliad (new
virtual operator).

Signed-off-by: Giuseppe Lippolis &lt;giu.lippolis@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: fix shellscript syntax errors/typos</title>
<updated>2017-09-13T06:07:54+00:00</updated>
<author>
<name>Lorenzo Santina</name>
<email>lorenzo.santina@edu.unito.it</email>
</author>
<published>2017-09-11T13:27:53+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=fd84ecda7d3bfebb4237110b8efe2ab2713ea8e1'/>
<id>fd84ecda7d3bfebb4237110b8efe2ab2713ea8e1</id>
<content type='text'>
Fix multiple syntax errors in shelscripts (of packages only)
These errors were causing many conditions to not working properly

Signed-off-by: Lorenzo Santina &lt;lorenzo.santina@edu.unito.it&gt;
[increase PKG_RELEASE, drop command substitution from directip.sh]
Signed-off-by: Mathias Kresin &lt;dev@kresin.em&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix multiple syntax errors in shelscripts (of packages only)
These errors were causing many conditions to not working properly

Signed-off-by: Lorenzo Santina &lt;lorenzo.santina@edu.unito.it&gt;
[increase PKG_RELEASE, drop command substitution from directip.sh]
Signed-off-by: Mathias Kresin &lt;dev@kresin.em&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>DWR-512: adding wwan support for the dwr-512 3G modem</title>
<updated>2017-05-25T17:01:08+00:00</updated>
<author>
<name>Giuseppe Lippolis</name>
<email>giu.lippolis@gmail.com</email>
</author>
<published>2016-12-22T21:12:44+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=4ba2f4dc6357e85a8dbc98266a14197fb058159c'/>
<id>4ba2f4dc6357e85a8dbc98266a14197fb058159c</id>
<content type='text'>
This PR allow the 3G modem embedded in the DWR-512 to be managed
by the wwan-ncm scripts. The modem will use the usb-option and
usb-cdc-ether drivers.
The DWR-512 DT is updated accordingly.

Signed-off-by: Giuseppe Lippolis &lt;giu.lippolis@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR allow the 3G modem embedded in the DWR-512 to be managed
by the wwan-ncm scripts. The modem will use the usb-option and
usb-cdc-ether drivers.
The DWR-512 DT is updated accordingly.

Signed-off-by: Giuseppe Lippolis &lt;giu.lippolis@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>comgt-3g: enable modem before to setpin</title>
<updated>2017-05-18T05:07:00+00:00</updated>
<author>
<name>Giuseppe Lippolis</name>
<email>giu.lippolis@gmail.com</email>
</author>
<published>2017-05-09T18:23:35+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=db776c01e1202307b78a4bb757f78db5ea48e27e'/>
<id>db776c01e1202307b78a4bb757f78db5ea48e27e</id>
<content type='text'>
some modems needs to be enabled with CFUN=1 before to set the pin

Signed-off-by: Giuseppe Lippolis &lt;giu.lippolis@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
some modems needs to be enabled with CFUN=1 before to set the pin

Signed-off-by: Giuseppe Lippolis &lt;giu.lippolis@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>comgt-ncm: fix typo Fix typo in ncm.sh. Resolves:</title>
<updated>2016-12-22T14:02:35+00:00</updated>
<author>
<name>Cezary Jackiewicz</name>
<email>cezary@eko.one.pl</email>
</author>
<published>2016-12-21T17:02:53+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=83eca5d8b7a316cad264e46b53aca591d6f8ea40'/>
<id>83eca5d8b7a316cad264e46b53aca591d6f8ea40</id>
<content type='text'>
Wed Dec 21 09:55:54 2016 daemon.notice netifd: wan (4455): ./ncm.sh: eval: line 1: =IP: not found

Signed-off-by: Cezary Jackiewicz &lt;cezary@eko.one.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Wed Dec 21 09:55:54 2016 daemon.notice netifd: wan (4455): ./ncm.sh: eval: line 1: =IP: not found

Signed-off-by: Cezary Jackiewicz &lt;cezary@eko.one.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>comgt: add support of using device symlinks.</title>
<updated>2016-12-20T08:35:35+00:00</updated>
<author>
<name>Nickolay Ledovskikh</name>
<email>nledovskikh@gmail.com</email>
</author>
<published>2016-12-16T11:14:05+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=13ab314b0b4a8106c8325f5bdf1232b6896f637f'/>
<id>13ab314b0b4a8106c8325f5bdf1232b6896f637f</id>
<content type='text'>
It's useful when using multiple usb devices that should be bound to
certain usb ports. Symlinks are created by hotplug handlers.

Signed-off-by: Nickolay Ledovskikh &lt;nledovskikh@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's useful when using multiple usb devices that should be bound to
certain usb ports. Symlinks are created by hotplug handlers.

Signed-off-by: Nickolay Ledovskikh &lt;nledovskikh@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>comgt-ncm: Add support for specifying profile index</title>
<updated>2016-12-14T09:37:01+00:00</updated>
<author>
<name>Matti Laakso</name>
<email>malaakso@elisanet.fi</email>
</author>
<published>2016-12-11T15:28:52+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=5bd3b9dfc04cce9a630539a0db090f65775996f5'/>
<id>5bd3b9dfc04cce9a630539a0db090f65775996f5</id>
<content type='text'>
Add support for specifying a call profile index instead of APN. A
specific index different from 1 must be used for some service
provider and modem combinations.

In addition, change the manufacturer detection to use the standard
AT+CGMI command, which produces more predictable output than ATI,
remove the redundant ipv6 option, since it is less ambiguous to
directly specify the PDP context type with mobile connections, and
fix missing device during teardown when using ncm through the wwan
proto.

Signed-off-by: Matti Laakso &lt;malaakso@elisanet.fi&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for specifying a call profile index instead of APN. A
specific index different from 1 must be used for some service
provider and modem combinations.

In addition, change the manufacturer detection to use the standard
AT+CGMI command, which produces more predictable output than ATI,
remove the redundant ipv6 option, since it is less ambiguous to
directly specify the PDP context type with mobile connections, and
fix missing device during teardown when using ncm through the wwan
proto.

Signed-off-by: Matti Laakso &lt;malaakso@elisanet.fi&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gcom: Fix  'mode' option for ncm</title>
<updated>2016-11-08T04:49:58+00:00</updated>
<author>
<name>Cezary Jackiewicz</name>
<email>cezary.jackiewicz@gmail.com</email>
</author>
<published>2016-11-04T18:18:42+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=862e7fb7b31fa0fffeeecd51dd852fce91db2b47'/>
<id>862e7fb7b31fa0fffeeecd51dd852fce91db2b47</id>
<content type='text'>
For Huawei devices like E3372 proper command for set lte mode is:

AT^SYSCFGEX="03",3fffffff,2,4,7fffffffffffffff,,

Eval is required for proper quotation.

Without this fix:

Fri Nov  4 19:07:49 2016 daemon.notice netifd: Interface 'wan' is setting up now
Fri Nov  4 19:07:52 2016 daemon.notice netifd: wan (2060): sending -&gt; AT
Fri Nov  4 19:07:52 2016 daemon.notice netifd: wan (2060): sending -&gt; ATZ
Fri Nov  4 19:07:53 2016 daemon.notice netifd: wan (2060): sending -&gt; ATQ0
Fri Nov  4 19:07:53 2016 daemon.notice netifd: wan (2060): sending -&gt; ATV1
Fri Nov  4 19:07:54 2016 daemon.notice netifd: wan (2060): sending -&gt; ATE1
Fri Nov  4 19:07:55 2016 daemon.notice netifd: wan (2060): sending -&gt; ATS0=0
Fri Nov  4 19:07:55 2016 daemon.notice netifd: wan (2060): sending -&gt; AT+CGDCONT=1,"IP","internet"
Fri Nov  4 19:07:57 2016 daemon.notice netifd: wan (2060): sending -&gt; AT^SYSCFGEX=\"03\",3fffffff,2,4,7fffffffffffffff,,
Fri Nov  4 19:07:58 2016 daemon.notice netifd: wan (2060): Error running AT-command
Fri Nov  4 19:07:58 2016 daemon.notice netifd: wan (2060): Failed to set operating mode
Fri Nov  4 19:07:58 2016 daemon.notice netifd: wan (2092): Stopping network
...

With this fix:

Fri Nov  4 19:10:59 2016 daemon.notice netifd: Interface 'wan' is setting up now
Fri Nov  4 19:11:01 2016 daemon.notice netifd: wan (2539): sending -&gt; AT
Fri Nov  4 19:11:01 2016 daemon.notice netifd: wan (2539): sending -&gt; ATZ
Fri Nov  4 19:11:02 2016 daemon.notice netifd: wan (2539): sending -&gt; ATQ0
Fri Nov  4 19:11:03 2016 daemon.notice netifd: wan (2539): sending -&gt; ATV1
Fri Nov  4 19:11:03 2016 daemon.notice netifd: wan (2539): sending -&gt; ATE1
Fri Nov  4 19:11:04 2016 daemon.notice netifd: wan (2539): sending -&gt; ATS0=0
Fri Nov  4 19:11:05 2016 daemon.notice netifd: wan (2539): sending -&gt; AT+CGDCONT=1,"IP","internet"
Fri Nov  4 19:11:06 2016 daemon.notice netifd: wan (2539): sending -&gt; AT^SYSCFGEX="03",3fffffff,2,4,7fffffffffffffff,,
Fri Nov  4 19:11:07 2016 daemon.notice netifd: wan (2539): sending -&gt; AT^NDISDUP=1,1,"internet"
Fri Nov  4 19:11:08 2016 daemon.notice netifd: wan (2539): Connected, starting DHCP on wwan0
Fri Nov  4 19:11:08 2016 daemon.notice netifd: Interface 'wan' is now up
Fri Nov  4 19:11:08 2016 daemon.notice netifd: Network device 'wwan0' link is up
Fri Nov  4 19:11:08 2016 daemon.notice netifd: Network alias 'wwan0' link is up
Fri Nov  4 19:11:08 2016 daemon.notice netifd: Interface 'wan_4' is enabled
Fri Nov  4 19:11:08 2016 daemon.notice netifd: Interface 'wan_4' has link connectivity
Fri Nov  4 19:11:08 2016 daemon.notice netifd: Interface 'wan_4' is setting up now
...

Signed-off-by: Cezary Jackiewicz &lt;cezary@eko.one.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For Huawei devices like E3372 proper command for set lte mode is:

AT^SYSCFGEX="03",3fffffff,2,4,7fffffffffffffff,,

Eval is required for proper quotation.

Without this fix:

Fri Nov  4 19:07:49 2016 daemon.notice netifd: Interface 'wan' is setting up now
Fri Nov  4 19:07:52 2016 daemon.notice netifd: wan (2060): sending -&gt; AT
Fri Nov  4 19:07:52 2016 daemon.notice netifd: wan (2060): sending -&gt; ATZ
Fri Nov  4 19:07:53 2016 daemon.notice netifd: wan (2060): sending -&gt; ATQ0
Fri Nov  4 19:07:53 2016 daemon.notice netifd: wan (2060): sending -&gt; ATV1
Fri Nov  4 19:07:54 2016 daemon.notice netifd: wan (2060): sending -&gt; ATE1
Fri Nov  4 19:07:55 2016 daemon.notice netifd: wan (2060): sending -&gt; ATS0=0
Fri Nov  4 19:07:55 2016 daemon.notice netifd: wan (2060): sending -&gt; AT+CGDCONT=1,"IP","internet"
Fri Nov  4 19:07:57 2016 daemon.notice netifd: wan (2060): sending -&gt; AT^SYSCFGEX=\"03\",3fffffff,2,4,7fffffffffffffff,,
Fri Nov  4 19:07:58 2016 daemon.notice netifd: wan (2060): Error running AT-command
Fri Nov  4 19:07:58 2016 daemon.notice netifd: wan (2060): Failed to set operating mode
Fri Nov  4 19:07:58 2016 daemon.notice netifd: wan (2092): Stopping network
...

With this fix:

Fri Nov  4 19:10:59 2016 daemon.notice netifd: Interface 'wan' is setting up now
Fri Nov  4 19:11:01 2016 daemon.notice netifd: wan (2539): sending -&gt; AT
Fri Nov  4 19:11:01 2016 daemon.notice netifd: wan (2539): sending -&gt; ATZ
Fri Nov  4 19:11:02 2016 daemon.notice netifd: wan (2539): sending -&gt; ATQ0
Fri Nov  4 19:11:03 2016 daemon.notice netifd: wan (2539): sending -&gt; ATV1
Fri Nov  4 19:11:03 2016 daemon.notice netifd: wan (2539): sending -&gt; ATE1
Fri Nov  4 19:11:04 2016 daemon.notice netifd: wan (2539): sending -&gt; ATS0=0
Fri Nov  4 19:11:05 2016 daemon.notice netifd: wan (2539): sending -&gt; AT+CGDCONT=1,"IP","internet"
Fri Nov  4 19:11:06 2016 daemon.notice netifd: wan (2539): sending -&gt; AT^SYSCFGEX="03",3fffffff,2,4,7fffffffffffffff,,
Fri Nov  4 19:11:07 2016 daemon.notice netifd: wan (2539): sending -&gt; AT^NDISDUP=1,1,"internet"
Fri Nov  4 19:11:08 2016 daemon.notice netifd: wan (2539): Connected, starting DHCP on wwan0
Fri Nov  4 19:11:08 2016 daemon.notice netifd: Interface 'wan' is now up
Fri Nov  4 19:11:08 2016 daemon.notice netifd: Network device 'wwan0' link is up
Fri Nov  4 19:11:08 2016 daemon.notice netifd: Network alias 'wwan0' link is up
Fri Nov  4 19:11:08 2016 daemon.notice netifd: Interface 'wan_4' is enabled
Fri Nov  4 19:11:08 2016 daemon.notice netifd: Interface 'wan_4' has link connectivity
Fri Nov  4 19:11:08 2016 daemon.notice netifd: Interface 'wan_4' is setting up now
...

Signed-off-by: Cezary Jackiewicz &lt;cezary@eko.one.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>comgt: add metric, defaultroute and peerdns options for directip protocol</title>
<updated>2016-10-26T10:37:46+00:00</updated>
<author>
<name>Marcin Jurkowski</name>
<email>marcin1j@gmail.com</email>
</author>
<published>2016-10-17T00:39:08+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=72eb2b8e22b92839b2e5bb0db86eb8be27790a72'/>
<id>72eb2b8e22b92839b2e5bb0db86eb8be27790a72</id>
<content type='text'>
Adds generic network options for directip protocol dynamic interfaces
as suggested by Felix in
https://lists.openwrt.org/pipermail/openwrt-devel/2016-February/039794.html.

This depends on netifd patch https://patchwork.ozlabs.org/patch/686820/.

Signed-off-by: Marcin Jurkowski &lt;marcin1j@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds generic network options for directip protocol dynamic interfaces
as suggested by Felix in
https://lists.openwrt.org/pipermail/openwrt-devel/2016-February/039794.html.

This depends on netifd patch https://patchwork.ozlabs.org/patch/686820/.

Signed-off-by: Marcin Jurkowski &lt;marcin1j@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>comgt: add metric, defaultroute and peerdns options for ncm protocol</title>
<updated>2016-10-26T10:37:46+00:00</updated>
<author>
<name>Marcin Jurkowski</name>
<email>marcin1j@gmail.com</email>
</author>
<published>2016-10-17T00:38:42+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=c560d25d19bd5a9412a4672cacf2a9f2ed601897'/>
<id>c560d25d19bd5a9412a4672cacf2a9f2ed601897</id>
<content type='text'>
Adds generic network options for ncm protocol dynamic interfaces
as suggested by Felix in
http://lists.openwrt.org/pipermail/openwrt-devel/2016-February/039794.html.

This depends on netifd patch https://patchwork.ozlabs.org/patch/686820/.

Signed-off-by: Marcin Jurkowski &lt;marcin1j@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds generic network options for ncm protocol dynamic interfaces
as suggested by Felix in
http://lists.openwrt.org/pipermail/openwrt-devel/2016-February/039794.html.

This depends on netifd patch https://patchwork.ozlabs.org/patch/686820/.

Signed-off-by: Marcin Jurkowski &lt;marcin1j@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
