Compare commits

..

193 Commits

Author SHA1 Message Date
Jonas Höglund
fd29a10221 Voice client depends on asterisk13 2017-05-18 14:34:40 +02:00
Alex Oprea
c5426947c8 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 85785b9 network: ports: fix logic for skipping clients that are behind a repeater or extender
* 4424ad4 network: client: add number of assoclist
* 0899f2b wireless: iface: add apmode flag
-------------------------------------------------------------------------------
commit 85785b97a1526114ae521beacb1b302c3cb914ab
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-15 19:52:16 +0200

    network: ports: fix logic for skipping clients that are behind a repeater or
    extender

Base directory -> /
 network.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 4424ad493e47cc83e6de99a01e1178bb9324c54e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-15 19:29:57 +0200

    network: client: add number of assoclist

Base directory -> /
 network.c | 25 +++++++++++++++----------
 network.h |  1 +
 2 files changed, 16 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 0899f2beb9fd1d2c8cb0fddc3f926b84e7ad3ba0
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-15 17:33:04 +0200

    wireless: iface: add apmode flag

Base directory -> /
 wireless.c | 9 ++++++++-
 wireless.h | 1 +
 2 files changed, 9 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-15 20:20:06 +02:00
Erik Horemans
9ba824122c new ice-client R4.4.0-RC4 2017-05-15 17:31:38 +02:00
Reidar Cederqvist
fbba796f43 Revert "inteno-netmode: fixed issues with ex400 behind ex400 refs"
This reverts commit aae94da9ec.
2017-05-15 16:00:02 +02:00
Reidar Cederqvist
fafa596b11 inteno-netmode: netmode-firewall-handler: only start client-detect if it is not running 2017-05-15 15:49:27 +02:00
Reidar Cederqvist
aae94da9ec inteno-netmode: fixed issues with ex400 behind ex400 refs 2017-05-15 15:28:09 +02:00
Reidar Cederqvist
a11361c916 inteno-netmodes: fixed bridge when in repeater-mode and autoconfigured 2017-05-15 14:21:12 +02:00
Reidar Cederqvist
4ad5c16568 inteno-netmode: fixed bug whith netmode-conf script for broadcom 2017-05-15 14:21:12 +02:00
Ronny Nilsson
f15adb5d45 Dectmngr2 update. Fix refs #11014 2017-05-15 14:18:20 +02:00
Sukru Senli
8009e2a4c5 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 824a4b2 wificontrol: set internet led state to eok upon success
* e0012e5 broadcom: autochannel: allow autochannel on channel 52 and higher
-------------------------------------------------------------------------------
commit 824a4b2f13f486fbf53b0068ad29f9dd15fae38a
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-15 14:00:10 +0200

    wificontrol: set internet led state to eok upon success

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit e0012e5bb1cd5f3521be7840693bfa548cbde60f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-12 16:52:04 +0200

    broadcom: autochannel: allow autochannel on channel 52 and higher

Base directory -> /
 broadcom.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-05-15 14:00:33 +02:00
Erik Horemans
ce571123d2 new ice-client ice-client 4.4.0-RC3 2017-05-15 11:36:13 +02:00
Erik Horemans
e86df8d3a2 Merge branch 'devel' of public.inteno.se:feed-inteno-packages into devel 2017-05-15 11:35:01 +02:00
Reidar Cederqvist
198a69e0c5 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* e0012e5 broadcom: autochannel: allow autochannel on channel 52 and higher
-------------------------------------------------------------------------------
commit e0012e5bb1cd5f3521be7840693bfa548cbde60f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-12 16:52:04 +0200

    broadcom: autochannel: allow autochannel on channel 52 and higher

Base directory -> /
 broadcom.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-05-12 16:59:45 +02:00
Erik Horemans
8001a7f348 new ice-client 4.4.0-RC2 2017-05-12 15:54:44 +02:00
Erik Horemans
2480972e46 new ice-client 4.4.0-RC2 2017-05-12 11:24:14 +02:00
Erik Horemans
16d6b52429 Merge branch 'devel' of public.inteno.se:feed-inteno-packages into devel 2017-05-12 11:23:12 +02:00
Sukru Senli
aa9381d962 inteno-netmodes: remove mcpd from routed_mtk 2017-05-12 09:56:18 +02:00
Kenneth Johansson
caaec622bb uboot: use correct commit. 2017-05-11 17:57:02 +02:00
Kenneth Johansson
8163932184 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* e3be71a Prevent ethernet to start up by default.
-------------------------------------------------------------------------------
commit e3be71a830289189eaa895cbdcc755e07a7712e0
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-05-11 16:07:59 +0200

    Prevent ethernet to start up by default.

    Add a new command net_init to start ethernet driver.

    This is needed as the setup has all port in the same switch so WAN is
    connected to LAN and dhcp on clients on LAN is getting out to the ISP and
    stealing ip numbers.

Base directory -> /
 board/inteno/ex400/board.c | 27 ++++++++++++++++++++++++---
 1 file changed, 24 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-05-11 16:18:06 +02:00
Reidar Cederqvist
60cef7b8d8 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a814517 wireless: added bsd_record function to router.wireless
* 1a7220c broadcom: added missing struct identifier and fixed baad naming
* 9c1cc54 wireless: added bsd_sta_info call to router.wireless
* 1dc4ca9 wireless: improved coding style on quest_bs_data function
-------------------------------------------------------------------------------
commit a8145170c3978e3dc92da9e0daab56da7ff049b6
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-11 13:57:05 +0200

    wireless: added bsd_record function to router.wireless

Base directory -> /
 broadcom.c | 41 +++++++++++++++++++++++++++++++++++++++++
 broadcom.h | 10 ++++++++++
 wireless.c | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 84 insertions(+)
-------------------------------------------------------------------------------
commit 1a7220cc6ce97488c1fe3a906062c151fecb7766
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-11 13:08:55 +0200

    broadcom: added missing struct identifier and fixed baad naming

Base directory -> /
 broadcom.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 9c1cc54b063a905921676e2ba81cfacee59bd0c7
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-11 10:53:32 +0200

    wireless: added bsd_sta_info call to router.wireless

Base directory -> /
 broadcom.c | 42 ++++++++++++++++++++++++++++++++++++++++++
 broadcom.h | 13 +++++++++++++
 wireless.c | 39 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 94 insertions(+)
-------------------------------------------------------------------------------
commit 1dc4ca9bcab3f6a6595dddc1d6ea11a9fae71625
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-11 10:48:59 +0200

    wireless: improved coding style on quest_bs_data function

Base directory -> /
 wireless.c | 108 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 56 insertions(+), 52 deletions(-)
-------------------------------------------------------------------------------
2017-05-11 14:01:01 +02:00
Sukru Senli
b89cc55127 asterisk: asterisk.hotplug: try ipv6 address to bind if ipv4 is not available 2017-05-10 18:43:53 +02:00
Reidar Cederqvist
70afc90bb0 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 5f3c52b wireless: allow router.wireless bs_data to be called without arguments
-------------------------------------------------------------------------------
commit 5f3c52b8734693f9327aeb873be9ea79ad2e56ab
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-10 15:34:08 +0200

    wireless: allow router.wireless bs_data to be called without arguments

Base directory -> /
 wireless.c | 39 +++++++++++++++++++++++++++++++++++----
 1 file changed, 35 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2017-05-10 15:37:00 +02:00
Alex Oprea
caefdb79d0 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* b823465 broadcom: close forgotten pipe before return
* 0f08419 mediatek: if rate is higher than 800 assume it is 80MHz
* 7bacbfd wireless: 160MHz is not selectable for MTK
* 7f39b8b wificontrol: change led-state depending on network lan count
-------------------------------------------------------------------------------
commit b8234659d7e458208fe856acebcb87c86a6d956d
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-05-09 17:26:23 +0200

    broadcom: close forgotten pipe before return

Base directory -> /
 broadcom.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit 0f08419df0caf1fb4493ee64635afb7dc488ed35
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-09 12:32:52 +0200

    mediatek: if rate is higher than 800 assume it is 80MHz

Base directory -> /
 mediatek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7bacbfdadb751f1e708999693c2635681f1c410d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-09 11:57:05 +0200

    wireless: 160MHz is not selectable for MTK

Base directory -> /
 wireless.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 7f39b8ba41929dfc4ad3f1e105174cead1d3e1f0
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-05 11:01:21 +0200

    wificontrol: change led-state depending on network lan count

Base directory -> /
 wificontrol.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-09 17:42:03 +02:00
Sukru Senli
d7af74ee3d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 0f08419 mediatek: if rate is higher than 800 assume it is 80MHz
* 7bacbfd wireless: 160MHz is not selectable for MTK
* 7f39b8b wificontrol: change led-state depending on network lan count
* cf9f6df broadcom.h: fixed missing semicolon
* 6387179 wireless.c: added bs_data call for brcm and added bs_data to stas call
* 6b9fee8 mediatek.c: added dummy wl_bs_data function refs #11798
* 5c052eb broadcom.c: added wl_bs_data function to refs #11798
-------------------------------------------------------------------------------
commit 0f08419df0caf1fb4493ee64635afb7dc488ed35
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-09 12:32:52 +0200

    mediatek: if rate is higher than 800 assume it is 80MHz

Base directory -> /
 mediatek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7bacbfdadb751f1e708999693c2635681f1c410d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-09 11:57:05 +0200

    wireless: 160MHz is not selectable for MTK

Base directory -> /
 wireless.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 7f39b8ba41929dfc4ad3f1e105174cead1d3e1f0
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-05 11:01:21 +0200

    wificontrol: change led-state depending on network lan count

Base directory -> /
 wificontrol.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit cf9f6dfb7d30ba1c5833a4de62ba117bc1d8c8cc
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:51:56 +0200

    broadcom.h: fixed missing semicolon

Base directory -> /
 broadcom.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 6387179198a4088cd79698cb357ef5b61b3dd391
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:47:14 +0200

    wireless.c: added bs_data call for brcm and added bs_data to stas call

Base directory -> /
 wireless.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 71 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 6b9fee81003da0a7fc0ac8e1bcd95eb55c88b883
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:46:05 +0200

    mediatek.c: added dummy wl_bs_data function refs #11798

Base directory -> /
 mediatek.c |  6 ++++++
 mediatek.h | 10 ++++++++++
 2 files changed, 16 insertions(+)
-------------------------------------------------------------------------------
commit 5c052eb05fc2b6edb9e640d667bc4fdd19421df1
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:39:39 +0200

    broadcom.c: added wl_bs_data function to refs #11798

Base directory -> /
 broadcom.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 broadcom.h | 10 ++++++++++
 2 files changed, 63 insertions(+)
-------------------------------------------------------------------------------
2017-05-09 12:33:11 +02:00
Sukru Senli
1456ae089a Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 7bacbfd wireless: 160MHz is not selectable for MTK
* 7f39b8b wificontrol: change led-state depending on network lan count
* cf9f6df broadcom.h: fixed missing semicolon
* 6387179 wireless.c: added bs_data call for brcm and added bs_data to stas call
* 6b9fee8 mediatek.c: added dummy wl_bs_data function refs #11798
* 5c052eb broadcom.c: added wl_bs_data function to refs #11798
-------------------------------------------------------------------------------
commit 7bacbfdadb751f1e708999693c2635681f1c410d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-09 11:57:05 +0200

    wireless: 160MHz is not selectable for MTK

Base directory -> /
 wireless.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 7f39b8ba41929dfc4ad3f1e105174cead1d3e1f0
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-05 11:01:21 +0200

    wificontrol: change led-state depending on network lan count

Base directory -> /
 wificontrol.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit cf9f6dfb7d30ba1c5833a4de62ba117bc1d8c8cc
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:51:56 +0200

    broadcom.h: fixed missing semicolon

Base directory -> /
 broadcom.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 6387179198a4088cd79698cb357ef5b61b3dd391
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:47:14 +0200

    wireless.c: added bs_data call for brcm and added bs_data to stas call

Base directory -> /
 wireless.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 71 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 6b9fee81003da0a7fc0ac8e1bcd95eb55c88b883
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:46:05 +0200

    mediatek.c: added dummy wl_bs_data function refs #11798

Base directory -> /
 mediatek.c |  6 ++++++
 mediatek.h | 10 ++++++++++
 2 files changed, 16 insertions(+)
-------------------------------------------------------------------------------
commit 5c052eb05fc2b6edb9e640d667bc4fdd19421df1
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:39:39 +0200

    broadcom.c: added wl_bs_data function to refs #11798

Base directory -> /
 broadcom.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 broadcom.h | 10 ++++++++++
 2 files changed, 63 insertions(+)
-------------------------------------------------------------------------------
2017-05-09 11:58:53 +02:00
Jonas Höglund
21c8dde43f iop: always set mirror 2017-05-05 13:05:10 +02:00
Reidar Cederqvist
e67829d4f9 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 7f39b8b wificontrol: change led-state depending on network lan count
-------------------------------------------------------------------------------
commit 7f39b8ba41929dfc4ad3f1e105174cead1d3e1f0
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-05 11:01:21 +0200

    wificontrol: change led-state depending on network lan count

Base directory -> /
 wificontrol.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-05 11:05:27 +02:00
Reidar Cederqvist
81d9ac07f4 inteno-netmodes: added comment to test_ip to minimize confusion 2017-05-05 10:52:21 +02:00
Reidar Cederqvist
23949ba4e6 inteno-netmodes: fixed inverted logic in netmode-firewall-handler 2017-05-05 10:29:36 +02:00
Jonas Höglund
fbd369320c Build ice tarball for mediatek target 2017-05-04 15:05:08 +02:00
Jonas Höglund
623466d5c6 Use http url:s for public packets 2017-05-04 13:32:47 +02:00
Reidar Cederqvist
a8865fbd99 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* cf9f6df broadcom.h: fixed missing semicolon
-------------------------------------------------------------------------------
commit cf9f6dfb7d30ba1c5833a4de62ba117bc1d8c8cc
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:51:56 +0200

    broadcom.h: fixed missing semicolon

Base directory -> /
 broadcom.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-04 12:52:21 +02:00
Reidar Cederqvist
cfd7968c30 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 6387179 wireless.c: added bs_data call for brcm and added bs_data to stas call
* 6b9fee8 mediatek.c: added dummy wl_bs_data function refs #11798
* 5c052eb broadcom.c: added wl_bs_data function to refs #11798
-------------------------------------------------------------------------------
commit 6387179198a4088cd79698cb357ef5b61b3dd391
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:47:14 +0200

    wireless.c: added bs_data call for brcm and added bs_data to stas call

Base directory -> /
 wireless.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 71 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 6b9fee81003da0a7fc0ac8e1bcd95eb55c88b883
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:46:05 +0200

    mediatek.c: added dummy wl_bs_data function refs #11798

Base directory -> /
 mediatek.c |  6 ++++++
 mediatek.h | 10 ++++++++++
 2 files changed, 16 insertions(+)
-------------------------------------------------------------------------------
commit 5c052eb05fc2b6edb9e640d667bc4fdd19421df1
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-05-04 12:39:39 +0200

    broadcom.c: added wl_bs_data function to refs #11798

Base directory -> /
 broadcom.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 broadcom.h | 10 ++++++++++
 2 files changed, 63 insertions(+)
-------------------------------------------------------------------------------
2017-05-04 12:47:42 +02:00
Jonas Höglund
551f3a6a64 Move ated to public.inteno.se 2017-05-04 12:40:09 +02:00
Jonas Höglund
183f52a0e4 Move mkt-bndstrng to public.inteno.se 2017-05-04 12:39:37 +02:00
Jonas Höglund
96e66fc839 Move uboot repo to public.inteno.se 2017-05-04 10:53:34 +02:00
Kenneth Johansson
44bda23f36 u-boot: escape escape escape
File copied to wrong place and with wrong permission.
2017-05-03 21:29:03 +02:00
Kenneth Johansson
64ba407746 New version string used by inteno for u-boot.
We need to have a version that we can change whenever we want to force and
update of u-boot. The u-boot version still exists.

To change the version and force an update change the PKG_RELEASE variable
in package Makefile.

uboot version is now checked on startup and if the installed one is too old
it will be updated.
2017-05-03 20:48:41 +02:00
Reidar Cederqvist
fb648dbec9 inteno-netmode: remove repeater ready flag on public ip 2017-05-03 14:38:28 +02:00
Reidar Cederqvist
4ce6f49284 inteno-netmode: repeater ubus: get_creds: duplicate ifaces if only one radio 2017-05-03 13:24:46 +02:00
Reidar Cederqvist
93b6ece77d inteno-netmode: repeater ubus: get_creds: check for disabled flag 2017-05-03 13:24:13 +02:00
Sukru Senli
af9e90e33d mtk-bndstrg: depend on librt 2017-05-02 16:03:44 +02:00
Sukru Senli
86cccc5764 icwmp-3.0-2017-05-01 2017-05-02 16:01:47 +02:00
Jonas Höglund
2d057b39a9 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* a2aacfd Fix for ubifs mount.
-------------------------------------------------------------------------------
commit a2aacfdc3931a65b11929f685e7ed067bf1fbfa9
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-05-02 13:56:58 +0200

    Fix for ubifs mount.

    Replaying the journal require more memory. Give u-boot 4MB instead of 1MB.

