openwrtv3/package/network/utils
Cezary Jackiewicz 862e7fb7b3 gcom: Fix 'mode' option for ncm
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 -> AT
Fri Nov  4 19:07:52 2016 daemon.notice netifd: wan (2060): sending -> ATZ
Fri Nov  4 19:07:53 2016 daemon.notice netifd: wan (2060): sending -> ATQ0
Fri Nov  4 19:07:53 2016 daemon.notice netifd: wan (2060): sending -> ATV1
Fri Nov  4 19:07:54 2016 daemon.notice netifd: wan (2060): sending -> ATE1
Fri Nov  4 19:07:55 2016 daemon.notice netifd: wan (2060): sending -> ATS0=0
Fri Nov  4 19:07:55 2016 daemon.notice netifd: wan (2060): sending -> AT+CGDCONT=1,"IP","internet"
Fri Nov  4 19:07:57 2016 daemon.notice netifd: wan (2060): sending -> 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 -> AT
Fri Nov  4 19:11:01 2016 daemon.notice netifd: wan (2539): sending -> ATZ
Fri Nov  4 19:11:02 2016 daemon.notice netifd: wan (2539): sending -> ATQ0
Fri Nov  4 19:11:03 2016 daemon.notice netifd: wan (2539): sending -> ATV1
Fri Nov  4 19:11:03 2016 daemon.notice netifd: wan (2539): sending -> ATE1
Fri Nov  4 19:11:04 2016 daemon.notice netifd: wan (2539): sending -> ATS0=0
Fri Nov  4 19:11:05 2016 daemon.notice netifd: wan (2539): sending -> AT+CGDCONT=1,"IP","internet"
Fri Nov  4 19:11:06 2016 daemon.notice netifd: wan (2539): sending -> AT^SYSCFGEX="03",3fffffff,2,4,7fffffffffffffff,,
Fri Nov  4 19:11:07 2016 daemon.notice netifd: wan (2539): sending -> 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 <cezary@eko.one.pl>
2016-11-08 05:49:58 +01:00
..
arptables arptables: fix musl build issues 2015-03-29 04:29:56 +00:00
comgt gcom: Fix 'mode' option for ncm 2016-11-08 05:49:58 +01:00
conntrack-tools treewide: replace jow@openwrt.org with jo@mein.io 2016-06-07 11:42:52 +02:00
curl curl: update to version 7.50.3 2016-09-24 13:48:05 +02:00
dante dante: remove -D_GNU_SOURCE to fix build errors with current glibc 2016-08-30 12:12:34 +02:00
ebtables ebtables: fix build with glibc 2016-08-30 12:12:34 +02:00
iftop iftop: fix mac address display 2016-07-11 14:19:47 +02:00
iperf iperf: used an updated renamed tarball instead of main upstream URL 2016-10-17 11:16:31 +02:00
iperf3 iperf3: update to version 3.1.3 2016-07-24 15:05:50 +02:00
iproute2 iproute2: rename ip to ip-tiny and let both ip-tiny and ip-full provide "ip" 2016-11-02 02:33:30 +01:00
ipset package/network/utils/ipset: Update to 6.30 2016-10-27 13:16:50 +02:00
iptables iptables: using external kernel tree should not alter patch behaviour. 2016-02-07 13:29:27 +00:00
iputils treewide: replace jow@openwrt.org with jo@mein.io 2016-06-07 11:42:52 +02:00
iw treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
iwcap network/utils/iwcap: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
iwinfo source: Switch to xz for packages and tools where possible 2016-10-06 12:16:56 +02:00
linux-atm linux-atm: activate format security checks 2016-02-25 22:00:34 +00:00
maccalc network/utils/maccalc: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
nftables source: Switch to xz for packages and tools where possible 2016-10-06 12:16:56 +02:00
owipcalc network/utils/owipcalc: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
resolveip network/utils/resolveip: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
rssileds network/utils/rssileds: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
tcpdump treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
umbim mbim: add metric, defaultroute and peerdns options for mbim protocol 2016-10-26 12:37:46 +02:00
uqmi qmi: add metric, defaultroute and peerdns options for qmi protocol 2016-10-26 12:37:46 +02:00
wireless-tools treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
wpan-tools packages/network/utils/wpan-tools: Update to 0.7 2016-10-15 11:36:50 +02:00
wwan wwan: rename data files 2016-10-26 15:16:51 +02:00
xtables-addons xtables-addons: add missing dependency 2016-06-09 15:53:43 +02:00