Base directory -> /
 include/configs/ex400.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-02 14:06:17 +02:00
Sukru Senli
a3ce1a1abd mtk-bndstrg: copy correct file 2017-05-02 13:31:13 +02:00
Sukru Senli
c8453cd936 Update feed [ feed_inteno_packages ] package [ mtk-bndstrg ]
-------------------------------------------------------------------------------
* 8a80432 compile with gcc
-------------------------------------------------------------------------------
commit 8a804320c53dead1c9b9f3650cbbc58908c76832
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-05-02 13:28:06 +0200

    compile with gcc

Base directory -> /
 Makefile |   3 ++-
 bndstrg  | Bin 101458 -> 160584 bytes
 2 files changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-02 13:28:21 +02:00
Sukru Senli
ef9a83ad33 mtk-bndstrg: move under Utilities 2017-05-02 13:14:53 +02:00
Sukru Senli
f7539ded45 mtk-bndstrg: remove unnecessary files 2017-05-02 13:05:43 +02:00
Sukru Senli
929fb89e7f mtk-bndstrg: clone correct repo 2017-05-02 13:04:28 +02:00
Alex Oprea
c5259c5870 bndstrg: mediatek band steering preliminary makefile 2017-05-02 12:56:00 +02:00
Reidar Cederqvist
12bd3ec5fd Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ba36f2f wireless.c: autochannel: add channel after successful switch
* 40af409 wireless.c: changed return to ok and added check if channel is dfs
* e4d7270 wireless.c: added return messge to autochannel call
-------------------------------------------------------------------------------
commit ba36f2fa761ba8e64c0dcfe1000dd1bebb8c7e5b
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-27 12:48:49 +0200

    wireless.c: autochannel: add channel after successful switch

Base directory -> /
 broadcom.c | 8 +++-----
 wireless.c | 9 ++++++---
 2 files changed, 9 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 40af409c74bf3c89f246ca394b6c481d33a851f5
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-27 11:35:00 +0200

    wireless.c: changed return to ok and added check if channel is dfs

Base directory -> /
 broadcom.c |  7 +++++++
 wireless.c | 10 ++++------
 2 files changed, 11 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit e4d7270df88c66469e140acd06832f22b5cd2b80
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-27 10:02:36 +0200

    wireless.c: added return messge to autochannel call

Base directory -> /
 wireless.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-05-02 09:40:57 +02:00
Jonas Höglund
666137f847 Return if mediatek binary already exists 2017-05-02 09:40:55 +02:00
Erik Horemans
48aa469b80 new ice-client R4.4.0-RC1 2017-05-02 09:40:43 +02:00
Erik Horemans
6e5c6ba219 Merge branch 'devel' of public.inteno.se:feed-inteno-packages into devel 2017-04-28 15:51:42 +02:00
Erik Horemans
862c526c56 new ice-client R4.4.0-RC1 2017-04-28 15:51:32 +02:00
Jonas Höglund
abe25ff03a Return if mediatek binary already exists 2017-04-28 15:50:16 +02:00
Jonas Höglund
94a11e9a37 iop: update mediatek tarballs 2017-04-28 13:28:25 +02:00
Sukru Senli
ad5021eea4 voice_client: support binding asterisk to ipv6 interface 2017-04-28 11:26:17 +02:00
Ronny Nilsson
fd03db48c1 kernel: add devtmpfs for letting kernel auto populate
/dev early on boot as well as become equal to how
other MIPS targets work.
2017-04-27 15:59:42 +02:00
Alex Oprea
3c0826ca5c hotplug: net: repeater: remove unused parameter 2017-04-26 16:58:05 +02:00
Alex Oprea
8762fa4f4e hotplug: net: repeater: remove unused parameter 2017-04-26 16:12:54 +02:00
Alex Oprea
83dad53f2c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 16de648 questd: update is_inteno_*_macaddr functions
* 4d4e5a2 wificontrol: improve debug messages
* 92047e1 use long option --assoclist
* 703eec4 wificontrol: improve debug messages
-------------------------------------------------------------------------------
commit 16de648470f316aa3b2658e8870141d594aff074
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-26 13:45:50 +0200

    questd: update is_inteno_*_macaddr functions

Base directory -> /
 tools.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 4d4e5a29f2df1b4af603e53c8e237c11e020715c
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-25 11:42:31 +0200

    wificontrol: improve debug messages

Base directory -> /
 wificontrol.c | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit 92047e1c8f2c139aa1de1e02899174576a1f76af
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-21 20:23:06 +0200

    use long option --assoclist

Base directory -> /
 network.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 703eec48f8a8220c212a5c299ecf3315424caa35
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-21 19:08:58 +0200

    wificontrol: improve debug messages

Base directory -> /
 wificontrol.c | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2017-04-26 13:50:06 +02:00
Alex Oprea
d6a6350e62 imonitor: do not check the ubus call before restarting questd
Do no check the ubus call before restarting questd
	because in some cases the ubus call still works as normal,
	even if there are 2 questd processes running.
2017-04-26 11:10:42 +02:00
Sukru Senli
3fb9756e42 icwmp-3.0-2017-04-26 2017-04-26 10:51:55 +02:00
Reidar Cederqvist
8d3eebb0c1 inteno-netmodes: dont start client-detect if repeaterready flag is set 2017-04-25 14:26:53 +02:00
Reidar Cederqvist
d28dbd9b75 inteno-netmdoe: stop using conf option and use seciton name 2017-04-25 13:37:32 +02:00
Reidar Cederqvist
267d65174c inteno-netmodes: added uplink_band to broadcom repeater netmodes 2017-04-25 12:11:33 +02:00
Reidar Cederqvist
abbfb77248 inteno-netmodes: init.d script now supports 'routed' netmode 2017-04-25 10:04:27 +02:00
Reidar Cederqvist
e288d7ec0c inteno-netmodes: netmode-conf: added check to skipp non ap interfaces when getting number 2017-04-24 17:54:48 +02:00
Reidar Cederqvist
7f33ffbdac inteno-netmodes: fixed bug 2017-04-24 17:41:22 +02:00
Reidar Cederqvist
7fc6da3a66 inteno-netmodes: client-detect: added a timed check every 60 sec 2017-04-24 16:10:17 +02:00
Reidar Cederqvist
a814d37e2b inteno-netmodes: start using repeater as netmode 2017-04-24 15:50:35 +02:00
Reidar Cederqvist
0710672275 inteno-netmodes: added support for setting repeater mode 2017-04-24 15:50:12 +02:00
Alex Oprea
3d2301cdb0 netmode: remove already fixed todo 2017-04-24 12:49:06 +02:00
Jonas Höglund
cd8244fb2a Set mediatek access in config file 2017-04-24 10:49:49 +02:00
Jonas Höglund
fd480290f5 Delete every file except for Kconfig in mediatek wifi drivers 2017-04-24 10:42:47 +02:00
Jonas Höglund
7e6052573e Remove more Mediatek propriety code 2017-04-21 17:04:43 +02:00
Sukru Senli
9b659fb859 icwmp: put dmmap under /etc/icwmpd 2017-04-21 16:12:33 +02:00
Ronny Nilsson
15314c65d5 Always recreate the feeds indices to cope with packages
being moved between feeds.
2017-04-21 15:08:37 +02:00
Ronny Nilsson
4fedd34f95 genconfig: Explicitly indicate yes/no to developer
mode due to there are other scripts depending on
these variables being non-empty.
2017-04-21 13:52:19 +02:00
Reidar Cederqvist
f88eebb055 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* d80214e only send_data to destination if its an inteno-mac
-------------------------------------------------------------------------------
commit d80214e16eb15b031cc500cd5907951b119ef505
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-21 10:11:39 +0200

    only send_data to destination if its an inteno-mac

Base directory -> /
 wificontrol.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
-------------------------------------------------------------------------------
2017-04-21 10:15:50 +02:00
Sukru Senli
cefefb9a63 icwmp-3.0-2017-04-19 2017-04-20 17:47:15 +02:00
Alex Oprea
7e38593c3f netmode: fix typo with curmode 2017-04-20 13:56:18 +02:00
Alex Oprea
0579b0ec60 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9083bba wificontrol: consider the inteno altered mac addresses too
* bdf0309 wificontrol: improve debug messages for MSG_TYPE_ASSOC
-------------------------------------------------------------------------------
commit 9083bba577d7cceb0f03a3d86fba425f392c37d2
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-19 15:49:39 +0200

    wificontrol: consider the inteno altered mac addresses too

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit bdf03091e90fcc08e3b6507e8e10c33e42cdb315
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-19 15:20:19 +0200

    wificontrol: improve debug messages for MSG_TYPE_ASSOC

Base directory -> /
 wificontrol.c | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
2017-04-19 19:20:05 +02:00
Sukru Senli
7f14aca755 inteno-netmodes: fix macro in layer2_interface_ethernet config as well 2017-04-19 16:28:43 +02:00
Jonas Höglund
e396bd8531 Apply patches to generate mediatek consumer relase 2017-04-19 16:26:36 +02:00
Alex Oprea
0549986c77 imonitor: restart acsd if it's using more than 20% processor 2017-04-19 16:14:16 +02:00
Reidar Cederqvist
34f58ad7f9 inteno-netmodes: fixed bug in netmode-conf script 2017-04-19 15:45:49 +02:00
Jonas Höglund
16fbba701c Make mediatek tarball. Add target option to generate_tarballs. 2017-04-19 14:19:34 +02:00
Sukru Senli
2635873bcc icwmp-3.0-2017-04-14 2017-04-19 09:02:48 +02:00
Alex Oprea
9c191f7f89 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 2e132f1 wificontrol: rename function to collect_intenos and remove unnecessary parameter
* 2d0821e wificontrol: fix more codingstyle
* 66b5fad wificontrol: do not do call any other function between one function and its perror
* 6358360 wificontrol: remove strange code
* 19a3e9a wificontrol: fix some codinstyle
* 4b9c6fa improve log level
* 6d5952c wificontrol: rename long flag --verbosity to --verbose
* 4e007a4 wificontrol: improve message types
* 1a911d0 wireless: assoclist: more defensive code
-------------------------------------------------------------------------------
commit 2e132f10dc83ec308a112aa636c621aac755e51d
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 14:51:11 +0200

    wificontrol: rename function to collect_intenos and remove unnecessary
    parameter

Base directory -> /
 wificontrol.c | 46 ++++++++++++++++++++++++----------------------
 1 file changed, 24 insertions(+), 22 deletions(-)
-------------------------------------------------------------------------------
commit 2d0821e63039ac2022fbd7dc7f1ccf605de2b520
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 14:26:24 +0200

    wificontrol: fix more codingstyle

Base directory -> /
 wificontrol.c | 37 +++++++++++++++++++++----------------
 1 file changed, 21 insertions(+), 16 deletions(-)
-------------------------------------------------------------------------------
commit 66b5fad1705dcb4967240acd66ac463898c4b9b8
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 14:09:55 +0200

    wificontrol: do not do call any other function between one function and its
    perror

Base directory -> /
 wificontrol.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 6358360ba56a49c9e578db7400d6aecd21d6c97a
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 14:02:12 +0200

    wificontrol: remove strange code

Base directory -> /
 wificontrol.c | 4 ----
 1 file changed, 4 deletions(-)
-------------------------------------------------------------------------------
commit 19a3e9a3398abdec8a69f1aacf490257e837cf31
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 13:56:02 +0200

    wificontrol: fix some codinstyle

Base directory -> /
 wificontrol.c | 144 +++++++++++++++++++++++++++++-----------------------------
 1 file changed, 72 insertions(+), 72 deletions(-)
-------------------------------------------------------------------------------
commit 4b9c6fa6032a22cd55c4f35e2ade1c0a16cbf77e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 13:11:02 +0200

    improve log level

Base directory -> /
 wificontrol.c | 68 +++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 38 insertions(+), 30 deletions(-)
-------------------------------------------------------------------------------
commit 6d5952c9b8dd9e3c944d3ed18b338ce08697771e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 13:03:50 +0200

    wificontrol: rename long flag --verbosity to --verbose

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 4e007a4a6441e1f1dcfbe5ddf8c4160d68d8aa26
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-18 11:30:47 +0200

    wificontrol: improve message types

Base directory -> /
 wificontrol.c | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 1a911d0910162046cff8c435abdb3834e64418e2
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-13 14:30:56 +0200

    wireless: assoclist: more defensive code

    	This might fix a bug in wich the call
    	ubus call router.wireless radios
    returns buggy output like this:
    {
    "\u000100:E0:4D:04:C3:0B": {
    	"isup": false,

    	This happens because one extra entry seems to be written
    in the stas array, but outside the bounds of the array,
    overlapping the radios array, i.e. the first radio entry.

Base directory -> /
 wireless.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-04-18 17:14:15 +02:00
Sukru Senli
c7ea8cc974 inteno-netmodes: wifi reload if switching to repeater mode is not instant 2017-04-13 15:21:21 +02:00
Sukru Senli
ee3cd87e7e inteno-netmodes: update netmode scripts 2017-04-13 14:51:41 +02:00
Sukru Senli
9463e7b24b Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9275776 wificontrol: open TCP port instead of UDP
-------------------------------------------------------------------------------
commit 927577622a47ca331bda4e3792863e786cb5bb66
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-13 12:55:34 +0200

    wificontrol: open TCP port instead of UDP

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-04-13 12:55:50 +02:00
Sukru Senli
e13aebbd89 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* c335702 wificontrol: open WIFICONTROL_LISTENING_PORT in repeater mode
-------------------------------------------------------------------------------
commit c3357024b2f818d7a3530aac8e5d549f45a53c1d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-13 11:46:33 +0200

    wificontrol: open WIFICONTROL_LISTENING_PORT in repeater mode

Base directory -> /
 wificontrol.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
2017-04-13 11:46:55 +02:00
Sukru Senli
e8f8ef22a9 inteno-netmodes: remove repeater specific firewall configs 2017-04-13 11:30:00 +02:00
Sukru Senli
0a8359a0de Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 73adf42 wificontrol: improvemets to ping_uplink function
* a0f9694 wificontrol: fix for reconnect in repeater mode
* 4e91aab wificontrol: removed unused code (comments)
* addfd85 wificontrol: fixed warning
* dd4f486 wificontrol: test to send one byte as protocol
* 0d2248f wificontrol: made old printf comments to dbg comments
* c0b6926 wificontrol: added verbose option
* ad9a4e2 wificontrol: get all lan network using libuci
* 5004bec wificontrol: fixed bug in receive loop in repeater mode
* e67c7de wificontrol: changed return value from NULL to 0
* 828a907 wificontrol: decresed buffersize to fit in tcp-packet
* adb6e25 wificontrol: created prepare_socket function to reuse code more
* d6d440d wificontrol: more timeout on sockets for --assoclist and --router mode
* b81ee13 wificontrol: assoclist: add timeout on socket
* 6e82f34 wificontrol: commented out all prinf
* 7a85c88 wificontrol: changed the set_creds calls to one combined
* d1368e5 questd: network: assoclist: initialize the buffers with zero
* a636276 wificontrol: make ping device dynamic
* 896fb07 wificontrol: trigger set_cred_uplink + debug prints
* 13023c9 wificontrol: fix get md5 values
* ba23b2d questd: use --destinatoin when calling wificontrol
* 5debde6 wificontrol: do not apply changes if the file is the same
* 30acbae wificontrol: apply the wireless settings only if any received
* 0edaaa2 wificontrol: try to send an empty string
* cb2efca wificontrol: fix the assoclist sending socket
* b872443 wificontrol: debug assoclist
* 7c73d25 wificontrol: assoclist functionality
* 051ed1f wificontrol: apply the new wireless configuration
* a0145c2 questd: client events: publish network
* c8275d0 questd: client events: publish ip
* 3f86328 wificontrol: add ping thread
* e12e5e0 wificontrol: add trivial comments
* 868365c wificontrol: repeater writes received data to file
* b4fd741 wificontrol: test with BUFFER_SIZE 4
* 35f3e1f wificontrol: rework while on repeater
* 70b0e71 wificontrol: change fgets to fread
* ccddf74 wificontrol: fix buffer size
* 0afaf49 wificontrol: simple recv
* a82d810 wificontrol: simple send
* 325a2d4 wificontrol: do not read from stdin
* d86b6c6 wificontrol: open file: --file, stdin, default file
* 9936828 wificontrol: change port to 9875
* 5e13d7c wificontrol: add SO_REUSEADDR on the listening socket
* f47c9fe wificontrol: basic client-server / router-repeater communication
* 0926745 wificontrol: add send_data to repeater function
* f8b6e96 wificontrol: add repeater's ip to repeaters array
* d119c5b wificontrol: fix lanname
* 7d63d06 wificontrol: parse arp entries
* 480d0eb tools: add function is_ip_in_network
* 3bfda0d wificontrol: get lan name
* ea0c4d0 wificontrol: a good version, with cmd line options
* 9f60ec1 wificontrol: minimal main
* f1fc945 add wificontrol.c
* b6fea3f remove wificontrol.c
-------------------------------------------------------------------------------
commit 73adf42cad8e82ecf44ea8f3c595b5e2d6f0fdb6
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-13 11:13:00 +0200

    wificontrol: improvemets to ping_uplink function

Base directory -> /
 wificontrol.c | 23 +++++------------------
 1 file changed, 5 insertions(+), 18 deletions(-)
-------------------------------------------------------------------------------
commit a0f969476dbe9e31765cf73521d143a0754ce4f3
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-12 17:11:55 +0200

    wificontrol: fix for reconnect in repeater mode

Base directory -> /
 wificontrol.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 4e91aabaecdfb6d1f4045ae5a1d0c2a76ce21192
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-12 11:14:12 +0200

    wificontrol: removed unused code (comments)

Base directory -> /
 wificontrol.c | 4 ----
 1 file changed, 4 deletions(-)
-------------------------------------------------------------------------------
commit addfd85b2c9782d914a583618f2edc128919649c
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-12 09:47:39 +0200

    wificontrol: fixed warning

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit dd4f4862f9067735a27f4aa18a2661182ae33424
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-12 09:43:07 +0200

    wificontrol: test to send one byte as protocol

Base directory -> /
 wificontrol.c | 108 +++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 62 insertions(+), 46 deletions(-)
-------------------------------------------------------------------------------
commit 0d2248ff7ad89e864a97b203ed6fbec53acf188c
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-11 16:03:32 +0200

    wificontrol: made old printf comments to dbg comments

Base directory -> /
 wificontrol.c | 58 +++++++++++++++++++++++++++++-----------------------------
 1 file changed, 29 insertions(+), 29 deletions(-)
-------------------------------------------------------------------------------
commit c0b6926cb1e086747d6cbd59f981f515719e8b3f
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-11 15:39:56 +0200

    wificontrol: added verbose option

Base directory -> /
 wificontrol.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit ad9a4e26c083890a51394dcbacd52f44dc50c61e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-11 12:37:04 +0200

    wificontrol: get all lan network using libuci

Base directory -> /
 wificontrol.c | 92 +++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 51 insertions(+), 41 deletions(-)
-------------------------------------------------------------------------------
commit 5004bec2c76f779796b4e0af6cf21e9502994ea4
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-11 11:42:44 +0200

    wificontrol: fixed bug in receive loop in repeater mode

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit e67c7dea9a623a9211018c9afa7fd6e79e717778
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-11 11:42:15 +0200

    wificontrol: changed return value from NULL to 0

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 828a90741f6e0fd1bb3a94551bf10207d953c4c5
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-10 12:02:58 +0200

    wificontrol: decresed buffersize to fit in tcp-packet

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit adb6e25347c0c05ec973238a7a7ab93d97e5c14d
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-10 11:12:42 +0200

    wificontrol: created prepare_socket function to reuse code more

Base directory -> /
 wificontrol.c | 79 +++++++++++++++++++++++------------------------------------
 1 file changed, 30 insertions(+), 49 deletions(-)
-------------------------------------------------------------------------------
commit d6d440d9d0da07fe30e86f79edd3d14a9890c9f1
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-07 20:52:53 +0200

    wificontrol: more timeout on sockets for --assoclist and --router mode

Base directory -> /
 wificontrol.c | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit b81ee13ff57f5f782935d73dfea270179670ffa2
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-07 18:42:03 +0200

    wificontrol: assoclist: add timeout on socket

Base directory -> /
 wificontrol.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
-------------------------------------------------------------------------------
commit 6e82f345ee0470f4056bec3a8e5aedf2f11f91e6
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-07 16:39:28 +0200

    wificontrol: commented out all prinf

Base directory -> /
 wificontrol.c | 52 ++++++++++++++++++++++++++--------------------------
 1 file changed, 26 insertions(+), 26 deletions(-)
-------------------------------------------------------------------------------
commit 7a85c88077c062bf03beff2081265362cfaad84e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-07 15:48:58 +0200

    wificontrol: changed the set_creds calls to one combined

Base directory -> /
 wificontrol.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit d1368e560705239b25140901d51cb5270deb7571
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-07 12:16:16 +0200

    questd: network: assoclist: initialize the buffers with zero

Base directory -> /
 network.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit a636276a8e9ee254e776d0bf9a8ca78e5da03b40
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-07 11:19:05 +0200

    wificontrol: make ping device dynamic

Base directory -> /
 wificontrol.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 896fb07a0ce5397572d1b1c5bda53dfae643d1a0
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 13:29:21 +0200

    wificontrol: trigger set_cred_uplink + debug prints

Base directory -> /
 wificontrol.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 13023c9d5fbb9e4acf9603079e9346920033b21e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 13:28:45 +0200

    wificontrol: fix get md5 values

Base directory -> /
 wificontrol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit ba23b2d419e00f695f12c8a8a2141ea2c1a74999
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 12:56:35 +0200

    questd: use --destinatoin when calling wificontrol

Base directory -> /
 network.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 5debde6a627d82ff5bad441c9a9b063d1b2b7b74
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 12:43:01 +0200

    wificontrol: do not apply changes if the file is the same

Base directory -> /
 wificontrol.c | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 30acbae4f579439c14e0bcfa81df209534a439d0
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 11:57:00 +0200

    wificontrol: apply the wireless settings only if any received

Base directory -> /
 wificontrol.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 0edaaa2b4935586016fedda5b0677d19dde388a2
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 11:48:59 +0200

    wificontrol: try to send an empty string

Base directory -> /
 wificontrol.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit cb2efca7595baa786477abe0349aaf9dfb4e0a76
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-06 11:41:20 +0200

    wificontrol: fix the assoclist sending socket

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit b872443ccacc0e89924b88eb8dcdac1d8e7518f8
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 16:57:04 +0200

    wificontrol: debug assoclist

Base directory -> /
 wificontrol.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7c73d25038f744c7782d7f7a480c1a58034c319e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 16:49:59 +0200

    wificontrol: assoclist functionality

Base directory -> /
 wificontrol.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 97 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit 051ed1f80c6f647d3e8bde231fde60f7c1d2c28e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 16:49:36 +0200

    wificontrol: apply the new wireless configuration

Base directory -> /
 wificontrol.c | 5 +++++
 1 file changed, 5 insertions(+)
-------------------------------------------------------------------------------
commit a0145c21d97f5c9d1056586932cff5eaed5115f7
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 14:38:55 +0200

    questd: client events: publish network

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit c8275d09d86d0fe61a1e77a49f51ccc6b871733e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 14:04:25 +0200

    questd: client events: publish ip

Base directory -> /
 network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 3f86328f9f0eb4e719661440f5adff453eaba0e6
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-05 12:15:31 +0200

    wificontrol: add ping thread

Base directory -> /
 wificontrol.c | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 103 insertions(+)
-------------------------------------------------------------------------------
commit e12e5e0efa0cccbba8934ef06586d952cf15cf5c
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 18:47:48 +0200

    wificontrol: add trivial comments

Base directory -> /
 wificontrol.c | 52 ++++++++++++++++++++++++++++++----------------------
 1 file changed, 30 insertions(+), 22 deletions(-)
-------------------------------------------------------------------------------
commit 868365c6fb862eb7b6627c470b922c500191fdb1
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 16:37:08 +0200

    wificontrol: repeater writes received data to file

Base directory -> /
 wificontrol.c | 27 ++++++++++++++++++++-------
 1 file changed, 20 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit b4fd741da6f90959ba1e75607b657946e16e3f2d
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 15:50:02 +0200

    wificontrol: test with BUFFER_SIZE 4

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 35f3e1f56cc16192859b068c41f83cc149fd6d63
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 15:48:44 +0200

    wificontrol: rework while on repeater

Base directory -> /
 wificontrol.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 70b0e7155aa8a665bfb090bd3a32a545a9f15e66
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 15:45:34 +0200

    wificontrol: change fgets to fread

Base directory -> /
 wificontrol.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit ccddf74acb60dfd835705f7191384fbdbff6be9e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 15:18:25 +0200

    wificontrol: fix buffer size

Base directory -> /
 wificontrol.c | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 0afaf492b020466784c2f7f38af3974d39fa1b69
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 14:55:21 +0200

    wificontrol: simple recv

Base directory -> /
 wificontrol.c | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit a82d8105636c6cce41a0caeffaf045b89b35d0e7
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 14:49:45 +0200

    wificontrol: simple send

Base directory -> /
 wificontrol.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 325a2d43d70f7dd33e4c0c0e11972c0b2c9f05b6
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 14:40:37 +0200

    wificontrol: do not read from stdin

Base directory -> /
 wificontrol.c | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit d86b6c645aaadefeee98a107492a4bb5044c2ce8
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 14:31:26 +0200

    wificontrol: open file: --file, stdin, default file

Base directory -> /
 wificontrol.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 50 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
commit 9936828c45d11ec75de42c0d3fd16b435780c21c
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 13:03:54 +0200

    wificontrol: change port to 9875

Base directory -> /
 wificontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 5e13d7c2079a138be6dd9d6f60cdaaeff846d75d
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 12:56:17 +0200

    wificontrol: add SO_REUSEADDR on the listening socket

Base directory -> /
 wificontrol.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit f47c9fe1a057768cb7635c93a2c3245fb547cb92
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-04-04 11:55:03 +0200

    wificontrol: basic client-server / router-repeater communication

Base directory -> /
 wificontrol.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 82 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 0926745ffc7e85f5c2d2751d0f0090003938d63f
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-30 16:29:13 +0200

    wificontrol: add send_data to repeater function

Base directory -> /
 wificontrol.c | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
-------------------------------------------------------------------------------
commit f8b6e96eeca997116483582ec9afd6dc3160e4ff
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-29 15:33:12 +0200

    wificontrol: add repeater's ip to repeaters array

Base directory -> /
 wificontrol.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit d119c5babdf85ed03cf2faa3597d21ecf9b4d2aa
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-29 13:11:21 +0200

    wificontrol: fix lanname

Base directory -> /
 wificontrol.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 7d63d0606a4ec60db0804dc88f0edf9e503dab4d
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-29 12:57:49 +0200

    wificontrol: parse arp entries

Base directory -> /
 wificontrol.c | 30 ++++++++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 480d0eb3f81d1a4cd3aabbed45af1dddbe1a8929
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-29 12:56:35 +0200

    tools: add function is_ip_in_network

Base directory -> /
 tools.c | 19 +++++++++++++++++++
 tools.h |  2 ++
 2 files changed, 21 insertions(+)
-------------------------------------------------------------------------------
commit 3bfda0d8a2cc5bbfc8705bb98062c261243a63d8
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 23:10:50 +0200

    wificontrol: get lan name

Base directory -> /
 wificontrol.c | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit ea0c4d0ce5ed821a4ce61f17b3471622450b4623
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 23:00:10 +0200

    wificontrol: a good version, with cmd line options

Base directory -> /
 wificontrol.c | 142 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 141 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 9f60ec100bb77853df8b24aa27b0631b3b9e22c5
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 14:12:19 +0200

    wificontrol: minimal main

Base directory -> /
 wificontrol.c | 8 ++++++++
 1 file changed, 8 insertions(+)
-------------------------------------------------------------------------------
commit f1fc9459d70e21ba2d2dd1e30734b145b4244155
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 13:58:09 +0200

    add wificontrol.c

Base directory -> /
 wificontrol.c | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
-------------------------------------------------------------------------------
commit b6fea3f9f67fa2e8532975ced66a6e792ceaf0d3
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 13:57:39 +0200

    remove wificontrol.c

Base directory -> /
 wificontrol.c | 408 ----------------------------------------------------------
 1 file changed, 408 deletions(-)
-------------------------------------------------------------------------------
2017-04-13 11:21:26 +02:00
Reidar Cederqvist
99f12a833b inteno-netmodes: netmode-conf: changed reboot to wifi reload nodat 2017-04-13 11:19:19 +02:00
Reidar Cederqvist
8d0c18d2d0 inteno-netmode: renamed netmode-detect netmode-client-detect 2017-04-13 11:19:16 +02:00
Reidar Cederqvist
f0bfe70674 inteno-netmode: only run wificontrol on inteno-macaddr 2017-04-13 11:19:16 +02:00
Reidar Cederqvist
dd83d4d139 inteno-netmodes: changed hotplug-script to disable firewall if connected to private ip 2017-04-13 11:19:14 +02:00
Reidar Cederqvist
d53c2eb937 inteno-netmodes: upgraded netmode-conf file to only apply/reload (reboot) if config is changed 2017-04-13 11:19:14 +02:00
Sukru Senli
b56f049445 inteno-netmodes: name updates 2017-04-13 11:19:12 +02:00
Sukru Senli
1e69e5495f inteno-netmodes: reboot when new credentials are received 2017-04-13 11:19:12 +02:00
Reidar Cederqvist
d3047b2299 inteno-netmode: wifi reload insted of wifi apply 2017-04-13 11:19:12 +02:00
Reidar Cederqvist
608f2eae88 inteno-netmodes: fixed typo in netifd init script 2017-04-13 11:19:11 +02:00
Reidar Cederqvist
2848efba56 inteno-netmodes: fixed missing quote 2017-04-13 11:19:09 +02:00
Reidar Cederqvist
1cd109e79b inteno-netmode: repeater ubus-call: combined set_creds_uplink/downlink 2017-04-13 11:19:07 +02:00
Reidar Cederqvist
09c23507d0 inteno-netmode: added nessesary config_load 2017-04-13 11:19:07 +02:00
Reidar Cederqvist
5617a44086 removed repeaterready as default 2017-04-13 11:19:07 +02:00
Alex Oprea
d0be333511 inteno-netmodes: update the wificontrol --repeater listening port to 9875 2017-04-13 11:19:06 +02:00
Alex Oprea
636939542f inteno-netmodes: add client_listener for ip add events 2017-04-13 11:18:56 +02:00
Alex Oprea
91da14a8ed inteno-netmodes: add set_creds_uplink 2017-04-13 11:18:56 +02:00
Alex Oprea
d9acfdd38b inteno-netmodes: remove askcred 2017-04-13 11:18:56 +02:00
Alex Oprea
38e35002ea inteno-netmode: add repeaterready option 2017-04-13 11:18:56 +02:00
Alex Oprea
7f125f35b8 inteno-netmodes: repeater: fix a nug in get_creds 2017-04-13 11:18:56 +02:00
Alex Oprea
d04b16d9ab inteno-netmode: ubus repeater: change functions names 2017-04-13 11:18:56 +02:00
Reidar Cederqvist
84700c3018 inteno-netmodes: some fixes to repeater ubus script 2017-04-13 11:18:56 +02:00
Reidar Cederqvist
53a6368118 netmode: use wifi apply when possible 2017-04-13 11:18:56 +02:00
Reidar Cederqvist
bdf696d273 inteno-netmode: added repeater ubus script 2017-04-13 11:18:56 +02:00
Sukru Senli
2899e65f79 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a6b12a9 initialize clients with repeated flag as false
-------------------------------------------------------------------------------
commit a6b12a910caf7c1e1b868f4f97ed004ca2bacf03
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-13 10:34:03 +0200

    initialize clients with repeated flag as false

Base directory -> /
 network.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-04-13 10:34:58 +02:00
Reidar Cederqvist
319e5b5949 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 618a0ee network: ports call do not show repeated clients on port
* af73e44 graphd: added missing include (pthread)
-------------------------------------------------------------------------------
commit 618a0ee2a4c8022f6c55a8bb2580b1df31681846
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-12 10:15:23 +0200

    network: ports call do not show repeated clients on port

Base directory -> /
 network.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit af73e4495f6fb4aaaf8bdfb3610ec78df5038e5a
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-10 11:28:44 +0200

    graphd: added missing include (pthread)

Base directory -> /
 graphd.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2017-04-12 10:17:20 +02:00
Alex Oprea
999dd67304 iup: do not check for file nor reboot if the section is not enabled 2017-04-11 16:39:35 +02:00
Sukru Senli
4f428b93c5 inteno-netmodes: make sure network config has no trailing spaces in ifname 2017-04-11 14:33:14 +02:00
Sukru Senli
256cb6c412 icwmp: do not copy over dmmap config file 2017-04-11 12:34:53 +02:00
Sukru Senli
142b6b781d iop: config: select correct juci package for mwan3 2017-04-10 16:52:25 +02:00
Sukru Senli
605272926a icwmp-3.0-2017-04-10 2017-04-10 16:06:29 +02:00
Sukru Senli
843df9e6cd iop: config: replace multiwan with mwan3 2017-04-10 13:24:27 +02:00
Erik Horemans
9413e41fc3 new ice-client R4.3.0-RC13 2017-04-06 16:47:40 +02:00
Jonas Höglund
2cecdb25a1 Update feed [ feed_inteno_packages ] package [ libtrace ]
Point to commit hash, not HEAD, in package makefile
2017-04-06 10:44:45 +02:00
Sukru Senli
becc1bb576 icwmp-3.0-2017-04-05 2017-04-06 09:59:12 +02:00
Sukru Senli
6cb0d69c54 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 8d89f66 router.network: update linkspeed of a port for each call
-------------------------------------------------------------------------------
commit 8d89f663e30b93cd314df708bf6abbef342d52ee
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-05 12:41:22 +0200

    router.network: update linkspeed of a port for each call

Base directory -> /
 network.c | 7 +++++++
 1 file changed, 7 insertions(+)
-------------------------------------------------------------------------------
2017-04-05 12:41:49 +02:00
Jonas Höglund
427482f60d Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* ff2cf8b Remove gpio_test program as it does not compile with musl
-------------------------------------------------------------------------------
commit ff2cf8bfbd3a04731088e9f4540796696e961382
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-04-05 10:16:15 +0200

    Remove gpio_test program as it does not compile with musl

Base directory -> /
 Makefile.am | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
-------------------------------------------------------------------------------
2017-04-05 10:21:50 +02:00
Reidar Cederqvist
06115ccd07 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* f723937 broadcom.c, scanresults: fixed rssi for mips platform
* 6d6a0ea added definition for wl_get_maxrate in broadcom.c
* b626c5c wificontrol: mtk: kick out wireless clients if uplink connection is lost
* 132c97f makefile clean : remove graphd binary
-------------------------------------------------------------------------------
commit f7239379bbf2014a9ceef947bcc6cdbd03596f3e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-05 10:15:35 +0200

    broadcom.c, scanresults: fixed rssi for mips platform

Base directory -> /
 broadcom.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 6d6a0eaf616c1b3c1fd817d28d5df911c084fe58
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-05 10:14:04 +0200

    added definition for wl_get_maxrate in broadcom.c

    and change the return-type to void because it never returned anything

Base directory -> /
 broadcom.c | 2 +-
 broadcom.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit b626c5c92f58a36a84e83d4cacec65cfb11d6e3e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-03 11:54:31 +0200

    wificontrol: mtk: kick out wireless clients if uplink connection is lost

Base directory -> /
 wificontrol.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 132c97f4fda5b6ec0a3ced5852c4683c17c4cf1e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 14:10:38 +0200

    makefile clean : remove graphd binary

Base directory -> /
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-04-05 10:20:24 +02:00
Jonas Höglund
abff7287ec iop: fix genconfig path 2017-04-04 16:35:23 +02:00
Sukru Senli
affb441247 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* b626c5c wificontrol: mtk: kick out wireless clients if uplink connection is lost
* 132c97f makefile clean : remove graphd binary
-------------------------------------------------------------------------------
commit b626c5c92f58a36a84e83d4cacec65cfb11d6e3e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-03 11:54:31 +0200

    wificontrol: mtk: kick out wireless clients if uplink connection is lost

Base directory -> /
 wificontrol.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
commit 132c97f4fda5b6ec0a3ced5852c4683c17c4cf1e
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-28 14:10:38 +0200

    makefile clean : remove graphd binary

Base directory -> /
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-04-03 11:55:04 +02:00
Sukru Senli
8164948f92 iop: generate_tarballs: support target mipsel builddir 2017-03-29 13:20:43 +02:00
Sukru Senli
66711b8542 iop: generate tarballs: for ice-client use target profile instead of brcm kernel profile 2017-03-29 13:13:44 +02:00
Sukru Senli
d54cacb3fb ice-client: open version update 2017-03-29 13:13:23 +02:00
Jonas Höglund
d5bd6b32e2 Extract patches to safer directory 2017-03-29 12:09:34 +02:00
Jonas Höglund
1495b55d8e Fix local repo checkout bug 2017-03-29 12:01:06 +02:00
Jonas Höglund
e81f07831e Remove dirname from exported patches 2017-03-29 11:51:45 +02:00
Jonas Höglund
50dab305c9 Update extract_core iop command 2017-03-28 17:41:47 +02:00
Erik Horemans
46716d47a3 new ice-client R4.3.0-RC10 2017-03-28 14:54:12 +02:00
Erik Horemans
2ec487b3f2 new ice-client R4.3.0-RC9 2017-03-27 15:35:00 +02:00
Reidar Cederqvist
50f792b504 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* f241dd2 mediatek: made channel 0 on failed ioctl call
-------------------------------------------------------------------------------
commit f241dd296dc22301093bc98a4d623ab47fa5feee
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-03-27 11:56:19 +0200

    mediatek: made channel 0 on failed ioctl call

Base directory -> /
 mediatek.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-27 11:57:11 +02:00
Sukru Senli
c2a689ca65 icwmp-3.0-2017-03-24 2017-03-24 17:29:06 +01:00
Jonas Höglund
6cd99e0661 Add support for target config diff 2017-03-24 15:59:25 +01:00
Jonas Höglund
942ddd8c1c Move mtd-utils to feed_inteno_broadcom 2017-03-24 14:01:34 +01:00
Sukru Senli
72d813150d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 5d4abbc wificontrol: sockect timeout 2 seconds
-------------------------------------------------------------------------------
commit 5d4abbc3bc7c96836840236f1346e2bc9454b45a
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-24 12:15:53 +0100

    wificontrol: sockect timeout 2 seconds

Base directory -> /
 wificontrol.c | 7 +++++++
 1 file changed, 7 insertions(+)
-------------------------------------------------------------------------------
2017-03-24 12:17:13 +01:00
Sukru Senli
88bbf9868e inteno-netmodes: set different routed modes for brcm and mtk 2017-03-23 13:16:44 +01:00
Sukru Senli
e6255a873e inteno-netmodes: common package for brcm and mtk 2017-03-23 12:46:43 +01:00
Sukru Senli
49786e3557 icwmp-3.0-2017-03-23 2017-03-23 10:55:56 +01:00
Jonas Höglund
3dcaf20891 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 08fb2b8 If image can not be booted from uboot reboot.
-------------------------------------------------------------------------------
commit 08fb2b839326c3bc2a2a0472b5dae6ee0288e483
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2017-03-21 17:30:56 +0100

    If image can not be booted from uboot reboot.

    Only allow 10 reboots to prevent infinite reboot and write to flash.

Base directory -> /
 board/inteno/ex400/iboot.c | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:11:04 +01:00
Jonas Höglund
6b4c1d809b Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 1fbe8f5 Revert "Set baudrate to 57600"
-------------------------------------------------------------------------------
commit 1fbe8f5bf3702285049273005c16071326fb75fa
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-03-21 17:22:49 +0100

    Revert "Set baudrate to 57600"

    This reverts commit 6f962f2c27eef98a16cc3236a0f28c422a0628c4.

Base directory -> /
 include/configs/ex400.h |   2 +-
 mt7621_stage_L2.bin     | Bin 19896 -> 19896 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:11:00 +01:00
Sukru Senli
42b5cd023b Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 2217e77 gpio_set_state: add delay argument
-------------------------------------------------------------------------------
commit 2217e777ce56b53878ca467a06025db935c235eb
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-03-17 15:00:41 +0100

    gpio_set_state: add delay argument

Base directory -> /
 src/gpio_linux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:10:31 +01:00
Sukru Senli
17c16349e5 Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* 2d474e9 wifi import new credentials when event is received
-------------------------------------------------------------------------------
commit 2d474e9ff37b9cfcffd4b9ac8eba8db03eb38a21
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-03 16:56:33 +0100

    wifi import new credentials when event is received

Base directory -> /
 src/inbd.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:09:39 +01:00
Jonas Höglund
9983e0cb74 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 6f962f2 Set baudrate to 57600
-------------------------------------------------------------------------------
commit 6f962f2c27eef98a16cc3236a0f28c422a0628c4
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-02-02 17:56:27 +0100

    Set baudrate to 57600

Base directory -> /
 include/configs/ex400.h |   2 +-
 mt7621_stage_L2.bin     | Bin 19896 -> 19896 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:09:23 +01:00
Sukru Senli
8b6199d16c Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* f6f1d60 handle leds and switch here for now
* da054c1 minimilastic inbd init script for now
-------------------------------------------------------------------------------
commit f6f1d60abc493f1caf0a8bbe301ff790bfba193d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-02 16:30:29 +0100

    handle leds and switch here for now

Base directory -> /
 Makefile.am |   2 +-
 src/inbd.c  | 119 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 116 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit da054c1159fc24334eb234cdc6c080297a6258b3
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-02-02 13:50:45 +0100

    minimilastic inbd init script for now

Base directory -> /
 files/etc/init.d/inbd | 24 ------------------------
 1 file changed, 24 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:09:04 +01:00
Jonas Höglund
471018704d Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* 5b30e9d Remove unused arg
-------------------------------------------------------------------------------
commit 5b30e9dbd4bf8ca13ed846478aa62135a4f94653
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-01-27 17:35:07 +0100

    Remove unused arg

Base directory -> /
 files/etc/init.d/inbd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:08:53 +01:00
Jonas Höglund
fe178ac7f3 Fix copy startscript for inbd 2017-03-23 10:08:41 +01:00
Jonas Höglund
417a9d11ef Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* 366039b Add startup script for inbd
* 33dc81f Send ubus event on netlink event
-------------------------------------------------------------------------------
commit 366039bdfc80418f7089cb08230fe1b74de4edec
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-01-27 16:56:40 +0100

    Add startup script for inbd

Base directory -> /
 files/etc/init.d/inbd | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
-------------------------------------------------------------------------------
commit 33dc81f50b9c2039c3726b5a7bc250dcfe806803
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2017-01-27 16:28:17 +0100

    Send ubus event on netlink event

Base directory -> /
 src/inbd.c | 4 ++++
 1 file changed, 4 insertions(+)
-------------------------------------------------------------------------------
2017-03-23 10:08:26 +01:00
Reidar Cederqvist
34a24d227d update_package.sh: fixed so version is asked for only when -v is set 2017-03-23 10:08:11 +01:00
Kenneth Johansson
e620faab86 Add bash debugger. 2017-03-23 10:07:43 +01:00
Jonas Höglund
ba1e3bdaa9 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 65ae089 Set led to red when executing from internal SRAM.
* 5909d1e jtag: script for starting debug from nand.
-------------------------------------------------------------------------------
commit 65ae089853ddd9652103b4052af4b351d66f2374
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-12-28 16:56:21 +0100

    Set led to red when executing from internal SRAM.

    then set it to yellow/orange when executing from DRAM.

Base directory -> /
 Makefile                              |  14 ++++++++--
 board/inteno/ex400/jtag/ex400_led.cmm |  15 ++++++++++
 board/inteno/ex400/led.c              |   2 +-
 inteno_led.S                          |  50 ++++++++++++++++++++++++++++++++++
 mt7621_stage_L2.bin                   | Bin 19896 -> 19896 bytes
 5 files changed, 78 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 5909d1e8240a7935d0005e88b2d4a1d35da50305
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-12-27 20:40:06 +0100

    jtag: script for starting debug from nand.

Base directory -> /
 board/inteno/ex400/jtag/ex400_quitck.cmm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
-------------------------------------------------------------------------------
2017-03-23 10:07:33 +01:00
Jonas Höglund
8c1b5a98aa Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* ee39c85 new default baudrate set to 115200.
-------------------------------------------------------------------------------
commit ee39c856a0162336ec53e76e330b19992a2b1b5a
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-12-23 13:45:35 +0100

    new default baudrate set to 115200.

Base directory -> /
 include/configs/ex400.h |   2 +-
 mt7621_stage_L2.bin     | Bin 19896 -> 19896 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:07:28 +01:00
Jonas Höglund
79f7392ae6 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 1c053dc Add example ex400_setup script
-------------------------------------------------------------------------------
commit 1c053dc6060f344b755f2e9cdf500114c83a747f
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-12-22 17:26:23 +0100

    Add example ex400_setup script

Base directory -> /
 board/inteno/ex400/production/ex400_setup | 76 +++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)
-------------------------------------------------------------------------------
2017-03-23 10:07:20 +01:00
Kenneth Johansson
c8909f55c8 Update feed [ feed_inteno_packages ] package [ inbd ]
-------------------------------------------------------------------------------
* 51f7502 print link info on std out.
-------------------------------------------------------------------------------
commit 51f7502ad1ce347af8a09531a782b87e94484599
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-12-22 16:57:03 +0100

    print link info on std out.

Base directory -> /
 configure.ac |  4 +--
 src/inbd.c   | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 91 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:07:16 +01:00
Kenneth Johansson
e1cb7b1733 update inbd. 2017-03-23 10:07:12 +01:00
Kenneth Johansson
f627287e5c Add inteno netlink bridge daemon. 2017-03-23 10:07:04 +01:00
Kenneth Johansson
44f1436849 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* cee4778 Add iboot command.
-------------------------------------------------------------------------------
commit cee4778f767e8770a2ac7bf6ea819370bb7628ea
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-24 18:47:05 +0100

    Add iboot command.

    This is inteno boot that support automatic switch over to alternate system
    image if something prevent boot on primary system.

Base directory -> /
 board/inteno/ex400/Makefile |   1 +
 board/inteno/ex400/iboot.c  | 162 ++++++++++++++++++++++++++++++++++++++++++++
 board/inteno/ex400/wget.c   |   2 +-
 3 files changed, 164 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:06:40 +01:00
Kenneth Johansson
b2dcd3a853 perf_manager: turn off all leds when turning off.
we need this so that when we do a reset the leds is known to be off.
2017-03-23 10:06:34 +01:00
Jonas Höglund
c4a65ad164 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 20ef6d6 Don't write dirty as version
* 3545594 Save uboot version in env.
-------------------------------------------------------------------------------
commit 20ef6d6e6933ca7430390001532181a6e0353a2a
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-11-15 15:05:22 +0100

    Don't write dirty as version

Base directory -> /
 scripts/setlocalversion | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 354559453d0b6728dc96c9f7bbb4dbcaeba61242
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-15 14:09:51 +0100

    Save uboot version in env.

    Do this so that the linux system can check what u-boot version is used.

Base directory -> /
 board/inteno/ex400/board.c   | 22 ++++++++++++++++++++--
 board/inteno/ex400/factory.c |  1 -
 include/configs/ex400.h      |  2 ++
 3 files changed, 22 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:06:26 +01:00
Kenneth Johansson
d69e7fe9ac Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* d907f86 print on serial port when rescue mode is active.
* b326684 Add led command.
-------------------------------------------------------------------------------
commit d907f8696346609080d0cf134d40acdc2c3f6ae6
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-14 19:30:04 +0100

    print on serial port when rescue mode is active.

Base directory -> /
 board/inteno/ex400/board.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit b326684d8c3a4083114a9981249d2c6c0792a0ab
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-11-14 19:26:49 +0100

    Add led command.

Base directory -> /
 board/inteno/ex400/Makefile |  1 +
 board/inteno/ex400/board.c  | 45 ++++++++++++++++++---------
 board/inteno/ex400/led.c    | 74 +++++++++++++++++++++++++++++++++++++++++++++
 board/inteno/ex400/led.h    | 14 +++++++++
 4 files changed, 119 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:06:23 +01:00
Jonas Höglund
eb420976d0 Update feed [ feed_inteno_packages ] package [ ated ]
-------------------------------------------------------------------------------
* f614cba Disable failing ethernet ioctl
-------------------------------------------------------------------------------
commit f614cba983d827d5185c60a6a5a35530621d44d2
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-11-11 15:24:14 +0100

    Disable failing ethernet ioctl

Base directory -> /
 cmd_io/eth.c | 35 +++++++++++++++++++----------------
 1 file changed, 19 insertions(+), 16 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:06:19 +01:00
Kenneth Johansson
09814867f6 update. 2017-03-23 10:06:16 +01:00
Kenneth Johansson
cc556268dd fix v variable. 2017-03-23 10:06:11 +01:00
Kenneth Johansson
e8e3ac95a1 it builds. 2017-03-23 10:06:05 +01:00
Kenneth Johansson
d6f4372820 add ated. 2017-03-23 10:05:59 +01:00
Kenneth Johansson
0664b20b01 update. 2017-03-23 10:05:52 +01:00
Kenneth Johansson
9d0878aa21 remove extra space. 2017-03-23 10:05:47 +01:00
Kenneth Johansson
6e0eb90c0a new version and put u-boot into release file.
we need u-boot in the release file so that we can install a new version
if that is needed.
2017-03-23 10:05:38 +01:00
Sukru Senli
f5844368e0 layer2interface: quick fix to install files 2017-03-23 10:05:32 +01:00
Sukru Senli
5585e53773 layer2interface: copy broadcom dir for broadcom targets only 2017-03-23 10:05:27 +01:00
Sukru Senli
325d978d02 port_management: configure only if the necessary tools exist 2017-03-23 10:05:12 +01:00
Sukru Senli
cb36f99318 inteno-netmodes: do not show bridged modes for EX400 2017-03-23 10:05:02 +01:00
Jonas Höglund
b5e0665e2c Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* 8cd9e36 Add format nand commands to default uboot env
-------------------------------------------------------------------------------
commit 8cd9e3642b5e6be5630385aa2e7eb7666ed0d4fb
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-09-28 11:54:46 +0200

    Add format nand commands to default uboot env

Base directory -> /
 include/configs/ex400.h | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-03-23 10:04:53 +01:00
Kenneth Johansson
088d733b5e Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* c92bd59 make it work on UBI again.
-------------------------------------------------------------------------------
commit c92bd591777c9fb1e7c55e3e9da0e078a8be00b1
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-09-27 19:30:19 +0200

    make it work on UBI again.

Base directory -> /
 tools/env/fw_env.c | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:04:49 +01:00
Jonas Höglund
76618155da Update feed [ feed_inteno_packages ] package [ tptest ]
-------------------------------------------------------------------------------
* 5778690 Fix format string error
-------------------------------------------------------------------------------
commit 57786908e7a0c790f303417b459c562887582384
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-09-26 15:00:00 +0200

    Fix format string error

Base directory -> /
 client.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-03-23 10:04:39 +01:00
Sukru Senli
94e332731f questd: update Makefile 2017-03-23 09:07:18 +01:00
Sukru Senli
88175f3d2d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* c16d45c tools: fix trim funtion for empty string refs #11680
-------------------------------------------------------------------------------
commit c16d45c61f0708103c25749a9354805b8720f1f6
Author: Alex Oprea <alex.oprea@inteno.se>
Date: 2017-03-22 16:39:38 +0100

    tools: fix trim funtion for empty string refs #11680

Base directory -> /
 tools.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
2017-03-22 16:56:48 +01:00
Kent Ekholm
34025a770f Update feed [ feed_inteno_packages ] package [ asterisk18-mod ]
-------------------------------------------------------------------------------
* ee99af0 Fix for #9581, "error 404 on incoming call"
-------------------------------------------------------------------------------
commit ee99af0d91a2197529b13075d802ebc37e644e40
Author: Kent Ekholm <Kent.Ekholm@evidente.se>
Date: 2017-03-22 15:24:49 +0100

    Fix for #9581, "error 404 on incoming call"

    The destination number is not recognized because the dialplan becomes empty
    by some reason. The fix is to reload the dialplan and try to find the
    destination number again.

Base directory -> /
 channels/chan_sip.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
-------------------------------------------------------------------------------
2017-03-22 15:31:14 +01:00
Reidar Cederqvist
01d39c8552 iop-update_package: fixed so that -u flag is reset on every call 2017-03-22 11:35:35 +01:00
69 changed files with 1511 additions and 357 deletions

View File

@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk18-mod
PKG_VERSION:=1.8.10.1
PKG_SOURCE_VERSION:=fd55c5dc4865142b7955ead96fe93b1ce888c37c
PKG_SOURCE_VERSION:=ee99af0d91a2197529b13075d802ebc37e644e40
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/asterisk-1.8.x

View File

@@ -11,6 +11,7 @@ config_get bindintf SIP bindintf
if [ -n "$bindintf" ]; then
network_get_ipaddr bindaddr "$bindintf"
[ -z "$bindaddr" ] && network_get_ipaddr6 bindaddr "$bindintf"
bindaddr="${bindaddr:-0.0.0.0}"
sed -i "s/bindaddr=.*/bindaddr=$bindaddr/g" /etc/asterisk/sip.conf
[ -e /var/run/asterisk/asterisk.ctl ] && /etc/init.d/asterisk reload

View File

@@ -14,7 +14,7 @@ PKG_RELEASE:=1
PKG_SOURCE_VERSION:=f614cba983d827d5185c60a6a5a35530621d44d2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git@private.inteno.se:ated
PKG_SOURCE_URL:=http://public.inteno.se:/ated
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)

View File

@@ -11,7 +11,7 @@ PKG_RELEASE:=1
PKG_VERSION:=1.1.0
PKG_SOURCE_URL:=http://public.inteno.se:/dectmngr2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=17aa3b1d8d372ebcf4d37379f7cc4fb59c461d4b
PKG_SOURCE_VERSION:=13da1568d57b8e6732dadc16de828d64c81906b8
PKG_NAME:=dectmngr2

View File

@@ -19,18 +19,18 @@ export PLATFORM_INCLUDE:=platforms/iopsys/build.mk
export DATE:=$(shell date +%Y-%m-%d-%H-%M-%S)
export LOGIN:=$(shell whoami)
BASE_PKG_VERSION:=4.3.0
PKG_RELEASE:=RC7
BASE_PKG_VERSION:=4.4.0
PKG_RELEASE:=RC4
PKG_VERSION:=$(BASE_PKG_VERSION)-$(PKG_RELEASE)_$(DATE)_$(LOGIN)
export PKG_VERSION
###########################--RELEASE--################################
PKG_SOURCE_VERSION:=042e769eb37e0a2a7000b88e7f73e74f50ce52b7
PKG_SOURCE_VERSION:=e855fdb65ec312e9ec044ce9319d6ac17fde57cd
ifeq ($(CONFIG_ICE_OPEN),y)
BRCM_KERNEL_PROFILE=$(shell echo $(CONFIG_BCM_KERNEL_PROFILE) | sed s/\"//g)
TARGET_PROFILE=$(shell echo $(CONFIG_TARGET_BOARD) | sed s/\"//g)
PKG_SOURCE_URL:=http://iopsys.inteno.se/iopsys/consumer/
PKG_SOURCE:=$(PKG_NAME)-$(BRCM_KERNEL_PROFILE)-$(BASE_PKG_VERSION)$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE:=$(PKG_NAME)-$(TARGET_PROFILE)-$(BASE_PKG_VERSION)$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
else

View File

@@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=icwmp
PKG_VERSION:=3.0-2017-03-17
PKG_VERSION:=3.0-2017-05-01
PKG_FIXUP:=autoreconf
PKG_SOURCE_URL:=http://public.inteno.se:/icwmp.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=ff91f29aef6aa366db9bfaad20783fef853509e4
PKG_SOURCE_VERSION:=5a1b5c439524c56dca7a1921d4cf2fcd2d4c1ff0
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
@@ -122,11 +122,11 @@ endif
define Package/icwmp-$(BUILD_VARIANT)/install
$(INSTALL_DIR) $(1)/etc/icwmpd
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/dmmap $(1)/etc/icwmpd
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/bin/icwmpd $(1)/usr/sbin
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/cwmp $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/dmmap $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config/firewall.cwmp $(1)/etc/firewall.cwmp
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_DIR) $(1)/etc/uci-defaults

View File

@@ -1,39 +0,0 @@
[ "$INTERFACE" != "wan" ] && exit
ip="$(ip a show $DEVICE | awk '/inet / {print $2; exit}')"
ip="${ip%%/*}"
[ -z "$ip" ] && exit
handle_rule() {
local name enabled
enabled=$2
config_get name $1 name
if [ "$name" == "Repeater-Management" ]; then
uci set firewall.$1.enabled="$enabled"
uci commit firewall
fi
}
set_enabled() {
local enabled=$1
config_load firewall
config_foreach handle_rule rule $enabled
}
test_ip() {
if [ -n "$(echo $ip | grep -E '^(192\.168|10\.|172\.1[6789]\.|172\.2[0-9]\.|172\.3[01]\.)')" ]; then
set_enabled 1
else
set_enabled 0
fi
}
case "$(uci -q get netmode.setup.curmode)" in
repeater|repeater_dualdown)
test_ip
;;
*)
exit
;;
esac

View File

@@ -0,0 +1,53 @@
#!/bin/sh
[ "$INTERFACE" != "wan" ] && exit
. /lib/functions/network.sh
network_get_ipaddr ip $INTERFACE
[ -z "$ip" ] && exit
toggle_firewall() {
local section=$1
local disable=$2
config_get name "$1" name
if [ "$name" == "wan" ]; then
uci -q set firewall.settings.disabled=$disable
if [ "$disable" == "1" ]; then
uci -q set firewall.$section.input="ACCEPT"
else
uci -q set firewall.$section.input="REJECT"
fi
uci -q commit firewall
fi
}
set_disabled() {
config_load firewall
config_foreach toggle_firewall zone $1
}
test_ip() {
if [ -n "$(echo $ip | grep -E '^(192\.168|10\.|172\.1[6789]\.|172\.2[0-9]\.|172\.3[01]\.)')" ]; then
# private IP
set_disabled 1
else
# public IP
set_disabled 0
[ "$1" -eq "1" ] && {
uci set netmode.setup.repeaterready=0
uci commit netmode
local pid="$(ps | grep wificontro[l] | awk '/repeater/ {print $1}')"
[ "$pid" != "" ] && kill $pid
pid="$(pidof netmode-client-detect)"
[ "$pid" == "" ] && /sbin/netmode-client-detect &
}
fi
}
case "$(uci -q get netmode.setup.curmode)" in
repeater*) test_ip ;;
*) [ "$(uci -q get netmode.setup.repeaterready)" == "1" ] && test_ip 1;;
esac

View File

@@ -5,14 +5,18 @@ include /lib/network
ps | grep hotplug | grep button && exit
WANDEV="eth0.2"
MTK=0
[ "$(db -q get hw.board.hardware)" == "EX400" ] && MTK=1
WANDEV="$(uci get layer2_interface_ethernet.Wan.ifname)"
[ $MTK -eq 1 ] && WANDEV="eth0.2"
[ "$INTERFACE" != "$WANDEV" ] && exit
defroute=$(ip route | grep default | awk '{print$3}')
case "$(uci get netmode.setup.curmode)" in
repeater|repeater_dualdown)
repeater*)
echo "Preparing to switch mode"
;;
*)
@@ -21,8 +25,6 @@ case "$(uci get netmode.setup.curmode)" in
;;
esac
echo "0" > /sys/devices/virtual/net/br-wan/bridge/multicast_snooping
get_wifi_wet_interface() {
handle_interface() {
config_get mode "$1" mode
@@ -32,7 +34,7 @@ get_wifi_wet_interface() {
fi
}
config_load wireless
config_foreach handle_interface wifi-iface "$device"
config_foreach handle_interface wifi-iface
}
get_wifi_iface_cfgstr() {
@@ -41,10 +43,11 @@ get_wifi_iface_cfgstr() {
[ "$ifname" == "$2" ] && echo "wireless.$1"
}
config_load wireless
config_foreach get_cfgno wifi-iface $1 $2
config_foreach get_cfgno wifi-iface $1
}
link=$(swconfig dev switch0 port 0 get link | awk '{print$2}' | cut -d':' -f2)
link=$(cat /sys/class/net/${WANDEV:0:4}/operstate)
[ $MTK -eq 1 ] && link=$(swconfig dev switch0 port 0 get link | awk '{print$2}' | cut -d':' -f2)
case "$ACTION" in
add|register)
@@ -81,6 +84,9 @@ case "$ACTION" in
uci set network.wan.ifname="$(echo $wetif $(uci get network.wan.ifname) | sed 's/$/ /' | sed -r "s/$WANDEV //g" | tr ' ' '\n' | sort -u | tr '\n' ' ')"
uci commit network
ubus call network reload
ping -c 1 -w 10 $defroute >/dev/null 2>&1 || killall -USR1 udhcpc
ping -c 1 -w 10 $defroute >/dev/null 2>&1 || {
wifi reload nodat
killall -USR1 udhcpc
}
;;
esac

View File

@@ -59,11 +59,21 @@ populate_netmodes() {
lan5=$(get_device LAN5)
for file in $(find $modedir -type f); do
grep -q "\$WAN" $file && sed -i "s/\$WAN/$wan/g" $file
grep -q "\$LAN1" $file && sed -i "s/\$LAN1/$lan1/g" $file
grep -q "\$LAN2" $file && sed -i "s/\$LAN2/$lan2/g" $file
grep -q "\$LAN3" $file && sed -i "s/\$LAN3/$lan3/g" $file
grep -q "\$LAN4" $file && sed -i "s/\$LAN4/$lan4/g" $file
conf="$(echo $file | cut -d'/' -f5)"
if [ "$conf" == "layer2_interface_ethernet" ]; then
grep -q "\$WAN" $file && sed -i "s/\$WAN/$wan/g" $file
fi
if [ "$conf" == "network" ]; then
grep -q "\$WAN" $file && sed -i "s/\$WAN/$wan/g" $file
grep -q "\$LAN1" $file && sed -i "s/\$LAN1/$lan1/g" $file
grep -q "\$LAN2" $file && sed -i "s/\$LAN2/$lan2/g" $file
grep -q "\$LAN3" $file && sed -i "s/\$LAN3/$lan3/g" $file
grep -q "\$LAN4" $file && sed -i "s/\$LAN4/$lan4/g" $file
ifname="$(uci -q get $file.wan.ifname | sed 's/[ \t]*$//')"
uci -q set $file.wan.ifname="$ifname"
uci -q commit $file
fi
done
local hardware=$(db get hw.board.hardware)
@@ -80,7 +90,6 @@ populate_netmodes() {
desc=""
exp=""
uci -q set netmode.$mode=netmode
uci -q set netmode.$mode.conf=$mode
json_load "$(cat $modedir/$mode/DETAILS)"
if json_select excluded_boards; then
@@ -142,64 +151,87 @@ populate_netmodes() {
json_get_var reboot reboot
uci -q set netmode.$mode.reboot="$reboot"
done
config_get curmode setup curmode
[ -d /etc/netmodes/$curmode ] || {
[ "$(db -q get hw.board.hardware)" == "EX400" ] && uci -q set netmode.setup.curmode="routed_mtk" || uci -q set netmode.setup.curmode="routed_brcm"
}
uci commit netmode
}
convert_macros() {
local BMAC=$(db -q get hw.board.BaseMacAddr | tr -d ':')
local MACLAN=$(printf "%0.12x\n" $((0x$BMAC)))
local MACWAN=$(printf "%0.12x\n" $((0x$BMAC + 1)))
local BSSID=$(printf "%0.12x\n" $((0x$BMAC + 2)))
local BSSID4=$(echo -n $BSSID | tail -c 4 | tr 'a-z' 'A-Z')
MACLAN=$(echo $MACLAN | sed -e "s/.\{2\}/&:/g")
MACWAN=$(echo $MACWAN | sed -e "s/.\{2\}/&:/g")
MACLAN=${MACLAN:0:17}
MACWAN=${MACWAN:0:17}
grep -q "\$MACLAN" /etc/config/network && sed -i "s/\$MACLAN/$MACLAN/g" /etc/config/network
grep -q "\$MACWAN" /etc/config/network && sed -i "s/\$MACWAN/$MACWAN/g" /etc/config/network
grep -q "\$BSSID4" /etc/config/network && sed -i "s/\$BSSID4/$BSSID4/g" /etc/config/network
}
switch_netmode() {
[ -f /etc/config/netmode -a -d $modedir ] || return
local curmode conf repeaterready
config_load netmode
config_get repeaterready setup repeaterready "0"
if [ "$repeaterready" == "1" ] ; then
uci -q set netmode.setup.repeaterready="0"
uci commit netmode
fi
config_get curmode setup curmode
config_get conf $curmode conf
cp /etc/netmodes/$conf/* /etc/config/
if [ "$curmode" == "repeater" ]; then
local hw="$(db -q get hw.board.hardware)"
if [ "$hw" == "EX400" ]; then
curmode="repeater_mtk_5g_up_dual_down"
else
curmode="repeater_brcm_2g_up_dual_down"
fi
uci set netmode.setup.curmode="$curmode"
uci commit netmode
fi
if [ "$curmode" == "routed" ]; then
local hw="$(db -q get hw.board.hardware)"
if [ "$hw" == "EX400" ]; then
curmode="routed_mtk"
else
curmode="routed_brcm"
fi
uci set netmode.setup.curmode="$curmode"
uci commit netmode
fi
[ -d "/etc/netmodes/$curmode" ] || return
cp /etc/netmodes/$curmode/* /etc/config/
rm -f /etc/config/DETAILS
convert_macros
sync
case "$curmode" in
repeater|repeater_dualdown)
echo "0" > /sys/devices/virtual/net/br-wan/bridge/multicast_snooping
;;
esac
local reboot=$(uci -q get netmode.$curmode.reboot)
local askcred=$(uci -q get netmode.$curmode.askcred)
if [ "$reboot" == "0" ]; then
#/etc/init.d/enviroment reload
if [ "$askcred" == "1" -a -f /tmp/wifi_imported_credentials ]; then
wifi import "$(cat /tmp/wifi_imported_credentials)"
rm -f /tmp/wifi_imported_credentials
ubus call network reload
wifi reload nodat
sleep 5
ubus call router.network reload
fi
/etc/init.d/enviroment reload
else
reboot &
fi
}
start_client_listener() {
local curmode repeaterready
config_load netmode
config_get repeaterready setup repeaterready 0
[ $repeaterready -eq 1 ] && {
killall -SIGKILL netmode-client-detect >/dev/null 2>&1
return
}
config_get curmode setup curmode
case "$curmode" in
repeater*)
killall -SIGKILL netmode-client-detect >/dev/null 2>&1
;;
*)
pidof netmode-client-detect || /sbin/netmode-client-detect &
;;
esac
}
start_service() {
populate_netmodes
start_client_listener
}
reload_service() {
@@ -208,6 +240,12 @@ reload_service() {
# set default JUCI page to overview
uci -q set juci.juci.homepage="overview"
uci commit juci
start_client_listener
}
stop_service() {
killall -SIGKILL netmode-client-detect >/dev/null 2>&1
}
service_triggers()

View File

@@ -1,113 +0,0 @@
config settings 'settings'
option disabled '0'
config defaults
option syn_flood 1
option input ACCEPT
option output ACCEPT
option forward REJECT
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
config zone
option name wan
list network 'wan'
option input REJECT
option output ACCEPT
option forward REJECT
option masq 1
option mtu_fix 1
# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
config rule
option name Allow-DHCP-Renew
option src wan
option proto udp
option dest_port 68
option target ACCEPT
option family ipv4
option hidden 1
config rule
option name Repeater-Management
option src wan
option proto tcp
option dest_port '22 80 8080 8181 9876'
option target ACCEPT
option family ipv4
option hidden 1
# Allow IPv4 ping
config rule
option name Allow-Ping
option src wan
option proto icmp
option icmp_type echo-request
option family ipv4
option target ACCEPT
option hidden 1
# Allow DHCPv6 replies
# see https://dev.openwrt.org/ticket/10381
config rule
option name Allow-DHCPv6
option src wan
option proto udp
option src_ip fe80::/10
option src_port 547
option dest_ip fe80::/10
option dest_port 546
option family ipv6
option target ACCEPT
option hidden 1
# Allow essential incoming IPv6 ICMP traffic
config rule
option name Allow-ICMPv6-Input
option src wan
option proto icmp
list icmp_type echo-request
list icmp_type echo-reply
list icmp_type destination-unreachable
list icmp_type packet-too-big
list icmp_type time-exceeded
list icmp_type bad-header
list icmp_type unknown-header-type
list icmp_type router-solicitation
list icmp_type neighbour-solicitation
list icmp_type router-advertisement
list icmp_type neighbour-advertisement
option limit 1000/sec
option family ipv6
option target ACCEPT
option hidden 1
# Allow essential forwarded IPv6 ICMP traffic
config rule
option name Allow-ICMPv6-Forward
option src wan
option dest *
option proto icmp
list icmp_type echo-request
list icmp_type echo-reply
list icmp_type destination-unreachable
list icmp_type packet-too-big
list icmp_type time-exceeded
list icmp_type bad-header
list icmp_type unknown-header-type
option limit 1000/sec
option family ipv6
option target ACCEPT
option hidden 1
# include a file with users custom iptables rules
config include
option path /etc/firewall.user
option reload 1
# include a file with rules for SIP and RTP traffic
config include
option path /etc/firewall.sip
option reload 1

View File

@@ -0,0 +1,22 @@
{
"description": [
{ "en" : "Repeater 2.4▴▾5" },
{ "sv" : "Repeater 2.4▴▾5" }
],
"explanation": [
{ "en" : "Your router is going to act as a wired extender or wireless repeater to the selected Wireless Access Point. Uplink 2.4G & Downlink 5G" },
{ "sv" : "Routern kommer att fungera som en trådbunden extender eller trådlös repeater till den valda trådlösa åtkomstpunkten. Uplink 2.4G & Downlink 5G" }
],
"excluded_boards" : [
"DG15*",
"DG40*",
"EG40*",
"EX40*"
],
"acl" : [
"admin"
],
"uplink_band" : "b",
"credentials" : 1,
"reboot" : 0
}

View File

@@ -0,0 +1,6 @@
config ethernet_interface 'Wan'
option baseifname '$WAN'
option ifname '$WAN.1'
option name 'WAN'
option bridge '1'

View File

@@ -0,0 +1,15 @@
config interface 'loopback'
option is_lan '1'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'wan'
option type 'bridge'
option proto 'dhcp'
option hostname 'Inteno-$BSSID4'
option ifname '$WAN.1 $LAN1 $LAN2 $LAN3 $LAN4'
option reqopts '43'

View File

@@ -0,0 +1,86 @@
config wifi-status 'status'
option wlan '1'
option wps '1'
option sched_status '0'
option schedule '0'
config wifi-device 'wl0'
option type 'broadcom'
option country 'EU/13'
option band 'a'
option bandwidth '80'
option hwmode '11ac'
option channel 'auto'
option scantimer '15'
option wmm '1'
option wmm_noack '0'
option wmm_apsd '0'
option txpower '100'
option rateset 'default'
option frag '2346'
option rts '2347'
option dtim_period '1'
option beacon_int '100'
option rxchainps '0'
option rxchainps_qt '10'
option rxchainps_pps '10'
option rifs '0'
option rifs_advert '0'
option maxassoc '32'
option beamforming '0'
option doth '1'
option dfsc '1'
config wifi-iface
option device 'wl0'
option network 'wan'
option mode 'ap'
option ssid 'Inteno-$BSSID4'
option encryption 'psk2'
option cipher 'auto'
option key '$WPAKEY'
option gtk_rekey '3600'
option macfilter '0'
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option autoconf '1'
config wifi-device 'wl1'
option type 'broadcom'
option country 'EU/13'
option band 'b'
option bandwidth '20'
option hwmode 'auto'
option channel 'auto'
option scantimer '15'
option wmm '1'
option wmm_noack '0'
option wmm_apsd '0'
option txpower '100'
option rateset 'default'
option frag '2346'
option rts '2347'
option dtim_period '1'
option beacon_int '100'
option rxchainps '0'
option rxchainps_qt '10'
option rxchainps_pps '10'
option rifs '0'
option rifs_advert '0'
option maxassoc '32'
option doth '0'
option apsta '1'
config wifi-iface
option device 'wl1'
option ifname 'wl1'
option network 'wan'
option mode 'wet'
option ssid 'Inteno-$BSSID4'
option encryption 'psk2'
option cipher 'auto'
option wps_pbc '0'
option wmf_bss_enable '1'
option autoconf '1'

View File

@@ -0,0 +1,22 @@
{
"description": [
{ "en" : "Repeater 2.4▴▾2.4&5" },
{ "sv" : "Repeater 2.4▴▾2.4&5" }
],
"explanation": [
{ "en" : "Your router is going to act as a wired extender or wireless repeater to the selected Wireless Access Point. Uplink 2.4G & Downlink 2.4G + 5G" },
{ "sv" : "Routern kommer att fungera som en trådbunden extender eller trådlös repeater till den valda trådlösa åtkomstpunkten. Uplink 2.4G & Downlink 2.4G + 5G" }
],
"excluded_boards" : [
"DG15*",
"DG40*",
"EG40*",
"EX40*"
],
"acl" : [
"admin"
],
"uplink_band" : "b",
"credentials" : 1,
"reboot" : 0
}

View File

@@ -0,0 +1,6 @@
config ethernet_interface 'Wan'
option baseifname '$WAN'
option ifname '$WAN.1'
option name 'WAN'
option bridge '1'

View File

@@ -0,0 +1,15 @@
config interface 'loopback'
option is_lan '1'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'wan'
option type 'bridge'
option proto 'dhcp'
option hostname 'Inteno-$BSSID4'
option ifname '$WAN.1 $LAN1 $LAN2 $LAN3 $LAN4'
option reqopts '43'

View File

@@ -0,0 +1,101 @@
config wifi-status 'status'
option wlan '1'
option wps '1'
option sched_status '0'
option schedule '0'
config wifi-device 'wl0'
option type 'broadcom'
option country 'EU/13'
option band 'a'
option bandwidth '80'
option hwmode '11ac'
option channel 'auto'
option scantimer '15'
option wmm '1'
option wmm_noack '0'
option wmm_apsd '0'
option txpower '100'
option rateset 'default'
option frag '2346'
option rts '2347'
option dtim_period '1'
option beacon_int '100'
option rxchainps '0'
option rxchainps_qt '10'
option rxchainps_pps '10'
option rifs '0'
option rifs_advert '0'
option maxassoc '32'
option beamforming '0'
option doth '1'
option dfsc '1'
config wifi-iface
option device 'wl0'
option network 'wan'
option mode 'ap'
option ssid 'Inteno-$BSSID4'
option encryption 'psk2'
option cipher 'auto'
option key '$WPAKEY'
option gtk_rekey '3600'
option macfilter '0'
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option autoconf '1'
config wifi-device 'wl1'
option type 'broadcom'
option country 'EU/13'
option band 'b'
option bandwidth '20'
option hwmode 'auto'
option channel 'auto'
option scantimer '15'
option wmm '1'
option wmm_noack '0'
option wmm_apsd '0'
option txpower '100'
option rateset 'default'
option frag '2346'
option rts '2347'
option dtim_period '1'
option beacon_int '100'
option rxchainps '0'
option rxchainps_qt '10'
option rxchainps_pps '10'
option rifs '0'
option rifs_advert '0'
option maxassoc '32'
option doth '0'
option apsta '1'
config wifi-iface
option device 'wl1'
option ifname 'wl1'
option network 'wan'
option mode 'wet'
option ssid 'Inteno-$BSSID4'
option encryption 'psk2'
option cipher 'auto'
option wps_pbc '0'
option wmf_bss_enable '1'
option autoconf '1'
config wifi-iface
option device 'wl1'
option network 'wan'
option mode 'ap'
option ssid 'Inteno-$BSSID4'
option encryption 'psk2'
option cipher 'auto'
option key '$WPAKEY'
option gtk_rekey '3600'
option macfilter '0'
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
option autoconf '1'

View File

@@ -8,11 +8,9 @@
{ "sv" : "Routern kommer att fungera som en trådbunden extender eller trådlös repeater till den valda trådlösa åtkomstpunkten. Uplink 2.4G & Downlink 2.4G + 5G" }
],
"excluded_boards" : [
"DG15*",
"DG40*",
"EG40*"
"*G*"
],
"uplink_band": 'b',
"uplink_band" : 'b',
"credentials" : 1,
"reboot" : 0
}

View File

@@ -0,0 +1,39 @@
config owsd 'global'
option sock '/var/run/ubus.sock'
option www '/www'
option redirect '/cgi-bin/luci:/cacheflush.html'
config owsd-listen 'loopback'
option port '80'
option interface 'loopback'
option ipv6 'on'
list origin '*'
config owsd-listen 'lan'
option port '80'
option interface 'lan'
option ipv6 'on'
option whitelist_interface_as_origin '1'
option whitelist_dhcp_domains '1'
config owsd-listen 'wan'
option port '80'
option interface 'wan'
option ipv6 'on'
option whitelist_interface_as_origin '1'
list origin '*'
config owsd-listen 'wan_8080'
option port '8080'
option interface 'wan'
option ipv6 'on'
option whitelist_interface_as_origin '1'
list origin '*'
config owsd-listen 'wan_8181'
option port '8181'
option interface 'wan'
option ipv6 'on'
option whitelist_interface_as_origin '1'
list origin '*'

View File

@@ -8,11 +8,9 @@
{ "sv" : "Routern kommer att fungera som en trådbunden extender eller trådlös repeater till den valda trådlösa åtkomstpunkten. Uplink 5G & Downlink 2.4G + 5G" }
],
"excluded_boards" : [
"DG15*",
"DG40*",
"EG40*"
"*G*"
],
"uplink_band": 'a',
"uplink_band" : 'a',
"credentials" : 1,
"reboot" : 0
}

View File

@@ -0,0 +1,39 @@
config owsd 'global'
option sock '/var/run/ubus.sock'
option www '/www'
option redirect '/cgi-bin/luci:/cacheflush.html'
config owsd-listen 'loopback'
option port '80'
option interface 'loopback'
option ipv6 'on'
list origin '*'
config owsd-listen 'lan'
option port '80'
option interface 'lan'
option ipv6 'on'
option whitelist_interface_as_origin '1'
option whitelist_dhcp_domains '1'
config owsd-listen 'wan'
option port '80'
option interface 'wan'
option ipv6 'on'
option whitelist_interface_as_origin '1'
list origin '*'
config owsd-listen 'wan_8080'
option port '8080'
option interface 'wan'
option ipv6 'on'
option whitelist_interface_as_origin '1'
list origin '*'
config owsd-listen 'wan_8181'
option port '8181'
option interface 'wan'
option ipv6 'on'
option whitelist_interface_as_origin '1'
list origin '*'

View File

@@ -0,0 +1,15 @@
{
"description": [
{ "en" : "Fully Routed (NAT)" },
{ "sv" : "Fullt Omdirigerad (NAT)" }
],
"explanation": [
{ "en" : "" },
{ "sv" : "" }
],
"excluded_boards" : [
"EX4*"
],
"credentials" : 0
}

View File

@@ -0,0 +1,13 @@
config atm_bridge
option link_type 'EoA'
option encapseoa 'llcsnap_eth'
option unit '0'
option ifname 'atm0.1'
option baseifname 'atm0'
option atmtype 'ubr'
option name 'atm_inet'
option vpi '8'
option vci '35'

View File

@@ -0,0 +1,5 @@
config ethernet_interface 'Wan'
option baseifname '$WAN'
option ifname '$WAN.1'
option name 'WAN'

View File

@@ -0,0 +1,9 @@
config vdsl_interface
option unit '0'
option ifname 'ptm0.1'
option baseifname 'ptm0'
option name 'VDSL2'
option dslat '1'
option ptmprio '1'
option ipqos '1'

View File

@@ -0,0 +1,29 @@
config interface 'loopback'
option is_lan '1'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option is_lan '1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ifname '$LAN1 $LAN2 $LAN3 $LAN4'
option ip6assign '60'
config interface 'wan'
option type 'anywan'
option proto 'dhcp'
option vendorid '$HARDWAREID-INTENO'
option hostname 'Inteno_$MAC4'
option ifname 'ptm0.1 atm0.1 $WAN.1'
option ipv6 '1'
config interface 'wan6'
option proto 'dhcpv6'
option ifname '@wan'

View File

@@ -0,0 +1,86 @@
config wifi-status 'status'
option wlan '1'
option wps '1'
option sched_status '0'
option schedule '0'
config wifi-device 'wl0'
option type 'broadcom'
option country 'EU/13'
option band 'a'
option bandwidth '80'
option hwmode 'auto'
option channel 'auto'
option scantimer '15'
option wmm '1'
option wmm_noack '0'
option wmm_apsd '1'
option txpower '100'
option rateset 'default'
option frag '2346'
option rts '2347'
option dtim_period '1'
option beacon_int '100'
option rxchainps '0'
option rxchainps_qt '10'
option rxchainps_pps '10'
option rifs '0'
option rifs_advert '0'
option maxassoc '32'
option beamforming '1'
option doth '1'
option dfsc '1'
config wifi-iface
option device 'wl0'
option network 'lan'
option mode 'ap'
option ssid 'Inteno-$BSSID4'
option encryption 'psk2'
option cipher 'auto'
option key '$WPAKEY'
option gtk_rekey '3600'
option macfilter '0'
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'
config wifi-device 'wl1'
option type 'broadcom'
option country 'EU/13'
option band 'b'
option bandwidth '20'
option hwmode 'auto'
option channel 'auto'
option scantimer '15'
option wmm '1'
option wmm_noack '0'
option wmm_apsd '1'
option txpower '100'
option rateset 'default'
option frag '2346'
option rts '2347'
option dtim_period '1'
option beacon_int '100'
option rxchainps '0'
option rxchainps_qt '10'
option rxchainps_pps '10'
option rifs '0'
option rifs_advert '0'
option maxassoc '32'
option doth '0'
config wifi-iface
option device 'wl1'
option network 'lan'
option mode 'ap'
option ssid 'Inteno-$BSSID4'
option encryption 'mixed-psk'
option cipher 'auto'
option key '$WPAKEY'
option gtk_rekey '3600'
option macfilter '0'
option wps_pbc '1'
option wmf_bss_enable '1'
option bss_max '32'

View File

@@ -7,6 +7,9 @@
{ "en" : "" },
{ "sv" : "" }
],
"excluded_boards" : [
"*G*"
],
"credentials" : 0
}

View File

@@ -0,0 +1,22 @@
config dnsmasq
option domainneeded 1
option boguspriv 1
option filterwin2k 0
option localise_queries 1
option rebind_protection 0
option rebind_localhost 1
option local '/lan/'
option domain 'lan'
option expandhosts 1
option nonegcache 0
option authoritative 1
option readethers 1
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
config dhcp lan
option interface lan
option start 100
option limit 150
option leasetime 12h

View File

@@ -9,15 +9,27 @@ config defaults
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
config zone
option name lan
list network 'lan'
option input ACCEPT
option output ACCEPT
option forward ACCEPT
config zone
option name wan
list network 'wan'
list network 'wan6'
option input REJECT
option output ACCEPT
option forward REJECT
option masq 1
option mtu_fix 1
config forwarding
option src lan
option dest wan
# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
config rule
@@ -27,16 +39,6 @@ config rule
option dest_port 68
option target ACCEPT
option family ipv4
option hidden 1
config rule
option name Repeater-Management
option src wan
option proto tcp
option dest_port '22 80 8080 8181 9876'
option target ACCEPT
option family ipv4
option hidden 1
# Allow IPv4 ping
config rule
@@ -46,7 +48,13 @@ config rule
option icmp_type echo-request
option family ipv4
option target ACCEPT
option hidden 1
config rule
option name Allow-IGMP
option src wan
option proto igmp
option family ipv4
option target ACCEPT
# Allow DHCPv6 replies
# see https://dev.openwrt.org/ticket/10381
@@ -60,13 +68,24 @@ config rule
option dest_port 546
option family ipv6
option target ACCEPT
option hidden 1
config rule
option name Allow-MLD
option src wan
option proto icmp
option src_ip fe80::/10
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family ipv6
option target ACCEPT
# Allow essential incoming IPv6 ICMP traffic
config rule
option name Allow-ICMPv6-Input
option src wan
option proto icmp
option proto icmp
list icmp_type echo-request
list icmp_type echo-reply
list icmp_type destination-unreachable
@@ -81,7 +100,6 @@ config rule
option limit 1000/sec
option family ipv6
option target ACCEPT
option hidden 1
# Allow essential forwarded IPv6 ICMP traffic
config rule
@@ -99,15 +117,37 @@ config rule
option limit 1000/sec
option family ipv6
option target ACCEPT
option hidden 1
# allow IPsec/ESP and ISAKMP passthrough
config rule
option src wan
option dest lan
option proto esp
option target ACCEPT
config rule
option src wan
option dest lan
option dest_port 500
option proto udp
option target ACCEPT
config dmz dmz
option enabled '0'
option exclude_ports '5060 7547'
# include a file with users custom iptables rules
config include
option path /etc/firewall.user
option reload 1
# include a file with rules for SIP and RTP traffic
# include a file with rules for prioritizing some specific packets
config include
option path /etc/firewall.sip
option path /etc/firewall.qos
option reload 1
# include a file with rules for DMZ Host
config include dmzhost
option path /etc/firewall.dmz
option reload 1

View File

@@ -0,0 +1,36 @@
#!/bin/sh
# receive new client events
# and trigger wificontrol in --router mode for that client
. /usr/share/libubox/jshn.sh
local action ipaddr macaddr network
timed_check() {
while true; do
wificontrol --router
sleep $1
done
}
timed_check 60 &
ubus listen client | \
while read event ; do
#echo "netmode-client-detect got event: $event" >/dev/console
json_load "$event"
json_select client
json_get_var action action
[ "$action" == "connect" ] || continue
json_get_var macaddr macaddr
json_get_var ipaddr ipaddr
json_get_var network netwrork "lan"
if echo $macaddr | grep -i -e "^00:22:07" -e "^44:D4:37" -e "^02:0C:07" -e "^06:0C:07"; then
echo "netmode-client-detect: a new Inteno device detected on '$network' network (MACAddr:$macaddr IPAddr:$ipaddr)" >/dev/console
ubus call repeater get_creds '{"network":"'$network'","file":"/tmp/wificontrol.txt"}'
/sbin/wificontrol --router --destination $ipaddr
fi
done

View File

@@ -0,0 +1,180 @@
#!/bin/sh
. /usr/share/libubox/jshn.sh
. /lib/functions.sh
local state="exit"
set_wireless_values() {
local iface_num="$1"
local ssid="$2"
local key="$3"
local encryption="$4"
local old_ssid old_key old_encryption
if ! uci -q get wireless.@wifi-iface[$iface_num] >/dev/null 2>&1; then
state="reload"
uci add wireless wifi-iface >/dev/null 2>&1
fi
local network="$(uci -q get wireless.@wifi-iface[$iface_num].network)"
old_ssid="$(uci -q get wireless.@wifi-iface[$iface_num].ssid)"
old_key="$(uci -q get wireless.@wifi-iface[$iface_num].key)"
old_encryption="$(uci -q get wireless.@wifi-iface[$iface_num].encryption)"
if [ "$old_ssid" != "$ssid" -o "$old_encryption" != "$encryption" -o "$old_key" != "$key" -o -z "$network" ]; then
#TODO: get network dynamicaly
[ "$state" == "exit" ] && state="apply"
[ -z "$network" ] && network="wan"
uci set wireless.@wifi-iface[$iface_num].network="$network"
uci set wireless.@wifi-iface[$iface_num].ssid="$ssid"
uci set wireless.@wifi-iface[$iface_num].key="$key"
uci set wireless.@wifi-iface[$iface_num].encryption="$encryption"
fi
}
get_wifi_device_from_band(){
local section="$1"
local band="$2"
local __ret="$3"
local b
config_get b $section "band"
if [ "$band" == "$b" ]; then
eval "export -- \"$__ret=$section\""
fi
}
get_device(){
local band="$1"
config_foreach get_wifi_device_from_band "wifi-device" "$band" "$2"
}
get_iface_num() {
local device="$1"
local prev="$2"
local __save="$3"
local i=0
local dev
while true; do
[ $i -gt 100 ] && break ## just a safty messure
mode="$(uci -q get wireless.@wifi-iface[$i].mode)"
if [ "$mode" != "ap" ]; then
i=$((i+1))
break
fi
dev="$(uci -q get wireless.@wifi-iface[$i].device)"
if [ "$dev" != "$device" ]; then
[ -z "$dev" ] && break
i=$((i+1))
elif [ $prev -ne 0 ]; then
i=$((i+1))
prev=$((prev-1))
else
break
fi
done
eval "export -- \"$__save=$i\""
}
###### START HERE #######
local file="$1"
[ -f "$file" ] || exit
json_load "`cat $file`"
json_select "wifi_ifaces"
local curmode repmode
config_load netmode
config_get curmode setup curmode
case $curmode in
*repeater*)
;;
*)
uci set netmode.setup.curmode="repeater"
uci commit netmode
/etc/init.d/netmode reload
curmode="$(uci -q get netmode.setup.curmode)"
;;
esac
local apcliband="a"
case $curmode in
*_2g_*) apcliband="b";;
esac
i=1
local dummy band ssid key encryption device iface_num
while json_get_var dummy $i; do
json_select $i
json_get_var band band
[ "$apcliband" == "$band" ] && break
json_select ..
i=$((i+1))
done
[ "$apcliband" == "$band" ] || exit
repeater_iface_num=$(uci -q show wireless | grep -e ".mode='wet'" -e ".mode='sta'" | sed 's/.*\[\([0-9]\)\].*/\1/')
[ -z "$repeater_iface_num" ] && exit
json_get_var ssid ssid
json_get_var key key
json_get_var encryption encryption
set_wireless_values "$repeater_iface_num" "$ssid" "$key" "$encryption"
json_load "`cat $file`"
json_select "wifi_ifaces"
config_load wireless
local b_num=0
local a_num=0
i=1
while json_get_var dummy $i; do
json_select $i
json_get_var band band
get_device "$band" device
case $band in
a)
get_iface_num "$device" "$a_num" iface_num
a_num=$((a_num+1))
;;
b)
get_iface_num "$device" "$b_num" iface_num
b_num=$((b_num+1))
;;
esac
[ -z $iface_num ] && return
json_get_var ssid ssid
json_get_var encryption encryption
json_get_var key key
set_wireless_values "$iface_num" "$ssid" "$key" "$encryption"
json_select ..
i=$((i+1))
done
while uci -q get wireless.@wifi-iface[$i] >/dev/null; do
local mode="$(uci -q get wireless.@wifi-iface[$i].mode)"
if [ "$mode" == "wet" -o "$mode" == "sta" ]; then
i=$((i+1))
continue
fi
state="reload"
uci -q delete wireless.@wifi-iface[$i] >/dev/null
i=$((i+1))
done
uci commit wireless
if [ "$state" == "exit" ]; then
return
elif [ "$state" == "apply" ]; then
# wifi apply
wifi reload
else
# wifi reload
wifi reload
fi
[ -f /etc/init.d/layer2_interface_ethernet -a -f /etc/config/layer2_interface_ethernet ] && /etc/init.d/layer2_interface_ethernet reload

View File

@@ -0,0 +1,141 @@
#!/bin/sh
. /usr/share/libubox/jshn.sh
. /lib/functions.sh
get_if_creds() {
local section=$1
local network=$2
local net dev ssid key encryption band
config_get net $section "network"
if [ "$net" == "$network" ]; then
config_get dev $section "device"
band="$(uci -q get wireless.$dev.band)"
config_get ssid $section ssid
config_get key $section key
config_get encryption $section encryption
config_get disabled $section disabled 0
echo "disabled for $band = $disabled" >>/tmp/dbg
[ $disabled -eq 1 ] && return
[ "$ssid" == "" -o "$band" == "" ] && return
json_add_object
json_add_string "ssid" "$ssid"
json_add_string "band" "$band"
json_add_string "key" "$key"
json_add_string "encryption" "$encryption"
json_close_object
fi
}
validate_file() {
local file="$1"
local real="$(readlink -f `dirname $file`)"
real="${real}/`basename $file`"
case "$real" in
/tmp/*)
touch $real && return 0 || return 1
;;
*)
return 1
;;
esac
}
write_error(){
json_init
json_add_string "status" "error: $1"
json_dump
exit 1
}
duplicate_if_single_radio() {
json_select "wifi-ifaces"
local i=1
local dummy band dup_band num_radios
num_radios="$(uci -q show wireless | grep wifi-device | wc -l)"
[ "$num_radios" == "2" ] && return
band="$(uci -q get wireless.@wifi-device[0].band)"
[ "$band" == "a" ] && dup_band="b"
[ "$band" == "b" ] && dup_band="a"
[ -z "$dup_band" ] && return
while json_get_var dummy $i; do
i=$((i+1))
done
i=$((i-1))
local ssid key encryption
while [ $i -gt 0 ]; do
json_select $i
json_get_var ssid ssid
json_get_var key key
json_get_var encryption encryption
json_select ..
json_add_object
json_add_string "ssid" "$ssid"
json_add_string "band" "$dup_band"
json_add_string "key" "$key"
json_add_string "encryption" "$encryption"
json_close_object
i=$((i-1))
done
}
case "$1" in
list)
echo '{ "get_creds": { "network": "str", "file": "str" }, "set_creds": { "file": "str" } }'
;;
call)
case "$2" in
get_creds)
#TODO: if not routed exit
local curmode="$(uci -q get netmode.setup.curmode)"
case $curmode in
*repeater*) write_error "not in repeater mode";;
esac
local network file input
read input
json_load $input
json_get_var network network
json_get_var file file
json_init
json_add_array "wifi-ifaces"
config_load wireless
config_foreach get_if_creds "wifi-iface" "$network"
json_close_array
duplicate_if_single_radio
if [ "$file" == "" ]; then
json_dump
else
validate_file $file && json_dump -i >$file || write_error "invalid filename (\"$file\"), file must be in /tmp/ and in an existing directory"
fi
json_init
json_add_string "status" success
json_dump
;;
set_creds)
local file
read input
json_load "$input"
json_get_var file file
validate_file "$file" || write_error "invalid filename (\"$file\"), file must be in /tmp and exist"
json_load "`cat $file`" || write_error "invalid file content"
json_select "wifi_ifaces" || write_error "invalid file content"
json_init
json_add_string "status" success
json_dump
netmode-conf $file >/dev/null 2>&1 &
;;
esac
;;
esac

View File

@@ -22,7 +22,7 @@ CONFIG_PACKAGE_getopt=y
CONFIG_PACKAGE_glib2=y
CONFIG_PACKAGE_ice-client=y
CONFIG_PACKAGE_ice-client-camerawatch=m
# CONFIG_PACKAGE_ice-client-fileme is not set
CONFIG_PACKAGE_ice-client-fileme=m
CONFIG_PACKAGE_ice-client-gigaset=m
CONFIG_PACKAGE_ice-client-guest=m
CONFIG_PACKAGE_ice-client-iperf=m
@@ -31,6 +31,7 @@ CONFIG_PACKAGE_ice-client-monitor=m
CONFIG_PACKAGE_ice-client-netrounds=m
CONFIG_PACKAGE_ice-client-rshell=m
CONFIG_PACKAGE_ice-client-texec=m
CONFIG_PACKAGE_icwmp-curl=y
CONFIG_PACKAGE_inteno-netmodes=y
CONFIG_PACKAGE_iperf-mt=y
CONFIG_PACKAGE_ipset=y
@@ -55,9 +56,10 @@ CONFIG_PACKAGE_juci-dropbear=y
CONFIG_PACKAGE_juci-ethernet=y
CONFIG_PACKAGE_juci-event=y
CONFIG_PACKAGE_juci-firewall-fw3=y
CONFIG_PACKAGE_juci-icwmp=y
CONFIG_PACKAGE_juci-igmpinfo=y
CONFIG_PACKAGE_juci-inteno-backup=y
CONFIG_PACKAGE_juci-inteno-multiwan=y
CONFIG_PACKAGE_juci-mwan3=y
CONFIG_PACKAGE_juci-inteno-provisioning=y
CONFIG_PACKAGE_juci-inteno-qos=y
CONFIG_PACKAGE_juci-inteno-voice-client=y
@@ -71,6 +73,7 @@ CONFIG_PACKAGE_juci-network-netifd=y
CONFIG_PACKAGE_juci-owsd=y
CONFIG_PACKAGE_juci-printer=y
CONFIG_PACKAGE_juci-realtime-graphs=y
CONFIG_PACKAGE_juci-samba=y
CONFIG_PACKAGE_juci-simple-gui=y
CONFIG_PACKAGE_juci-snmpd=y
CONFIG_PACKAGE_juci-sysupgrade=y
@@ -83,6 +86,8 @@ CONFIG_PACKAGE_juci-utils=y
CONFIG_PACKAGE_kmod-nls-base=y
CONFIG_PACKAGE_kmod-siit=y
CONFIG_PACKAGE_layer2interface=y
CONFIG_PACKAGE_libcgroup-daemon=y
CONFIG_PACKAGE_libcgroup=y
# CONFIG_PACKAGE_libcgroup-utils is not set
CONFIG_PACKAGE_ldd=y
CONFIG_PACKAGE_libdaemon=y
@@ -96,7 +101,7 @@ CONFIG_PACKAGE_mtd-utils-deubinize=y
CONFIG_PACKAGE_mtd-utils-imagewrite=y
CONFIG_PACKAGE_mtd-utils-mkfs.jffs2=y
CONFIG_PACKAGE_mtd-utils-nanddump=y
CONFIG_PACKAGE_multiwan=y
CONFIG_PACKAGE_mwan3=y
CONFIG_PACKAGE_ndisc6=y
CONFIG_PACKAGE_ntfs-3g=y
CONFIG_PACKAGE_odhcp6c=y
@@ -119,6 +124,8 @@ CONFIG_PACKAGE_rdnssd=y
CONFIG_PACKAGE_relayd=y
CONFIG_PACKAGE_resolveip=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_samba3=y
CONFIG_PACKAGE_samba3-nmbd=y
CONFIG_PACKAGE_snmpd=y
CONFIG_PACKAGE_strace=y
CONFIG_PACKAGE_tc=y
@@ -189,3 +196,5 @@ CONFIG_LIBCURL_CRYPTO_AUTH=y
CONFIG_OPENVPN_openssl_ENABLE_IPROUTE2=y
# CONFIG_SAMBA3_CONFIG_NO_PRINTING is not set
# CONFIG_SIGNED_PACKAGES is not set
CONFIG_KERNEL_DEVTMPFS=y
CONFIG_KERNEL_DEVTMPFS_MOUNT=y

View File

@@ -1,88 +1,135 @@
#!/bin/bash
# Intermediate repo for core packages
core_repo=git@public.inteno.se:iopsys-cc-core.git
# Repo to which core packages should be imported
import_repo=git@public.inteno.se:feed-inteno-openwrt.git
import_branch=openwrt-cc-core
function export_core {
local path=$1
# export paths to their own branches in an intermediate repo
repo=$(basename $path)
git subtree push -q --prefix=$path $core_repo $repo
}
function update_core {
local path=$1
if [ ! -d $topdir/feeds/feed_inteno_openwrt ]; then
echo "You need to run ./iop feeds_update"
exit -1
fi
# ensure that we are synced with the remote
cd $topdir/feeds/feed_inteno_openwrt
git checkout $import_branch
git pull
# first install subtrees if they don't already exist
repo=$(basename $path)
git subtree add --prefix=$repo $core_repo $repo
# install subtrees in feed from intermediate repo
repo=$(basename $path)
echo "Exporting $repo"
git subtree pull -q -m "Exporting $repo" --prefix=$repo $core_repo $repo
# update import repo sync branch
git push origin $import_branch
}
function display_help {
echo "Usage: ./iop export_core -e path/to/package"
}
function extract_core {
initial_commit=1427738ac4b77f474999ae21af1a8b916468df36
patch_dir=extract_core_patches
topdir=$(pwd)
# Dir of script location
topdir=$(pwd)
# Paths to packages that should be exported.
paths+='package/network/services/samba36 '
paths+='package/network/services/dnsmasq '
paths+='package/network/services/dropbear '
paths+='package/network/services/odhcpd '
paths+='package/network/config/firewall '
paths+='package/network/config/netifd '
paths+='package/network/config/qos-scripts '
paths+='package/network/utils/iproute2 '
paths+='package/network/utils/curl '
paths+='package/utils/busybox '
function print_usage {
echo "Usage: $0 extract_core"
echo " -p <path-to-package> | default"
echo " -r <import-repo>"
echo " -b <import-branch>"
echo ""
echo "Example: $0 extract_core"
echo " -p package/utils/busybox"
echo " -r feeds/feed_inteno_openwrt"
echo " -b devel"
}
if [ $# -eq 0 ]; then
display_help
exit -1
fi
function orphan_branch {
local branch=$1
# Execute user command
while getopts "he:" opt; do
case $opt in
e)
path=${OPTARG}
echo "Extracting ${path} from core to ${import_repo}:${import_branch}"
export_core $path
update_core $path
;;
h)
display_help
exit 0
;;
\?)
display_help
exit -1
;;
esac
done
git checkout --orphan $branch
git rm -rf --cached *
git rm -rf --cached .empty
rm -rf *
rm -rf .empty
}
function export_core {
local path=$1
echo "Extracting ${path} from core to ${import_repo}:${import_branch}"
# Generate patches from start of openwrt repo.
mkdir -p $patch_dir
repo=$(basename $path)
dir=$(dirname $path)
git format-patch $initial_commit $path -o $patch_dir
# Remove dirname from patches to commit the packages to the
# top directory in the destination repo.
ls $patch_dir | while read line; do
sdir=$(echo "$dir/" | sed 's/\//\\\//g')
sed -i "s/$sdir//g" $patch_dir/$line
done
cd $import_repo
if [ -n "$(git rev-parse -q --verify remotes/origin/$repo)" ]; then
# Create temporary branch to apply patches on.
# We need to do this as git am does not like it
# when patches have already been applied.
orphan_branch tmp
git am $topdir/$patch_dir/*
# Rebase and merge.
git rebase origin/$repo
git checkout --track -b $repo origin/$repo
git merge tmp
git br -d tmp
else
# Remote branch does not exist for packet so create it.
orphan_branch $repo
git am $topdir/$patch_dir/*
fi
git push origin $repo
# Merge the package branch into the main branch.
git checkout $import_branch
git merge $repo -m "Syncing $repo"
git push origin $import_branch
git br -d $repo
rm -rf $topdir/$patch_dir
cd $topdir
}
# Execute user command
while getopts "p:r:b:h" opt; do
case $opt in
p)
export_path=${OPTARG}
;;
r)
import_repo=${OPTARG}
;;
b)
import_branch=${OPTARG}
;;
h)
print_usage
exit 1
;;
\?)
print_usage
exit 1
;;
esac
done
if [ ! -n "$export_path" ] || [ ! -n "$import_repo" ] || [ ! -n "$import_branch" ]; then
print_usage
exit 1
fi
if [ "$export_path" == "default" ]; then
echo "Extracting default packages:"
for p in $paths; do
export_core $p
done
else
export_core $export_path
fi
exit 0
}
register_command "extract_core" "Extract core package to feeds_inteno_openwrt"
register_command "extract_core" "Extract core package to separate feed"

View File

@@ -24,6 +24,12 @@ function feeds_update {
else
./scripts/feeds update
fi
./scripts/feeds update -ai
# replace core packages with iopsys versions
if [ $override == 1 ]; then
./scripts/feeds install -f -p feed_inteno_openwrt -a
fi
# targets need to be installed explicitly
./scripts/feeds install -p feed_inteno_targets iopsys-brcm63xx-mips

View File

@@ -64,6 +64,7 @@ function genconfig {
iceAllowed=0
endptAllowed=0
natalieAllowed=0
mediatekAllowed=0
allowedRepos="$(ssh -o ConnectTimeout=5 git@private.inteno.se 2>/dev/null | grep -w 'R\|W' | awk '{print$NF}')"
for repo in $allowedRepos; do
@@ -72,6 +73,7 @@ function genconfig {
ice-client) iceAllowed=1 ;;
endptcfg) endptAllowed=1 ;;
natalie-dect*) natalieAllowed=1 ;;
linux) mediatekAllowed=1 ;;
esac
done
}
@@ -142,16 +144,6 @@ function genconfig {
}
use_local_mirror()
{
if wget -T 3 -t 2 -O /dev/null $LOCAL_MIRROR >/dev/null 2>/dev/null; then
echo "mirror [$LOCAL_MIRROR] exists. Using local mirror"
sed -i "s;CONFIG_LOCALMIRROR=.*;CONFIG_LOCALMIRROR=\"$LOCAL_MIRROR\";" .config
else
echo "mirror [$LOCAL_MIRROR] does not exist. Not using local mirror"
fi
}
generate_config()
{
DIFFFILE="$1"
@@ -214,6 +206,13 @@ function genconfig {
cp $CONFIGPATH/config .config
fi
# Add target diff
local target_name=$(echo $target | sed 's/_/-/g')
local target_conf=target/linux/${target_name}/config
if [ -f $target_conf ]; then
cat $target_conf >> .config
fi
# Apply profile diff to master config if selected
if [ -n "$PROFILE" ]; then
if [ -e "$CONFIGPATH/$PROFILE.diff" ]; then
@@ -275,11 +274,15 @@ function genconfig {
[ $iceAllowed -eq 0 ] && echo "CONFIG_ICE_OPEN=y" >> .config
[ $endptAllowed -eq 0 ] && echo "CONFIG_ENDPT_OPEN=y" >> .config
[ $natalieAllowed -eq 0 ] && echo "CONFIG_NATALIE_OPEN=y" >> .config
[ $mediatekAllowed -eq 0 ] && echo "CONFIG_MEDIATEK_OPEN=y" >> .config
else
echo "CONFIG_DEVEL=n" >>.config
echo "CONFIG_GITMIRROR_REWRITE=n" >>.config
echo "CONFIG_BCM_OPEN=y" >> .config
echo "CONFIG_ICE_OPEN=y" >> .config
echo "CONFIG_ENDPT_OPEN=y" >> .config
echo "CONFIG_NATALIE_OPEN=y" >> .config
echo "CONFIG_MEDIATEK_OPEN=y" >> .config
fi
# Force regeneration of themes
@@ -342,10 +345,6 @@ function genconfig {
done
setup_dirs
create_and_copy_files "$1" "$2"
if [ $masterconfig -eq 1 ]; then
use_local_mirror
fi
fi
}

View File

@@ -2,7 +2,8 @@
build_bcmkernel_consumer() {
local tarfile bcmkernelcommith
local tarfile bcmkernelcommith sdkversion
sdkversion=$(grep "CONFIG_BRCM_SDK_VER.*=y" .config | awk -F'[_,=]' '{print$5}')
bcmkernelcommith=$(grep -w "PKG_SOURCE_VERSION:" $curdir/feeds/feed_inteno_broadcom/bcmkernel/$sdkversion.mk | cut -d'=' -f2)
# do not build bcmopen sdk if it was already built before
ssh $SERVER "ls $FPATH/bcmopen-$profile-$bcmkernelcommith.tar.gz" && return
@@ -58,15 +59,48 @@ build_ice_consumer() {
icebasever=$(grep -w "BASE_PKG_VERSION:" ./feeds/feed_inteno_packages/ice-client/Makefile | cut -d'=' -f2)
icerelease=$(grep -w "PKG_RELEASE:" ./feeds/feed_inteno_packages/ice-client/Makefile | cut -d'=' -f2)
iceversion=$icebasever$icerelease
ssh $SERVER "ls $FPATH/ice-client-$profile-$iceversion-$icecommith.tar.gz" && return
cd ./build_dir/target-*_uClibc-0.9.33.*/ice-client-$icebasever/ipkg-*
tar -czv ice-client -f ice-client-$profile-$iceversion-$icecommith.tar.gz
scp ice-client-$profile-$iceversion-$icecommith.tar.gz $SERVER:$FPATH/
cp ice-client-$profile-$iceversion-$icecommith.tar.gz $curdir/
rm -f ice-client-$profile-$iceversion-$icecommith.tar.gz
ssh $SERVER "ls $FPATH/ice-client-$target-$iceversion-$icecommith.tar.gz" && return
cd ./build_dir/target-*_uClibc-0.9.33.*/ice-client-$icebasever/ipkg-* || cd ./build_dir/target-mips*musl-*/ice-client-$icebasever/ipkg-*
tar -czv ice-client -f ice-client-$target-$iceversion-$icecommith.tar.gz
scp ice-client-$target-$iceversion-$icecommith.tar.gz $SERVER:$FPATH/
cp ice-client-$target-$iceversion-$icecommith.tar.gz $curdir/
rm -f ice-client-$target-$iceversion-$icecommith.tar.gz
cd $curdir
}
build_mediatek_kernel() {
local mediatek_commit kernel_version kernel
mediatek_commit=$(grep CONFIG_KERNEL_GIT_COMMIT .config | cut -d '=' -f2 | tr -d '"')
kernel_version=$(grep KERNEL_PATCHVER target/linux/iopsys-ramips/Makefile | cut -d '=' -f2)
kernel=linux-${kernel_version}.*
ssh $SERVER "ls $FPATH/mediatek-kernel-open-$mediatek_commit.tar.gz" && return
echo "Building mediatek kernel tarball from kernel commit:"
echo $mediatek_commit
cd build_dir/target-mipsel_1004kc*/linux-iopsys-ramips_*/$kernel
# Save Kconfig files to recreate the same kernel config,
# delete everyting else.
find drivers/net/wireless/mt_wifi -type f ! -name Kconfig | xargs rm
find drivers/net/wireless/rlt_wifi -type f ! -name Kconfig | xargs rm
# remove git repo
rm -rf .git
# patch kernel for openstk
ls consumer_release | while read line; do patch -p1 < consumer_release/$line; done
cd ..
tar -czv $kernel -f mediatek-kernel-open-$mediatek_commit.tar.gz
scp mediatek-kernel-open-$mediatek_commit.tar.gz $SERVER:$FPATH/
cd $curdir
}
function print_usage {
echo "Usage: $0 generate_tarballs"
echo " -t <target>"
}
function generate_tarballs {
SERVER="god@software.inteno.se"
@@ -74,14 +108,46 @@ function generate_tarballs {
git remote -v | grep -q http && return # do not continue if this is an open SDK environment
target=$(grep CONFIG_TARGET_BOARD .config | cut -d'=' -f2 | tr -d '"')
profile=$(grep CONFIG_BCM_KERNEL_PROFILE .config | cut -d'=' -f2 | tr -d '"')
sdkversion=$(grep "CONFIG_BRCM_SDK_VER.*=y" .config | awk -F'[_,=]' '{print$5}')
curdir=$(pwd)
build_bcmkernel_consumer
build_natalie_consumer
build_endptcfg_consumer
build_ice_consumer
# Execute user command
while getopts "t:h" opt; do
case $opt in
t)
stk_target=${OPTARG}
;;
h)
print_usage
exit 1
;;
\?)
print_usage
exit 1
;;
esac
done
if [ ! -n "$stk_target" ]; then
print_usage
exit 1
fi
if [ "$stk_target" == "broadcom" ]; then
build_bcmkernel_consumer
build_natalie_consumer
build_endptcfg_consumer
build_ice_consumer
elif [ "$stk_target" == "mediatek" ]; then
build_mediatek_kernel
build_ice_consumer
else
echo "Invalid target: $stk_target"
print_usage
exit 1
fi
}

View File

@@ -1,7 +1,5 @@
#!/bin/bash
print_git_update()
{
echo "pkg -> ${PKG_NAME}"
@@ -586,7 +584,8 @@ usage(){
# Exported interface
function update_package {
UPDATE=0
UPDATE=0
Color_Off='\033[0m' # Text Reset
# Regular Colors

View File

@@ -229,7 +229,7 @@ handle_provisioning() {
fi
done
fi
if [ ! -s "$IUPCONFFILES" ]; then
if [ ! -s "$IUPCONFFILES" ] && [ "$enabled" -eq 1 ]; then
echo "File not Found"
reboot="off"
CONF=0

View File

@@ -7,7 +7,7 @@ PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/apietila/libtrace.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_VERSION:=HEAD
PKG_SOURCE_VERSION:=e4b4c5cce35a52da152776a00532aa0b80879c5b
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

41
mtk-bndstrg/Makefile Normal file
View File

@@ -0,0 +1,41 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=mtk-bndstrg
PKG_VERSION:=1.0
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=8a804320c53dead1c9b9f3650cbbc58908c76832
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/mtk-bndstrg
PKG_SOURCE:=$(PKG_NAME).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/mtk-bndstrg
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libpthread +librt
TITLE:=Band steering daemon for Mediatek
endef
define Package/mtk-bndstrg/description
Band steering for Mediatek
endef
#define Build/Compile
#endef
define Build/Configure
#$(call Build/Configure/Default,--with-linux-headers=$(LINUX_DIR))
endef
define Package/mtk-bndstrg/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bndstrg $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,mtk-bndstrg))

View File

@@ -12,7 +12,7 @@ PKG_NAME:=peripheral_manager
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=2217e777ce56b53878ca467a06025db935c235eb
PKG_SOURCE_VERSION:=ff2cf8bfbd3a04731088e9f4540796696e961382
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se/peripheral_manager

View File

@@ -8,7 +8,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=questd
PKG_VERSION:=3.1.38
PKG_SOURCE_VERSION:=8a89a36d534492f198305fb97da68adefccf5f5d
PKG_SOURCE_VERSION:=85785b97a1526114ae521beacb1b302c3cb914ab
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/questd

View File

@@ -35,7 +35,7 @@ UBUS_TIMEOUT=5
BSDBIN=$(which bsd)
ACSDBIN=$(which acsd)
restart_questd()
{
@@ -139,6 +139,31 @@ check_bsdcall()
}
restart_acsd()
{
logger -s -t $0[$$] "Restarting acsd."
killall -q -KILL acsd
acsd &
}
check_acsd()
{
local topline pcpu p
topline=$(top -bn1 | grep "[a]csd")
pcpu=$(echo -en "$topline" | awk '{print $7}')
for p in $pcpu; do
p=${p%%%*}
if [ "$p" -ge "20" ]; then
return 1
fi
done
return 0
}
main()
{
local topline nproc mem pcpu
@@ -168,7 +193,8 @@ main()
"$restart_mem" = "1" -o \
"$restart_pcpu" = "1" ]
then
check_ubuscall || restart_questd
# check_ubuscall || restart_questd
restart_questd
fi
if [ "$BSDBIN" ] ; then
@@ -179,6 +205,10 @@ main()
fi
fi
if [ "$ACSDBIN" ] ; then
check_acsd || restart_acsd
fi
# sleep
if [ "$sample" -lt "$SAMPLES" ]; then
sample=$((sample + 1))

View File

@@ -9,10 +9,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=u-boot
PKG_VERSION:=2016.08
PKG_RELEASE:=1
PKG_SOURCE_URL:=git@private.inteno.se:uboot
PKG_RELEASE:=2
PKG_SOURCE_URL:=http://public.inteno.se:/uboot
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=08fb2b839326c3bc2a2a0472b5dae6ee0288e483
PKG_SOURCE_VERSION:=fccb9d5ee720a9f60cba917ded83e5cebe221eef
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
@@ -61,6 +61,11 @@ endif
define Build/Configure
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
$(UBOOT_CONFIG)_config
$(SED) "s,CONFIG_INTENO_MAJOR=\"0\",CONFIG_INTENO_MAJOR=\"$(PKG_RELEASE)\"," $(PKG_BUILD_DIR)/.config
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
oldconfig
endef
define Build/Compile
@@ -71,6 +76,7 @@ define Build/Compile
endef
define Package/uboot/install/default
$(CP) ./files/* $$(1)/
$(INSTALL_DIR) $(BIN_DIR)/$(TARGET)
$(INSTALL_DIR) $$(1)/boot
$(CP) \

78
uboot/files/etc/init.d/uboot Executable file
View File

@@ -0,0 +1,78 @@
#!/bin/sh /etc/rc.common
START=50
. /usr/share/libubox/jshn.sh
sanity_check_env(){
# make sure iboot is used to start board, but only if verify_boot != 1
# that allows a person to change the bootcmd and not have it overwritten automatically
# but still force it to iboot for old boards.
vb=$(fw_printenv -n verify_boot 2>/dev/null)
if [ "1" != "$verify_boot" ]
then
if ! fw_printenv -n bootcmd 2>/dev/null| grep iboot >/dev/null
then
echo "update uboot boot command"
fw_setenv bootcmd "rescue;iboot"
fw_setenv verify_boot 1
fi
fi
# just set 115200 baudrate as it is really hardcoded in the binary blob
fw_setenv baudrate 115200
}
uboot_upgrade(){
echo "doing upgrade of u-boot old version $cur_Major.$cur_Minor new version $Major.$Minor"
mtd erase /dev/mtd0
mtd write /boot/uboot.img /dev/mtd0
sanity_check_env
}
start() {
iver=$(fw_printenv -n uboot_inteno_version 2>/dev/null)
if [ -z "$iver" ]
then
# if this variable is not set by u-boot the u-boot version is too old.
uboot_upgrade
return
fi
# read in current version into Major Minor variables
json_init
json_load $(echo $iver |sed -e 's/938f0820-2ffb-11e7-bbc9-2f21351ee6fb: //')
json_get_vars Major Minor
# echo "Major $Major"
# echo "Minor $Minor"
cur_Major=$Major
cur_Minor=$Minor
# read in new uboot version into Major Minor variables
json_load $(strings /boot/uboot.img | grep 938f0820-2ffb-11e7-bbc9-2f21351ee6fb |sed -e 's/938f0820-2ffb-11e7-bbc9-2f21351ee6fb: //')
json_get_vars Major Minor
# echo "Major $Major"
# echo "Minor $Minor"
if [ $Major -gt $cur_Major ]
then
uboot_upgrade
return
fi
if [ $Major -eq $cur_Major -a $Minor -gt $cur_Minor ]
then
uboot_upgrade
return
fi
}

View File

@@ -16,7 +16,7 @@ define Package/voice-client
SECTION:=net
CATEGORY:=Network
TITLE:=voice-client
DEPENDS:=+asterisk18-mod
DEPENDS:=+asterisk13
endef
define Package/voice-client/description

View File

@@ -336,6 +336,7 @@ get_bindaddr() {
local bindaddr=""
[ -n "$intf" ] && network_get_ipaddr bindaddr "$intf"
[ -z "$bindaddr" ] && network_get_ipaddr6 bindaddr "$intf"
echo "${bindaddr:-0.0.0.0}"
}