Compare commits

..

568 Commits

Author SHA1 Message Date
Sukru Senli
2f3c122c03 questd updated 2016-10-12 15:07:34 +02:00
Sukru Senli
eb304a0645 iup: copy uci-defaults from rom 2016-10-10 16:48:27 +02:00
Sukru Senli
dd96c95b2d icwmp-3.0-2016-10-10 2016-10-10 13:01:14 +02:00
Sukru Senli
9d97298233 ice-client-4.0.1-RC16 2016-10-07 19:29:06 +02:00
Sukru Senli
cdaab3ae01 ice-client-4.0.1RC15 2016-10-07 17:15:47 +02:00
Sukru Senli
f38b79e3bf ice-client: make rpcd ice user section not visible in gui 2016-10-07 10:04:59 +02:00
Sukru Senli
2af240066b ice-client-4.0.1RC14 2016-10-06 17:04:17 +02:00
Sukru Senli
7b6eede958 iup: exit after configuration 2016-10-06 15:45:55 +02:00
Sukru Senli
d437a5d105 iup: fix encrpytion 2016-09-30 14:48:11 +02:00
Sukru Senli
bff28b6709 iup: remove newline from DESKEY 2016-09-30 11:50:32 +02:00
Sukru Senli
35bae60b92 ice-client-4.0.1RC11 2016-09-30 11:36:22 +02:00
Sukru Senli
ee48fdde9c updated questd 2016-09-30 11:34:49 +02:00
Sukru Senli
5dbd1e1474 samba3: triggered by interface events 2016-09-14 13:27:15 +02:00
Sukru Senli
9febfa04e6 inteno-netmodes: add wireless config for all netmodes 2016-09-14 11:05:02 +02:00
Erik Horemans
c6b2db619b new ice-client version 4.0.1-RC5 2016-09-14 09:17:45 +02:00
Sukru Senli
048987d9e7 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 4e47992 allow questioning disabled wireless interfaces as well
-------------------------------------------------------------------------------
commit 4e479921fb09d189df9baf6bb9007dc630d1e778
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-09-13 16:40:57 +0200

    allow questioning disabled wireless interfaces as well

Base directory -> /
 questd.c | 26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2016-09-13 16:41:30 +02:00
Sukru Senli
70ffe602cc voice-client: add firewall.sip file 2016-09-13 15:27:57 +02:00
Benjamin Larsson
2df1081825 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* db710fe Vendor product number is not reliable, remove backend check
* 1f4d7d7 Remove unused header file that prevent compile on mediatek target.
-------------------------------------------------------------------------------
commit db710fed768e20fba40212e11fa4191593e168fc
Author: Benjamin Larsson <benjamin@southpole.se>
Date: 2016-09-13 13:44:37 +0200

    Vendor product number is not reliable, remove backend check

Base directory -> /
 src/catv.c | 4 ----
 1 file changed, 4 deletions(-)
-------------------------------------------------------------------------------
commit 1f4d7d7b657682146257f2e1ac04944973ff28ba
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-09-01 18:32:47 +0200

    Remove unused header file that prevent compile on mediatek target.

Base directory -> /
 src/wlctl_led.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-09-13 13:47:51 +02:00
Sukru Senli
d41ca4904f icwmp-3.0-2016-09-13 2016-09-13 10:49:15 +02:00
Erik Horemans
ea9383163b new ice-client 4.0.1-RC4 2016-09-13 09:56:36 +02:00
Sukru Senli
4edb9ecd83 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 7fafb55 update connected status
-------------------------------------------------------------------------------
commit 7fafb5586e47fdc34f7701b62cd008e1b311c814
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-09-12 16:10:42 +0200

    update connected status

Base directory -> /
 questd.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
2016-09-12 16:11:04 +02:00
Sukru Senli
47bb7ac389 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9583be6 show ipv6 address in clients list
-------------------------------------------------------------------------------
commit 9583be613ccf3292e80686dea1214e3f4723abc4
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-09-12 15:26:38 +0200

    show ipv6 address in clients list

Base directory -> /
 questd.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
-------------------------------------------------------------------------------
2016-09-12 15:27:06 +02:00
Sukru Senli
c0fcd820e5 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 10d957c support more encryption methods
-------------------------------------------------------------------------------
commit 10d957c5e1eb16dbd95c30749fe6ba7b064b13b8
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-09-12 14:35:59 +0200

    support more encryption methods

Base directory -> /
 broadcom.c | 16 ++++++++++++++++
 questd.c   |  6 +++---
 2 files changed, 19 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2016-09-12 14:36:53 +02:00
Sukru Senli
f57db025f6 syslong-ng3: depend on libeventlog 2016-09-12 12:46:25 +02:00
Sukru Senli
2209513de9 eventlog package 2016-09-12 12:46:25 +02:00
Sukru Senli
9f7eb094e8 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 8ac6320 handle sfp copper case as well
* 18c7204 show correctl link type and speed for SFP
-------------------------------------------------------------------------------
commit 8ac6320b320b8f819ed2ea3e2c751185e8299265
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-09-12 10:37:02 +0200

    handle sfp copper case as well

Base directory -> /
 port.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 18c720492f61bc6a572708b67bca24e908f42436
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-09-12 10:23:31 +0200

    show correctl link type and speed for SFP

Base directory -> /
 port.c | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-09-12 10:38:28 +02:00
Sukru Senli
65a40410f3 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* b984bc1 differentite ethernet sfp link type
-------------------------------------------------------------------------------
commit b984bc1241e095367a7da13341d1effa3f8f73d0
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-09-12 09:03:34 +0200

    differentite ethernet sfp link type

Base directory -> /
 port.c   | 8 +++++---
 questd.c | 5 ++++-
 2 files changed, 9 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2016-09-12 09:04:02 +02:00
Sukru Senli
cc4b93b177 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* bace8d5 show current and previous bank firmware as well
-------------------------------------------------------------------------------
commit bace8d50d6e94cfbe063aff69e643fb3bc80d748
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-09-09 18:24:09 +0200

    show current and previous bank firmware as well

Base directory -> /
 questd.c | 6 ++++++
 1 file changed, 6 insertions(+)
-------------------------------------------------------------------------------
2016-09-09 18:24:26 +02:00
Sukru Senli
1d43522dc7 questd-3.1.16 2016-09-09 17:42:40 +02:00
Erik Horemans
a57ed76140 new ice-client 4.0.1-RC3 2016-09-09 15:08:19 +02:00
Alex Oprea
02d1e16968 iop: ssh_sysupgrade_latest uses y2 image 2016-09-09 15:08:15 +02:00
Sukru Senli
3a5bdf5907 icwmp-3.0-2016-09-07 2016-09-09 15:08:12 +02:00
Sukru Senli
df9d7781b9 syslog-ng3 package 2016-09-09 15:08:09 +02:00
Sukru Senli
9b04da8406 ndisc package 2016-09-09 15:08:07 +02:00
Sukru Senli
670f153496 inteno-netmodes: move owsd to repeater mode 2016-09-09 15:08:03 +02:00
Erik Horemans
0be773f9df new ice-client R4.0.1-RC2 2016-09-06 10:36:48 +02:00
Sukru Senli
f0c907b7b0 questd-3.1.15 2016-09-05 18:17:48 +02:00
Sukru Senli
506e8b143d inteno-netmodes: special owsd config 2016-09-05 17:17:21 +02:00
Sukru Senli
3084731d44 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a567e50 remove mutex lock from reload function
-------------------------------------------------------------------------------
commit a567e509f9e10b6d399e367acec2f2e79e38b078
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-09-05 12:13:58 +0200

    remove mutex lock from reload function

Base directory -> /
 questd.c | 2 --
 1 file changed, 2 deletions(-)
-------------------------------------------------------------------------------
2016-09-05 12:16:40 +02:00
Sukru Senli
d74890db4e Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9bde9e1 fix link speed code
-------------------------------------------------------------------------------
commit 9bde9e129a448c9f29363b6b6caf7dd91056c01e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-09-02 17:00:03 +0200

    fix link speed code

Base directory -> /
 port.c   | 9 +++++----
 questd.c | 8 ++++----
 questd.h | 2 +-
 3 files changed, 10 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
2016-09-02 17:00:23 +02:00
Erik Horemans
fbd9548885 new ice-client R4.0.1-RC1 2016-09-02 16:55:20 +02:00
Erik Horemans
c7d85f287a Merge branch 'devel' of public.inteno.se:feed-inteno-packages into devel 2016-09-02 16:54:44 +02:00
Sukru Senli
0919b88fed Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 2ee2e5c support showing linkspeed for sfp ports
-------------------------------------------------------------------------------
commit 2ee2e5c1819f08d06ea33e4c45896fee29dfae64
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-09-02 15:09:40 +0200

    support showing linkspeed for sfp ports

Base directory -> /
 port.c | 55 ++++++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 40 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
2016-09-02 16:42:13 +02:00
Kenneth Johansson
902cfae9e1 lmbench again. for real this time. 2016-09-02 16:42:11 +02:00
Jonas Höglund
a4d947ded9 Fix fw_setenv symlink in uboot package 2016-09-02 16:42:09 +02:00
Erik Horemans
e160faf543 new ice-client 4.0.1-RC0 2016-09-02 16:42:06 +02:00
Erik Horemans
7c92fc8515 Merge branch 'devel' of public.inteno.se:feed-inteno-packages into devel 2016-09-02 16:35:17 +02:00
Erik Horemans
a45acfe951 new ice-client 4.0.1-RC0 2016-09-02 16:34:11 +02:00
Sukru Senli
f205462829 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 2ee2e5c support showing linkspeed for sfp ports
-------------------------------------------------------------------------------
commit 2ee2e5c1819f08d06ea33e4c45896fee29dfae64
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-09-02 15:09:40 +0200

    support showing linkspeed for sfp ports

Base directory -> /
 port.c | 55 ++++++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 40 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
2016-09-02 15:10:35 +02:00
Kenneth Johansson
d2d3a7844a lmbench again. for real this time. 2016-09-02 15:07:05 +02:00
Jonas Höglund
b71686390b Fix fw_setenv symlink in uboot package 2016-09-02 14:46:54 +02:00
Erik Horemans
b2202ae31d new ice-client R4.0.0-RC6 2016-09-02 14:42:36 +02:00
Kenneth Johansson
4049d66741 add lmbench. 2016-09-02 13:54:51 +02:00
Sukru Senli
7c6e6fb7b3 questd-3.1.14 2016-09-02 12:33:29 +02:00
Sukru Senli
74fab98eb7 questd-3.1.13 2016-09-02 10:24:50 +02:00
Sukru Senli
fad49a85d0 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ae0dcde do not arping repeated clients
-------------------------------------------------------------------------------
commit ae0dcde9453b585cc4a693af4c853f13e5094eb7
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-09-01 16:47:34 +0200

    do not arping repeated clients

Base directory -> /
 questd.c | 48 +++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 47 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-09-01 16:48:27 +02:00
Kenneth Johansson
d9bfa19cd7 Update feed [ feed_inteno_packages ] package [ u-boot ]
-------------------------------------------------------------------------------
* cfe658c Add support for ubi in userspace tools.
-------------------------------------------------------------------------------
commit cfe658c690831ad73a0038220ff402dd3d5a26e7
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-08-31 17:29:32 +0200

    Add support for ubi in userspace tools.

Base directory -> /
 tools/env/fw_env.c      | 249 +++++++++++++++++++++++++++++++++++++++++++++++-
 tools/env/fw_env.config |   8 ++
 2 files changed, 256 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-09-01 15:03:03 +02:00
Sukru Senli
09258e6bc2 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 82c0f9b fix a potential crash caused by exceeding array size
-------------------------------------------------------------------------------
commit 82c0f9bae7c5efb4a7a4e78fcd8a506b0f8710b3
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-09-01 13:03:45 +0200

    fix a potential crash caused by exceeding array size

Base directory -> /
 questd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-09-01 13:04:27 +02:00
Sukru Senli
5bff3af3ef Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 6ea3b17 tag clients behind repeater as repeated
-------------------------------------------------------------------------------
commit 6ea3b1722cfd61e3edfbc11ed239cf4e692e8349
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-09-01 12:59:19 +0200

    tag clients behind repeater as repeated

Base directory -> /
 questd.c | 48 ++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 40 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
2016-09-01 12:59:43 +02:00
Sukru Senli
bd54a7074d Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 32e88d2 wificontrol: control internet led
* 3ed4b94 set maximum client per port
-------------------------------------------------------------------------------
commit 32e88d2dbe8c2a30674342fb12836ac69efc4798
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-09-01 11:44:37 +0200

    wificontrol: control internet led

Base directory -> /
 wificontrol.c | 7 +++++++
 1 file changed, 7 insertions(+)
-------------------------------------------------------------------------------
commit 3ed4b944f889149bf91717d811a28be9ba568e4c
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-08-31 19:32:18 +0200

    set maximum client per port

Base directory -> /
 questd.c | 2 +-
 questd.h | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2016-09-01 11:47:59 +02:00
Jonas Höglund
5b25dad4c2 Compile and install fw_printenv on target 2016-09-01 11:33:09 +02:00
Sukru Senli
ee83fc3c14 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 3ed4b94 set maximum client per port
-------------------------------------------------------------------------------
commit 3ed4b944f889149bf91717d811a28be9ba568e4c
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-08-31 19:32:18 +0200

    set maximum client per port

Base directory -> /
 questd.c | 2 +-
 questd.h | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2016-08-31 19:32:40 +02:00
Sukru Senli
d4f6b663b1 ice-client: create ice user if does not exist 2016-08-31 18:45:57 +02:00
Sukru Senli
8b0489e4d6 samba3: trigger reload by network.interface events 2016-08-31 17:57:58 +02:00
Jonas Höglund
2733bc4811 Add uboot 2016-08-31 17:38:21 +02:00
Sukru Senli
3347c5b9be questd-3.1.12 2016-08-31 17:19:24 +02:00
Reidar Cederqvist
b2d2ef9855 changed back config from 0/1 to no/yes for backwords compability reasons 2016-08-31 15:27:01 +02:00
Reidar Cederqvist
2fbb98f4cb changed the default value for enable in catv from 'no' to '0' both the new and old value work with the current inti.d script 2016-08-31 14:23:23 +02:00
Reidar Cederqvist
3f179f17d4 updated the init.d script for catv so it gets a bool for enable from config and sends "on/off" to ubus call catv set-enable 2016-08-31 14:23:06 +02:00
Alex Oprea
dec7322ad1 iup: remove unneeded log message 2016-08-30 14:43:39 +02:00
Ronny Nilsson
c0e76808e3 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 8ff193b When sending a ubus button event, include info about short or long press (like is beeing done for /sbin/hotplug-call). refs #9873
-------------------------------------------------------------------------------
commit 8ff193b389aa5d960225166b92cc60b32721504f
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-29 15:23:12 +0200

    When sending a ubus button event, include info about short or long press
    (like is beeing done for /sbin/hotplug-call). refs #9873

Base directory -> /
 src/button.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2016-08-30 13:40:45 +02:00
Ronny Nilsson
0bed6258c5 Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* c225ac3 When  registration times out, without any new handset, also disable the radio if it's in auto mode. refs #9195
* 8dd1ef0  Remove compiler warnings.
* fa3ee41 - Ubus button event has changed format. refs #9873 - Remove compiler warnings.
-------------------------------------------------------------------------------
commit c225ac3cbfdc619dc3e4d149f5f145299dac442b
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-30 12:13:45 +0200

    When  registration times out, without any new handset, also disable the
    radio if it's in auto mode. refs #9195

Base directory -> /
 src/connection_init.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 8dd1ef00e3c376b4b96f504dc5ab0367bd596d4e
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-30 11:38:08 +0200

     Remove compiler warnings.

Base directory -> /
 src/connection_init.c | 15 ++++++++++++++-
 src/connection_init.h |  9 ---------
 2 files changed, 14 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit fa3ee41e0ae066ba69ef298306594ac7c26a0c73
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-30 11:37:22 +0200

    - Ubus button event has changed format. refs #9873 - Remove compiler
    warnings.

Base directory -> /
 src/ubus.c | 97 +++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 51 insertions(+), 46 deletions(-)
-------------------------------------------------------------------------------
2016-08-30 13:40:11 +02:00
Mats Karrman
5c0dc7e33d iop/scripts/genconfig: Always write .current_config_file 2016-08-30 10:06:34 +02:00
Reidar Cederqvist
fa4eb2dd1a Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* d61c6ec added missing comment
-------------------------------------------------------------------------------
commit d61c6ec043424f4de82b7db8c68e3bda5b25e9d4
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-08-29 14:36:34 +0200

    added missing comment

Base directory -> /
 questd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-08-29 14:37:18 +02:00
Reidar Cederqvist
92de47d0a2 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 65fc133 removed clearing of clients due to ports sometimes returned without clients
-------------------------------------------------------------------------------
commit 65fc1334398c5d143d6731bba8ec51547fd0063e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-08-29 14:33:17 +0200

    removed clearing of clients due to ports sometimes returned without clients

Base directory -> /
 questd.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2016-08-29 14:34:06 +02:00
Benjamin Larsson
763ff80d82 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 4a64f96 Workaround for ghost gpio press directly after start
-------------------------------------------------------------------------------
commit 4a64f969af4ee38507e83ed113e4e6a6fa9b9cf1
Author: Benjamin Larsson <benjamin@southpole.se>
Date: 2016-08-17 11:41:09 +0200

    Workaround for ghost gpio press directly after start

    On platforms with gpio buttons we have seen that sometimes buttons get
    pressed directly after start and thus disabling the wifi. This change
    implements a dummy read to flush out the bad states. Also implemented is a
    check if a button is pressed directly 4 seconds after start. If that is the
    case the press is logged to the syslog and then ignored.

Base directory -> /
 src/button.c             | 13 ++++++++++++-
 src/gpio_button.c        | 12 ++++++++++--
 src/peripheral_manager.c |  2 ++
 src/server.c             |  6 ++++++
 src/server.h             |  3 +++
 5 files changed, 33 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2016-08-29 13:57:58 +02:00
Sukru Senli
668777e9d5 iop: return directly if no package is given as argument to compile 2016-08-29 11:17:41 +02:00
Sukru Senli
adc4b941ee iop: add compile script to be able to compile a specific package 2016-08-29 11:12:31 +02:00
Sukru Senli
7e026deb64 samba: support multiple interface triggers 2016-08-29 10:20:51 +02:00
Sukru Senli
2543d6a601 samba3: add procd interface event trigger 2016-08-29 10:15:04 +02:00
Jonas Höglund
4c480833e0 Only delete broken symlinks in feed dirs 2016-08-29 10:11:45 +02:00
Ronny Nilsson
5888f24975 Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* 8e6556b Workaround for noisy sound with external Dect. Hardwire it to narrowband.
* e7e996a Major refactoring. Move handling of RSX debugger conneciton to a separate .c file and make the code a lot more descriptive. Now it's possible to understand how Natalie <-> RSX communication works.
* 6a8de42 - Code simplifications for better readabillity. Don't pass around void pointers everywhere, instead use the real backend type and move the type definitions from .c file to .h file. - Remove mysterious crash on ARM in calloc() by instead using malloc(). - Remove unused code.
* 969d1c8 - Move parts common with "eap" to a header file eap inclucde. This will reduce code duplication. - Remove unused code. - Remove compiler warning.
* 2ed68f8 Make the program configuration global. It should be possible to read it from anywhere.
* b46db2c Simplifications
* f7b7494 More fixes for building both against v12.26 and v11.19. More will come though.
* 2b1fe4f Fix to build against natalie 12.26
-------------------------------------------------------------------------------
commit 8e6556b48f65b60ddf63eb2dc0f09416b8670457
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-26 12:19:11 +0200

    Workaround for noisy sound with external Dect. Hardwire it to narrowband.

Base directory -> /
 src/connection_init.c | 2 +-
 src/external_call.c   | 9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit e7e996a21c0f83f475701e06c7343d52470af71a
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 16:59:15 +0200

    Major refactoring. Move handling of RSX debugger conneciton to a separate .c
    file and make the code a lot more descriptive. Now it's possible to
    understand how Natalie <-> RSX communication works.

Base directory -> /
 src/Makefile   |   2 +-
 src/app.c      | 246 ++++++++-------------------------------------------------
 src/app.h      |   3 +
 src/debugger.c | 239 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/debugger.h |  15 ++++
 5 files changed, 289 insertions(+), 216 deletions(-)
-------------------------------------------------------------------------------
commit 6a8de4289bc3322f271284240e8d954ddedfa5f3
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 16:53:47 +0200

    - Code simplifications for better readabillity. Don't pass around void
    pointers everywhere, instead use the real backend type and move the type
    definitions from .c file to .h file. - Remove mysterious crash on ARM in
    calloc() by instead using malloc(). - Remove unused code.

Base directory -> /
 src/eap.c | 74 +++++++++++----------------------------------------------------
 src/eap.h | 37 ++++++++++++++++----------------
 2 files changed, 30 insertions(+), 81 deletions(-)
-------------------------------------------------------------------------------
commit 969d1c8ca0e290b4894cbf3ce9f73c7c51547ce7
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 16:43:21 +0200

    - Move parts common with "eap" to a header file eap inclucde. This will
    reduce code duplication. - Remove unused code. - Remove compiler warning.

Base directory -> /
 src/busmail.c | 47 ++---------------------------------------------
 src/busmail.h | 21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 45 deletions(-)
-------------------------------------------------------------------------------
commit 2ed68f8c087ab24328fba27e75a01c65cd32a8b5
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 16:35:29 +0200

    Make the program configuration global. It should be possible to read it from
    anywhere.

Base directory -> /
 src/main.c | 17 +++++++----------
 src/main.h | 12 ++++++++++++
 2 files changed, 19 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit b46db2c2a3fb991f66ad9a6253e41176e7126ff2
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 16:32:12 +0200

    Simplifications

Base directory -> /
 src/natalie_utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit f7b7494b44c3e9511ff9eb8957d3b372a1d68e46
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-08-17 15:47:52 +0200

    More fixes for building both against v12.26 and v11.19. More will come
    though.

Base directory -> /
 src/connection_init.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 2b1fe4f81546b2581aefd156b90feaf47669dc89
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-07-26 16:11:45 +0200

    Fix to build against natalie 12.26

Base directory -> /
 src/api_parser.c      | 4 ----
 src/connection_init.c | 9 ++++++++-
 2 files changed, 8 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2016-08-26 13:19:04 +02:00
Jonas Höglund
0a0c3b4f87 Remove broken symlinks after feeds_update 2016-08-25 16:34:46 +02:00
Jonas Höglund
5ae9fb9733 Speed up feeds_update
Don't remove all installed packages at the start of
feeds_update. Remove duplicate feed installs as named feeds are
included with the install -a command later.
2016-08-25 15:46:53 +02:00
Jonas Höglund
869e86677b asterisk18 removed from feed-openwrt-packages 2016-08-25 15:25:44 +02:00
Jonas Höglund
fd7e0147fd Cleanup of feeds_update 2016-08-25 14:55:37 +02:00
Jonas Höglund
6edd832d9c libwebsockets has been removed from feed_openwrt_packages 2016-08-25 14:26:43 +02:00
Jonas Höglund
55d5cac52e Remove modified qrencode package from feeds_inteno_packages 2016-08-25 12:49:50 +02:00
Jonas Höglund
30aaa67434 Remove unneeded commands from feeds_update 2016-08-24 15:45:58 +02:00
Sukru Senli
3d375e45e4 layer2interface: set wps_device_name to Inteno 2016-08-24 13:32:07 +02:00
Jonas Höglund
525f6a0eff Add -n option to feeds update to disable override for feed_inteno_openwrt 2016-08-23 13:38:04 +02:00
Sukru Senli
2c5eb37f46 iop: change PATH to FPATH in generate_tarballs script 2016-08-23 10:00:50 +02:00
Jonas Höglund
37b826c4f6 Add ex300 to genconfig 2016-08-22 13:10:42 +02:00
Jonas Höglund
5dc797e2c4 Add iopsys-ramips target 2016-08-22 13:00:21 +02:00
Jonas Höglund
d9f58ea448 Fix generate_tarballs 2016-08-19 17:50:41 +02:00
Jonas Höglund
1968e16cbf Fix local variable error for generate_tarballs 2016-08-19 17:48:59 +02:00
Jonas Höglund
a370fb835e Only modify iopsys config, not openwrt default 2016-08-19 17:46:56 +02:00
Sukru Senli
f6bcc6a724 iop: fix generate_tarballs script 2016-08-19 17:43:50 +02:00
Sukru Senli
add35c243f iop: improve generate_tarballs script 2016-08-19 17:25:02 +02:00
Jonas Höglund
0aa89d7bbf Fix masterconfig check 2016-08-19 17:23:40 +02:00
Jonas Höglund
4c82a8cbe5 Return on profile match 2016-08-19 15:49:57 +02:00
Jonas Höglund
b9506de548 Add mt7621 default openwrt profile 2016-08-19 15:44:20 +02:00
Sukru Senli
88a3fadeb2 iop: adapt generate_tarballs script to new server 2016-08-19 14:12:58 +02:00
Jonas Höglund
db6509839b Touch kernel makefile for brcm disable kmods 2016-08-18 14:22:15 +02:00
Jonas Höglund
41d916c1a9 Move base-files/clean to last stage of genconfig
The target needs to be set in .config before invoking the make
system to enable fixes for the brcm kernel.
2016-08-18 12:48:54 +02:00
Sukru Senli
6416dc0b68 icwmp-3.0-2016-08-17 2016-08-17 15:54:01 +02:00
Sukru Senli
a46eb1e00c iop: select libffmpeg-mini 2016-08-16 17:34:42 +02:00
Mats Karrman
05ce0dac18 peripheral_manager: Update source version (Support for EG400, refs #9092) 2016-08-16 17:17:23 +02:00
Mats Karrman
7cd9cc53c6 iop/genconfig: Add EG400 to list of arm targets 2016-08-16 17:04:12 +02:00
Alex Oprea
6a713b2933 samba: increase path security, no share outside /mnt
If the path is still outside /mnt/ after all the previous checks and
	enforces have been applied, overwrite the path to "/mnt/".

	This is usefull in the following scenario:
	- "/mnt/tmp" is a soft link to "/tmp"
	- $path is pushed from the web gui as "/"
	- $dirpath is pushed from the web gui as "tmp"
	The init script prepends "/mnt/", the $path becomes "/mnt/tmp".
	Further, the smb.conf would receive "path = /mnt/tmp" and
	samba would export for share "/tmp".

	A while-loop (that always prepends "/mnt/" to $(readlink -f $path)
		if it does not start with "/mnt")
	would not prevent this case exactly because
	the soft link and the target directory have the same name,
	thus the loop would never end.
2016-08-08 10:27:07 +02:00
Alex Oprea
4e8f08aa8b samba: use readlink -f before forcing the /mnt/ prefix
When checknig that path starts with /mnt/, path should not include
	softlinks, "." or "..". This prevents the obvoius case of sharing the
	"/mnt/../" path, which will jump out of the restricted /mnt/.
2016-08-04 16:13:10 +02:00
Alex Oprea
203e252bae samba: fix code logic: $path was definetly not empty when checked
Assuming that path and dirpath are both empty, path becomes
	"/", which is not empty. The -z $path check after was useless.
	Changed the order of this two operations.
2016-08-04 16:13:10 +02:00
Alex Oprea
977657eefd samba: restrict share paths to /mnt refs #9862
force the share paths to always start with /mnt/
	set wide links to no, in order to not allow soft links
	to be followed outside /mnt/
2016-08-04 14:30:24 +02:00
Reidar Cederqvist
edbea4ed68 added juci-owsd to default inteno 2016-07-15 14:21:36 +02:00
Sukru Senli
3153a1d93c multiwan package 2016-07-14 15:56:54 +02:00
Reidar Cederqvist
36fb967b80 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 0f2a1c1 added defaultroute option to networks and to router networks call
-------------------------------------------------------------------------------
commit 0f2a1c18ea719955f0d33e93be031180afbc41de
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-07-14 10:54:40 +0200

    added defaultroute option to networks and to router networks call

Base directory -> /
 questd.c | 7 +++++++
 questd.h | 1 +
 2 files changed, 8 insertions(+)
-------------------------------------------------------------------------------
2016-07-14 10:55:05 +02:00
Sukru Senli
018818d17b voice-client: disable ringing scheduling by default 2016-07-13 18:29:21 +02:00
Reidar Cederqvist
91a97c411c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 38610d3 added some tests to make sure indexing outside of array doesn't happen and changed router ports to dump the clients in port.clients insted of by macaddress
* eda05ba added checkes everywere in questd.c to make sure arrays are never indexed outside of its range
* c0259d5 doubbled the size of MAX_PORT and MAX_VIF TODO: fix all for loop so they never go higher than MAX_something insted of checking for null
-------------------------------------------------------------------------------
commit 38610d31f53c5c36cacc698d57f6313130f65465
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-07-13 17:27:50 +0200

    added some tests to make sure indexing outside of array doesn't happen and
    changed router ports to dump the clients in port.clients insted of by
    macaddress

Base directory -> /
 questd.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit eda05ba6abef93ca5cb268dca87ac1bb1614ec6b
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-07-13 12:13:29 +0200

    added checkes everywere in questd.c to make sure arrays are never indexed
    outside of its range

Base directory -> /
 questd.c | 59 ++++++++++++++++++++++++++---------------------------------
 questd.h |  2 +-
 2 files changed, 27 insertions(+), 34 deletions(-)
-------------------------------------------------------------------------------
commit c0259d51821bc08f0405530b829d64ed32ed1ea9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-07-13 10:35:38 +0200

    doubbled the size of MAX_PORT and MAX_VIF TODO: fix all for loop so they
    never go higher than MAX_something insted of checking for null

Base directory -> /
 questd.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2016-07-13 17:29:50 +02:00
Sukru Senli
c1d4d49d6a updated icwmp 2016-07-13 13:08:39 +02:00
Reidar Cederqvist
22fbb3ca31 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* eda05ba added checkes everywere in questd.c to make sure arrays are never indexed outside of its range
-------------------------------------------------------------------------------
commit eda05ba6abef93ca5cb268dca87ac1bb1614ec6b
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-07-13 12:13:29 +0200

    added checkes everywere in questd.c to make sure arrays are never indexed
    outside of its range

Base directory -> /
 questd.c | 59 ++++++++++++++++++++++++++---------------------------------
 questd.h |  2 +-
 2 files changed, 27 insertions(+), 34 deletions(-)
-------------------------------------------------------------------------------
2016-07-13 12:16:14 +02:00
Sukru Senli
7fff2eb267 icwmp-3.0-2016-07-13 2016-07-13 11:50:40 +02:00
Sukru Senli
f3530584d5 inteno-netmodes: update repeater config 2016-07-13 11:38:44 +02:00
Reidar Cederqvist
0545598f9c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* c0259d5 doubbled the size of MAX_PORT and MAX_VIF TODO: fix all for loop so they never go higher than MAX_something insted of checking for null
-------------------------------------------------------------------------------
commit c0259d51821bc08f0405530b829d64ed32ed1ea9
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-07-13 10:35:38 +0200

    doubbled the size of MAX_PORT and MAX_VIF TODO: fix all for loop so they
    never go higher than MAX_something insted of checking for null

Base directory -> /
 questd.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2016-07-13 10:36:28 +02:00
Sukru Senli
2a8643d0cc updated icwmp 2016-07-11 17:40:33 +02:00
Kenneth Johansson
88f021ee34 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* dfcf187 Do not try to set flash state to led panel leds.
-------------------------------------------------------------------------------
commit dfcf187cf3961841dee750371d3999d23297b74c
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-07-11 17:04:50 +0200

    Do not try to set flash state to led panel leds.

    Ask driver if it supports hardware flash if not do not set it. This to avoid
    a printout from the actual driver that complain it can't set this state.

    refs #9720

Base directory -> /
 src/led.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-07-11 17:05:26 +02:00
Sukru Senli
64610aa43b inteno-netmodes: add ACL support 2016-07-10 11:48:23 +02:00
Alex Oprea
160a75322b busybox: enable CTYYHACK to fix stdin/stdout fds error on /dev/console refs #9493 2016-07-08 17:19:16 +02:00
Ronny Nilsson
18c7931f96 Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* 1dad4bf Workaround for preventing daemon respawn when we want it to fully exit.
* 8276cd6 Don't get confused if same handset gets registered twice in a row.
* 29c6c1b - Initialize data structures for UBUS dynamically since on ARM we unregister and reregister over and over. During unregister the data becomes invalid (for some unknown reason) and thus needs to be recreated.
* bf4e2eb check /tmp/defaultreset to understand if defaultreset is in place
* 96a1dd8 adapt to new reboot reason check method
* 440a5d6 unregister handsets upon defaultreset fixes #9458
-------------------------------------------------------------------------------
commit 1dad4bfc86b0167e7c39fee7fbd4bf0935b4fa4a
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-07-08 15:03:46 +0200

    Workaround for preventing daemon respawn when we want it to fully exit.

Base directory -> /
 files/dect | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 8276cd67ab7659365e44b4eda883e322280048cd
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-07-07 15:54:04 +0200

    Don't get confused if same handset gets registered twice in a row.

Base directory -> /
 src/handset.c | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 29c6c1b57aac14c32ec473335c873c64b470a8dc
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-07-07 15:52:19 +0200

    - Initialize data structures for UBUS dynamically since on ARM we unregister
    and reregister over and over. During unregister the data becomes invalid
    (for some unknown reason) and thus needs to be recreated.

Base directory -> /
 src/ubus.c | 38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)
-------------------------------------------------------------------------------
commit bf4e2eb41e2bc71c335ef63f7fa4db76c125edbf
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-07-05 14:33:21 +0200

    check /tmp/defaultreset to understand if defaultreset is in place

Base directory -> /
 files/dect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 96a1dd8a6cbee324ae45382fc8ea41c5d21e2d80
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-07-05 12:29:11 +0200

    adapt to new reboot reason check method

Base directory -> /
 files/dect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 440a5d6b6e6e4f9fa50ae7ba29c7fecc72148b66
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-07-05 11:43:55 +0200

    unregister handsets upon defaultreset fixes #9458

Base directory -> /
 files/dect | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-07-08 15:05:54 +02:00
Sukru Senli
c82d7eb177 questd-3.1.11 2016-07-06 17:55:46 +02:00
Sukru Senli
129343f4c1 questd-3.1.10 2016-07-06 16:20:48 +02:00
Sukru Senli
0f1a0b819c samba2: set --with-included-popt 2016-07-05 17:04:35 +02:00
Sukru Senli
eb5d2c1954 samba2: set --with-readline=no 2016-07-05 17:04:32 +02:00
Sukru Senli
7e082e9103 add samba2 package 2016-07-05 17:04:26 +02:00
imen.bhiri
d2309a5330 libstrophe: rename base64_decode/encode functions 2016-07-05 14:42:41 +02:00
Sukru Senli
6b51f9d01f Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* bf4e2eb check /tmp/defaultreset to understand if defaultreset is in place
-------------------------------------------------------------------------------
commit bf4e2eb41e2bc71c335ef63f7fa4db76c125edbf
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-07-05 14:33:21 +0200

    check /tmp/defaultreset to understand if defaultreset is in place

Base directory -> /
 files/dect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-07-05 14:35:09 +02:00
Sukru Senli
543a0a4083 update dectmngr2 source version 2016-07-05 12:30:58 +02:00
Sukru Senli
509402606b Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* 440a5d6 unregister handsets upon defaultreset fixes #9458
-------------------------------------------------------------------------------
commit 440a5d6b6e6e4f9fa50ae7ba29c7fecc72148b66
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-07-05 11:43:55 +0200

    unregister handsets upon defaultreset fixes #9458

Base directory -> /
 files/dect | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-07-05 11:45:39 +02:00
Sukru Senli
5ea499ca35 icwmp updated 2016-07-04 20:39:26 +02:00
Sukru Senli
8f9386798c icwmp-3.0-2016-07-04 2016-07-04 20:14:05 +02:00
Sukru Senli
da164c939f layer2interface: auto-detect bridge mode 2016-07-04 19:47:09 +02:00
Sukru Senli
767d3a6ec6 layer2interface: set low-mid-high queues for vdsl connection 2016-07-04 18:31:21 +02:00
Sukru Senli
d92a1a127d iop: do not select hnet-full 2016-07-04 17:36:15 +02:00
Sukru Senli
9980e2af9f iop: select hnet-full and relayd by defaulty 2016-07-04 17:01:28 +02:00
Sukru Senli
051eb2cf46 questd-3.1.9 2016-07-04 14:29:48 +02:00
Sukru Senli
f76e919f45 icwmp-3.0-2016-07-01 2016-07-01 13:16:18 +02:00
Sukru Senli
8dbb05a6c1 iop: select inteno-netmodes package by default 2016-06-30 15:44:49 +02:00
Sukru Senli
41574ab1f9 inteno-netmodes: exclude CG300 and CG301 from bridged netmodes 2016-06-30 15:42:41 +02:00
Sukru Senli
e9d0e4559e inteno-netmodes package 2016-06-30 15:17:47 +02:00
Mats Karrman
eb19a91087 peripheral_manager: Update source version, refs #9413 2016-06-29 16:11:02 +02:00
Ronny Nilsson
103964b2d1 Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* 07c8a16 Before dectmngr2 does a fast exit (in case of an error), try to send a failure response to any ubus quierier (or might block in a timeout).
* c5619c2 - Only shuttdown ubus receiver if the radio is configured for auto off and is about to become off soon. - Comments
* a4898c8 - Extend timeout error message to ubus querier due to deleting a handset may be very slow sometimes. - When shutting down ubus receiver, also send an error to any active querier (to avoid blocking timeouts). - Only enable ubus receiver once if needed.
-------------------------------------------------------------------------------
commit 07c8a1665dc1f767c8ae2da92e41f482956f8959
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-06-28 15:43:12 +0200

    Before dectmngr2 does a fast exit (in case of an error), try to send a
    failure response to any ubus quierier (or might block in a timeout).

Base directory -> /
 src/error.c | 5 +++++
 src/ubus.c  | 1 +
 2 files changed, 6 insertions(+)
-------------------------------------------------------------------------------
commit c5619c257a199eb331f41798a01d5d608ce149b5
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-06-28 13:35:02 +0200

    - Only shuttdown ubus receiver if the radio is configured for auto off and
    is about to become off soon. - Comments

Base directory -> /
 src/handset.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit a4898c88a49b94bccb5c9a60cab3f6bdff94cffc
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-06-28 13:33:08 +0200

    - Extend timeout error message to ubus querier due to deleting a handset may
    be very slow sometimes. - When shutting down ubus receiver, also send an
    error to any active querier (to avoid blocking timeouts). - Only enable ubus
    receiver once if needed.

Base directory -> /
 src/ubus.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-06-28 17:14:50 +02:00
Ronny Nilsson
cb19eafc50 Update feed [ feed_inteno_packages ] package [ dectmngr2 ]
-------------------------------------------------------------------------------
* 61a08e5 - After last handset has been deleted we need to block incomming ubus messages due to we will be busy for a long time. - Cleanups
-------------------------------------------------------------------------------
commit 61a08e5de748ab2e317a1f0384f97087b25728cd
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-06-27 15:11:10 +0200

    - After last handset has been deleted we need to block incomming ubus
    messages due to we will be busy for a long time.
    - Cleanups
    - refs #9633

Base directory -> /
 src/connection_init.c |  6 +++-
 src/handset.c         |  5 ++++
 src/ubus.c            | 78 +++++++++++++++++++++++++++++++++++++++------------
 src/ubus.h            |  2 ++
 4 files changed, 72 insertions(+), 19 deletions(-)
-------------------------------------------------------------------------------
2016-06-27 16:03:21 +02:00
Sukru Senli
bdef362e9e icwmp-3.0-2016-06-27: depend on libstrophe instead of bcmkernel 2016-06-27 15:56:11 +02:00
Sukru Senli
a2fcc88238 libstrophe-0.8.8 2016-06-27 15:54:11 +02:00
Strhuan Blomquist
0df441879e layer2interface: adding icmp to QoS to prevent red intrenet on high uplink load refs #9647 2016-06-21 15:05:25 +02:00
Sukru Senli
6a34f36cbd iop: select comgt-directip package 2016-06-20 19:49:17 +02:00
Sukru Senli
f371d1fb1a questd-3.1.8 2016-06-18 15:37:27 +02:00
Sukru Senli
c39744a030 voice-client: turn of voice led and let asterisk handle it 2016-06-16 15:43:08 +02:00
Sukru Senli
55c0ab8163 3.0-2016-06-16 2016-06-16 14:46:32 +02:00
Sukru Senli
f7deb35e16 asterisk updated 2016-06-15 17:55:58 +02:00
Sukru Senli
379c5677a4 iop: deselect nonexisting juci plugin 2016-06-15 11:12:31 +02:00
Ronny Nilsson
52f8ff2b5d Fix for dect unpair and re-pair with voice. refs #9463 2016-06-14 16:37:15 +02:00
Sukru Senli
57f9214964 asterisk: cdr module depends on libsqlite3 2016-06-14 16:20:43 +02:00
Ronny Nilsson
c41ccdaf89 Update feed [ feed_inteno_packages ] package [ asterisk18-mod ]
Debug printouts

-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
2016-06-14 15:24:53 +02:00
Ronny Nilsson
5566c4b885 New wrapper script for dectmngr2 which reloads kernel module when necessary 2016-06-14 15:24:49 +02:00
Sukru Senli
e484e5ba8d iop: select ntfs-3g by default 2016-06-14 15:23:11 +02:00
Reidar Cederqvist
27959db5d6 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 6ad4d1e made enough space for the time to fixe logs in arm
-------------------------------------------------------------------------------
commit 6ad4d1ec64e17889ef5be674329234f948137837
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-06-14 12:05:14 +0200

    made enough space for the time to fixe logs in arm

Base directory -> /
 questd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-06-14 12:16:58 +02:00
Sukru Senli
0379fefdd5 iop: for now do not select ntfs-3g package 2016-06-13 17:57:28 +02:00
Reidar Cederqvist
a016f2f4ba Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* df6cbd5 added linkspeed call to router object
-------------------------------------------------------------------------------
commit df6cbd5cfc7fd324b98ec557f80d506a3220638e
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2016-06-13 14:41:42 +0200

    added linkspeed call to router object

Base directory -> /
 port.c   |  7 +++++--
 questd.c | 32 ++++++++++++++++++++++++++++++++
 questd.h |  2 +-
 tools.c  |  1 +
 4 files changed, 39 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2016-06-13 16:47:35 +02:00
Sukru Senli
42650be9ea icwmp: no need to depend on openssl; already depending on libopenssl 2016-06-13 16:44:21 +02:00
Sukru Senli
07292dd5cf iup: merget iup224 into iup script 2016-06-13 16:39:05 +02:00
Kenneth Johansson
b6d5ff232d icwmp: fix dependency. 2016-06-13 15:52:02 +02:00
Sukru Senli
33498543d8 iop: select mobiel support related packages 2016-06-13 13:42:22 +02:00
Sukru Senli
3bcfcdaa1e questd: do not install ueventd 2016-06-13 12:56:17 +02:00
Sukru Senli
523682006f 4g-support: send hotplug.usb events with dongle details 2016-06-10 17:30:34 +02:00
Reidar Cederqvist
cd640462c1 updated questd to have more client information in ports call and
set the device as the object name insted of name
2016-06-10 17:27:30 +02:00
Sukru Senli
97201fc0b9 iop: do not select luci-app-catv by default in luci.diff profile 2016-06-09 17:38:31 +02:00
Sukru Senli
5251859485 icwmp: depends on curl 2016-06-09 17:28:55 +02:00
Sukru Senli
9ddba9536f iop: remove uhttpd if profile is luci 2016-06-09 17:23:06 +02:00
Sukru Senli
23dea02d7b iop: genconfig applies luci profile correctly 2016-06-09 16:02:51 +02:00
Sukru Senli
ee521f9609 iop: select icwmp package 2016-06-09 11:58:01 +02:00
Sukru Senli
f788ac8368 icwmp: depend on openssl and bcmkernel to get required libraries 2016-06-09 11:56:05 +02:00
Mats Karrman
adcd3bca40 libcgroup: Reenable package in master config 2016-06-08 16:05:24 +02:00
Mats Karrman
315e29d78f libcgroup: Add missing dependency on librt 2016-06-08 15:49:44 +02:00
Sukru Senli
9ac0c35f4f layer2interface: set xtm qos weight to 1 2016-06-08 15:13:29 +02:00
Sukru Senli
fc74862f11 samba3: add mising files 2016-06-08 14:27:35 +02:00
Jonas Höglund
085d43c3a4 Add samba3 to feed_inteno_packages 2016-06-08 13:14:51 +02:00
Sukru Senli
72738752d9 install libwebsockets from feed_inteno_juci 2016-06-08 10:13:47 +02:00
Kenneth Johansson
6ed8c8527b Move setup_host to iop.
it needs to be present early.
2016-06-07 17:45:19 +02:00
Kenneth Johansson
b5003a80e1 setup_host: silence check for gcc5. 2016-06-07 16:06:24 +02:00
Kenneth Johansson
58bd42f827 Allow gcc5 to be used. 2016-06-07 15:54:51 +02:00
Sukru Senli
a2b9e5d674 specificly select iptables and some used modules 2016-06-07 15:04:36 +02:00
Mats Karrman
b5be4d7dd6 setup_host: Fix bugs in iop completion install, refs #9457 2016-06-07 11:53:36 +02:00
Mats Karrman
5a46f910df setup_host: Install bash completion for iop utility, refs #9457 2016-06-07 11:40:40 +02:00
Mats Karrman
5da8017639 Add bash completion script for iop utility, refs #9457 2016-06-07 11:36:00 +02:00
Jonas Höglund
bf2b51bd82 Remove unused tmpdir 2016-06-07 11:04:54 +02:00
Sukru Senli
adc94ff3a5 3.0-2016-06-02 2016-06-02 16:05:22 +02:00
Jonas Höglund
b1ce1a9b13 Added extract_core to iop 2016-06-02 09:40:34 +02:00
Kenneth Johansson
7bb3854889 setup_host: prep for restoring distro default gcc.
can activate this yet as build still fails with gcc-5.
2016-06-01 20:48:58 +02:00
Sukru Senli
adad2c8a75 updated questd 2016-06-01 17:30:05 +02:00
Sukru Senli
47b1d90487 questd-3.1.6 2016-06-01 17:02:07 +02:00
Kenneth Johansson
1bd79f9e7e setup_host: gcc check did not actually work.
check was not testing for current gcc version at all only that 4.8
was installed but that is not enough.
2016-06-01 16:32:04 +02:00
Kenneth Johansson
4fa973ad54 setup_host: Add sudo to commands that needs root. 2016-06-01 15:49:55 +02:00
Kenneth Johansson
1967f8895e setup_host: only install things that is not already installed. 2016-06-01 15:35:55 +02:00
Jonas Höglund
3c674b984c New defconfig syntax in customer configs 2016-06-01 14:37:24 +02:00
Jonas Höglund
aef3f9421e icwmp-curl does not build on cc 2016-06-01 13:21:05 +02:00
Sukru Senli
c103a267ff add mtd-utils-deubunize to config 2016-06-01 11:57:29 +02:00
Jonas Höglund
9be82ab295 Disable signed packages 2016-06-01 11:57:29 +02:00
Jonas Höglund
fb3ac14e5f Remove libcgroup due to missing depencency 2016-06-01 11:57:29 +02:00
Jonas Höglund
edf1d929d0 Allow Broadcom to override taskset 2016-06-01 11:56:30 +02:00
Jonas Höglund
fc3e9d0418 Remove packages provided by ubi-utils 2016-06-01 11:56:30 +02:00
Jonas Höglund
c39aca40fa Deselect ppp since we are selecting ppp-multilink 2016-06-01 11:56:30 +02:00
Jonas Höglund
a32f730626 Don't build jffs2 fs for NOR 2016-06-01 11:56:30 +02:00
Jonas Höglund
e498e91cde Disable ffmpeg due to broken flac package 2016-06-01 11:56:30 +02:00
Jonas Höglund
d5d0f963fb Delete chan-mobile to remove bluez dependency 2016-06-01 11:56:30 +02:00
Jonas Höglund
32d10209da Remove btle_alarm 2016-06-01 11:56:30 +02:00
Jonas Höglund
be6737b028 Delete bluez from inteno packages 2016-06-01 11:56:30 +02:00
Sukru Senli
09e4e7cde2 update icwmp version 2016-06-01 11:35:48 +02:00
Sukru Senli
b334565e90 icwmp-3.0-2016-05-31 2016-05-31 17:20:13 +02:00
imen.bhiri
eb07e8868f Add libjson-c and libexpact dependencies 2016-05-31 17:19:15 +02:00
imen.bhiri
728da91a8f Add option to enable/disable XMPP feature 2016-05-31 17:19:09 +02:00
Sukru Senli
26a44ab3e5 select busybox deluser by default 2016-05-31 11:18:01 +02:00
Sukru Senli
b1ba9c1826 select ipv6 packages 2016-05-31 10:15:49 +02:00
Kenneth Johansson
eadb49e55c Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 2a16b98 gpio_button remove unneeded state variable.
* 35b628c Print if button press is from ubus call.
* d415e87 typo.
-------------------------------------------------------------------------------
commit 2a16b98543580d376d5862a34415f24d8be15b27
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-05-26 19:42:01 +0200

    gpio_button remove unneeded state variable.

Base directory -> /
 src/gpio_button.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit 35b628c468000cf91a56cc7c2ef3564b56896f55
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-05-26 19:40:49 +0200

    Print if button press is from ubus call.

Base directory -> /
 src/button.c | 3 +++
 1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
commit d415e87b9e61cf5a2c607efd3272a17eca857ce3
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-05-23 15:27:27 +0200

    typo.

Base directory -> /
 src/catv_monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-05-30 16:48:01 +02:00
Christopher Nagy
68a39be532 added juci-snmpd to juci config 2016-05-30 13:49:24 +02:00
Christopher Nagy
333fbe25b1 selected juci-printer by default 2016-05-30 12:30:54 +02:00
Sukru Senli
c83a88ceb6 select juci-simple-gui 2016-05-30 11:25:59 +02:00
Sukru Senli
ae3d22ab45 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* d9a0a35 show duplex correctly
-------------------------------------------------------------------------------
commit d9a0a35d7fd75aae01e915c43e40ea3e08c477bc
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-05-28 12:45:44 +0200

    show duplex correctly

Base directory -> /
 questd.c | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2016-05-28 12:46:14 +02:00
Sukru Senli
59285541e3 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 493f757 get fixed speed correctly
* 60f50e4 get correct device from brctl showbr output
-------------------------------------------------------------------------------
commit 493f757ad00fcea0255a680ff43be99750b8324f
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-05-28 11:34:33 +0200

    get fixed speed correctly

Base directory -> /
 questd.c | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
commit 60f50e4d176c92898aeb66cb9f2b51033fee8c94
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-05-28 11:21:51 +0200

    get correct device from brctl showbr output

Base directory -> /
 questd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-05-28 11:42:15 +02:00
Ronny Nilsson
2f312659d8 Update feed [ feed_inteno_packages ] package [ asterisk18-mod ]
-------------------------------------------------------------------------------
* 6c098c4 It wasn't enough to just check of failed open
* aaf6936 - Kernel internal dect procesing in endpoint MUST only be started when it's available, or a crash occur. - Debug prints
-------------------------------------------------------------------------------
commit 6c098c4b82bf3ce4cf3e25b398198914c16c05ad
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-05-27 17:25:35 +0200

    It wasn't enough to just check of failed open

Base directory -> /
 channels/chan_brcm_dect.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit aaf6936820de345c05e60e3c2226e49223227402
Author: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: 2016-05-27 15:03:16 +0200

    - Kernel internal dect procesing in endpoint MUST only be started when it's
    available, or a crash occur. - Debug prints

Base directory -> /
 channels/chan_brcm_dect.c | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2016-05-27 17:35:42 +02:00
Sukru Senli
659a36547b Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 82d7dbb show port speed for wired clients
-------------------------------------------------------------------------------
commit 82d7dbb928054f5e8dd834eecca2bd8dd7a0ce4d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-05-27 15:24:47 +0200

    show port speed for wired clients

Base directory -> /
 questd.c | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
-------------------------------------------------------------------------------
2016-05-27 16:51:46 +02:00
Ronny Nilsson
24700f6162 - We need modifed CFLAGS for pthreads to work on MIPS.
- Upstream update of Asterisk
2016-05-26 14:56:28 +02:00
Ronny Nilsson
17d2905283 - Upstream update of Dectmngr2
- Clenups, remove unused flags
2016-05-26 14:20:50 +02:00
Jonas Höglund
93e9c0e4cb Force rebuild of base-files on new profile selection 2016-05-26 12:46:13 +02:00
Kenneth Johansson
df039df5b3 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 7199297 Detect if touch panel is covered.
* 866b2c6 remove some whitespace.
* 77184fe Filter all button on proximity.
-------------------------------------------------------------------------------
commit 7199297d1c051782cf0d140253b325a3fa8d7eae
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-05-23 14:33:24 +0200

    Detect if touch panel is covered.

    If we have proximity event for more than 30 seconds assume that something
    covers the panel or box is put upside down.

Base directory -> /
 src/button.c       |  6 ++++-
 src/touch_sx9512.c | 77 ++++++++++++++++++++++++++++++++++++++++++++----------
 2 files changed, 68 insertions(+), 15 deletions(-)
-------------------------------------------------------------------------------
commit 866b2c6deb38439496e2d60265533d4d314c9a69
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-05-23 11:26:32 +0200

    remove some whitespace.

Base directory -> /
 src/touch_sx9512.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit 77184fe0b43c82564a49dd03a9b0e048a3fb6861
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-05-20 18:54:32 +0200

    Filter all button on proximity.

    Only report button presses if we also have a proximity near state active.
    This is to make it a little harder to get ghost presses.

Base directory -> /
 src/led.c          |  2 +-
 src/touch_sx9512.c | 77 ++++++++++++++++++++++++++++++++++++------------------
 2 files changed, 52 insertions(+), 27 deletions(-)
-------------------------------------------------------------------------------
2016-05-23 15:20:32 +02:00
Sukru Senli
3a30ea8209 select juci-broadcom-xdsl by default 2016-05-21 11:20:07 +02:00
Sukru Senli
0e22871a96 iup: set dhcp options individually for each management interface 2016-05-20 10:28:07 +02:00
Sukru Senli
650f941dfc dectmngr2: copy over dect config 2016-05-19 18:47:30 +02:00
Sukru Senli
d563bfa099 remove juci-full-inteno from config 2016-05-19 17:39:55 +02:00
Sukru Senli
840670bf80 disable cgroups for now 2016-05-19 16:33:38 +02:00
Sukru Senli
645a9d919f dectmngr2: add dect.config file 2016-05-19 16:32:23 +02:00
Sukru Senli
aea3f66f51 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 41c19e8 give ssid and encryption via router object wl method
-------------------------------------------------------------------------------
commit 41c19e88f72c88bd84f843beb4eccaa227f3fae2
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-05-16 18:09:48 +0200

    give ssid and encryption via router object wl method

Base directory -> /
 broadcom.c | 20 ++++++++++++++++++++
 broadcom.h | 15 +++++++++++++++
 questd.c   |  9 ++++++++-
 3 files changed, 43 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-05-16 18:14:53 +02:00
Sukru Senli
650957082a iop: setup_host installs necessary perl modules 2016-05-13 12:54:46 +02:00
Sukru Senli
d893622fb3 peripheral_manager: wait for ubus button object to be created before exiting init script 2016-05-12 19:24:22 +02:00
Alex Oprea
82d4fef6a6 iup: option 224 fix ciclying reboot refs #9077 2016-05-12 18:19:33 +02:00
Jonas Höglund
92a6b78786 Fix ice-client consumer package generation 2016-05-11 17:36:56 +02:00
Alex Oprea
c32ced2cfe iup: delay iup224 untill dns is reacheable refs #9073 2016-05-10 18:55:18 +02:00
Alex Oprea
e0be33b76a config: add bind-host package refs #9073 2016-05-10 18:55:18 +02:00
Nabeel Sowan
117c5224cc Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* c819e97 sx9512: change block write to 31 bytes to fix constant NVM updates when starting up peripheral_manager
* 937f2c5 Restore timeout function.
-------------------------------------------------------------------------------
commit c819e97d219b7d11c1b78cbd130f7d7d2443cf39
Author: Nabeel Sowan <nabeel@vibes.se>
Date: 2016-05-10 15:02:56 +0200

    sx9512: change block write to 31 bytes to fix constant NVM updates when
    starting up peripheral_manager

Base directory -> /
 src/sx9512.c | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)
-------------------------------------------------------------------------------
commit 937f2c58211e6f94f771585f83caea436b1cd517
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-05-10 12:01:44 +0200

    Restore timeout function.

Base directory -> /
 src/led.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
2016-05-10 15:04:44 +02:00
Nabeel Sowan
3917419263 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 02edcda fix ubus button press and status read
-------------------------------------------------------------------------------
commit 02edcdaa628c4595a68bcc1da5dc5e398e851e87
Author: Nabeel Sowan <nabeel@vibes.se>
Date: 2016-05-09 16:55:06 +0200

    fix ubus button press and status read

Base directory -> /
 src/button.c | 18 ++++++++++++------
 src/button.h |  2 +-
 2 files changed, 13 insertions(+), 7 deletions(-)
-------------------------------------------------------------------------------
2016-05-09 17:15:01 +02:00
Sukru Senli
a6047dadbf voice-client: ringing schedule is off by default 2016-05-09 10:40:33 +02:00
Sukru Senli
906307df05 voice-client: call_filter0 is default call_filter 2016-05-09 10:40:30 +02:00
Sukru Senli
e8a6ff899b peripheral_manager: wait fir led.status ubus object to be created 2016-05-09 10:40:27 +02:00
Jonas Höglund
1d5ca37f1e Fix config path 2016-05-06 15:56:58 +02:00
Jonas Höglund
98170bdb79 Moved configs to iop package 2016-05-06 15:51:00 +02:00
Alex Oprea
97306df0a9 iup224: fix cicling reboot 2016-05-04 17:08:53 +02:00
Sukru Senli
a6abec5787 questd-3.1.5 2016-05-04 17:04:13 +02:00
Sukru Senli
88cf2ea0c2 iup: option 224 follows standard 2016-05-04 17:02:10 +02:00
Nabeel Sowan
103bbebad0 iop: fix cfe_upgrade script, wrong image type 2016-05-04 16:46:38 +02:00
Sukru Senli
c7b88666d8 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* e130cb0 Add enable for leds.
-------------------------------------------------------------------------------
commit e130cb0369b750d97cf2d4af081149cad7f6bb38
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-04-27 12:54:13 +0200

    Add enable for leds.

    when enable set to 0 the led function will internally be set to state OFF.
    it will still record any updates to state and when enable is set to 1 again
    will show whatever state has been set to during the time it was disabled.

Base directory -> /
 src/led.c | 37 ++++++++++++++++++++++++++++++++++---
 1 file changed, 34 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
2016-05-04 13:22:44 +02:00
Sukru Senli
22e014b587 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* ff58bac questd: add missing _ to parameters
* 0866c35 wificontrol: check arp list too
-------------------------------------------------------------------------------
commit ff58bac2696667ecab36afa2d93e7595fe9a992e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-05-04 13:21:39 +0200

    questd: add missing _ to parameters

Base directory -> /
 questd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 0866c3584e4ff0295b6b30afa30105fe3076a1bb
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-05-04 13:13:08 +0200

    wificontrol: check arp list too

Base directory -> /
 wificontrol.c | 26 ++++++++++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2016-05-04 13:22:32 +02:00
Sukru Senli
ce9ac288ff questd: install wificontrol 2016-05-03 12:37:00 +02:00
Sukru Senli
87df5f9117 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9467625 add some more wireless info to clients
-------------------------------------------------------------------------------
commit 9467625ceb2636ca1487e400ef119f374946beb0
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-05-03 12:05:37 +0200

    add some more wireless info to clients

Base directory -> /
 questd.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2016-05-03 12:06:18 +02:00
Anis Ellouze
9073b24182 Add zlib to suuport http compression Add config choose to seltect daata model (TR098/TR181)
Signed-off-by: Sukru Senli <sukru.senli@inteno.se>
2016-05-02 18:39:23 +02:00
Sukru Senli
82d37cefd5 questd-3.1.3 2016-05-02 11:35:29 +02:00
Jonas Höglund
93eaaa0aa9 Fixed open config values in genconfig 2016-04-29 13:44:29 +02:00
Sukru Senli
b5db57ba45 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 36c8dc0 arping: use mempcpy in send_pack
-------------------------------------------------------------------------------
commit 36c8dc05fc27577c9ae8acf8ba6ab8e10b7ac2fd
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-27 17:39:57 +0200

    arping: use mempcpy in send_pack

Base directory -> /
 arping.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2016-04-27 17:45:39 +02:00
Nabeel Sowan
3db08a8ec8 add developer / fw update scripts to ./iop command 2016-04-27 17:24:39 +02:00
Alex Oprea
75ec580e89 iup224 file permissions 2016-04-27 16:16:32 +02:00
Jonas Höglund
12a7183a32 Fix ice-client download method 2016-04-27 14:30:28 +02:00
Sukru Senli
73e4a225bb Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 108befe questd: password_set: give permission denied if curpass is not given
-------------------------------------------------------------------------------
commit 108befec0fe83dbff15deddc0b4c015e0a7173da
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-27 10:51:02 +0200

    questd: password_set: give permission denied if curpass is not given

Base directory -> /
 questd.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-04-27 10:51:50 +02:00
Sukru Senli
3a9685332d questd-3.1.2 2016-04-27 10:32:49 +02:00
Sukru Senli
12609ec471 Fix ice-client Makefile 2016-04-26 17:34:36 +02:00
Sukru Senli
c2788f796d questd-3.1.1 2016-04-26 15:11:25 +02:00
Erik Horemans
0144ce9606 new ice-client R3/4/1-RC11 2016-04-25 13:03:06 +02:00
Fredrik Åsberg
63ee5d4091 ice-client: added back support for CONFIG_ICE_OPEN 2016-04-22 17:00:06 +02:00
Fredrik Åsberg
0ab812d222 nevermind 2016-04-22 16:24:10 +02:00
Fredrik Åsberg
06679bd124 questd: update 2016-04-22 16:18:38 +02:00
Fredrik Åsberg
141b0c32e7 Added ifeq CONFIG_TARGET to EXTRA_CPPFLAGS 2016-04-22 16:15:32 +02:00
Fredrik Åsberg
9abc466d79 Makefile: fixed default ice-client settings 2016-04-22 15:11:50 +02:00
Fredrik Åsberg
93064cadd4 Fixed missed merge PKG_SOURCE_VERSION 2016-04-22 15:08:54 +02:00
Fredrik Åsberg
fc82c65364 Merge branch 'fredrik_lantiq' of public.inteno.se:feed-inteno-packages into devel
Conflicts:
	ice-client/Makefile
	questd/Makefile
2016-04-22 15:00:33 +02:00
Jonas Höglund
150b9bd694 Install feeds_inteno_openwrt 2016-04-21 12:47:49 +02:00
Mats Karrman
5ccec170d9 Add new package libcgroup 2016-04-20 16:55:00 +02:00
Mats Karrman
86cc70f753 icgroupd: Disable RT-scheduling control due to mips malfunction 2016-04-20 10:24:12 +02:00
Fredrik Åsberg
3a7e94e956 correct repo 2016-04-19 15:39:17 +02:00
Sukru Senli
a2220489b3 port_management: populate ports config if it has invalid config 2016-04-19 15:29:34 +02:00
Fredrik Åsberg
c1363317ba questd: lantiq 2016-04-19 15:20:31 +02:00
Fredrik Åsberg
667e0b1073 questd: lantiq 2016-04-19 15:16:00 +02:00
Jonas Höglund
39733b6227 Update feed [ feed_inteno_packages ] package [ asterisk18-mod ]
-------------------------------------------------------------------------------
* 2239c2d Update to new json-c include path
-------------------------------------------------------------------------------
commit 2239c2d0e790abfce7ac0684dbbac1cf9c0aff40
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2016-04-19 14:20:33 +0200

    Update to new json-c include path

Base directory -> /
 res/res_voice.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-04-19 14:25:01 +02:00
Jonas Höglund
789d2e2a42 Conditional include for cc branch 2016-04-19 13:54:45 +02:00
Jonas Höglund
353b048596 Fix libjson-c dependency for cc branch 2016-04-19 13:54:06 +02:00
Jonas Höglund
5e50e59c46 Update feed [ feed_inteno_packages ] package [ icwmp ]
-------------------------------------------------------------------------------
* 5de2405 Don't link against old libname
* 88d5361 libjson renamed to libjson-c
-------------------------------------------------------------------------------
commit 5de240514b73aff51301df4d41b88f762bca89df
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2015-10-27 13:46:54 +0100

    Don't link against old libname

Base directory -> /
 configure.ac | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 88d53614f3e698484d8052795eac3ead4f9fc951
Author: Jonas Höglund <jonas.hoglund@embeddednation.com>
Date: 2015-10-27 13:34:13 +0100

    libjson renamed to libjson-c

Base directory -> /
 dm/dmcommon.h                | 2 +-
 dm/dmtree/landevice.h        | 2 +-
 dm/dmtree/layer_2_bridging.c | 2 +-
 dm/dmtree/wandevice.h        | 4 ++--
 dm/dmubus.c                  | 2 +-
 dm/dmubus.h                  | 2 +-
 external.c                   | 2 +-
 jshn.c                       | 4 ----
 8 files changed, 8 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
2016-04-18 11:24:10 +02:00
Jonas Höglund
fa134b86f8 Added libpthread to ice-client depends 2016-04-18 10:26:48 +02:00
Jonas Höglund
1258a086bc Fixed download method for cc branch 2016-04-18 10:15:17 +02:00
Sukru Senli
a9d22d5e6b Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* f7e856e add logs method to router object
-------------------------------------------------------------------------------
commit f7e856ec68627842c1e79eadb5b856ec629bb637
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-18 10:00:40 +0200

    add logs method to router object

Base directory -> /
 questd.c | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
-------------------------------------------------------------------------------
2016-04-18 10:01:39 +02:00
Jonas Höglund
b3af9d3695 Updated help message 2016-04-15 15:01:18 +02:00
Kenneth Johansson
e83748b3e4 Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* bc5b822 add allflash state.
-------------------------------------------------------------------------------
commit bc5b8227410dac75d2525ef1946b842766982830
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-04-15 14:45:17 +0200

    add allflash state.

Base directory -> /
 src/led.c | 41 ++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 40 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-04-15 14:52:30 +02:00
Jonas Höglund
fea6fc95a0 Luci sed not needed anymore as dependency is fixed 2016-04-15 14:12:57 +02:00
Jonas Höglund
ba1337720e Fixed NATALIE_OPEN 2016-04-15 12:33:17 +02:00
Jonas Höglund
1d9619dfd9 Don't remove all luci config parameters 2016-04-15 12:04:47 +02:00
Mats Karrman
8f63a74197 Added new package icgroupd, refs #2521
The icgroupd contains a simple shell script daemon and an procd enabled init script
for configuring cgroups according to uci configuration and launching the daemon.

The daemon will periodically look for new processes in the root cgroup and move
them to sub-groups according to configuration.
2016-04-15 11:53:44 +02:00
Erik Horemans
482a88a65b new ice-client 3.4.1-RC9 2016-04-15 11:50:27 +02:00
Jonas Höglund
351ca030d4 Add OPEN config parameters to the kconfig system 2016-04-15 11:39:13 +02:00
Sukru Senli
b306dffa63 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 13f6e7f add support for activating wps client mode
-------------------------------------------------------------------------------
commit 13f6e7f89f1b0a86820a8239f739a5e8797f95ca
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-14 14:24:15 +0200

    add support for activating wps client mode

Base directory -> /
 questd.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
-------------------------------------------------------------------------------
2016-04-14 19:39:15 +02:00
Jonas Höglund
baeaa7cc4c Revert "new ice-client 3.4.1-RC9"
This reverts commit 378310828c.
2016-04-14 17:51:20 +02:00
Jonas Höglund
df9e651719 Remove wip from genconfig 2016-04-14 14:00:18 +02:00
Jonas Höglund
f8e7362648 Fixed help message 2016-04-14 13:53:43 +02:00
Erik Horemans
378310828c new ice-client 3.4.1-RC9 2016-04-14 09:44:34 +02:00
Sukru Senli
1fa651ddd2 questd 3.1.0 2016-04-13 17:33:58 +02:00
Jonas Höglund
b5b88e6335 Added install_key to iop 2016-04-13 15:27:09 +02:00
Fredrik Åsberg
f59e3fa4bf ice-client: missing pthread 2016-04-13 14:37:21 +02:00
Fredrik Åsberg
6fdf16fc81 Makefile: update 2016-04-13 14:31:31 +02:00
Fredrik Åsberg
905423d589 Makefile: update questd 2016-04-13 13:03:38 +02:00
Fredrik Åsberg
a2cf8beaed lantiq's build system does not like "tmp" directory name. 2016-04-13 12:58:14 +02:00
Jonas Höglund
d3bf187a66 Fixed spelling error 2016-04-13 11:47:27 +02:00
Jonas Höglund
0afa6e264c Updated description of feeds_update 2016-04-13 11:33:58 +02:00
Jonas Höglund
45e33d565a Added generate_tarballs to iop 2016-04-13 11:33:58 +02:00
Jonas Höglund
e6bc413a9b Added genconfig to iop 2016-04-13 11:33:58 +02:00
Jonas Höglund
b3c28656a7 Added setup host 2016-04-13 11:33:58 +02:00
Jonas Höglund
7e70ce6c5d Added status command to iop 2016-04-13 11:33:58 +02:00
Jonas Höglund
92fafa4245 Renamed script to match command name 2016-04-13 11:33:58 +02:00
Jonas Höglund
50c3c52edd Export feeds_update to iop 2016-04-13 11:33:58 +02:00
Jonas Höglund
01fd665c51 Added iop_feeds_update to iop/scripts 2016-04-13 11:33:58 +02:00
Jonas Höglund
3409632353 Fix iop package 2016-04-13 11:33:58 +02:00
Jonas Höglund
0e4cf8941d Add iop package 2016-04-13 11:33:58 +02:00
Jonas Höglund
7d5d9f4fd2 Export update_package to iop 2016-04-13 11:33:58 +02:00
Jonas Höglund
6445cba038 Add update_package to iop/scripts 2016-04-13 11:33:58 +02:00
Sukru Senli
595de81dff layer2interface: for now populate network config ifnames along with layer2 configs 2016-04-12 18:24:03 +02:00
Sukru Senli
67e42d5efd auto populate layer2 configs 2016-04-12 17:50:21 +02:00
Sukru Senli
12000972d7 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9022b06 handle endianness
* 42dae95 have to use wlctl command for sta_info
* 26eef94 collect sta info
* 4a12062 no more wlctl call
* fad40f0 use broadcom ioctl to get wireless parameters
* 3068e11 make sure dumping ports do not do memory leak
* 1ee4b5c new way of getting usb devices
* d8c7e6c give localtime in integer
* 07ed16a move remove_space function to tools.c
* bf907b0 remove unnecessary strdup calls
-------------------------------------------------------------------------------
commit 9022b06ecd73e1515b499a04894205fa95188deb
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-12 13:47:34 +0200

    handle endianness

Base directory -> /
 broadcom.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++--------------
 broadcom.h | 24 +++++++++++++++++++++
 questd.c   |  1 -
 3 files changed, 81 insertions(+), 17 deletions(-)
-------------------------------------------------------------------------------
commit 42dae959983cd079e074947328c7dbc4b10f5848
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-11 12:45:36 +0200

    have to use wlctl command for sta_info

Base directory -> /
 broadcom.c |  52 +++++++++++-----
 broadcom.h |  14 +++++
 questd.c   | 197 ++++++++++++++++++++++++++++++-------------------------------
 questd.h   |   4 +-
 4 files changed, 149 insertions(+), 118 deletions(-)
-------------------------------------------------------------------------------
commit 26eef94febd6db3b0ad157a63fca4fe26aa397dc
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-10 14:29:25 +0200

    collect sta info

Base directory -> /
 broadcom.c | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 broadcom.h |   2 ++
 questd.c   |  35 +++++++------------
 questd.h   |   6 ++--
 4 files changed, 122 insertions(+), 32 deletions(-)
-------------------------------------------------------------------------------
commit 4a120629f22044d3bf5d07c8c47e0832ff513abe
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-09 23:51:22 +0200

    no more wlctl call

Base directory -> /
 broadcom.c |  85 ++++++++++++++++++++++++++++--------
 broadcom.h | 136 ++++++++++++++++++++++++++++++++++++++++++++--------------
 questd.c   | 142 ++++++++++++++++++++-----------------------------------------
 questd.h   |  13 +++---
 4 files changed, 224 insertions(+), 152 deletions(-)
-------------------------------------------------------------------------------
commit fad40f0ca3a9a6fc9e30af376a0fcaa87d3b213a
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-09 19:20:35 +0200

    use broadcom ioctl to get wireless parameters

Base directory -> /
 Makefile           |  12 +-
 bcmwifi_channels.h | 393 +++++++++++++++++++++++++++++++++++++++++++
 broadcom.c         | 254 ++++++++++++++++++++++++++++
 broadcom.h         | 485 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 questd.c           |  72 +++++---
 typedefs.h         |  18 ++
 6 files changed, 1209 insertions(+), 25 deletions(-)
-------------------------------------------------------------------------------
commit 3068e11a19e37de37f18ef74659193e9b8d2772d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-08 15:22:44 +0200

    make sure dumping ports do not do memory leak

Base directory -> /
 port.c   | 18 ++++++++++--------
 questd.c |  4 ++--
 questd.h |  2 +-
 3 files changed, 13 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit 1ee4b5c59361b6ad2515e41bbb6b0b64b021760d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-08 14:42:11 +0200

    new way of getting usb devices

Base directory -> /
 questd.c | 30 +++++++++++++++++-----------
 questd.h | 14 ++++++-------
 usb.c    | 69 ++++++++++++++++++++++++++++++++--------------------------------
 3 files changed, 61 insertions(+), 52 deletions(-)
-------------------------------------------------------------------------------
commit d8c7e6cc402cb7166082545e21a374c477296218
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-08 13:23:04 +0200

    give localtime in integer

Base directory -> /
 dumper.c | 5 +++--
 questd.c | 3 ++-
 questd.h | 3 ++-
 3 files changed, 7 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 07ed16ac80df81fbc13191781ca6f083543ffc4d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-08 09:57:39 +0200

    move remove_space function to tools.c

Base directory -> /
 questd.h |  1 +
 tools.c  | 17 +++++++++++++++++
 usb.c    | 18 ------------------
 3 files changed, 18 insertions(+), 18 deletions(-)
-------------------------------------------------------------------------------
commit bf907b0089e720d4a9c9680e0321982a105e6906
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-07 20:49:40 +0200

    remove unnecessary strdup calls

Base directory -> /
 questd.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2016-04-12 13:49:36 +02:00
Sukru Senli
e83347616c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* fad40f0 use broadcom ioctl to get wireless parameters
* 3068e11 make sure dumping ports do not do memory leak
* 1ee4b5c new way of getting usb devices
* d8c7e6c give localtime in integer
* 07ed16a move remove_space function to tools.c
* bf907b0 remove unnecessary strdup calls
-------------------------------------------------------------------------------
commit fad40f0ca3a9a6fc9e30af376a0fcaa87d3b213a
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-09 19:20:35 +0200

    use broadcom ioctl to get wireless parameters

Base directory -> /
 Makefile           |  12 +-
 bcmwifi_channels.h | 393 +++++++++++++++++++++++++++++++++++++++++++
 broadcom.c         | 254 ++++++++++++++++++++++++++++
 broadcom.h         | 485 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 questd.c           |  72 +++++---
 typedefs.h         |  18 ++
 6 files changed, 1209 insertions(+), 25 deletions(-)
-------------------------------------------------------------------------------
commit 3068e11a19e37de37f18ef74659193e9b8d2772d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-08 15:22:44 +0200

    make sure dumping ports do not do memory leak

Base directory -> /
 port.c   | 18 ++++++++++--------
 questd.c |  4 ++--
 questd.h |  2 +-
 3 files changed, 13 insertions(+), 11 deletions(-)
-------------------------------------------------------------------------------
commit 1ee4b5c59361b6ad2515e41bbb6b0b64b021760d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-08 14:42:11 +0200

    new way of getting usb devices

Base directory -> /
 questd.c | 30 +++++++++++++++++-----------
 questd.h | 14 ++++++-------
 usb.c    | 69 ++++++++++++++++++++++++++++++++--------------------------------
 3 files changed, 61 insertions(+), 52 deletions(-)
-------------------------------------------------------------------------------
commit d8c7e6cc402cb7166082545e21a374c477296218
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-08 13:23:04 +0200

    give localtime in integer

Base directory -> /
 dumper.c | 5 +++--
 questd.c | 3 ++-
 questd.h | 3 ++-
 3 files changed, 7 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
commit 07ed16ac80df81fbc13191781ca6f083543ffc4d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-08 09:57:39 +0200

    move remove_space function to tools.c

Base directory -> /
 questd.h |  1 +
 tools.c  | 17 +++++++++++++++++
 usb.c    | 18 ------------------
 3 files changed, 18 insertions(+), 18 deletions(-)
-------------------------------------------------------------------------------
commit bf907b0089e720d4a9c9680e0321982a105e6906
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-07 20:49:40 +0200

    remove unnecessary strdup calls

Base directory -> /
 questd.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2016-04-09 19:24:28 +02:00
Sukru Senli
8d2bdd90fd Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 9eb8f97 show radio isup status
* b18afa1 remove boardinfo method
* b863e0f populate clients every 10 seconds
* 070ceb5 mutex lock whiel populating network
-------------------------------------------------------------------------------
commit 9eb8f9759f74378d9b2617809cd757ca742ec364
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-07 17:54:31 +0200

    show radio isup status

Base directory -> /
 questd.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
commit b18afa13382f4271882e01d9ea7aa97d26fde63e
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-07 17:42:43 +0200

    remove boardinfo method

Base directory -> /
 questd.c | 81 +++++++---------------------------------------------------------
 1 file changed, 8 insertions(+), 73 deletions(-)
-------------------------------------------------------------------------------
commit b863e0f87fdf0f5366c85e2a675d86b4e1ca1f7d
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-07 16:57:14 +0200

    populate clients every 10 seconds

Base directory -> /
 questd.c | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)
-------------------------------------------------------------------------------
commit 070ceb5cd4ac6e7f8fb8a87c3a74c1c029b9b569
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-07 13:30:39 +0200

    mutex lock whiel populating network

Base directory -> /
 questd.c | 2 ++
 1 file changed, 2 insertions(+)
-------------------------------------------------------------------------------
2016-04-07 17:55:25 +02:00
Sukru Senli
fef609fb46 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* c93a68d use strncpy to be safe
* 39ca14b show localtime
* dbd1ea5 show filesysem
-------------------------------------------------------------------------------
commit c93a68d9d45fde7a242a57776c0e11327da1d6c4
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-07 11:30:55 +0200

    use strncpy to be safe

Base directory -> /
 dumper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit 39ca14b8ca0397000e402e5c63df50131c3c3841
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-07 11:20:24 +0200

    show localtime

Base directory -> /
 dumper.c | 5 +++++
 questd.c | 4 +++-
 questd.h | 1 +
 3 files changed, 9 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit dbd1ea580bf442ab971760fecfeecfe83bd44eda
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-07 10:41:04 +0200

    show filesysem

Base directory -> /
 questd.c | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
-------------------------------------------------------------------------------
2016-04-07 11:41:44 +02:00
Sukru Senli
169c157cbd update package dependencies for ice-client and wifimngr 2016-04-06 13:36:07 +02:00
Sukru Senli
048546b175 set iup dhcp opts on all management interfaces 2016-04-06 11:29:15 +02:00
Sukru Senli
a17f3718af questd: install ueventd and uscriptd 2016-04-05 16:54:47 +02:00
Sukru Senli
70855e0a4f Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 5de4432 do not share object
-------------------------------------------------------------------------------
commit 5de4432d19b043677b9c729701057ae8c0c37589
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-04-05 15:47:48 +0200

    do not share object

Base directory -> /
 Makefile  |  4 ++--
 scriptd.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++--
 tools.c   |  2 +-
 3 files changed, 53 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
2016-04-05 15:48:23 +02:00
Sukru Senli
9c4ede538b questd hosts uscriptd and ueventd as well 2016-04-05 15:06:50 +02:00
Sukru Senli
e16d6d9b5b icwmp-3.0-2016-03-30 2016-04-04 18:31:23 +02:00
Sukru Senli
f656693f25 updated asterisk 2016-04-04 16:23:35 +02:00
Ronny Nilsson
d065eef18c Merge branch 'ronny_dg400_dect' into devel 2016-04-04 14:45:22 +02:00
Ronny Nilsson
d2511509ef Upstream merge of Asterisk branch dect-ubus 2016-04-04 14:35:47 +02:00
Ronny Nilsson
85fcb1f033 - Install default NVS data
- Upstream merge to master branch
2016-04-04 14:26:00 +02:00
Kenneth Johansson
074f459bea Update feed [ feed_inteno_packages ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 8be3060 Don't allow setting filter on model 302.
* d341ac8 add debug program for eco ghost press.
-------------------------------------------------------------------------------
commit 8be3060315f010fbf1bde723e0674e4a65fa9ccb
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-04-01 15:40:24 +0200

    Don't allow setting filter on model 302.

Base directory -> /
 src/catv.c | 32 +++++++++++++++++++++++++++-----
 1 file changed, 27 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
commit d341ac83376fb3714a6b1401d4a3e7c199bc76f7
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-03-15 15:53:30 +0100

    add debug program for eco ghost press.

Base directory -> /
 Makefile.am   |  7 ++++++-
 src/eco_bug.c | 25 +++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-04-01 15:44:08 +02:00
Sukru Senli
abe069dc3c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 4ec2f7e remove extra slash
* 8ec937c increase buffer size
* ffdcd02 create multiple juci objects
* 1414c53 added juci object
* 337b4fd router wl object gives noise as well
-------------------------------------------------------------------------------
commit 4ec2f7e451941fbfbb990113b82c82bc8d906f57
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-03-31 17:56:38 +0200

    remove extra slash

Base directory -> /
 questd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 8ec937c6dcc7c82cc437256ed2eeacf5384e5f13
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-03-31 16:51:42 +0200

    increase buffer size

Base directory -> /
 tools.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit ffdcd02700a3bc33c59d006c6ed367b205f98922
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-03-30 22:19:24 +0200

    create multiple juci objects

Base directory -> /
 questd.c | 42 ++++++++++++++++++++++++++++++++++++------
 1 file changed, 36 insertions(+), 6 deletions(-)
-------------------------------------------------------------------------------
commit 1414c53c20af2293f24c9c0d57ed5cc38455f5fb
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-03-30 21:02:16 +0200

    added juci object

Base directory -> /
 questd.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 tools.c  |  2 +-
 2 files changed, 60 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 337b4fd6e47e18f4033e594ae9de5c14acfa0cb4
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-03-29 14:17:15 +0200

    router wl object gives noise as well

Base directory -> /
 questd.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-03-31 18:42:09 +02:00
Sukru Senli
1342f71b77 wifimngr-2016-03-29 2016-03-29 14:01:31 +02:00
Sukru Senli
c617d393ee Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 903d8ae now we specifically now which client is connected from client event
-------------------------------------------------------------------------------
commit 903d8ae119805d2b05d0b6fe6b0124d3e7ae1a16
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-03-27 14:26:00 +0200

    now we specifically now which client is connected from client event

Base directory -> /
 questd.c | 67 +++++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 41 insertions(+), 26 deletions(-)
-------------------------------------------------------------------------------
2016-03-28 10:28:03 +02:00
Sukru Senli
c293e680dc Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 61d0ce1 set ran variable in correct place
-------------------------------------------------------------------------------
commit 61d0ce1337571f208d3ca12d8540a2abb921be31
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-03-25 10:26:46 +0100

    set ran variable in correct place

Base directory -> /
 questd.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------------------------------------------------------------------------
2016-03-25 10:27:27 +01:00
Sukru Senli
4f20ba679e questd-3.0.0 2016-03-24 20:25:46 +01:00
Sukru Senli
b926cf4c34 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* e4c8f56 output event data in format of json object
* 65328e3 add .gitignore
* 152c964 show rssi for wireless clients
-------------------------------------------------------------------------------
commit e4c8f5691c3458edf10fa13b56bcb8432f659d8f
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-03-24 15:26:22 +0100

    output event data in format of json object

Base directory -> /
 questd.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 65328e386e2a4a5e4f834a273870b191096c3e04
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-03-24 13:51:04 +0100

    add .gitignore

Base directory -> /
 .gitignore | 10 ++++++++++
 1 file changed, 10 insertions(+)
-------------------------------------------------------------------------------
commit 152c964291b78045075238a3d039885289eff055
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-03-24 13:48:53 +0100

    show rssi for wireless clients

Base directory -> /
 questd.c | 11 ++++++++++-
 questd.h |  2 ++
 2 files changed, 12 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
2016-03-24 15:26:48 +01:00
Mats Karrman
d7030c4785 endptcfg: All supported Brcm SDKs require FAKE_SSP 2016-03-24 15:13:57 +01:00
Sukru Senli
f33296afa9 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 6439900 questd: show last 10 seconds of router events
-------------------------------------------------------------------------------
commit 643990006220f520725e99def72d7bfcecc8a4d4
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-03-24 11:29:54 +0100

    questd: show last 10 seconds of router events

Base directory -> /
 Makefile |  2 +-
 questd.c | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 questd.h |  7 +++++++
 3 files changed, 78 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2016-03-24 12:03:08 +01:00
Sukru Senli
be2de2f1c3 new way of handling private repos 2016-03-23 09:26:50 +01:00
Sukru Senli
211525095b layer2interface: treat option 1 as option Enabled in layer2_interface script 2016-03-17 10:26:10 +01:00
Sukru Senli
fc9e3e34e6 icwmp-3.0-2016-03-14 2016-03-16 18:05:30 +01:00
Ronny Nilsson
0650265216 Beta branch for Dect support in DG400 2016-03-15 13:37:29 +01:00
Sukru Senli
1fe72d82aa iup: set defaults iup options 2016-03-15 13:00:45 +01:00
Kenneth Johansson
5771b3bde6 Add bootchart2. 2016-03-11 20:59:14 +01:00
Sukru Senli
1ce684c01e icwmp-3.0-2016-03-11 2016-03-11 12:45:20 +01:00
Jonas Höglund
7e5ff6567a Don't set ice-client default=y in package makefile 2016-03-10 17:12:08 +01:00
Sukru Senli
d2713b3bbd Revert "new source url for open packages"
This reverts commit 991eeff106.
2016-03-10 14:58:37 +01:00
Sukru Senli
991eeff106 new source url for open packages 2016-03-10 14:41:23 +01:00
Sukru Senli
93cd4c477d iup: default iup enabled value is on 2016-03-10 09:28:27 +01:00
Sukru Senli
c208c12ef3 put natalie-dect back 2016-03-10 09:22:17 +01:00
Fredrik Åsberg
7bfdea5ff3 iopsys -> private 2016-03-09 16:28:31 +01:00
Fredrik Åsberg
ab88b8e133 ice-client: update comment 2016-03-09 16:13:35 +01:00
Fredrik Åsberg
2d7baa91e2 anyfi & wl-anyfi: removed 2016-03-09 16:13:35 +01:00
Fredrik Åsberg
66ad2e3158 natalie-dect: removed (moved to feed-inteno-broadcom) 2016-03-09 16:13:34 +01:00
Fredrik Åsberg
0981bc9ccd extra: removed 2016-03-09 16:13:34 +01:00
Fredrik Åsberg
c9601eb4aa dahdi: removed 2016-03-09 16:13:34 +01:00
Fredrik Åsberg
2f6fed6d92 dect-prog: removed (unused) 2016-03-09 16:13:34 +01:00
Fredrik Åsberg
6fbf823167 endptctl: removed (unused) 2016-03-09 16:13:34 +01:00
Fredrik Åsberg
7833470f7a teliasafety-misc: removed 2016-03-09 16:13:34 +01:00
Fredrik Åsberg
0ff160345d replaced ihgsp and iopsys urls 2016-03-09 16:13:34 +01:00
Fredrik Åsberg
a63d88c100 replaced git url iopsys.inteno.se with private.inteno.se 2016-03-09 16:13:34 +01:00
Sukru Senli
169ebea761 ice-client: ice-client open support 2016-03-09 12:04:09 +01:00
Sukru Senli
069de32121 layer2interface: vlanctl use correct syntax while creating vlans 2016-03-09 11:43:31 +01:00
Sukru Senli
6eecfcd238 ice-client-3.4.1RC8 2016-03-09 11:01:40 +01:00
Sukru Senli
e49d908f94 layer2interface: use vlanctl --dhcp-bridged option for vlan ifaces that belong to a managed bridge 2016-03-08 16:40:16 +01:00
Vlatko Dimic
24b6106ddd IUP is now logging to syslog, ref #8665 2016-03-08 11:34:28 +01:00
Sukru Senli
8cd62ff81f do not start asterisk until the router receives a default route 2016-03-04 16:27:11 +01:00
Sukru Senli
0d3466445c natalie-dect-h: remove PKG_RELEASE to align with natalie-dect package 2016-03-02 13:08:28 +01:00
Sukru Senli
cde3056c2f endptcfg: merge endptcfg-open into endptcfg 2016-03-01 12:13:34 +01:00
Sukru Senli
5ffec072d5 natalie-dect-open is removed 2016-03-01 11:44:47 +01:00
Sukru Senli
6e9f0fafa3 natalie-dect: compile natalie-dect and natalie-dect-open in same Makefile 2016-03-01 11:44:03 +01:00
Nabeel Sowan
0feb577f1a add picolisp-3.1.10 2016-02-29 21:39:17 +01:00
Vlatko Dimic
d4d189bd1e Added handling of option 224 to udhcp 2016-02-29 15:39:31 +01:00
Sukru Senli
8143b29d38 power-management: replace unexisting pwrctl command with correct one 2016-02-29 10:07:06 +01:00
Kenneth Johansson
78863e3174 iup: add fsync in init file after crontab been altered. 2016-02-26 19:02:04 +01:00
Kenneth Johansson
3324bd6c94 dectmngr: sync file in initscript.
make sure the new file is flushed to flash. Else if power is pulled the
file might end up as zero bytes large.
2016-02-26 16:00:07 +01:00
Sukru Senli
a1a8e179d8 ice-client-3.4.1-RC6 2016-02-26 12:42:19 +01:00
Kenneth Johansson
3e6ce7dd21 Add inotify-tools, iop_write_monitor. 2016-02-25 18:19:22 +01:00
Sukru Senli
74e087814d remove obselete packages: alleato-base and freecwmp 2016-02-25 17:23:13 +01:00
Sukru Senli
3069b113f2 questd-2.0.6 2016-02-25 17:19:10 +01:00
Sukru Senli
ae4bd347d0 icwmp-3.0-2016-02-24 2016-02-25 17:08:36 +01:00
Fredrik Åsberg
b534f1f164 icwmp: updated 2016-02-25 16:56:21 +01:00
Mats Karrman
b0a857c7c9 Update feed [ feed_inteno_packages ] package [ mtd-utils ]
-------------------------------------------------------------------------------
* dd9f464 imagewrite: Avoid double error messages
* eee1e57 imagewrite: Fix bug with not failing if last EB does not fit
* 9681f16 imagewrite: Add trail-ff option, refs #8626
* f0fc7c5 Revert "testing"
-------------------------------------------------------------------------------
commit dd9f464eced6af7d5e6a4a920b727421229310f4
Author: Mats Karrman <mats@southpole.se>
Date: 2016-02-19 14:32:16 +0100

    imagewrite: Avoid double error messages

Base directory -> /
 imagewrite.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
commit eee1e578789c309151eb2c58af57b7df9024612a
Author: Mats Karrman <mats@southpole.se>
Date: 2016-02-18 17:31:38 +0100

    imagewrite: Fix bug with not failing if last EB does not fit

Base directory -> /
 imagewrite.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit 9681f16d36bdc660434fb7fad85897c62e8ab858
Author: Mats Karrman <mats@southpole.se>
Date: 2016-02-18 17:12:13 +0100

    imagewrite: Add trail-ff option, refs #8626

Base directory -> /
 imagewrite.c | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
commit f0fc7c5d6a8dda8ffa6509f8e79dee73fc757870
Author: Mats Karrman <mats@southpole.se>
Date: 2016-02-18 15:47:35 +0100

    Revert "testing"

    This reverts commit fb18f98c0eb82568b94808b7ab662937624b393d.

Base directory -> /
 hej.txt | 1 -
 1 file changed, 1 deletion(-)
-------------------------------------------------------------------------------
2016-02-25 16:47:39 +01:00
Ronny Nilsson
106982c69a Dependencies for dectmngr2 2016-02-25 16:09:48 +01:00
Sukru Senli
b24cb6f4d4 remove mosquitto from inteno packages feed 2016-02-25 16:09:38 +01:00
Sukru Senli
ed2f0381a0 remove juci-full-inteno 2016-02-25 16:09:29 +01:00
Sukru Senli
bbede82173 voice_client: add default call filter if it does not already exist 2016-02-25 16:08:41 +01:00
Sukru Senli
256948792c voice_client: add default call filter 2016-02-25 16:08:36 +01:00
Fredrik Åsberg
b173df6ff5 questd: update version 2016-02-22 11:39:01 +01:00
Fredrik Åsberg
31361b2bfb moved 2016-02-22 11:30:39 +01:00
Fredrik Åsberg
fb2181f279 added git proto 2016-02-22 11:27:48 +01:00
Fredrik Åsberg
2ef80243bf questd: update 2016-02-19 17:50:26 +01:00
Fredrik Åsberg
5811d46d56 Changed Makefiles to use HTTP URLs. 2016-02-19 11:24:32 +01:00
Sukru Senli
e0d7cb9caa allocate new macaddr for vlan interface if it is in dhcp bridge 2016-02-15 14:45:56 +01:00
Kenneth Johansson
5b22a2dce6 Update feed [ intenopackages ] package [ mtd-utils ]
-------------------------------------------------------------------------------
* fb18f98 testing
-------------------------------------------------------------------------------
commit fb18f98c0eb82568b94808b7ab662937624b393d
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-02-15 13:50:14 +0100

    testing

Base directory -> /
 hej.txt | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2016-02-15 14:08:24 +01:00
Sukru Senli
dd481c8bfe Update feed [ intenopackages ] package [ questd ]
-------------------------------------------------------------------------------
* b1946c0 ubus call router clients gives bytes/rate details for wireless clients
-------------------------------------------------------------------------------
commit b1946c0c6bd45a9ea271afdebda86bfd4d264abb
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2016-02-11 16:48:37 +0100

    ubus call router clients gives bytes/rate details for wireless clients

Base directory -> /
 questd.c | 119 ++++++++++++++++++++++++++++++---------------------------------
 1 file changed, 57 insertions(+), 62 deletions(-)
-------------------------------------------------------------------------------
2016-02-12 18:48:07 +01:00
Mats Karrman
fa760967a1 Update feed [ intenopackages ] package [ mtd-utils ]
-------------------------------------------------------------------------------
* cc390d8 deubinize: Add skip/length option and output to stdout, refs #8625
-------------------------------------------------------------------------------
commit cc390d8aaf8911fa4bae3a150488c9e7a783eb86
Author: Mats Karrman <mats@southpole.se>
Date: 2016-02-04 16:54:32 +0100

    deubinize: Add skip/length option and output to stdout, refs #8625

Base directory -> /
 ubi-utils/deubinize.c | 95 ++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 68 insertions(+), 27 deletions(-)
-------------------------------------------------------------------------------
2016-02-11 09:41:18 +01:00
Fredrik Åsberg
ce8bf2872c btle_alarm: Makefile fix 2016-02-10 18:27:00 +01:00
Fredrik Åsberg
faa17d8679 Merge iopsys-attitude-adjustment into devel 2016-02-10 18:16:37 +01:00
Fredrik Åsberg
ceca1c1a53 btle_alarm: moved into subdirectory 2016-02-10 18:15:29 +01:00
Jonas Höglund
7862c07454 Added readline dep. 2016-02-10 18:11:15 +01:00
Kenneth Johansson
22129691d0 Add bluez 5.28.
Userspace tools and libs only.
Update of cg301 target
2016-02-10 18:11:15 +01:00
Fredrik Åsberg
9625c3b81c btle_alarm: breakup src into repo 2016-02-10 18:00:50 +01:00
Sukru Senli
a1d6b02a20 voice_client: delete non-existing lines from config 2016-02-10 11:53:45 +01:00
buildserver2
d6ab9d1a12 mtd-utils: Make directory name same as package name 2016-02-08 11:46:55 +01:00
Sukru Senli
97ad605a1c iup: prevent possible sh warning 2016-02-07 11:44:34 +01:00
Sukru Senli
3e66393c7b iup: prevent network reloading if dhcp options are not changed 2016-02-04 15:37:26 +01:00
Sukru Senli
9b02ee98d2 icwmpd-3.0-2016-02-04 2016-02-04 15:36:31 +01:00
Sukru Senli
8a2939ddde ask for dhcp options 66 67 128 only if iup is enabled 2016-02-04 14:30:25 +01:00
Sukru Senli
a17530309f icwmp-3.0-2016-02-03 2016-02-03 17:06:13 +01:00
Sukru Senli
d6f0f38524 asterisk: enable video support 2016-01-29 14:06:33 +01:00
Sukru Senli
4c99a2fb98 add extra qos for atm/ptm interfaces 2016-01-28 18:02:16 +01:00
Sukru Senli
701cc69a03 ice-client: remove torrent package 2016-01-27 15:14:58 +01:00
Erik Horemans
da5615d50a new ice-client R3.4.1-RC1 2016-01-27 14:46:19 +01:00
Reidar Cederqvist
6ea1aa0a2b removed ssh-keys: it has been moved to ssh page 2016-01-27 14:12:57 +01:00
Kenneth Johansson
09e49e54eb Remove QOS 2016-01-27 11:02:06 +01:00
Fredrik Åsberg
e92bc0ea7d Moved the following packages to inteno-packages-openwrt:v3.5
and moved luci out of webgui.

alljoyn
block-mount-old
dbus
ddns-scripts
glib2
haproxy
hotplug2
libffi
libipfix
libmbim
libmicroxml
libpcre
libqmi
luci
minidlna
multiwan
net-snmp
samba2
samba3
shflags
syslog-ng3
usb-modeswitch
2016-01-26 15:06:55 +01:00
Fredrik Åsberg
a1e4de11f0 Moved the following packages to inteno-packages-broadcom:v3.5
bcmhotproxy
bcmkernel
brcm-h
broadcom-diag
broadcom-nvram
broadcom-utils
mcpd
2016-01-26 15:02:13 +01:00
Fredrik Åsberg
750d5ff091 Removed unused packages:
6relayd
ami_tool
bridge-utils
ltq-dsl
ltq-dsl-app
ltq-kpi2udp
ltq-tapidemo
siit
sqlite3
statd
uboot-omap35xx
uboot-omap4
2016-01-26 11:48:20 +01:00
Fredrik Åsberg
1f5c527959 Separate "extra" folder.
Added packages that we are unsure whether they can be deleted or are needed to a separate "extra" folder.
2016-01-26 11:38:06 +01:00
Mats Karrman
4dba945466 Update source version to tip of 4.16L.04 branch 2016-01-26 09:12:07 +01:00
Kenneth Johansson
ce942da01f Update feed [ inteno ] package [ peripheral_manager ]
-------------------------------------------------------------------------------
* 6a89f70 Do not trigger pressindicator unless button is enabled.
-------------------------------------------------------------------------------
commit 6a89f70edec94286a790cbb7c76debec6bb1c873
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2016-01-25 14:06:08 +0100

    Do not trigger pressindicator unless button is enabled.

Base directory -> /
 src/button.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
-------------------------------------------------------------------------------
2016-01-25 14:54:49 +01:00
Mats Karrman
a6139059a3 Update source version to tip of 4.16L.04 branch, refs #8173 2016-01-25 13:01:30 +01:00
Mats Karrman
a58ac037fd Update source version to tip of 4.16L.04 branch, refs #8173 2016-01-22 17:13:04 +01:00
Mats Karrman
5ec0992e1d Add support for new products: DG150V2 and DG150ALV2, refs #8173 2016-01-22 17:13:04 +01:00
Sukru Senli
71c459b27d make sure questd reload works 2016-01-22 15:49:56 +01:00
Martin Schröder
4021526a61 add juci-simple-gui 2016-01-22 14:08:19 +01:00
Martin Schröder
009d2b613c Merge remote-tracking branch 'origin/from-iop-3.4' into v3.5
Conflicts:
	brcm_fw_tool/Makefile
	brcminfo/Makefile
	peripheral_manager/Makefile
	questd/src/questd.c
	wifimngr/Makefile
2016-01-21 15:28:48 +01:00
Fredrik Åsberg
cee25ad753 rename: speedtest.config speedtest 2016-01-21 14:05:06 +01:00
Fredrik Åsberg
221020162e Makefile: Update
Copy files in the files folder for the following projects:

bcmhotproxy (done)
broadcom-nvram (already did that)
peripheral_manager (changed)
questd (done)
statd (already did that)
tptest (done, changed file structure)

The following does not have any files to be copied:

broadcom-utils
qrencode
wifimngr
2016-01-21 13:45:47 +01:00
Sukru Senli
6e7e03544a peripheral manager: install init.d script 2016-01-21 13:10:56 +01:00
Sukru Senli
65dd02c8ad install speedtest config from tptest package 2016-01-21 12:40:35 +01:00
Fredrik Åsberg
4b193200ed broadcom-utils: build problem fixed
broadcom-utils build directory was not being created correctly,
the solution was to remove the kernel.mk include.

 - include $(INCLUDE_DIR)/kernel.mk
2016-01-21 11:36:08 +01:00
Fredrik Åsberg
64c89e3778 perfmngr: merge kenneth devel 2016-01-20 17:33:27 +01:00
Fredrik Åsberg
46bbd6e198 broadcom-utils: added
Moved brcminfo and brcm_fw_tool to broadcom-utils.
2016-01-20 14:23:30 +01:00
Martin Schröder
351814d4eb juci-full-inteno: fix the uci-defaults script 2016-01-19 13:56:11 +01:00
Martin Schröder
bc7260e31f fix typo in juci inteno config 2016-01-19 10:56:00 +01:00
Fredrik Åsberg
a88e8ca92a Moved inteno projects that should be public to their own repos.
The repos are now available from public.inteno.se

This does not include broadcom-utils.
2016-01-18 17:53:26 +01:00
Martin Schröder
fac97aafc4 juci: configure menus based on whether we have voice, dect and adsl/vdsl 2016-01-18 17:18:12 +01:00
Martin Schröder
67bf9c7cc6 Merge remote-tracking branch 'origin/from-iop-3.4' into v3.5 2016-01-18 11:06:09 +01:00
Mats Karrman
416807ec6d bcmkernel-4.16L.04: Update source version to tip of 4.16L.04, cfe ver change 2016-01-15 16:33:25 +01:00
Kenneth Johansson
bf68e19da1 bcmkernel-4.16L.04: Update source version to tip of 4.16L.04. 2016-01-14 15:20:35 +01:00
Martin Schröder
f668805565 update juci config 2016-01-13 16:31:21 +01:00
Kasper Ingelvide
09595f0343 Show time as local time in call log, refs #7537 2016-01-13 12:14:01 +01:00
Reidar Cederqvist
0a221ad2a2 allways overwrite rpcd config 2016-01-13 11:06:58 +01:00
Reidar Cederqvist
47a918ff4d added user acls to menu items and added filters etc 2016-01-13 11:02:58 +01:00
Reidar Cederqvist
4ae7bdd609 changed juci-inteno-config 2016-01-12 17:11:40 +01:00
Strhuan Blomquist
cae2808318 Fixes So that we dont get double iup process refs #8437 2016-01-12 16:25:51 +01:00
Strhuan Blomquist
6f600d6f37 accidently removed a character creating an error message refs #8307 2016-01-12 09:36:50 +01:00
Strhuan Blomquist
fdb3f55a35 iup can now handle UBIFS and JFFS2 with same version and do a upgrade refs #8307 2016-01-11 16:38:28 +01:00
Sukru Senli
486b1a854c disable ipv6 on wan base device 2016-01-11 16:06:01 +01:00
Mats Karrman
5fb7c59fb3 bcmkernel-4.16L.04: Update source version to tip of 4.16L.04, refs #8458 2016-01-11 15:20:48 +01:00
Mats Karrman
86bca8523b bcmkernel-4.16L.04: Updated source to tip of 4.16L.04 branch, DG400 DDR, refs #8414 2016-01-08 18:19:07 +01:00
Sukru Senli
af1516bf6c luci-inteno-1.1.31 2016-01-08 16:40:09 +01:00
Kenneth Johansson
b167e072ac minidlna: force fixup of autotools.
Since we know we update the makefile.am do a manual autoreconf
instead of allowing this to be detected during make.

If its detected the make tries to use the original version of automake
and not the version installed on the HOST.

this is so we can build on ubuntu 15.10 without downgrading automake.
2016-01-08 15:35:36 +01:00
Mats Karrman
e11fef0a1d imagewrite: use correct JFFS2 clean marker on little-endian systems, refs #8452 2016-01-08 15:28:28 +01:00
Sukru Senli
70597bb8de icwmp-3.0-2016-01-07 2016-01-08 13:25:57 +01:00
Martin Schröder
fa4e426d33 fix voice client in default config 2016-01-08 12:07:50 +01:00
Sukru Senli
ca2d6ac266 libmicroxml: avoid new lines in attributes patch 2016-01-07 13:07:35 +01:00
Sukru Senli
201d3e9b69 iup: stop/start iup if reloaded 2016-01-05 10:44:03 +01:00
Sukru Senli
27173c0d40 updated bcmkernel 2016-01-04 17:42:26 +01:00
Sukru Senli
a0749cd0cf luci-inteno-1.1.30 2016-01-04 13:20:47 +01:00
Sukru Senli
02e15998da updated bcmkernel 2015-12-29 22:39:33 +01:00
Sukru Senli
178b836aff luci-inteno-1.1.29 2015-12-29 17:58:13 +01:00
Sukru Senli
b2184b2b45 icwmp-3.0-2015-12-29 2015-12-29 17:50:44 +01:00
Martin Schröder
bba5a9e3d6 juci: add new inteno pages to the juci config 2015-12-23 13:16:34 +01:00
Kenneth Johansson
a350812bfd bcmkernel: eg300: wan phy 0x01 should have gtxclk delay on. 2015-12-21 15:12:13 +01:00
Sukru Senli
5eccb99fce luci-inteno-1.1.28 2015-12-18 17:44:39 +01:00
Sukru Senli
ae92433819 updated bcmkernel 2015-12-18 15:56:22 +01:00
Sukru Senli
dd91c8823b add sipcalc package 2015-12-18 11:18:47 +01:00
Sukru Senli
ab0294c188 minidlna-1.1.4 2015-12-14 14:18:57 +01:00
Martin Schröder
c0fe19f4d7 update juci configuration file 2015-12-14 13:35:42 +01:00
Kenneth Johansson
803bfdd345 permngr: do not do ioctl when open already failed.
every fail was put in the systemlog, very noisy.
2015-12-10 17:42:22 +01:00
Sukru Senli
7a31cda783 luci-inteno-1.1.27 2015-12-10 15:39:57 +01:00
Sukru Senli
361f3404d1 icwmp-3.0-2015-12-10 2015-12-10 15:00:46 +01:00
Sukru Senli
35427c3ad2 fix samba not reloaded via webgui issue 2015-12-10 14:02:29 +01:00
Reidar Cederqvist
2d569ff935 fixed igmp over pppoe 2015-12-10 12:38:42 +01:00
Sukru Senli
b76d2ee06a icwmp-3.0-2015-12-09 2015-12-09 16:22:39 +01:00
Kenneth Johansson
207c769970 permngr: Add longpress indicator.
If the board has press indicator configured and a longpress option
the press indicator leds will stop flashing once the longpress time is
reached.

refs #7959
2015-12-09 11:35:19 +01:00
Sukru Senli
4940ba3428 bcmkernel: remove smbd and smbdpasswd 2015-12-08 16:31:12 +01:00
Sukru Senli
4c377f65b5 samba3 fixed 2015-12-08 16:31:10 +01:00
Nabeel Sowan
9a0dcfd895 fix boardfiles with longpress option and set default minpress, refs #8318 2015-12-08 15:56:11 +01:00
Ronny Nilsson
fbcf382a64 Voice ports have wrong order (switched) in some products so
we need a per-board-config of how to enumerate the FSX voice ports.
The voice_client script has been updated to read that per-board-conf
at the very first boot and then store it UCI as usual, where
the GUI reads it.
2015-12-08 15:07:54 +01:00
Sukru Senli
09413abb61 luci-inteno-1.1.26 2015-12-08 13:39:54 +01:00
Sukru Senli
f29c51e68c move port and power management to utilities 2015-12-08 13:39:15 +01:00
Sukru Senli
8cce20ecb6 add catv package 2015-12-08 13:38:52 +01:00
Sukru Senli
3f77b219b9 luci-inteno-1.1.25 2015-12-08 13:23:49 +01:00
Sukru Senli
8bae398da7 add power management package 2015-12-08 13:23:25 +01:00
Mats Karrman
1576532e0e bcmkernel-4.16L.04: Update source version to tip of 4.16L.04: DG150 support 2015-12-07 18:07:24 +01:00
Sukru Senli
8f4fdc0f7d luci-inteno-1.1.24 2015-12-03 18:03:52 +01:00
Sukru Senli
7f34e8b807 updated bcmkernel 2015-12-03 17:58:06 +01:00
Kenneth Johansson
cb0d37c698 bcmkernel-4.16L.04: resurrected Bluetooth.
From the long forgotten realm of 4.16L.03 the rotten corps of a hacky
backport was dragged out in the open with powerful magical spells
constructed by the church of gitology.

The reanimation took place during many hours of hard manual labor where
whole body parts was replaced and rearranged according to ancient
manuscripts written in a long forgotten language.

While this has not been blessed with holy penguin pee by our Lord the
mighty Torvalds the complicator of gnu has compiled it to ELF ingots
that has been forged to a coherent whole by the blacksmith of ld.

what could possible go wrong?
2015-12-03 16:12:34 +01:00
Martin Schröder
5aee44ba2c juci-full-inteno: add qos under network 2015-12-03 15:09:41 +01:00
Erik Horemans
17c2361a90 ice-client version 3.4.0-RC6 2015-12-03 10:44:30 +01:00
Martin Schröder
00555a7a2e Merge remote-tracking branch 'origin/from-iop-3.4' into v3.5 2015-12-02 16:35:58 +01:00
Martin Schröder
de7cf6298c juci-full-inteno: add juci-iconnect to selected packages. 2015-12-02 15:33:43 +01:00
Strhuan Blomquist
f9ac50cf4f fix for iup to be able to handel UBIFS files #8267 2015-12-02 13:00:00 +01:00
Erik Horemans
be791726a4 package/inteno/ice-client/Makefile 2015-12-01 16:20:34 +01:00
Ronny Nilsson
0879221d1a Upstream Asterisk bugfix 2015-12-01 11:45:20 +01:00
Martin Schröder
ab80d8a243 questd: add support for specifying ubus socket on command line 2015-12-01 10:53:55 +01:00
Martin Schröder
8e5d63d7d3 juci-full-inteno: add qos page 2015-12-01 10:15:25 +01:00
Martin Schröder
5e7bfbd977 juci-full-inteno: add broadcom iptv page to network -> services menu 2015-12-01 09:37:44 +01:00
Martin Schröder
75e6c3f089 juci-full-inteno: add broadcom-iptv plugin 2015-12-01 09:36:02 +01:00
Sukru Senli
4b1dbd91cd questd: display tx/rx rate and stats for wireless clients 2015-11-30 18:27:59 +01:00
Kenneth Johansson
52321de1ca perfmngr: add timout state to led. 2015-11-30 14:52:24 +01:00
Kenneth Johansson
97d6f8604e permngr: fix compile warnings. 2015-11-30 14:50:21 +01:00
Mats Karrman
7b9db30978 bcmkernel-4.16L.04: Load dect and dectshim driver only when necessary, refs #8284 2015-11-30 14:28:01 +01:00
Martin Schröder
eb6dc4b927 juci-full-inteno: update makefile 2015-11-30 14:03:27 +01:00
Kenneth Johansson
e628a79588 permngr: compare the whole string not just the 4 first chars. 2015-11-30 13:21:23 +01:00
Kenneth Johansson
c5d25fdfad permngr: Dont send out internal events on ubus.
We should not send the button pressed event as that is an internal thing.
we send button pressed when the button is actually released and we
never send button released.

To the reset of the system the only thing that can happen is button pressed.
2015-11-30 13:02:44 +01:00
Martin Schröder
b207009cb4 rename juci-config-inteno to juci-full-inteno package 2015-11-30 12:54:39 +01:00
Erik Horemans
1b94f625ea added new ice-client R3.4.0-RC4 2015-11-30 12:52:18 +01:00
Sukru Senli
5c5c9d53a4 Merge branch 'from-iop-3.4' into v3.5 2015-11-30 11:49:02 +01:00
Martin Schröder
6403153076 add metapackage for configuring juci for inteno full juci config 2015-11-27 17:16:05 +01:00
Vlatko Dimic
17b0fcba98 bcmkernel: don't fail if .config does not exist 2015-11-27 17:08:11 +01:00
Mats Karrman
4339dcddbe Voice: Match brcm line-index to port name in board files, refs #8271 2015-11-27 15:06:57 +01:00
Sukru Senli
1f6143cdeb luci-inteno-1.1.23 2015-11-27 12:57:05 +01:00
Mats Karrman
4cf9d8a93d libmicroxml: Add mirror MD5 sum from OpenWrt mirror 2015-11-27 11:05:21 +01:00
Kenneth Johansson
10bdb7a8dc bcmkernel: more SIOCGMIIREG. 2015-11-25 17:01:08 +01:00
Kenneth Johansson
659ec81047 bcmkernel: more SIOCGMIIREG stuff. 2015-11-25 14:50:09 +01:00
Mats Karrman
0513a124dc bcmkernel-4.16L.04: Update to tip of 4.16L.04 (cfe password fix) 2015-11-25 10:59:05 +01:00
Kenneth Johansson
330f79b31f bcmkernel: fix SIOCGMIIREG. 2015-11-24 17:57:56 +01:00
Sukru Senli
43be9fd282 updated bcmkernel 2015-11-24 12:38:01 +01:00
Sukru Senli
1e3195e1ee luci update source version 2015-11-23 18:05:48 +01:00
Vlatko Dimic
9dea956039 luci-inteno-1.1.22 2015-11-23 16:53:24 +01:00
Sukru Senli
7e60791000 icwmp-3.0-2015-11-23 2015-11-23 16:17:21 +01:00
Martin Schröder
e8bdb6bc24 Merge remote-tracking branch 'origin/from-iop-3.4' into v3.5
Conflicts:
	icwmp/Makefile
2015-11-22 21:18:04 +01:00
Sukru Senli
3400265f13 luci-intneo-1.1.21 2015-11-20 17:29:27 +01:00
Nabeel Sowan
5e797bf457 bcmkernel bump: mtd map IOP2 partitions correctly, needed for copying old config 2015-11-20 17:01:26 +01:00
Ronny Nilsson
58f1084714 New upstream version for dect_testing 2015-11-20 15:06:04 +01:00
Strhuan Blomquist
69a79e6b3e fixes for #7869 software upgrade was broken 2015-11-20 13:55:48 +01:00
Sukru Senli
8f48ff9e83 voice_client: add ringing_status section if it is missing 2015-11-19 15:56:55 +01:00
Ronny Nilsson
794223e29e Fix typo, invalid hash for dectmngr 2015-11-18 15:44:38 +01:00
Ronny Nilsson
7ed295b977 Attempt to increase dect testing successrate. Refs #7574 2015-11-18 15:10:40 +01:00
Ronny Nilsson
9599e9fad5 Attempt to increase dect testing successrate. Refs #7574 2015-11-18 15:02:02 +01:00
Ronny Nilsson
96c9277e1a Fixed a bug with dect antenna diversity. Binary data got wrong.
refs #5990
2015-11-18 15:02:02 +01:00
Sukru Senli
a1b0964e0a icwmp: do not install watchicwmpd 2015-11-18 11:13:03 +01:00
Sukru Senli
807f7c520f icwmp-3.0-2015-11-16: procdified icwmp init script 2015-11-17 16:19:37 +01:00
Mats Karrman
94b3e0b975 bcmkernel-4.16L.04: Update source version to tip of 4.16L.04 2015-11-17 09:57:52 +01:00
Nabeel Sowan
5345917eaa usbnet & co. loaded as modules, refs #7806 2015-11-16 16:00:59 +01:00
Martin Schröder
1f5d3f2eed Merge iopsys-3.4 changes from main repo branch 'origin/inteno-packages' 2015-11-16 10:16:45 +01:00
Sukru Senli
be1d548163 questd: clear wireless stas memory 2015-11-14 15:06:15 +01:00
Sukru Senli
05489b127a luci-inteno-1.1.20 2015-11-13 16:35:35 +01:00
Mats Karrman
c525acc002 bcmkernel-4.16L.04: Removed some unused binaries and libs, refs #8109 2015-11-11 16:26:23 +01:00
Stefan Nygren
65f799faa0 Revert "Fix error where pid file is move as call and clean"
This reverts commit f54df850d2d38ac80a2f9f67ea29eda7659d309d.
2015-04-01 10:41:56 +02:00
Stefan Nygren
8cabb87357 Fix error where pid file is move as call and clean 2015-04-01 10:41:56 +02:00
Stefan Nygren
c19546bbdd Correct spelling of utilities 2015-04-01 10:41:56 +02:00
Stefan Nygren
6699e1a741 Add new init routine for btle_alarm 2015-04-01 10:41:04 +02:00
Stefan Nygren
d20174daed Add new format to btle_alarm uci 2015-04-01 10:41:04 +02:00
Stefan Nygren
b08557465f add missing config folder to ipkg structure 2015-04-01 10:41:01 +02:00
Stefan Nygren
e46fa1b3ae fix spelling error of filename btle_alarm.conf 2015-04-01 10:41:01 +02:00
Stefan Nygren
e4258501a9 Add uci configuration to package
Config file to be able to use UCI to store bluetooth mac of device
refs #6142
2015-04-01 10:36:11 +02:00
Stefan Nygren
3dc434eb24 Add autostart routine for btle_alarm 2015-04-01 10:36:11 +02:00
Stefan Nygren
aa9d058747 Add Proof of concept Bluetooth agent 2015-04-01 10:36:11 +02:00
224 changed files with 12787 additions and 10709 deletions

View File

@@ -1,24 +1,19 @@
#
# Copyright (C) 2013 Inteno
#
include $(TOPDIR)/rules.mk
PKG_NAME:=mcpd
PKG_NAME:=4g-support
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/mcpd
define Package/4g-support
CATEGORY:=Network
SUBMENU:=IPTV
TITLE:=Multicast Daemon
TITLE:=4G Network Setup Tools
endef
define Package/mcpd/description
Multicast Daemon
define Package/4g-support/description
4g-support contains necessary tools to setup 4G WAN connection
endef
define Build/Prepare
@@ -29,8 +24,8 @@ endef
define Build/Compile
endef
define Package/mcpd/install
define Package/4g-support/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,mcpd))
$(eval $(call BuildPackage,4g-support))

View File

@@ -0,0 +1,62 @@
opengt
set com 115200n81
set comecho off
set senddelay 0.05
waitquiet 1 0.2
:start
if $env("USE_DISCONNECT")="1" goto disconnect
send "AT^^NDISDUP=1,1,\""
send $env("USE_APN")
if $env("USE_AUTHTYPE")="-1" goto noauth
else goto auth
:noauth
send "\"^m"
goto result
:auth
send "\",\""
send $env("USE_USERID")
send "\",\""
send $env("USE_PASSWORD")
send "\","
send $env("USE_AUTHTYPE")
send "^m"
goto result
:result
waitfor 5 "OK","ERR","ERROR"
if % = 0 goto connok
if % = 1 goto connerr
if % = 2 goto connerr
:connok
print "WWAN connection established.\r\n"
goto done
:connerr
print "WWAN error. Connection failed.\r\n"
exit 1
:disconnect
send "AT^^NDISDUP=1,0,\""
send $env("USE_APN")
send "\"^m"
waitfor 5 "OK","ERR","ERROR"
if % = 0 goto disconnok
if % = 1 goto disconnerr
if % = 2 goto disconnerr
:disconnok
print "WWAN connection disconnected.\r\n"
goto done
:disconnerr
print "WWAN disconnection error.\r\n"
exit 1
:done
exit 0

View File

@@ -0,0 +1,35 @@
. /lib/network/config.sh
. /usr/share/libubox/jshn.sh
iface_status() {
local iface=$1
local up
json_load "$(ifstatus $iface)"
json_get_var up up
json_close_object
return $up
}
case "$ACTION" in
add|register)
if [ "${INTERFACE:0:4}" == "wwan" ]; then
netname=$(get_network_of "$INTERFACE")
for net in $netname; do
local service=$(uci -q get network.$net.service)
local cnt=0
while $(iface_status $net); do
ifup $net
if [ "$service" == "qmi" ]; then
cnt=$(($cnt+1))
# quit trying if still not online after three times
[ $cnt -eq 3 ] && break
sleep 5
else
break
fi
done
done
fi
;;
esac

View File

@@ -0,0 +1,74 @@
#!/bin/sh
local usb_dir uVid uPid uMa uPr uSe bConf bNumConfs vendor product mdmtyp netdev comdev cdcdev ttydev interface usbno usbbr
sanitize() {
sed -e 's/[[:space:]]\+$//; s/[[:space:]]\+/_/g' "$@"
}
find_usb_attrs() {
usb_dir="/sys/$DEVPATH"
[ -f "$usb_dir/idVendor" ] || usb_dir="${usb_dir%/*}"
uVid=$(cat "$usb_dir/idVendor")
uPid=$(cat "$usb_dir/idProduct")
uMa=$(sanitize "$usb_dir/manufacturer")
uPr=$(sanitize "$usb_dir/product")
uSe=$(sanitize "$usb_dir/serial")
bNumConfs=$(cat "$usb_dir/bNumConfigurations")
bConf=$(cat "$usb_dir/bConfigurationValue")
netdev=$(find $usb_dir -name wwan* | awk -F'/' '{print$NF}' | head -2 | tail -1)
cdcdev=$(find $usb_dir -name cdc-wdm* | awk -F'/' '{print$NF}' | head -2 | tail -1)
ttydev=$(ls $(find $usb_dir -name tty | head -2 | tail -1) | tail -1)
interface=$(cat $usb_dir/interface)
if [ -n "$cdcdev" ]; then
comdev=$cdcdev
mdmtyp=$(grep $uVid:$uPid /etc/modemdb | grep 'qmi\|mbim' | awk '{print$2}' | head -1)
vendor=$(grep $uVid:$uPid /etc/modemdb | grep 'qmi\|mbim' | awk '{print$3}' | head -1)
product=$(grep $uVid:$uPid /etc/modemdb | grep 'qmi\|mbim' | awk '{print$4}' | head -1)
else
comdev=$ttydev
mdmtyp=$(grep $uVid:$uPid /etc/modemdb | grep 'ncm' | awk '{print$2}' | head -1)
vendor=$(grep $uVid:$uPid /etc/modemdb | grep 'ncm' | awk '{print$3}' | head -1)
product=$(grep $uVid:$uPid /etc/modemdb | grep 'ncm' | awk '{print$4}' | head -1)
fi
[ -n "$mdmtyp" ] || mdmtyp=$(grep $uVid:$uPid /etc/modemdb | awk '{print$2}' | head -1)
[ -n "$vendor" ] || vendor=$(grep $uVid:$uPid /etc/modemdb | awk '{print$3}' | head -1)
[ -n "$product" ] || product=$(grep $uVid:$uPid /etc/modemdb | awk '{print$4}' | head -1)
}
convert_to_mbim() {
if [ "$mdmtyp" == "mbim" ] && [ "$bNumConfs" == "2" ]; then
[ "$bConf" == "2" ] || echo 2 > $usb_dir/bConfigurationValue
fi
}
usbno=$(echo $DEVPATH | cut -d'/' -f5)
usbbr=$(echo $DEVPATH | cut -d'/' -f7)
case "$usbbr" in
*:*) usbbr=$(echo $DEVPATH | cut -d'/' -f6) ;;
esac
#devno=$(basename $DEVPATH)
find_usb_attrs
if [ "$ACTION" = add ]; then
convert_to_mbim "$uVid:$uPid"
if [ -n "$uVid" ] && [ -n "$uPid" ] && [ -n "$mdmtyp" ] && [ -n "$netdev" ] && [ -n "$comdev" ]; then
if [ -n "$usbno" ] && [ -n "$usbbr" ]; then
sed -i "/$usbno:$usbbr/ d" /var/usbnets
echo $usbno:$usbbr $uVid:$uPid $uMa $uPr $netdev $comdev $mdmtyp $vendor $product >> /var/usbnets
ubus send hotplug.usb "{'action': 'add', 'devpath': '$DEVPATH', 'manufacturer': '$uMa', 'product': '$uPr', 'serial': '$uSe', 'vendor_id': '$uVid', \
'product_id': '$uPid', 'driver_interface': '$interface', 'driver': '$DRIVER', 'devtype': '$DEVTYPE'}"
fi
fi
fi
if [ "$ACTION" = remove ]; then
if [ -n "$usbno" ] && [ -n "$usbbr" ]; then
sed -i "/$usbno:$usbbr/ d" /var/usbnets
ubus send hotplug.usb "{'action': 'remove', 'devpath': '$DEVPATH', 'manufacturer': '$uMa', 'product': '$uPr', 'serial': '$uSe', 'vendor_id': '$uVid', \
'product_id': '$uPid', 'driver_interface': '$interface', 'driver': '$DRIVER', 'devtype': '$DEVTYPE'}"
fi
fi

View File

@@ -0,0 +1,100 @@
1bbb:011e qmi
1a8d:1001 ecm
1a8d:100c ecm
1a8d:100d ecm
16d8:6280 qmi
16d8:6803 qmi
16d8:6804 qmi
16d8:7003 qmi
16d8:700a qmi
2001:7d01 mbim
2001:7d02 mbim
2001:7d03 mbim
12d1:14ac qmi
12d1:140c qmi
12d1:1506 qmi Huawei E367/392/398
12d1:1506 ncm Huawei E3276
12d1:14d2 qmi
12d1:1c07 ncm
12d1:1436 ecm
12d1:14c9 qmi
12d1:14db ecm
12d1:151d mbim
12d1:151e qmi Huawei E353
12d1:1c1e ncm
12d1:150c qmi
12d1:150f qmi
12d1:151b qmi
12d1:142d ecm
12d1:1432 ecm
12d1:1c1f ncm
12d1:1433 qmi
12d1:1465 ecm
12d1:14ca qmi
12d1:14cf ncm
12d1:14bc ecm
12d1:14ae ecm
12d1:1576 mbim
12d1:1577 mbim
12d1:1400 mbim
12d1:14f7 mbim
12d1:1464 qmi
12d1:14cb qmi
12d1:14cc qmi
12d1:14c6 qmi
12d1:14fa mbim
12d1:1578 mbim
12d1:14c8 qmi
12d1:14f8 mbim
12d1:1575 mbim
12d1:1579 mbim
12d1:157a mbim
12d1:157b mbim
12d1:157f mbim
12d1:1f16 mbim Vodafone K5150
12d1:1404 qmi
19f2:1700 ecm
1410:b001 qmi
1527:1000 ecm
0b3c:c005 qmi
0f3d:68a2 qmi
1199:68a2 qmi SierraWireless M7710
1199:68c0 qmi SierraWireless M7304
1349:1100 qmi
1349:1200 qmi
1199:683c qmi
2360:2100 qmi
2360:2200 qmi
2360:2300 qmi
2507:0000 qmi
19d2:0055 qmi
19d2:0052 qmi
19d2:0063 qmi
19d2:1008 qmi
19d2:1010 qmi
19d2:2002 qmi
19d2:1176 qmi
19d2:1023 mbim
19d2:0104 qmi
19d2:1018 qmi
19d2:1032 mbim
19d2:1402 qmi
19d2:1405 ecm
19d2:1426 qmi
19d2:0031 qmi
19d2:0124 qmi
19d2:1254 qmi
19d2:0017 qmi
19d2:0002 qmi
19d2:0121 qmi
19d2:1252 qmi
19d2:0157 qmi
19d2:0167 qmi
19d2:0199 qmi
19d2:0257 qmi
19d2:0326 qmi
19d2:0349 ecm
19d2:1408 ecm
19d2:0284 qmi
19d2:0019 qmi
19d2:0265 qmi

View File

@@ -0,0 +1,159 @@
#!/bin/sh
INCLUDE_ONLY=1
. /lib/functions.sh
. ../netifd-proto.sh
init_proto "$@"
proto_4g_init_config() {
proto_config_add_string "modem"
proto_config_add_string "service"
proto_config_add_string "comdev"
proto_config_add_string "ipaddr"
proto_config_add_string "netmask"
proto_config_add_string "hostname"
proto_config_add_string "clientid"
proto_config_add_string "vendorid"
proto_config_add_boolean "broadcast"
proto_config_add_string "reqopts"
proto_config_add_string "apn"
proto_config_add_string "username"
proto_config_add_string "password"
proto_config_add_boolean "lte_apn_use"
proto_config_add_string "lte_apn"
proto_config_add_string "lte_username"
proto_config_add_string "lte_password"
proto_config_add_string "pincode"
proto_config_add_string "technology"
proto_config_add_string "auto"
}
proto_4g_setup() {
local config="$1"
local iface="$2"
local ipaddr hostname clientid vendorid broadcast reqopts iface6rd sendopts delegate zone6rd zone
json_get_vars ipaddr hostname clientid vendorid broadcast reqopts iface6rd sendopts delegate zone6rd zone
local opt dhcpopts
for opt in $reqopts; do
append dhcpopts "-O $opt"
done
for opt in $sendopts; do
append dhcpopts "-x $opt"
done
[ "$broadcast" = 1 ] && broadcast="-B" || broadcast=
[ -n "$clientid" ] && clientid="-x 0x3d:${clientid//:/}" || clientid="-C"
[ -n "$iface6rd" ] && proto_export "IFACE6RD=$iface6rd"
[ "$iface6rd" != 0 -a -f /lib/netifd/proto/6rd.sh ] && append dhcpopts "-O 212"
[ -n "$zone6rd" ] && proto_export "ZONE6RD=$zone6rd"
[ -n "$zone" ] && proto_export "ZONE=$zone"
[ "$delegate" = "0" ] && proto_export "IFACE6RD_DELEGATE=0"
json_get_var comdev comdev
json_get_var apn apn
json_get_var service service
json_get_var pincode pincode
# if [ -n "$modem" ]; then
# service=$(echo $modem | cut -d':' -f1)
# comdev=$(echo $modem | cut -d':' -f2)
# iface=$(echo $modem | cut -d':' -f3)
# fi
case "$service" in
ecm)
;;
eem)
;;
mbim)
local mbimdev=/dev/$(basename $(ls /sys/class/net/${iface}/device/usb/cdc-wdm* -d))
local comdev="${comdev:-$mbimdev}"
[ -n "$pincode" ] && {
if ! mbimcli -d $comdev --query-pin-state 2>&1 | grep -q "unlocked"; then
set -o pipefail
if ! mbimcli -d $comdev --enter-pin="${pincode}" 2>&1; then
mbimcli -d $comdev --query-pin-state
proto_notify_error "$config" PIN_FAILED
proto_block_restart "$interface"
return 1
fi
fi
}
APN="$apn" mbim-network $comdev start
;;
ncm)
[ -n "$pincode" ] && echo $pincode | gcom -d $comdev
USE_APN="$apn" gcom -d $comdev -s /etc/gcom/ncmconnection.gcom
;;
qmi)
local qmidev=/dev/$(basename $(ls /sys/class/net/${iface}/device/usb/cdc-wdm* -d))
local comdev="${comdev:-$qmidev}"
[ -n "$pincode" ] && {
if ! qmicli -d $comdev --dms-uim-get-pin-status 2>&1 | grep -q "enabled-verified\|disabled" >/dev/null; then
set -o pipefail
if ! qmicli -d $comdev --dms-uim-verify-pin="PIN,${pincode}" 2>&1; then
qmicli -d $comdev --dms-uim-get-pin-status
proto_notify_error "$config" PIN_FAILED
proto_block_restart "$interface"
return 1
fi
fi
}
APN="$apn" qmi-network $comdev start
;;
esac
proto_export "INTERFACE=$config"
proto_run_command "$config" udhcpc -R \
-p /var/run/udhcpc-$iface.pid \
-s /lib/netifd/dhcp.script \
-f -t 0 -i "$iface" \
${ipaddr:+-r $ipaddr} \
${hostname:+-H $hostname} \
${vendorid:+-V $vendorid} \
$clientid $broadcast $dhcpopts
}
proto_4g_teardown() {
local interface="$1"
local iface="$2"
local modem service comdev
config_load network
config_get service $interface service
config_get comdev $interface comdev
# config_get modem $interface modem
# if [ -n "$modem" ]; then
# service=$(echo $modem | cut -d':' -f1)
# comdev=$(echo $modem | cut -d':' -f2)
# iface=$(echo $modem | cut -d':' -f3)
# fi
case "$service" in
ecm)
;;
eem)
;;
mbim)
local mbimdev=/dev/$(basename $(ls /sys/class/net/${iface}/device/usb/cdc-wdm* -d))
local comdev="${comdev:-$mbimdev}"
mbim-network $comdev stop
;;
ncm)
USE_DISCONNECT=1 gcom -d $comdev -s /etc/gcom/ncmconnection.gcom
;;
qmi)
local qmidev=/dev/$(basename $(ls /sys/class/net/${iface}/device/usb/cdc-wdm* -d))
local comdev="${comdev:-$qmidev}"
qmi-network $comdev stop
;;
esac
proto_kill_command "$interface"
}
add_protocol 4g

View File

@@ -1,188 +0,0 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=alleato-base
PKG_VERSION:=14.49.2
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE_URL:=git@iopsys.inteno.se:alleato_base.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=8314aed451255410a2cd4fa43ac3235504e8f018
PKG_MAINTAINER:=Martin Assarsson, ALLEATO
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
include $(INCLUDE_DIR)/package.mk
######################################################
define Package/alleato3
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Alleato
DEPENDS:=+python
TITLE:=Alleato python libraries
endef
define Package/zwaved
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Alleato
DEPENDS:=+jansson
TITLE:=Alleato zwave daemon
endef
define Package/zwave-mgr
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Alleato
DEPENDS:=+alleato3
TITLE:=Alleato zwave manager
endef
define Package/zwave-profiler
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Alleato
DEPENDS:=+alleato3
TITLE:=Alleato zwave profiler
endef
define Package/alleato-scheduler
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Alleato
DEPENDS:=+alleato3
TITLE:=Alleato scheduler
endef
define Package/alleato-boxconfig
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Alleato
DEPENDS:=+alleato3
TITLE:=Alleato boxconfig
endef
define Package/all-omc
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Alleato
DEPENDS:=+alleato3 +screen
TITLE:=Alleato remote tunnel
endef
define Package/ubus-kicker
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Alleato
DEPENDS:=
TITLE:=Alleato ubus-kicker
endef
define Package/mqttnagios
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Alleato
DEPENDS:=
TITLE:=Alleato mqttnagios
endef
define Package/all4-alleato-tools
SECTION:=utils
CATEGORY:=Utilities
SUBMENU:=Alleato
DEPENDS:=
TITLE:=Alleato tools
endef
######################################################
define Package/alleato3/install
$(INSTALL_DIR) $(1)/usr/lib/python2.7/
$(CP) -r $(PKG_BUILD_DIR)/python-2.7/* $(1)/usr/lib/python2.7/
endef
define Package/zwaved/install
$(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init.d/zwaved $(1)/etc/init.d/zwaved
$(INSTALL_BIN) $(PKG_BUILD_DIR)/binaries/zwaved $(1)/usr/sbin/zwaved
endef
define Package/zwave-mgr/install
$(INSTALL_DIR) $(1)/usr/mqttrules $(1)/etc/init.d $(1)/etc/alleato/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init.d/zwave-mgr $(1)/etc/init.d/zwave-mgr
$(INSTALL_BIN) $(PKG_BUILD_DIR)/binaries/zwave_mgr $(1)/usr/mqttrules/zwave_mgr
endef
define Package/zwave-profiler/install
$(INSTALL_DIR) $(1)/usr/mqttrules $(1)/etc/init.d
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init.d/zwave-profiler $(1)/etc/init.d/zwave-profiler
$(INSTALL_BIN) $(PKG_BUILD_DIR)/binaries/zwave-profiler $(1)/usr/mqttrules/zwave-profiler
endef
define Package/alleato-scheduler/install
$(INSTALL_DIR) $(1)/usr/mqttrules $(1)/etc/init.d $(1)/etc/crontabs/sched
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init.d/scheduler $(1)/etc/init.d/scheduler
$(INSTALL_BIN) $(PKG_BUILD_DIR)/binaries/scheduler $(1)/usr/mqttrules/scheduler
$(INSTALL_DATA) $(PKG_BUILD_DIR)/data/schedule $(1)/etc/crontabs/sched/schedule
$(INSTALL_DATA) $(PKG_BUILD_DIR)/data/schedule $(1)/etc/crontabs/schedule
endef
define Package/alleato-boxconfig/install
$(INSTALL_DIR) $(1)/usr/sbin $(1)/usr/bin $(1)/etc/init.d $(1)/etc/alleato $(1)/home/mosquitto
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init.d/boxconfig $(1)/etc/init.d/boxconfig
$(INSTALL_BIN) $(PKG_BUILD_DIR)/binaries/boxconfig $(1)/usr/bin/boxconfig
$(INSTALL_BIN) $(PKG_BUILD_DIR)/binaries/genmosquittoconf $(1)/usr/bin/genmosquittoconf
$(INSTALL_BIN) $(PKG_BUILD_DIR)/binaries/check_client_id $(1)/usr/sbin/check_client_id
$(INSTALL_DATA) $(PKG_BUILD_DIR)/data/boxconfig.conf $(1)/etc/boxconfig.conf
endef
define Package/all-omc/install
$(INSTALL_DIR) $(1)/root $(1)/etc/init.d $(1)/etc/config $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init.d/omc $(1)/etc/init.d/omc
$(INSTALL_BIN) $(PKG_BUILD_DIR)/root/ssh_key $(1)/root/ssh_key
$(INSTALL_DATA) $(PKG_BUILD_DIR)/data/alleato.config $(1)/etc/config/alleato
$(INSTALL_BIN) $(PKG_BUILD_DIR)/binaries/omc $(1)/usr/bin/omc
endef
define Package/ubus-kicker/install
$(INSTALL_DIR) $(1)/etc/init.d $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init.d/ubus-kicker $(1)/etc/init.d/ubus-kicker
$(INSTALL_BIN) $(PKG_BUILD_DIR)/binaries/ubus-kicker $(1)/usr/sbin/ubus-kicker
$(INSTALL_BIN) $(PKG_BUILD_DIR)/binaries/akick $(1)/usr/sbin/akick
endef
define Package/mqttnagios/install
$(INSTALL_DIR) $(1)/etc/nagios.d $(1)/usr/bin $(1)/etc/crontabs $(1)/etc/init.d
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init.d/mqttnagios $(1)/etc/init.d/mqttnagios
$(INSTALL_BIN) $(PKG_BUILD_DIR)/binaries/send_mqtt_nag $(1)/usr/bin/send_mqtt_nag
$(INSTALL_BIN) $(PKG_BUILD_DIR)/nagios.d/dropbear $(1)/etc/nagios.d/dropbear.nag
$(INSTALL_BIN) $(PKG_BUILD_DIR)/nagios.d/mosquitto $(1)/etc/nagios.d/mosquitto.nag
$(INSTALL_BIN) $(PKG_BUILD_DIR)/nagios.d/ssh $(1)/etc/nagios.d/ssh.nag
$(INSTALL_BIN) $(PKG_BUILD_DIR)/nagios.d/zwaved $(1)/etc/nagios.d/zwaved.nag
$(INSTALL_DATA) $(PKG_BUILD_DIR)/data/mqttnagios $(1)/etc/crontabs/mqttnagios
echo '/5 * * * * /usr/sbin/check_client_id' >> $(1)/etc/crontabs/root
endef
define Package/all4-alleato-tools/install
$(INSTALL_DIR) $(1)/usr/bin $(1)/etc/init.d $(1)/opt/alleato
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init.d/house $(1)/etc/init.d/house
$(INSTALL_BIN) $(PKG_BUILD_DIR)/init.d/rulesd $(1)/etc/init.d/rulesd
$(INSTALL_BIN) $(PKG_BUILD_DIR)/binaries/alleato_tools $(1)/usr/bin/alleato_tools
endef
######################################################
$(eval $(call BuildPackage,alleato3))
$(eval $(call BuildPackage,zwaved))
$(eval $(call BuildPackage,zwave-mgr))
$(eval $(call BuildPackage,zwave-profiler))
$(eval $(call BuildPackage,alleato-scheduler))
$(eval $(call BuildPackage,alleato-boxconfig))
$(eval $(call BuildPackage,all-omc))
$(eval $(call BuildPackage,ubus-kicker))
$(eval $(call BuildPackage,mqttnagios))
$(eval $(call BuildPackage,all4-alleato-tools))

View File

@@ -1,7 +0,0 @@
config ANYFI_CONTROLLER
string "Controller IP or FQDN"
depends on PACKAGE_anyfi
help
The default IP address or fully qualified domain name (FQDN)
of the Controller that should manage the Anyfi.net software.

View File

@@ -1,61 +0,0 @@
include $(TOPDIR)/rules.mk
ANYFI_TARGET := $(ARCH)-linux-$(subst C,c,$(LIBC))-$(LIBCV)
PKG_NAME := anyfi
PKG_VERSION := 1.3.9
PKG_RELEASE := 1
PKG_SOURCE := anyfimac-$(PKG_VERSION)-$(ANYFI_TARGET).tar.bz2
PKG_SOURCE_URL := http://anyfi.net/download
PKG_BUILD_DIR := $(BUILD_DIR)/anyfimac-$(PKG_VERSION)-$(ANYFI_TARGET)
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION := net
CATEGORY := Network
TITLE := Anyfi.net - Free SDWN Data Plane for IEEE 802.11
URL := http://anyfi.net
DEPENDS := +kmod-tun +librt +wl-anyfi
MAINTAINER := Anyfi Networks <eng@anyfinetworks.com>
endef
define Package/$(PKG_NAME)/description
Anyfi.net is a free Software-Defined Wirless Networking (SDWN)
forwarding data plane implementation for IEEE 802.11.
endef
define Package/$(PKG_NAME)/config
source "$(SOURCE)/Config.in"
endef
define Build/Configure
echo "config anyfi controller" > $(PKG_BUILD_DIR)/anyfi.conf
echo " option 'hostname' $(CONFIG_ANYFI_CONTROLLER)" >> \
$(PKG_BUILD_DIR)/anyfi.conf
echo "config anyfi optimizer" >> $(PKG_BUILD_DIR)/anyfi.conf
endef
define Build/Compile
@echo "Nothing to do - Anyfi.net software comes pre-built."
endef
define Package/$(PKG_NAME)/conffiles
/etc/config/anyfi
endef
define Package/$(PKG_NAME)/install
$(CP) ./files/* $(1)/
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) $(PKG_BUILD_DIR)/anyfi.conf $(1)/etc/config/anyfi
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/anyfimac $(1)/sbin
$(LN) anyfimac $(1)/sbin/anyfid
$(LN) anyfimac $(1)/sbin/myfid
$(INSTALL_DIR) $(1)/bin
$(LN) ../sbin/anyfimac $(1)/bin/anyfidctl
$(LN) ../sbin/anyfimac $(1)/bin/myfidctl
endef
$(eval $(call BuildPackage,$(PKG_NAME)))

View File

@@ -1,558 +0,0 @@
#!/bin/sh
#
# Copyright (C) 2013-2014 Anyfi Networks AB.
#
# Overview of the Integration
# ===========================
#
# Anyfi.net software consists of two user space daemons; the radio daemon
# anyfid and the tunnel termination daemon myfid. They communicate with each
# other and with a Controller [1] over UDP/IP.
#
# The radio daemon anyfid provides guests with access to remote Wi-Fi networks.
# It needs a Wi-Fi monitor interface to detect when guest devices come within
# range and a pool of virtual access points to serve them. The integration is
# responsible for creating the monitor interface and the pool of virtual access
# points; anyfid handles the rest.
#
# The tunnel termination daemon myfid provides remote access to the local Wi-Fi
# network. It is up to the integration to configure myfid to authenticate remote
# devices in the same way that devices are authenticated when connecting
# locally.
#
# Myfid is also responsible for telling the controller the MAC address of
# devices that connect locally, so that they can later be offered seamless
# remote access whenever they come close to another access point running anyfid.
# However, when the user changes the WPA passphrase all such associations
# between previously connected devices and the local Wi-Fi network should be
# removed. The integration does so by passing myfid the --reset flag.
#
# Below is the integration logic in pseudo code. If you need to integrate
# Anyfi.net software in your own firmware build environment you can find step
# by step instructions at http://anyfi.net/integration.
#
# 1. A Community Edition of the Controller is available for download at
# http://www.anyfinetworks.com/download. You can also use the public
# demonstration controller at "demo.anyfi.net".
#
#
# Integration Logic in Pseudo Code
# ================================
#
# After enabling a Wi-Fi device:
# IF a controller is configured AND Anyfi.net is not disabled
# ALLOCATE monitor interface and virtual access point pool for anyfid
# START anyfid
#
# FOREACH Wi-Fi interface of this device
# IF a controller is configured AND Anyfi.net is not disabled
# GENERATE a config file for myfid
#
# IF the WPA passphrase has changed
# ADD the --reset flag to myfid arguments
#
# START myfid on the Wi-Fi interface
#
# After disabling a Wi-Fi device:
# STOP anyfid
#
# FOREACH Wi-Fi interface of this device
# STOP myfid on the Wi-Fi interface
#
# NOTE 1: The integration provides remote access to all Wi-Fi interfaces on the
# system that have anyfi_disabled set to 0. Each interface will have
# its own myfid daemon. There should however only be one anyfid daemon
# per radio.
#
# NOTE 2: On concurrent dual band routers each radio should have its own anyfid
# daemon.
#
#
# Anyfi.net UCI data model
# ========================
#
# Anyfi.net global parameters:
#
# Name Type Default Description
# controller
# .hostname IP or FQDN demo.anyfi.net Controller IP or FQDN
# .key path - Controller public key PEM file
# optimizer
# .key path - Optimizer public key PEM file
#
# Wi-Fi device parameters:
#
# Name Type Default Description
# anyfi_disabled boolean 0 Enable/disable guest access on this radio
# anyfi_iface port - Bind anyfid to a WAN interface IP address
# anyfi_port number - Bind anyfid to a SDWN UDP port
# anyfi_floor percent 5 Min backhaul and spectrum allocation
# anyfi_ceiling percent 75 Max backhaul and spectrum allocation
# anyfi_uplink integer - WAN uplink capacity in bits per second
# anyfi_downlink integer - WAN downlink capacity in bits per second
# anyfi_bssids integer - Max number of virtual interfaces to use
# anyfi_clients integer - Max number of concurrent guest users
#
# Wi-Fi interface parameters:
#
# Name Type Default Description
# anyfi_disabled boolean 0 Enable remote access on this network
# anyfi_iface string - Bind myfid to a WAN interface IP
# address
# anyfi_port port - Bind myfid to a SDWN UDP port
# anyfi_autz_server IP - RADIUS authorization server IP
# anyfi_autz_port port 1812 RADIUS authorization server UDP port
# anyfi_autz_secret string - RADIUS authorization server shared
# secret
# anyfi_acct_server IP - RADIUS extra accounting server IP
# anyfi_acct_port port 1813 RADIUS extra accounting server UDP port
# anyfi_acct_secret string - RADIUS extra accounting server shared
# secret
append ENABLE_HOOKS anyfi_enable
append DISABLE_HOOKS anyfi_disable
# Daemon run dir for temporary files.
RUNDIR=/var/run
# Config file dir for persistent configuration files.
CONFDIR=/etc
##### Wi-Fi device handling ##################################################
# Get the channel for Wi-Fi device.
# anyfi_dev_get_channel <device>
anyfi_dev_get_channel() {
local device="$1"
local hwmode channel
config_get hwmode "$device" hwmode
config_get channel "$device" channel
if [ "$channel" = auto -o "$channel" = 0 ]; then
case "$hwmode" in
auto)
channel=auto
;;
*b*|*g*)
channel=auto2
;;
*a*)
channel=auto5
;;
esac
fi
echo "$channel"
}
# Get the WLAN interface list for a WLAN device.
# anyfi_get_vifs <device>
anyfi_get_vifs() {
local device=$1
local vifs=""
local cfg
for cfg in $CONFIG_SECTIONS; do
local type dev
config_get type "$cfg" TYPE
config_get dev "$cfg" device
if [ "$type" = wifi-iface ] && [ "$dev" = "$device" ]; then
append vifs "$cfg"
fi
done
echo "$vifs"
}
# Start the Anyfi.net radio head daemon anyfid on a device.
# anyfi_dev_start <device> <type> <controller> <controller_key>
anyfi_dev_start()
{
local device="$1"
local type="$2"
local controller="$3"
local controller_key="$4"
local nvifs bssids monitor iflist
# Determine how many virtual interfaces we should use
config_get bssids "$device" anyfi_bssids
nvifs=$(anyfi_get_vifs "$device" | wc -w)
if [ -n "$bssids" ]; then
# Limit the number of virtual interfaces to 32
[ "$bssids" -lt 32 ] || bssids=32
elif [ $nvifs -lt 4 ]; then
# Don't use more that 8 interfaces in total if possible...
bssids=$((8 - $nvifs))
else
# ...but try to allocate at least 4 interfaces for anyfid.
bssids=4
fi
# ALLOCATE monitor and pool of virtual access points
if monitor=$(anyfi_${type}_alloc_monitor "$device") && \
iflist=$(anyfi_${type}_alloc_iflist "$device" $bssids)
then
local args=""
local wanif port floor ceiling uplink downlink clients
config_get wanif "$device" anyfi_iface
config_get port "$device" anyfi_port
config_get floor "$device" anyfi_floor
config_get ceiling "$device" anyfi_ceiling
config_get uplink "$device" anyfi_uplink
config_get downlink "$device" anyfi_downlink
config_get clients "$device" anyfi_clients
# If there are no interfaces on this device then
# anyfid controls channel
if [ "$nvifs" -eq 0 ]; then
args="$args --channel=$(anyfi_dev_get_channel $device)"
fi
[ -n "$wanif" ] && args="$args --bind-if=$wanif"
[ -n "$port" ] && args="$args --bind-port=$port"
[ -n "$floor" ] && args="$args --floor=$floor"
[ -n "$ceiling" ] && args="$args --ceiling=$ceiling"
[ -n "$uplink" ] && args="$args --uplink=$uplink"
[ -n "$downlink" ] && args="$args --downlink=$downlink"
[ -n "$clients" ] && args="$args --max-clients=$clients"
[ -n "$controller_key" ] && \
args="$args --controller-key=$controller_key"
# START anyfid
echo "$device: starting anyfid"
/sbin/anyfid --accept-license -C "$controller" -B \
-P $RUNDIR/anyfid_$device.pid $args \
$monitor $iflist
else
echo "$device: failed to allocate anyfid interfaces" 1>&2
fi
}
##### Wi-Fi interface handling ###############################################
# Get the printable name of an interface.
anyfi_vif_get_name() {
local ifname
config_get ifname "$1" ifname
echo "${ifname:-$1}"
}
# Generate the config file for myfid from UCI variables.
# anyfi_vif_gen_config <vif>
anyfi_vif_gen_config() {
local vif="$1"
local name="$(anyfi_vif_get_name $1)"
local device net ssid enc key isolate ifname
config_get device "$vif" device
config_get net "$vif" network
config_get ssid "$vif" ssid
config_get enc "$vif" encryption
config_get key "$vif" key
config_get isolate "$vif" isolate
config_get ifname "$vif" ifname
# Check basic settings before proceeding
[ -n "$net" ] || [ -n "$ssid" ] || return 1
local auth_proto auth_mode auth_cache group_rekey
local ciphers wpa_ciphers rsn_ciphers passphrase
local auth_server auth_port auth_secret
local autz_server autz_port autz_secret
local acct_server acct_port acct_secret
local acct2_server acct2_port acct2_secret
local radius_nasid
# Resolve explicit cipher overrides (tkip, ccmp or tkip+ccmp)
case "$enc" in
*+tkip+ccmp|*+tkip+aes)
ciphers=tkip+ccmp
;;
*+ccmp|*+aes)
ciphers=ccmp
;;
*+tkip)
ciphers=tkip
;;
esac
# Resolve authentication protocol (WPA or WPA2)
case "$enc" in
psk-mixed*|wpa-mixed*|mixed-psk*|mixed-wpa*)
auth_proto=wpa+rsn
wpa_ciphers=$ciphers
rsn_ciphers=$ciphers
;;
psk2*|wpa2*)
auth_proto=rsn
rsn_ciphers=$ciphers
;;
psk*|wpa*)
auth_proto=wpa
wpa_ciphers=$ciphers
;;
none)
echo "$name: no remote access for security reasons (open network)" 1>&2
return 1
;;
wep*)
echo "$name: no remote access for security reasons (wep is insecure)" 1>&2
return 1
;;
*)
echo "$name: unrecognized encryption type $enc" 1>&2
return 1
;;
esac
# Resolve authenticator mode (PSK or 802.1X)
case "$enc" in
psk*)
auth_mode=psk
passphrase=$key
[ -n "$passphrase" ] || return 1
;;
wpa*)
auth_mode=eap
config_get auth_server "$vif" radius_server
config_get auth_port "$vif" radius_port
config_get auth_secret "$vif" radius_secret
config_get acct_server "$vif" acct_server
config_get acct_port "$vif" acct_port
config_get acct_secret "$vif" acct_secret
config_get auth_cache "$vif" auth_cache
config_get group_rekey "$vif" wpa_group_rekey
[ -n "$auth_server" ] || return 1
[ -n "$auth_secret" ] || auth_secret="$key"
[ -n "$acct_server" -a -z "$acct_secret" ] && acct_secret="$key"
;;
none)
;;
*)
echo "$name: no remote access ('encryption' not configured)" 1>&2
return 1
;;
esac
# Optional RADIUS authorization and accounting for Anyfi.net
config_get autz_server "$vif" anyfi_autz_server
config_get autz_port "$vif" anyfi_autz_port
config_get autz_secret "$vif" anyfi_autz_secret
config_get acct2_server "$vif" anyfi_acct_server
config_get acct2_port "$vif" anyfi_acct_port
config_get acct2_secret "$vif" anyfi_acct_secret
config_get radius_nasid "$vif" radius_nasid
# Generate common config file options
cat <<EOF
ssid = '$ssid'
bridge = br-$net
auth_proto = $auth_proto
EOF
# Generate dependent config file options
[ "$isolate" = 1 ] && echo "isolation = 1"
[ -n "$ifname" ] && echo "local_ap = $ifname"
[ -n "$auth_mode" ] && echo "auth_mode = $auth_mode"
[ -n "$auth_cache" ] && echo "auth_cache = $auth_cache"
[ -n "$rsn_ciphers" ] && echo "rsn_ciphers = $rsn_ciphers"
[ -n "$wpa_ciphers" ] && echo "wpa_ciphers = $wpa_ciphers"
[ -n "$group_rekey" ] && echo "group_rekey = $group_rekey"
[ -n "$passphrase" ] && echo "passphrase = '$passphrase'"
[ -n "$radius_nasid" ] && echo "radius_nas_id = $radius_nas_id"
if [ -n "$auth_server" ] && [ -n "$auth_secret" ]; then
echo "radius_auth_server = $auth_server"
echo "radius_auth_port = ${auth_port:-1812}"
echo "radius_auth_secret = $auth_secret"
fi
if [ -n "$acct_server" ] && [ -n "$acct_secret" ]; then
echo "radius_acct_server = $acct_server"
echo "radius_acct_port = ${acct_port:-1813}"
echo "radius_acct_secret = $acct_secret"
fi
if [ -n "$autz_server" ] && [ -n "$autz_secret" ]; then
echo "radius_autz_server = $autz_server"
echo "radius_autz_port = ${autz_port:-1812}"
echo "radius_autz_secret = $autz_secret"
fi
if [ -n "$acct2_server" ] && [ -n "$acct2_secret" ]; then
echo "radius_acct2_server = $acct2_server"
echo "radius_acct2_port = ${acct2_port:-1813}"
echo "radius_acct2_secret = $acct2_secret"
fi
return 0
}
# Get the current value from a myfid configuration file.
# anyfi_vif_get_config <file> <config>
anyfi_vif_get_config() {
local file="$1"
local key="$2"
[ -e "$file" ] || return 1
# Assume the format is exactly "key = value",
# where value may or may not be in ''
grep "$key = " $file | cut -d '=' -f2- | cut -b2- | \
sed -e "/^'.*'$/s/^'\\(.*\\)'$/\\1/"
}
# Start the Anyfi.net tunnel-termination daemon myfid on an interface.
# anyfi_vif_start <vif> <controller> <controller_key> <optimizer_key>
anyfi_vif_start()
{
local vif="$1"
local controller="$2"
local controller_key="$3"
local optimizer_key="$4"
local name="$(anyfi_vif_get_name $vif)"
local pid_file="$RUNDIR/myfid_$name.pid"
local conf_file="$CONFDIR/myfid_$name.conf"
local new_conf_file="$RUNDIR/myfid_$name.conf"
# GENERATE a config file for myfid
if (anyfi_vif_gen_config $vif) > $new_conf_file; then
local controller_key optimizer_key
local key old_key wanif port
local args=""
config_get key "$vif" key
config_get wanif "$vif" anyfi_iface
config_get port "$vif" anyfi_port
# ADD optional arguments
[ -n "$wanif" ] && args="$args --bind-if=$wanif"
[ -n "$port" ] && args="$args --bind-port=$port"
[ -n "$controller_key" ] && \
args="$args --controller-key=$controller_key"
[ -n "$optimizer_key" ] && \
args="$args --optimizer-key=$optimizer_key"
# ADD the --reset flag to myfid arguments if the passphrase
# has changed or myfid is started for the first time
old_key="$(anyfi_vif_get_config $conf_file passphrase)"
[ "$key" == "$old_key" ] || args="$args --reset"
# Update the myfid config file in flash only if needed
if ! cmp -s $new_conf_file $conf_file; then
mv $new_conf_file $conf_file
else
rm -f $new_conf_file
fi
# START myfid
echo "$name: starting myfid"
/sbin/myfid --accept-license -C "$controller" -B -P $pid_file \
$args $conf_file
fi
}
# Stop an Anyfi.net daemon gracefully
# anyfi_stop_daemon <pidfile>
anyfi_stop_daemon() {
local pidfile="$1"
kill -TERM $(cat $pidfile)
for t in $(seq 0 5); do
[ -e $pidfile ] || return 0
sleep 1
done
echo "Timeout waiting for daemon assocated with $pidfile to exit" 1>&2
kill -KILL $(cat $pidfile)
rm -f $pidfile
return 1
}
# Enable Anyfi.net for a Wi-Fi device.
# Run from ENABLE_HOOKS
anyfi_enable()
{
local device="$1"
local controller
local type vif vifs
# A controller IP or FQDN is required
controller="$(uci get anyfi.controller.hostname 2>/dev/null)"
[ -n "$controller" ] || return 0
# Optional controller and optimizer public keys
controller_key="$(uci get anyfi.controller.key 2>/dev/null)"
optimizer_key="$(uci get anyfi.optimizer.key 2>/dev/null)"
# Reload the wireless config to get the assigned ifnames right
config_load wireless
config_get type "$device" type
vifs=$(anyfi_get_vifs "$device")
# START anyfid on this device
if [ "$(config_get $device anyfi_disabled)" != 1 ] && \
/sbin/anyfi-probe "$type"
then
anyfi_dev_start $device $type "$controller" "$controller_key"
fi
# FOREACH Wi-Fi interface of this device
for vif in $vifs; do
if [ "$(config_get $vif disabled)" != 1 ] && \
[ "$(config_get $vif anyfi_disabled)" != 1 ]
then
anyfi_vif_start $vif "$controller" \
"$controller_key" "$optimizer_key"
fi
done
}
# Disable Anyfi.net for a Wi-Fi device.
# Run from DISABLE_HOOKS
anyfi_disable()
{
local device="$1"
local type vif vifs
# Reload the wireless config to get the assigned ifnames right
config_load wireless
config_get type "$device" type
vifs=$(anyfi_get_vifs "$device")
# STOP anyfid on this device (if anyfid is running)
if [ -e $RUNDIR/anyfid_$device.pid ]; then
echo "$device: stopping anyfid"
anyfi_stop_daemon $RUNDIR/anyfid_$device.pid
anyfi_${type}_release_iflist $device
anyfi_${type}_release_monitor $device
fi
# FOREACH Wi-Fi interface of this device (with myfid running)
for vif in $vifs; do
local name="$(anyfi_vif_get_name $vif)"
local pidfile="$RUNDIR/myfid_$name.pid"
if [ -e $pidfile ]; then
echo "$name: stopping myfid"
anyfi_stop_daemon $pidfile
fi
done
}

View File

@@ -1,86 +0,0 @@
#!/bin/sh
#
# Copyright (C) 2013-2014 Anyfi Networks AB.
# Anyfi.net setup functions for Broadcom wl driver.
# Get monitor name interface based for a device.
# anyfi_dev_monitor_name <device>
anyfi_broadcom_name_monitor() {
local device="$1"
# Map wlX => radiotapX
echo "$device" | sed 's/^.*\([0-9]\)$/radiotap\1/'
}
# Get BSS index of the last wl interface that is used (=up)
# wl0.2 => 2
# wl0 => (empty)
anyfi_broadcom_get_wlindex() {
ifconfig | grep -o "^$1\..." | cut -d'.' -f2 | sort -n | tail -n 1
}
# Allocate virtual Wi-Fi interfaces for anyfid.
# anyfi_broadcom_alloc_iflist <device> <bssids>
anyfi_broadcom_alloc_iflist() {
local device="$1"
local bssids="$2"
local count=0
local wlindex num
# Enable MBSS mode if not already enabled
if [ "$(wlctl -i $device mbss)" = 0 ]; then
wlctl -i $device down
wlctl -i $device mbss 1
wlctl -i $device up
fi
wlindex=$(anyfi_broadcom_get_wlindex $device)
# Create WLAN interfaces and let the driver assign the BSSIDs
for num in $(seq $bssids); do
local idx=$(($wlindex + $num))
local wlif=$device.$idx
# Do the 'wlctl' dance to make the driver assign proper BSSIDs
wlctl -i $device bss -C $idx up > /dev/null || break
wlctl -i $device ssid -C $idx "dummy" > /dev/null
wlctl -i $device bss -C $idx up > /dev/null
wlctl -i $device bss -C $idx down > /dev/null
wlctl -i $device ssid -C $idx "" > /dev/null
local bssid=$(wlctl -i $wlif cur_etheraddr | cut -d' ' -f2)
ifconfig $wlif hw ether $bssid > /dev/null
count=$(($count + 1))
done
[ "$count" -gt 0 ] && echo $device.$(($wlindex + 1))/$count
}
# Release virtual Wi-Fi interfaces allocated for anyfid.
# anyfi_broadcom_release_iflist <device>
anyfi_broadcom_release_iflist() {
true
}
# Allocate a monitor interface for anyfid.
# anyfi_broadcom_alloc_monitor <device>
anyfi_broadcom_alloc_monitor() {
local device="$1"
local monitor=$(anyfi_broadcom_name_monitor $device)
wlctl -i $device monitor 0 || return 1
wlctl -i $device monitor 3 || return 1
ifconfig $monitor down || return 1
ifconfig $monitor up || return 1
echo $monitor
}
# Release the monitor interface for anyfid.
# anyfi_broadcom_release_monitor <device>
anyfi_broadcom_release_monitor() {
local device="$1"
local monitor=$(anyfi_broadcom_name_monitor $device)
ifconfig $monitor down 2> /dev/null
wlctl -i $device monitor 0 2> /dev/null
}

View File

@@ -1,58 +0,0 @@
#!/bin/sh
if [ $# -lt 1 ]; then
echo "Check if a WLAN driver type is supported by Anyfi.net radio software."
echo "Usage: $0 {mac80211|...}"
exit 1
fi
number() {
echo $2 | sed -e 's/[^0-9]/ /g' | cut -d' ' -f $1
}
major() {
number 1 $1
}
minor() {
number 2 $1
}
case $1 in
mac80211)
COMPAT_VER=$(opkg list-installed kmod-mac80211 | cut -d'+' -f2)
KERNEL_VER=$(uname -r)
# Future kernels > 3.x are OK
[ "$(major $KERNEL_VER)" -gt 3 ] && return 0
# The required commit 86c228a7627f3f2776893da47592234140fbfba8
# for mac80211 support was introduced in kernel 3.12.
[ "$(major $KERNEL_VER)" -eq 3 ] && \
[ "$(minor $KERNEL_VER)" -ge 12 ] && return 0
[ "$(major $COMPAT_VER)" -gt 2013 ] && return 0
[ "$(major $COMPAT_VER)" -eq 2013 ] && \
[ "$(minor $COMPAT_VER)" -ge 11 ] && return 0
cat <<EOF
Support for mac80211 requires Linux kernel >= 3.12 or
compat-wireless >= 2013-11-05. Please update your system.
EOF
;;
broadcom)
return 0
;;
*)
cat<<EOF
WLAN driver \"$1\" is not supported by the Anyfi.net radio software.
Improved drivers with Anyfi.net support are available for Broadcom,
Qualcomm Atheros, Ralink and Realtek chipsets. Please contact
support@anyfi.net for updated drivers, reference integrations and
commercial integration services.
EOF
;;
esac
exit 1

771
asterisk-1.8.x-mod/Makefile Normal file
View File

@@ -0,0 +1,771 @@
#
# Copyright (C) 2008-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk18-mod
PKG_VERSION:=1.8.10.1
PKG_SOURCE_VERSION:=015d279241d0ac5d8c1321aa6f78b9ae551575d1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://public.inteno.se:/asterisk-1.8.x
PKG_RELEASE:=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION)-$(PKG_RELEASE).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-include $(INCLUDE_DIR)/ltqtapi.mk
include $(INCLUDE_DIR)/package.mk
define Package/asterisk18-mod/Default
SUBMENU:=Telephony
SECTION:=net
CATEGORY:=Network
URL:=http://www.asterisk.org/
endef
define Package/asterisk18-mod/Default/description
Asterisk is a complete PBX in software. It provides all of the features
you would expect from a PBX and more. Asterisk does voice over IP in three
protocols, and can interoperate with almost all standards-based telephony
equipment using relatively inexpensive hardware.
endef
define Package/asterisk18-mod
$(call Package/asterisk18-mod/Default)
TITLE:=Complete open source PBX, v1.8x
MENU:=1
DEPENDS:= +natalie-dect-h +PACKAGE_bcmkernel:bcmkernel +PACKAGE_bcmopen:bcmopen +libopenssl +libncurses +libpopt +libpthread +uci +ubus +zlib @!TARGET_avr32
endef
define Package/asterisk18-mod/description
$(call Package/asterisk18-mod/Default/description)
endef
define Package/asterisk18-mod-sounds
$(call Package/asterisk18-mod/Default)
TITLE:=Sound files
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-sounds/description
$(call Package/asterisk18-mod/Default/description)
This package contains sound files for Asterisk.
endef
define Package/asterisk18-mod-voicemail
$(call Package/asterisk18-mod/Default)
TITLE:=Voicemail support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-voicemail/description
$(call Package/asterisk18-mod/Default/description)
This package contains voicemail related modules for Asterisk.
endef
define Package/asterisk18-mod-app-transfer
$(call Package/asterisk18-mod/Default)
TITLE:=Call transfer support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-app-transfer/description
$(call Package/asterisk18-mod/Default/description)
This package contains the call transfer support module for Asterisk.
endef
define Package/asterisk18-mod-app-softhangup
$(call Package/asterisk18-mod/Default)
TITLE:=SoftHangup application
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-app-softhangup/description
$(call Package/asterisk18-mod/Default/description)
This package contains the SoftHangup support module for Asterisk.
endef
define Package/asterisk18-mod-app-meetme
$(call Package/asterisk18-mod/Default)
TITLE:=conferencing support
DEPENDS:= asterisk18-mod +dahdi-tools-libtonezone +dahdi
endef
define Package/asterisk18-mod-app-meetme/description
$(call Package/asterisk18-mod/Default/description)
This package provides the MeetMe application driver Conferencing support to
Asterisk.
endef
define Package/asterisk18-mod-chan-iax2
$(call Package/asterisk18-mod/Default)
TITLE:=IAX support
DEPENDS:= asterisk18-mod +asterisk18-res-crypto
endef
define Package/asterisk18-mod-chan-iax2/description
$(call Package/asterisk18-mod/Default/description)
This package provides IAX support to
Asterisk.
endef
define Package/asterisk18-mod-cdr
$(call Package/asterisk18-mod/Default)
TITLE:=CDR support
DEPENDS:= asterisk18-mod +libsqlite3
endef
define Package/asterisk18-mod-cdr/description
$(call Package/asterisk18-mod/Default/description)
This package provides Call Detail Record support to
Asterisk.
endef
define Package/asterisk18-mod-res-musiconhold
$(call Package/asterisk18-mod/Default)
TITLE:=MOH support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-res-musiconhold/description
$(call Package/asterisk18-mod/Default/description)
This package provides Music On Hold support to
Asterisk.
endef
define Package/asterisk18-mod-res-voice
$(call Package/asterisk18-mod/Default)
TITLE:=Voice client/pbx support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-res-voice/description
$(call Package/asterisk18-mod/Default/description)
This package provides Voice Client/pbx support to
Asterisk.
endef
define Package/asterisk18-mod-res-srtp
$(call Package/asterisk18-mod/Default)
TITLE:=SRTP support
DEPENDS:= asterisk18-mod libsrtp +asterisk18-mod-res-crypto
endef
define Package/asterisk18-mod-res-srtp/description
$(call Package/asterisk18-mod/Default/description)
This package provides SRTP support to
Asterisk.
endef
define Package/asterisk18-mod-res-stun
$(call Package/asterisk18-mod/Default)
TITLE:=STUN support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-app-queue
$(call Package/asterisk18-mod/Default)
TITLE:=Queue support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-chan-gtalk
$(call Package/asterisk18-mod/Default)
TITLE:=GTalk support
DEPENDS:= asterisk18-mod +libiksemel
endef
define Package/asterisk18-mod-chan-gtalk/description
$(call Package/asterisk18-mod/Default/description)
This package provides the channel chan_gtalk and res_jabber for GTalk
support to Asterisk.
endef
define Package/asterisk18-mod-res-timing-timerfd
$(call Package/asterisk18-mod/Default)
TITLE:= Timerfd Timing Interface
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-res-timing-pthread
$(call Package/asterisk18-mod/Default)
TITLE:= pthread Timing Interface
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-res-fax
$(call Package/asterisk18-mod/Default)
TITLE:=Generic FAX Resource for FAX technology resource modules
DEPENDS:= asterisk18-mod +asterisk18-mod-res-timing-pthread
endef
define Package/asterisk18-mod-res-fax-spandsp
$(call Package/asterisk18-mod/Default)
TITLE:=Spandsp T.38 and G.711 FAX Resource
DEPENDS:= asterisk18-mod +asterisk18-mod-res-fax +libspandsp
endef
define Package/asterisk18-mod-chan-mgcp
$(call Package/asterisk18-mod/Default)
TITLE:=MGCP channel support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-chan-mgcp/description
$(call Package/asterisk18-mod/Default/description)
This package provides the channel chan_mgcp support to Asterisk.
endef
define Package/asterisk18-mod-chan-skinny
$(call Package/asterisk18-mod/Default)
TITLE:=Skinny channel support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-chan-skinny/description
$(call Package/asterisk18-mod/Default/description)
This package provides the channel chan_skinny support to Asterisk.
endef
define Package/asterisk18-mod-chan-brcm
$(call Package/asterisk18-mod/Default)
TITLE:=Broadcom channel support
DEPENDS:= asterisk18-mod
endef
define Package/asterisk18-mod-chan-brcm/description
$(call Package/asterisk18-mod/Default/description)
This package provides the channel chan_brcm support to Asterisk.
endef
define Package/asterisk18-mod-curl
$(call Package/asterisk18-mod/Default)
TITLE:=CURL support
DEPENDS:= asterisk18-mod +libcurl
endef
define Package/asterisk18-mod-curl/description
$(call Package/asterisk18-mod/Default/description)
This package provides CURL
support to Asterisk.
endef
define Package/asterisk18-mod-mysql
$(call Package/asterisk18-mod/Default)
TITLE:=MySQL support
DEPENDS:= asterisk18-mod +PACKAGE_asterisk18-mysql:libmysqlclient
endef
define Package/asterisk18-mod-mysql/description
$(call Package/asterisk18-mod/Default/description)
This package provides MySQL
support to Asterisk.
endef
define Package/asterisk18-mod-chan-lantiq
$(call Package/asterisk18-mod/Default)
TITLE:=Lantiq TAPI support
DEPENDS:= asterisk18-mod $(LTQ_TAPI_DEPENDS)
URL:=http://git.nanl.de/?p=asterisk_channel_lantiq.git
MAINTAINER:=Mirko Vogt <mirko@openwrt.org>
endef
define Package/asterisk18-mod-chan-lantiq/description
$(call Package/asterisk18-mod/Default/description)
This package provides the channel chan_lantiq support to Asterisk.
endef
CONFIGURE_ARGS+= \
--without-inotify
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-mod-app-meetme),)
CONFIGURE_ARGS+= \
--with-dahdi="$(STAGING_DIR)/usr"
else
CONFIGURE_ARGS+= \
--without-dahdi
endif
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-mod-chan-gtalk),)
CONFIGURE_ARGS+= \
--with-gnutls="$(STAGING_DIR)/usr" \
--with-iksemel="$(STAGING_DIR)/usr"
SITE_VARS+= \
ac_cv_lib_iksemel_iks_start_sasl=yes \
ac_cv_lib_gnutls_gnutls_bye=yes
else
CONFIGURE_ARGS+= \
--without-gnutls \
--without-iksemel
endif
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-mod-curl),)
CONFIGURE_ARGS+= \
--with-curl="$(STAGING_DIR)/usr"
else
CONFIGURE_ARGS+= \
--without-curl
endif
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-mod-mysql),)
CONFIGURE_ARGS+= \
--with-mysqlclient="$(STAGING_DIR)/usr/bin"
else
CONFIGURE_ARGS+= \
--without-mysqlclient
endif
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-mod-res-fax-spandsp),)
CONFIGURE_ARGS+= \
--with-spandsp="$(STAGING_DIR)/usr"
else
CONFIGURE_ARGS+= \
--without-spandsp
endif
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-mod-res-srtp),)
CONFIGURE_ARGS+= \
--with-srtp="$(STAGING_DIR)/usr"
else
CONFIGURE_ARGS+= \
--without-srtp
endif
ifeq ($(CONFIG_TARGET_IBOARDID),"D301")
EXTRA_CFLAGS += -DNTR_SUPPORT
endif
CONFIGURE_ARGS+= \
--without-curses \
--with-gsm=internal \
--without-cap \
--without-gtk \
--without-gtk2 \
--without-isdnnet \
--without-kde \
--without-misdn \
--without-nbs \
--with-ncurses="$(STAGING_DIR)/usr" \
--without-netsnmp \
--without-newt \
--without-odbc \
--without-ogg \
--without-osptk \
--with-popt="$(STAGING_DIR)/usr" \
--without-pri \
--without-qt \
--without-radius \
--without-sdl \
--without-suppserv \
--without-tds \
--without-termcap \
--without-tinfo \
--without-vorbis \
--without-vpb \
--with-z="$(STAGING_DIR)/usr" \
--with-sounds-cache="$(DL_DIR)" \
--disable-xmldoc
# I've had strange errors with -fno-caller-saves
# in global CFLAGS so revert it. /Ronny
EXTRA_CFLAGS+= -O2 -fcaller-saves
EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
EXTRA_LDFLAGS+= $(TARGET_LDFLAGS)
define Build/Prepare
$(call Build/Prepare/Default)
ifneq ($(CONFIG_TARGET_lantiq),)
$(CP) ./src-lantiq/* $(PKG_BUILD_DIR)/
endif
endef
define Build/Configure
-rm $(PKG_BUILD_DIR)/menuselect.makeopts
$(call Build/Configure/Default,,$(SITE_VARS))
endef
define Build/Compile
$(MAKE) -C "$(PKG_BUILD_DIR)" \
include/asterisk/version.h \
include/asterisk/buildopts.h defaults.h \
makeopts.embed_rules
ASTCFLAGS="$(EXTRA_CFLAGS) -DLOW_MEMORY" \
ASTLDFLAGS="$(EXTRA_LDFLAGS)" \
$(MAKE) -C "$(PKG_BUILD_DIR)" \
ASTVARLIBDIR="/usr/lib/asterisk" \
ASTDATADIR="/usr/lib/asterisk" \
ASTKEYDIR="/usr/lib/asterisk" \
ASTDBDIR="/usr/lib/asterisk" \
NOISY_BUILD="1" \
DEBUG="" \
OPTIMIZE="" \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install samples
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/asterisk-1.8/include/asterisk/
$(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk/*.h $(1)/usr/include/asterisk-1.8/include/asterisk/
$(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk.h $(1)/usr/include/asterisk-1.8/include/
endef
define Package/asterisk18-mod/conffiles
/etc/asterisk/asterisk.conf
/etc/asterisk/modules.conf
/etc/asterisk/extensions.conf
/etc/asterisk/sip.conf
/etc/asterisk/sip_notify.conf
/etc/asterisk/features.conf
/etc/asterisk/indications.conf
/etc/asterisk/logger.conf
/etc/asterisk/manager.conf
/etc/asterisk/rtp.conf
/etc/default/asterisk
/etc/init.d/asterisk
endef
define Package/asterisk18-mod/install
$(INSTALL_DIR) $(1)/etc/asterisk/ssl
for f in asterisk extensions features \
indications logger manager modules \
sip sip_notify rtp; do \
$(CP) $(PKG_INSTALL_DIR)/etc/asterisk/$$$$f.conf $(1)/etc/asterisk/ ; \
done
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
for f in app_dial app_echo app_playback app_macro \
chan_sip res_rtp_asterisk res_rtp_multicast \
codec_ulaw codec_gsm \
format_gsm format_pcm format_wav format_wav_gsm \
pbx_config \
func_strings func_timeout func_callerid func_logic; do \
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/$$$$f.so $(1)/usr/lib/asterisk/modules/ ; \
done
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/asterisk $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/etc/default
$(INSTALL_DATA) ./files/asterisk.default $(1)/etc/default/asterisk
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/asterisk.init $(1)/etc/init.d/asterisk
endef
define Package/asterisk18-mod-sounds/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/* $(1)/usr/lib/asterisk/sounds/
rm -f $(1)/usr/lib/asterisk/sounds/vm-*
rm -f $(1)/usr/lib/asterisk/sounds/conf-*
endef
define Package/asterisk18-mod-voicemail/conffiles
/etc/asterisk/voicemail.conf
endef
define Package/asterisk18-mod-voicemail/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/voicemail.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*voicemail.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_adsi.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_smdi.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/vm-*.gsm $(1)/usr/lib/asterisk/sounds/
endef
define Package/asterisk18-mod-app-meetme/conffiles
/etc/asterisk/meetme.conf
endef
define Package/asterisk18-mod-app-meetme/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/meetme.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_meetme.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/conf-*.gsm $(1)/usr/lib/asterisk/sounds/
endef
define Package/asterisk18-mod-chan-iax2/conffiles
/etc/asterisk/iax.conf
/etc/asterisk/iaxprov.conf
endef
define Package/asterisk18-mod-cdr/conffiles
/etc/asterisk/cdr.conf
/etc/asterisk/cdr_custom.conf
/etc/asterisk/cdr_manager.conf
/etc/asterisk/cdr_odbc.conf
/etc/asterisk/cdr_pgsql.conf
/etc/asterisk/cdr_tds.conf
endef
define Package/asterisk18-mod-res-musiconhold/conffiles
/etc/asterisk/musiconhold.conf
endef
define Package/asterisk18-mod-chan-iax2/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/iax.conf $(1)/etc/asterisk/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/iaxprov.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_iax2.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-cdr/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/cdr*.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*cdr*.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-res-musiconhold/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/musiconhold.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_musiconhold.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-res-voice/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_voice.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-chan-gtalk/conffiles
/etc/asterisk/gtalk.conf
/etc/asterisk/jabber.conf
endef
define Package/asterisk18-mod-chan-gtalk/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/gtalk.conf $(1)/etc/asterisk/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/jabber.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_gtalk.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_jabber.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-res-timing-timerfd/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_timing_timerfd.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-res-timing-pthread/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_timing_pthread.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-res-fax/conffiles
/etc/asterisk/res_fax.conf
endef
define Package/asterisk18-mod-res-fax/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/res_fax.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_fax.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-res-fax-spandsp/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_fax_spandsp.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-chan-mgcp/conffiles
/etc/asterisk/mgcp.conf
endef
define Package/asterisk18-mod-chan-mgcp/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/mgcp.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_mgcp.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-chan-skinny/conffiles
/etc/asterisk/skinny.conf
endef
define Package/asterisk18-mod-chan-skinny/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/skinny.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_skinny.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-chan-brcm/conffiles
/etc/asterisk/brcm.conf
endef
define Package/asterisk18-mod-chan-brcm/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/brcm.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_brcm.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-curl/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/func_curl.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_curl.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-app-transfer/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_transfer.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-app-softhangup/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_softhangup.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-mysql/conffiles
/etc/asterisk/app_mysql.conf
/etc/asterisk/res_config_mysql.conf
/etc/asterisk/cdr_mysql.conf
endef
define Package/asterisk18-mod-mysql/install
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/app_mysql.conf $(1)/etc/asterisk/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/res_config_mysql.conf $(1)/etc/asterisk/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/cdr_mysql.conf $(1)/etc/asterisk/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_mysql.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/cdr_mysql.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_config_mysql.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-chan-lantiq/conffiles
/etc/asterisk/lantiq.conf
endef
define Package/asterisk18-mod-chan-lantiq/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_DIR) $(1)/etc/asterisk
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/lantiq.conf $(1)/etc/asterisk/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_lantiq.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-res-srtp/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_srtp.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-res-stun/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_stun_monitor.so $(1)/usr/lib/asterisk/modules/
endef
define Package/asterisk18-mod-app-queue/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_queue.so $(1)/usr/lib/asterisk/modules/
endef
define Buildasterisk18-modModuleTemplate
define Package/asterisk18-mod-$(subst _,-,$(1))
$$(call Package/asterisk18-mod/Default)
TITLE:=$(2) support
DEPENDS:= asterisk18-mod $(4)
endef
define Package/asterisk18-mod-$(subst _,-,$(1))/description
$$(call Package/asterisk18-mod/Default/description)
This package provides support $(3) in Asterisk.
endef
define Package/asterisk18-mod-$(subst _,-,$(1))/install
$(INSTALL_DIR) $$(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/$(1).so $$(1)/usr/lib/asterisk/modules/
endef
$$(eval $$(call BuildPackage,asterisk18-mod-$(subst _,-,$(1))))
endef
$(eval $(call BuildPackage,asterisk18-mod))
$(eval $(call BuildPackage,asterisk18-mod-voicemail))
$(eval $(call BuildPackage,asterisk18-mod-sounds))
$(eval $(call BuildPackage,asterisk18-mod-app-meetme))
$(eval $(call BuildPackage,asterisk18-mod-app-transfer))
$(eval $(call BuildPackage,asterisk18-mod-app-softhangup))
$(eval $(call BuildPackage,asterisk18-mod-chan-iax2))
$(eval $(call BuildPackage,asterisk18-mod-cdr))
$(eval $(call BuildPackage,asterisk18-mod-res-musiconhold))
$(eval $(call BuildPackage,asterisk18-mod-res-voice))
$(eval $(call BuildPackage,asterisk18-mod-chan-gtalk))
$(eval $(call BuildPackage,asterisk18-mod-res-fax))
$(eval $(call BuildPackage,asterisk18-mod-res-fax-spandsp))
$(eval $(call BuildPackage,asterisk18-mod-res-timing-timerfd))
$(eval $(call BuildPackage,asterisk18-mod-res-timing-pthread))
$(eval $(call BuildPackage,asterisk18-mod-chan-mgcp))
$(eval $(call BuildPackage,asterisk18-mod-chan-skinny))
$(eval $(call BuildPackage,asterisk18-mod-chan-brcm))
$(eval $(call BuildPackage,asterisk18-mod-curl))
$(eval $(call BuildPackage,asterisk18-mod-mysql))
$(eval $(call BuildPackage,asterisk18-mod-chan-lantiq))
$(eval $(call BuildPackage,asterisk18-mod-res-srtp))
$(eval $(call BuildPackage,asterisk18-mod-res-stun))
$(eval $(call BuildPackage,asterisk18-mod-app-queue))
$(eval $(call Buildasterisk18-modModuleTemplate,app_authenticate,Authenticate,support for executing arbitrary authenticate commands))
$(eval $(call Buildasterisk18-modModuleTemplate,app_chanisavail,Channel availability check,support for checking if a channel is available))
$(eval $(call Buildasterisk18-modModuleTemplate,app_chanspy,Channel listen in,support for listening in on any channel))
$(eval $(call Buildasterisk18-modModuleTemplate,app_directed_pickup,Directed call pickup,support for directed call pickup))
$(eval $(call Buildasterisk18-modModuleTemplate,app_exec,Exec application,support for application execution))
$(eval $(call Buildasterisk18-modModuleTemplate,app_minivm,Minimal voicemail system,a voicemail system in small building blocks working together based on the Comedian Mail voicemail system))
$(eval $(call Buildasterisk18-modModuleTemplate,app_readexten,Extension to variable,a trivial application to read an extension into a variable))
$(eval $(call Buildasterisk18-modModuleTemplate,app_read,Variable read,a trivial application to read a variable))
$(eval $(call Buildasterisk18-modModuleTemplate,app_sayunixtime,Say Unix time,an application to say Unix time))
$(eval $(call Buildasterisk18-modModuleTemplate,app_sms,SMS,SMS support (ETSI ES 201 912 protocol 1)))
$(eval $(call Buildasterisk18-modModuleTemplate,app_stack,Stack applications, stack applications Gosub Return etc., +asterisk18-res-agi))
$(eval $(call Buildasterisk18-modModuleTemplate,app_system,System exec,support for executing system commands))
$(eval $(call Buildasterisk18-modModuleTemplate,app_talkdetect,File playback with audio detect,for file playback with audio detect))
$(eval $(call Buildasterisk18-modModuleTemplate,app_waituntil,Sleep,support sleeping until the given epoch))
$(eval $(call Buildasterisk18-modModuleTemplate,app_while,While loop,a while loop implementation))
$(eval $(call Buildasterisk18-modModuleTemplate,chan_agent,Agents proxy channel, an implementation of agents proxy channel))
$(eval $(call Buildasterisk18-modModuleTemplate,chan_local,Local proxy channel, an implementation of local proxy channel))
$(eval $(call Buildasterisk18-modModuleTemplate,codec_alaw,Signed linear to alaw translation,translation between signed linear and alaw codecs))
$(eval $(call Buildasterisk18-modModuleTemplate,codec_ulaw,Signed linear to ulaw translation,translation between signed linear and ulaw codecs))
$(eval $(call Buildasterisk18-modModuleTemplate,codec_a_mu,Alaw to ulaw translation,translation between alaw and ulaw codecs))
$(eval $(call Buildasterisk18-modModuleTemplate,codec_g722,G.722,a high bit rate 48/56/64Kbps ITU standard codec))
$(eval $(call Buildasterisk18-modModuleTemplate,codec_g726,Signed linear to G.726 translation,translation between signed linear and ITU G.726-32kbps codecs))
$(eval $(call Buildasterisk18-modModuleTemplate,codec_ilbc,iLBC,internet Low Bitrate Codec))
$(eval $(call Buildasterisk18-modModuleTemplate,codec_gsm,GSM,GSM codec))
$(eval $(call Buildasterisk18-modModuleTemplate,format_g726,G.726,support for headerless G.726 16/24/32/40kbps data format))
$(eval $(call Buildasterisk18-modModuleTemplate,format_g729,G.729,support for raw headerless G729 data))
$(eval $(call Buildasterisk18-modModuleTemplate,format_sln,Raw slinear format,support for raw slinear format))
$(eval $(call Buildasterisk18-modModuleTemplate,format_sln16,Raw slinear 16 format,support for Raw slinear 16 format))
$(eval $(call Buildasterisk18-modModuleTemplate,func_db,Database interaction,functions for interaction with the database))
$(eval $(call Buildasterisk18-modModuleTemplate,func_devstate,Blinky lights control,functions for manually controlled blinky lights))
$(eval $(call Buildasterisk18-modModuleTemplate,func_vmcount,vmcount dialplan,a vmcount dialplan function))
$(eval $(call Buildasterisk18-modModuleTemplate,func_extstate,Hinted extension state,retrieving the state of a hinted extension for dialplan control))
$(eval $(call Buildasterisk18-modModuleTemplate,func_global,Global variable,global variable dialplan functions))
$(eval $(call Buildasterisk18-modModuleTemplate,func_shell,Shell,support for shell execution))
$(eval $(call Buildasterisk18-modModuleTemplate,pbx_ael,Asterisk Extension Logic,support for symbolic Asterisk Extension Logic))
$(eval $(call Buildasterisk18-modModuleTemplate,res_ael_share,Shareable AEL code,support for shareable AEL code mainly between internal and external modules))
$(eval $(call Buildasterisk18-modModuleTemplate,pbx_spool,Call Spool,outgoing call spool support))
$(eval $(call Buildasterisk18-modModuleTemplate,res_agi,Asterisk Gateway Interface,support for the Asterisk Gateway Interface extension))
$(eval $(call Buildasterisk18-modModuleTemplate,res_crypto,Provide Crypto,Cryptographic Signature capability))
$(eval $(call Buildasterisk18-modModuleTemplate,app_alarmreceiver,Alarm receiver,Central Station Alarm receiver for Ademco Contact ID))
$(eval $(call Buildasterisk18-modModuleTemplate,app_setcallerid,Set callerid,support for setting callerid))
$(eval $(call Buildasterisk18-modModuleTemplate,app_verbose,Verbose logging,Verbose logging application))
$(eval $(call Buildasterisk18-modModuleTemplate,func_channel,Channel info,Channel info dialplan function))
$(eval $(call Buildasterisk18-modModuleTemplate,func_blacklist,Blacklist on callerid,looking up the callerid number and see if it is blacklisted))
$(eval $(call Buildasterisk18-modModuleTemplate,app_originate,Originate a call,originating an outbound call and connecting it to a specified extension or application))
$(eval $(call Buildasterisk18-modModuleTemplate,func_uri,URI encoding and decoding,Encodes and decodes URI-safe strings))
$(eval $(call Buildasterisk18-modModuleTemplate,app_disa,Direct Inward System Access,Direct Inward System Access))
$(eval $(call Buildasterisk18-modModuleTemplate,app_senddtmf,Send DTMF digits,Sends arbitrary DTMF digits))
$(eval $(call Buildasterisk18-modModuleTemplate,func_cut,CUT function,CUT function))
$(eval $(call Buildasterisk18-modModuleTemplate,res_clioriginate,Calls via CLI,Originate calls via the CLI))
$(eval $(call Buildasterisk18-modModuleTemplate,app_mixmonitor,Record a call and mix the audio,record a call and mix the audio during the recording))
$(eval $(call Buildasterisk18-modModuleTemplate,app_playtones,Playtones application,play a tone list))
$(eval $(call Buildasterisk18-modModuleTemplate,app_record,Record sound file,to record a sound file))

View File

@@ -0,0 +1,4 @@
## startup options for /etc/init.d/asterisk
ENABLE_ASTERISK="yes"
OPTIONS=""

View File

@@ -0,0 +1,57 @@
#!/bin/sh /etc/rc.common
START=98
STOP=10
USE_PROCD=1
NAME=asterisk
PROG=/usr/sbin/asterisk
DEFAULT=/etc/default/asterisk
init_asterisk() {
# do not start asterisk until the
# router receives a default route
while ! ip r | grep -q default; do
sleep 1
done
[ -f $DEFAULT ] && . $DEFAULT
[ -d /var/run/asterisk ] || mkdir -p /var/run/asterisk
[ -d /var/log/asterisk ] || mkdir -p /var/log/asterisk
[ -d /var/spool/asterisk ] || mkdir -p /var/spool/asterisk
# does the board have a fxs relay?
local fxsRelayGpio=$(db -q get hw.board.fxsRelayGpio)
if [ "$fxsRelayGpio" != "" ]; then
/sbin/brcm_fw_tool set -x $fxsRelayGpio -p 1
fi
}
service_triggers() {
procd_add_reload_trigger voice_client
}
start_service() {
init_asterisk
procd_open_instance
procd_set_param command "$PROG" -f
procd_set_param respawn
procd_close_instance
# service_start /usr/sbin/asterisk
}
reload_service() {
asterisk -rx "core reload"
asterisk -rx "dialplan reload"
asterisk -rx "brcm reload"
}
restart() {
reload
}
stop_service() {
service_stop /usr/sbin/asterisk
}

43
bootchart2/Makefile Normal file
View File

@@ -0,0 +1,43 @@
#
# Copyright (C) 2007-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=bootchart2
PKG_VERSION:=0.14.7
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/mmeeks/bootchart.git
PKG_SOURCE_VERSION:=3ab81137cafe25c2ca4bc3a5f322a63646f9ce8d
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/bootchart2
SECTION:=base
CATEGORY:=Utilities
TITLE:=Bootchart2
URL:=https://github.com/mmeeks/bootchart
endef
define Package/bootchart2/description
Bootchart is a tool for performance analysis and visualization of the GNU/Linux boot process.
endef
define Package/bootchart2/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bootchart-collector $(1)/sbin
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,bootchart2))

View File

@@ -0,0 +1,10 @@
do_bootchart()
{
[ -f /dev/null ] || mknod /dev/null c 1 3
mkdir -p /lib/bootchart/tmpfs
echo "starting bootchart"
/sbin/bootchart_run_preinit boot &
}
boot_hook_add preinit_essential do_bootchart

View File

@@ -0,0 +1,7 @@
bootchart_rootfs_pivot()
{
mount -o move /rom/lib/bootchart/tmpfs /lib/bootchart/tmpfs
}
boot_hook_add preinit_mount_root bootchart_rootfs_pivot

View File

@@ -0,0 +1,59 @@
#! /bin/sh
# this is intended to be started in preinit.
# 11_bootchart, starts it
# 72_bootchart, fixup mount point after pivot
#
# program can be killed early with
# bootchart_run_preinit stop
trap "stop; exit 0;" SIGINT SIGTERM
STOP_AFTER=250
HZ=50
if [ -z "$1" ]
then
echo "you need to specify start or stop"
exit 1
fi
start()
{
/sbin/bootchart-collector $HZ &
}
stop()
{
echo "bootchart DUMP"
mkdir /tmp/bootchart
/sbin/bootchart-collector --dump /tmp/bootchart
cd /tmp/bootchart
tar -zcf /tmp/bootchart.tgz header *.log
cd /
rm -rf /tmp/bootchart
}
case $1 in
boot) # secret option for preinit
start
sleep $STOP_AFTER
# test to see if someone has manually killed us
if [ -f /tmp/bootchart.tgz ]
then
exit 0
fi
stop
;;
start)
start
;;
stop)
stop
;;
*)
echo "you need to specify start or stop, not $1"
exit 1
;;
esac

View File

@@ -0,0 +1,40 @@
diff --git a/pybootchartgui/draw.py b/pybootchartgui/draw.py
index 7c3f60c..5c9f046 100644
--- a/pybootchartgui/draw.py
+++ b/pybootchartgui/draw.py
@@ -63,6 +63,7 @@ AXIS_FONT_SIZE = 11
LEGEND_FONT_SIZE = 12
# CPU load chart color.
+CPU_SYS_COLOR = (0.65, 0.13, 0.36, 1.0)
CPU_COLOR = (0.40, 0.55, 0.70, 1.0)
# IO wait chart color.
IO_COLOR = (0.76, 0.48, 0.48, 0.5)
@@ -300,21 +301,19 @@ def render_charts(ctx, options, clip, trace, curr_y, w, h, sec_w):
# render bar legend
ctx.set_font_size(LEGEND_FONT_SIZE)
- draw_legend_box(ctx, "CPU (user+sys)", CPU_COLOR, off_x, curr_y+20, leg_s)
- draw_legend_box(ctx, "I/O (wait)", IO_COLOR, off_x + 120, curr_y+20, leg_s)
+ draw_legend_box(ctx, "CPU (user)", CPU_COLOR, off_x, curr_y+20, leg_s)
+ draw_legend_box(ctx, "CPU (sys)", CPU_SYS_COLOR, off_x + 120, curr_y+20, leg_s)
+ draw_legend_box(ctx, "I/O (wait)", IO_COLOR, off_x + 120 + 120 , curr_y+20, leg_s)
# render I/O wait
chart_rect = (off_x, curr_y+30, w, bar_h)
if clip_visible (clip, chart_rect):
draw_box_ticks (ctx, chart_rect, sec_w)
draw_annotations (ctx, proc_tree, trace.times, chart_rect)
- draw_chart (ctx, IO_COLOR, True, chart_rect, \
- [(sample.time, sample.user + sample.sys + sample.io) for sample in trace.cpu_stats], \
- proc_tree, None)
+ draw_chart (ctx, IO_COLOR, True, chart_rect, [(sample.time, sample.user + sample.sys + sample.io) for sample in trace.cpu_stats], proc_tree, None)
# render CPU load
- draw_chart (ctx, CPU_COLOR, True, chart_rect, \
- [(sample.time, sample.user + sample.sys) for sample in trace.cpu_stats], \
- proc_tree, None)
+ draw_chart (ctx, CPU_SYS_COLOR, True, chart_rect, [(sample.time, sample.user + sample.sys) for sample in trace.cpu_stats], proc_tree, None)
+ draw_chart (ctx, CPU_COLOR, True, chart_rect, [(sample.time, sample.user ) for sample in trace.cpu_stats], proc_tree, None)
curr_y = curr_y + 30 + bar_h

30
catv/Makefile Normal file
View File

@@ -0,0 +1,30 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=catv
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/catv
CATEGORY:=Utilities
TITLE:=CATV
endef
define Package/catv/description
CATV configuration utility
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./files/* $(PKG_BUILD_DIR)/
endef
define Build/Compile
endef
define Package/catv/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,catv))

View File

@@ -0,0 +1,4 @@
config service 'catv'
option enable 'no'
option filter '3'

Binary file not shown.

30
catv/files/etc/init.d/catv Executable file
View File

@@ -0,0 +1,30 @@
#!/bin/sh /etc/rc.common
#
# Copyright (C) 2015 inteno.org
#
START=71
USE_PROCD=1
. /lib/functions.sh
start_service() {
local enable=0
local filter=0
config_load catv
config_get_bool enable catv enable 0
config_get filter catv filter
if [ $enable -eq 0 ]; then
ubus call catv set-enable "{\"enable\":\"off\"}"
else
ubus call catv set-enable "{\"enable\":\"on\"}"
fi
ubus call catv set-filter "{\"filter\":\"$filter\"}"
}
service_triggers() {
procd_add_reload_trigger catv
}

View File

@@ -1,4 +1,3 @@
#
include $(TOPDIR)/rules.mk
PKG_NAME:=crashlog

66
dectmngr/Makefile Normal file
View File

@@ -0,0 +1,66 @@
#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_RELEASE:=1
PKG_VERSION:=1.0.24
PKG_SOURCE_URL:=http://public.inteno.se:/dectmngr
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=6ba403663bc9cfdb8f89fb34de367f0796d68552
PKG_NAME:=dectmngr
LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-Wl,-rpath-link=$(STAGING_DIR)/lib
RSTRIP:=true
export BUILD_DIR
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
include $(INCLUDE_DIR)/package.mk
define Package/dectmngr
CATEGORY:=Utilities
TITLE:=Broadcom endpoint test application
URL:=
DEPENDS:= +libevent2 +libjson +natalie-dect-h bcmkernel
endef
define Package/dectmngr/description
Dect proxy, manager and tools
endef
define Package/dectmngr/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_DIR) $(1)/etc/hotplug.d/
$(INSTALL_DIR) $(1)/etc/hotplug.d/dect
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_DIR) $(1)/etc/dect/
$(INSTALL_DIR) $(1)/etc/config/
cp $(PKG_BUILD_DIR)/dectmngr $(1)/usr/bin/
cp $(PKG_BUILD_DIR)/atohx $(1)/usr/bin/
cp $(PKG_BUILD_DIR)/dectproxy $(1)/usr/bin/
cp $(PKG_BUILD_DIR)/dectdbgd $(1)/usr/bin/
cp $(PKG_BUILD_DIR)/dect $(1)/usr/bin/
cp $(PKG_BUILD_DIR)/dectcalib $(1)/usr/bin/
cp $(PKG_BUILD_DIR)/dect_testmode $(1)/usr/bin/
cp files/etc/init.d/* $(1)/etc/init.d/
cp files/etc/hotplug.d/dect/* $(1)/etc/hotplug.d/dect/
cp files/etc/dect/* $(1)/etc/dect/
cp files/etc/config/* $(1)/etc/config/
cp files/sbin/dectreg $(1)/sbin/
endef
$(eval $(call BuildPackage,dectmngr))

3
dectmngr/files/etc/config/dect Executable file
View File

@@ -0,0 +1,3 @@
config dect 'dect'
option 'radio' 'auto'

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,15 @@
#!/bin/sh
if [ "$ACTION" == "led_blink" ]; then
ubus call led.dect set '{"state":"notice"}'
fi
if [ "$ACTION" == "led_on" ]; then
ubus call led.dect set '{"state":"ok"}'
fi
if [ "$ACTION" == "led_off" ]; then
ubus call led.dect set '{"state":"off"}'
fi

60
dectmngr/files/etc/init.d/dect Executable file
View File

@@ -0,0 +1,60 @@
#!/bin/sh /etc/rc.common
START=97
STOP=10
USE_PROCD=1
DEST=
DEFAULT=
OPTIONS=""
start_service() {
# avoid fp timing problem
echo 1 > /proc/sys/kernel/printk_with_interrupt_enabled
# setup board specific dect parameters
cat /proc/nvram/rfpi | tr -d ' ' | atohx > /tmp/rfpi
cat /proc/nvram/fixed_emc | tr -d ' ' | atohx > /tmp/fixed_emc
cat /proc/nvram/bcm_def_freq | tr -d ' ' | atohx > /tmp/bcm_def_freq
DECTANTDIV=`db get hw.board.DectAntennaDiversity`
case "$DECTANTDIV" in
1|off) echo -ne "\x01" > /tmp/dect_antenna_diversity ;;
2) echo -ne "\x02" > /tmp/dect_antenna_diversity ;;
*) echo -ne "\x00" > /tmp/dect_antenna_diversity ;;
esac
if [ ! -f /etc/dect/nvs ]; then
cp /etc/dect/nvs_default /etc/dect/nvs
dd of=/etc/dect/nvs if=/tmp/rfpi conv=notrunc bs=1 seek=0
dd of=/etc/dect/nvs if=/tmp/fixed_emc conv=notrunc bs=1 seek=10
dd of=/etc/dect/nvs if=/tmp/bcm_def_freq conv=notrunc bs=1 seek=6
dd of=/etc/dect/nvs if=/tmp/dect_antenna_diversity conv=notrunc bs=1 seek=32
fsync /etc/dect/nvs
fi
# init dectproxy
dectproxy > /dev/null 2>&1 &
dectmngr > /tmp/dectmngr 2>&1 &
}
stop_service() {
killall -9 dectproxy
killall -9 dectmngr
}
restart_service() {
echo "restarting dect"
killall dectmngr
dectmngr > /tmp/dectmngr 2>&1 &
}
reload_service() {
# reload config
dect -c
}
service_triggers() {
procd_add_reload_trigger dect
}

17
dectmngr/files/sbin/dectreg Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/sh
# This script is likely not used. Just exit with
# an error and see if someone screems... If not,
# we can delete this file.
exit 1
[ -f /var/dectisregistering ] || {
touch /var/dectisregistering 2>/dev/null
/usr/bin/dectmngr -r
ubus call led.dect set '{"state" : "notice"}'
sleep 20
rm /var/dectisregistering 2>/dev/null
/usr/bin/dectmngr -s
ubus call led.dect set '{"state" : "ok"}'
}

53
dectmngr2/Makefile Normal file
View File

@@ -0,0 +1,53 @@
#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_RELEASE:=1
PKG_VERSION:=1.1.0
PKG_SOURCE_URL:=http://public.inteno.se:/dectmngr2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=c225ac3cbfdc619dc3e4d149f5f145299dac442b
PKG_NAME:=dectmngr2
RSTRIP:=true
export BUILD_DIR
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
include $(INCLUDE_DIR)/package.mk
define Package/dectmngr2
CATEGORY:=Utilities
TITLE:=Dectmngr2
URL:=
DEPENDS:= +natalie-dect-h bcmkernel +libubox +ubus
endef
define Package/dectmngr2/description
Dectmngr2
endef
define Package/dectmngr2/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_DIR) $(1)/etc/dect/
$(INSTALL_DIR) $(1)/etc/config/
$(INSTALL_DIR) $(1)/etc/init.d/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/dectmngr2 $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/target.bin $(1)/etc/dect/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/nvs_default $(1)/etc/dect/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/dect $(1)/etc/init.d/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/dectmngr-wrapper.sh $(1)/usr/sbin/
$(CP) ./files/dect.config $(1)/etc/config/dect
endef
$(eval $(call BuildPackage,dectmngr2))

View File

@@ -0,0 +1,4 @@
config dect 'dect'
option radio 'auto'

View File

@@ -1,46 +0,0 @@
#
# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=endptcfg-open
PKG_VERSION:=15-06-24
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://ihgsp.inteno.se/ihgsp/consumer/
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/image.mk
include $(INCLUDE_DIR)/kernel.mk
define Package/endptcfg-open
CATEGORY:=Utilities
TITLE:=Broadcom endpoint driver configuration application pre compiled for open SDK
URL:=
endef
define Package/endptcfg-open/description
Broadcom endpoint driver configuration application pre compiled for open SDK
endef
define Package/endptcfg-open/install
mkdir -p $(1)/usr/bin/
ifeq ($(CONFIG_BCM_CHIP_ID),"63138")
$(CP) $(PKG_BUILD_DIR)/endptcfg_arm $(1)/usr/bin/endptcfg
else
$(CP) $(PKG_BUILD_DIR)/endptcfg_mips $(1)/usr/bin/endptcfg
endif
endef
$(eval $(call BuildPackage,endptcfg-open))

4
endptcfg/Config.in Normal file
View File

@@ -0,0 +1,4 @@
config ENDPT_OPEN
bool "Use pre-compiled version for Open SDK"
default n

92
endptcfg/Makefile Normal file
View File

@@ -0,0 +1,92 @@
#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=endptcfg
PKG_VERSION:=0.2
PKG_SOURCE_VERSION:=1194b05278bd0945ca5c76436e56617b86871a65
ifeq ($(CONFIG_ENDPT_OPEN),y)
BRCM_KERNEL_PROFILE=$(shell echo $(CONFIG_BCM_KERNEL_PROFILE) | sed s/\"//g)
PKG_SOURCE:=$(PKG_NAME)-$(BRCM_KERNEL_PROFILE)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_URL:=http://iopsys.inteno.se/iopsys/consumer/
PKG_NAME:=endptcfg-open
else
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_URL:=git@private.inteno.se:endptcfg
PKG_SOURCE_PROTO:=git
endif
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-Wl,-rpath-link=$(STAGING_DIR)/lib
BCMKERNEL_DIR:=$(BUILD_DIR)/bcmkernel/bcm963xx
export BCMKERNEL_DIR
TARGET_LDFLAGS += $(BCMKERNEL_DIR)/userspace/private/apps/vodsl/telephonyProfiles/telephonyProfiles.o \
$(BCMKERNEL_DIR)/userspace/private/apps/vodsl/voip/util/log/vodslLog.o \
$(BCMKERNEL_DIR)/userspace/private/apps/vodsl/endpoint/endpoint_user.o \
$(BCMKERNEL_DIR)/userspace/private/apps/vodsl/bos/bos.o \
-lpthread
TARGET_CFLAGS += -DFAKE_SSP
RSTRIP:=true
export BUILD_DIR
include $(INCLUDE_DIR)/package.mk
define Package/endptcfg
CATEGORY:=Utilities
TITLE:=Broadcom endpoint driver configuration application
URL:=
DEPENDS:=+libpthread bcmkernel
endef
define Package/endptcfg/description
Broadcom endpoint driver configuration application
endef
define Package/endptcfg/config
source "$(SOURCE)/Config.in"
endef
ifneq ($(CONFIG_ENDPT_OPEN),y)
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) LINUX_DIR=$(LINUX_DIR) LDFLAGS="$(TARGET_LDFLAGS)" CFLAGS="$(TARGET_CFLAGS) \
-I$(LINUX_DIR)/include \
-I$(STAGING_DIR)/usr/include \
-DRS_ENDIAN_TYPE=RS_BIG_ENDIAN \
-DBOS_OS_LINUXUSER -DBOS_CFG_TIME \
-I$(STAGING_DIR)/usr/include/bcm963xx/bcmdrivers/broadcom/include/bcm963xx \
-I$(STAGING_DIR)/usr/include/bcm963xx/bcmdrivers/opensource/include/bcm963xx \
-I$(STAGING_DIR)/usr/include/bcm963xx/xChange/dslx_common/voice_res_gw/endpt/inc \
-I$(STAGING_DIR)/usr/include/bcm963xx/xChange/dslx_common/voice_res_gw/inc \
-I$(STAGING_DIR)/usr/include/bcm963xx/xChange/dslx_common/voice_res_gw/codec \
-I$(STAGING_DIR)/usr/include/bcm963xx/xChange/dslx_common/xchg_common/bos/publicInc \
-I$(STAGING_DIR)/usr/include/bcm963xx/xChange/dslx_common/voice_res_gw/casCtl/inc \
-I$(STAGING_DIR)/usr/include/bcm963xx/xChange/dslx_common/xchg_drivers/inc \
-I$(STAGING_DIR)/usr/include/bcm963xx/userspace/private/apps/vodsl/voip/inc \
-I$(STAGING_DIR)/usr/include/bcm963xx/xChange/dslx_common/xchg_common/bos/LinuxUser"
endef
else
define Build/Compile
endef
endif
define Package/endptcfg/install
$(INSTALL_DIR) $(1)/usr/bin
cp $(PKG_BUILD_DIR)/endptcfg $(1)/usr/bin/
endef
$(eval $(call BuildPackage,endptcfg))

49
eventlog/Makefile Normal file
View File

@@ -0,0 +1,49 @@
#
# Copyright (C) 2009-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=eventlog
PKG_VERSION:=0.2.9
PKG_RELEASE:=2
PKG_SOURCE_URL:=http://www.balabit.com/downloads/files/eventlog/0.2/
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
PKG_MD5SUM:=76e3d7a0b8f335c12099e9b91191fbf1
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/libeventlog
SECTION:=libs
CATEGORY:=Libraries
TITLE:=A new API to format and send structured log messages.
endef
define Package/eventlog/description
A new API to format and send structured log messages. It supports multiple message
representations (plain, XML attributes and XML tags) and multiple output methods
(local syslogd).
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/eventlog $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libevtlog.{a,so*} $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/eventlog.pc $(1)/usr/lib/pkgconfig/
endef
define Package/libeventlog/install
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libevtlog.so* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libeventlog))

4
ice-client/Config.in Normal file
View File

@@ -0,0 +1,4 @@
config ICE_OPEN
bool "Use pre-compiled version for Open SDK"
default n

View File

@@ -5,6 +5,10 @@ PKG_NAME:=ice-client
CFMODULES:=$(filter CONFIG_PACKAGE_$(PKG_NAME)-%,$(.VARIABLES))
CFMODULES:=$(subst CONFIG_PACKAGE_$(PKG_NAME)-,,$(CFMODULES))
#CFMODULES:=$(CFMODULES) webaccess texec iperf
#CFMODULES:=$(sort $(CFMODULES))
$(info Building package: $(PKG_NAME))
$(info Building with additional modules: $(CFMODULES))
export CFMODULES
@@ -15,23 +19,33 @@ export PLATFORM_INCLUDE:=platforms/iopsys/build.mk
export DATE:=$(shell date +%Y-%m-%d-%H-%M-%S)
export LOGIN:=$(shell whoami)
BASE_PKG_VERSION:=3.4.0
PKG_RELEASE:=RC6
BASE_PKG_VERSION:=4.0.1
PKG_RELEASE:=RC16
PKG_VERSION:=$(BASE_PKG_VERSION)-$(PKG_RELEASE)_$(DATE)_$(LOGIN)
export PKG_VERSION
###########################--RELEASE--################################
PKG_SOURCE_URL:=ssh://git@iopsys.inteno.se/ice-client.git
PKG_SOURCE_VERSION:=e860a7697ac8d6029cd1f75e1df9885e1d4131f5
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(BASE_PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(BASE_PKG_VERSION)-$(PKG_RELEASE).tar.gz
PKG_SOURCE_VERSION:=041ecad53b58e7f667e5dc030fbe8ebfc89ec715
ifeq ($(CONFIG_ICE_OPEN),y)
BRCM_KERNEL_PROFILE=$(shell echo $(CONFIG_BCM_KERNEL_PROFILE) | 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_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
else
PKG_SOURCE_PROTO:=git
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(BASE_PKG_VERSION)
PKG_SOURCE_URL:=git@private.inteno.se:ice-client.git
PKG_SOURCE:=$(PKG_NAME)-$(BASE_PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(BASE_PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BASE_PKG_VERSION)
endif
###########################--RELEASE--################################
#include $(INCLUDE_DIR)/uclibc++.mk
include $(INCLUDE_DIR)/package.mk
define Package/ice-client/Default
@@ -44,7 +58,12 @@ define Package/ice-client
$(call Package/ice-client/Default)
TITLE:=ice-client
MENU:=1
DEPENDS:=+libopenssl +libstdcpp +libubus +ubus +ubusd +jshn +libubox +libpthread +libjson-c
DEPENDS:=+libopenssl +libstdcpp +libubus +ubus +ubusd +jshn +libubox +libpthread
# DEPENDS:=+libopenssl +uclibcxx +libubus +ubus +ubusd +jshn +libubox +libpthread
endef
define Package/ice-client/config
source "$(SOURCE)/Config.in"
endef
###########################--DEVELOPMENT--################################
@@ -52,7 +71,7 @@ endef
# Uncomment stuff Build/Prepare
#
# Plus make sure to comment and provide the following lines above
# #PKG_SOURCE_URL:=ssh://git@iopsys.inteno.se/ice-client.git
# #PKG_SOURCE_URL:=ssh://git@private.inteno.se/ice-client.git
# #PKG_SOURCE_VERSION:=a11bf64e6b1054803b52750aabd71bf440ff6e16
# #PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(BASE_PKG_VERSION)
# #PKG_SOURCE:=$(PKG_NAME)-$(BASE_PKG_VERSION)-$(PKG_RELEASE).tar.gz
@@ -69,7 +88,6 @@ endef
#define Build/Prepare
# rm -rf $(PKG_BUILD_DIR)
# ln -s /home/erik/Desktop/ice-client $(PKG_BUILD_DIR)
## ln -s /home/erik/Desktop/checkCompilation/iopsys-client $(PKG_BUILD_DIR)
#endef
###########################--DEVELOPMENT--################################
@@ -84,6 +102,10 @@ endef
# command to copy the binary file from its current location (in our case the build
# directory) to the install directory.
ifeq ($(CONFIG_ICE_OPEN),y)
define Build/Compile
endef
else
define Build/Configure
echo $(BASE_PKG_VERSION)-$(PKG_RELEASE) > $(PKG_BUILD_DIR)/core/version.txt
echo $(DATE) > $(PKG_BUILD_DIR)/core/date.txt
@@ -94,21 +116,37 @@ endef
define Build/Clean
$(MAKE) -C $(PKG_BUILD_DIR) clean
endef
endif
define Package/ice-client/preinst
#!/bin/sh
echo "backup current config"
cp /etc/iopsys/server.ini /tmp/iopsysserver.ini
cp /etc/config/ice /tmp/ice.back
if [ -f "/etc/iopsys/server.ini" ]; then
cp /etc/iopsys/server.ini /tmp/iopsysserver.ini
fi
if [ -f "/etc/config/ice" ]; then
cp /etc/config/ice /tmp/ice.back
fi
exit 0
endef
ifeq ($(CONFIG_ICE_OPEN),y)
define Package/ice-client/install
$(INSTALL_DIR) $(1)/bin
$(INSTALL_DIR) $(1)/etc
$(INSTALL_DIR) $(1)/usr
$(CP) $(PKG_BUILD_DIR)/bin/* $(1)/bin/
$(CP) $(PKG_BUILD_DIR)/etc/* $(1)/etc/
$(CP) $(PKG_BUILD_DIR)/usr/* $(1)/usr/
endef
else
define Package/ice-client/install
$(INSTALL_DIR) $(1)/bin
$(CP) $(PKG_BUILD_DIR)/core/ice $(1)/bin
$(CP) $(PKG_BUILD_DIR)/modules/system/ubusevent/obj/iopsys/ubusevent $(1)/bin
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/core/lib/{systemService.so.1.0.1,libconfStore.so.1,networkService.so.1.0.1,packageService.so.1.0.1,monitorService.so.1.0.1,iperfService.so.1.0.1,logService.so.1.0.1} $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/core/lib/{systemService.so.1.0.1,libconfStore.so.1,networkService.so.1.0.1,packageService.so.1.0.1,monitorService.so.1.0.1,iperfService.so.1.0.1,logService.so.1.0.1,texecService.so.1.0.1,webaccessService.so.1.0.1} $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/lib/wsice/obj/iopsys/libwsice.so $(1)/usr/lib
$(INSTALL_DIR) $(1)/bin/ifs/iperf/execute
$(INSTALL_DIR) $(1)/bin/ifs/iperf/progress
$(INSTALL_DIR) $(1)/bin/ifs/iperf/result
@@ -123,7 +161,10 @@ define Package/ice-client/install
$(CP) $(PKG_BUILD_DIR)/scripts/inteno_root_ca.pem $(1)/etc/iopsys/certificates
$(INSTALL_DIR) $(1)/etc/init.d
$(CP) $(PKG_BUILD_DIR)/scripts/ice-client $(1)/etc/init.d/ice-client
$(INSTALL_DIR) $(1)/etc/uci-defaults/
$(CP) ./files/ice-client.uci_default $(1)/etc/uci-defaults/95-ice-client
endef
endif
define Package/ice-client/postinst
#!/bin/sh
@@ -132,14 +173,14 @@ cp /tmp/iopsysserver.ini /etc/iopsys/server.ini
rm -f /tmp/iopsysserver.ini
cp /tmp/ice.back /etc/config/ice
rm -f /tmp/ice.back
if [ -f "/etc/rc.d/S99ice-client" ]; then
/etc/init.d/ice-client start
if [ -f "/etc/rc.d/S98ice-client" ]; then
/etc/init.d/ice-client restart
fi
exit 0
endef
# Additional modules
ifneq ($(CONFIG_ICE_OPEN),y)
# Camerawatch
define Package/ice-client-camerawatch
$(call Package/ice-client/Default)
@@ -452,7 +493,7 @@ endef
define Package/ice-client-fileme
$(call Package/ice-client/Default)
TITLE:=FileMe
DEPENDS+= +lighttpd +samba2-client
DEPENDS+= +lighttpd +lighttpd-mod-webdav +lighttpd-mod-setenv +lighttpd-mod-userdir +samba2-client +samba2-common +libpcre +libltdl +libxml2
endef
define Package/ice-client-fileme/description
@@ -853,11 +894,137 @@ fi
exit 0
endef
# texec
define Package/ice-client-texec
$(call Package/ice-client/Default)
TITLE:=texec
DEPENDS+=
endef
define Package/ice-client-texec/description
remote script execution module for ice-client
endef
define Package/ice-client-texec/prerm
#!/bin/sh
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
PROC_ID=$$(cat /tmp/ice.pid)
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
if [ -n "$$PROC_EXISTS" ]; then
read -t 1 <>/tmp/cfout
echo "system moduleRemove topic=tExecMgr" > /tmp/cfin
fi
exit 0
endef
define Package/ice-client-texec/preinst
#!/bin/sh
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
PROC_ID=$$(cat /tmp/ice.pid)
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
if [ -n "$$PROC_EXISTS" ]; then
read -t 1 <>/tmp/cfout
echo "system moduleRemove topic=tExecMgr" > /tmp/cfin
fi
exit 0
endef
define Package/ice-client-texec/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/core/lib/texecService.so.1.0.1 $(1)/usr/lib
endef
define Package/ice-client-texec/postinst
#!/bin/sh
read -t 1 <>/tmp/cfout
if [ -f /tmp/ice.pid ]; then
echo "system moduleAdd file=texecService.so.1.0.1" package="ice-client-texec" > /tmp/cfin
fi
exit 0
endef
# webaccess
define Package/ice-client-webaccess
$(call Package/ice-client/Default)
TITLE:=webaccess
DEPENDS+=
endef
define Package/ice-client-webaccess/description
remote script execution module for ice-client
endef
define Package/ice-client-webaccess/prerm
#!/bin/sh
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
PROC_ID=$$(cat /tmp/ice.pid)
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
if [ -n "$$PROC_EXISTS" ]; then
read -t 1 <>/tmp/cfout
echo "system moduleRemove topic=webAccess" > /tmp/cfin
fi
exit 0
endef
define Package/ice-client-webaccess/preinst
#!/bin/sh
if [ ! -f "/tmp/ice.pid" ] ; then exit 0 ; fi
PROC_ID=$$(cat /tmp/ice.pid)
PROC_EXISTS=$$(/usr/bin/pgrep -P $${PROC_ID})
if [ -n "$$PROC_EXISTS" ]; then
read -t 1 <>/tmp/cfout
echo "system moduleRemove topic=webAccess" > /tmp/cfin
fi
exit 0
endef
define Package/ice-client-webaccess/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/core/lib/webaccessService.so.1.0.1 $(1)/usr/lib
endef
define Package/ice-client-webaccess/postinst
#!/bin/sh
read -t 1 <>/tmp/cfout
if [ -f /tmp/ice.pid ]; then
echo "system moduleAdd file=webaccessService.so.1.0.1" package="ice-client-webaccess" > /tmp/cfin
fi
exit 0
endef
# bmspeedtest
define Package/ice-client-bcmspeedmgr
$(call Package/ice-client/Default)
TITLE:=bcmspeedmgr
DEPENDS+=
endef
define Package/ice-client-bcmspeedmgr/description
bcmspeedmgr module for ice-client
endef
define Package/ice-client-bcmspeedmgr/install
$(INSTALL_DIR) $(1)/bin
$(CP) $(PKG_BUILD_DIR)/daemons/bcmspeedmgr/obj/iopsys/bcmspeedmgr $(1)/bin
$(CP) $(PKG_BUILD_DIR)/daemons/bcmspeedmgr/obj/iopsys/speedsvc $(1)/bin
$(INSTALL_DIR) $(1)/etc/init.d
$(CP) $(PKG_BUILD_DIR)/platforms/iopsys/bcmspeedtestservice $(1)/etc/init.d/bcmspeedtestservice
endef
define Package/ice-client-bcmspeedmgr/postinst
#!/bin/sh
/etc/init.d/bcmspeedtestservice stop
/etc/init.d/bcmspeedtestservice start
exit 0
endef
endif
# This line executes the necessary commands to compile our program.
# The above define directives specify all the information needed, but this
# line calls BuildPackage which in turn actually uses this information to
# build a package.
$(eval $(call BuildPackage,ice-client))
ifneq ($(CONFIG_ICE_OPEN),y)
$(eval $(call BuildPackage,ice-client-guest))
$(eval $(call BuildPackage,ice-client-camerawatch))
$(eval $(call BuildPackage,ice-client-openvpn))
@@ -872,3 +1039,7 @@ $(eval $(call BuildPackage,ice-client-rework))
$(eval $(call BuildPackage,ice-client-sip))
$(eval $(call BuildPackage,ice-client-monitor))
$(eval $(call BuildPackage,ice-client-gigaset))
$(eval $(call BuildPackage,ice-client-texec))
$(eval $(call BuildPackage,ice-client-bcmspeedmgr))
$(eval $(call BuildPackage,ice-client-webaccess))
endif

View File

@@ -0,0 +1,63 @@
#!/bin/sh
grep -rq "^ice:" /etc/passwd || {
local password="$(db get hw.board.wpaKey)"
if [ -n "$password" ]; then
adduser -D -H -s /bin/false ice
(echo $password; sleep 1; echo $password) | passwd ice >/dev/null 2>&1
fi
}
uci show rpcd | grep username=.*ice.* >/dev/null || {
cat >> /etc/config/rpcd << EOF
config login
option username 'ice'
option password '\$p\$ice'
list _access_r 'none'
list write 'user-user'
list write 'juci-broadcom-dsl'
list write 'juci-broadcom-dsl-admin'
list write 'juci-broadcom-ethernet'
list write 'juci-broadcom-iptv'
list write 'juci-broadcom-vlan'
list write 'juci-broadcom-vlan-admin'
list write 'juci-broadcom-wl'
list write 'juci-broadcom-wl-admin'
list write 'juci-catv'
list write 'juci-ddns'
list write 'juci-diagnostics'
list write 'juci-dnsmasq-dhcp'
list write 'juci-dropbear'
list write 'juci-ethernet'
list write 'juci-event'
list write 'juci-firewall-fw3'
list write 'juci-iconnect'
list write 'juci-igmpinfo'
list write 'juci-inteno-backup'
list write 'juci-inteno-multiwan'
list write 'juci-inteno-provisioning'
list write 'juci-inteno-qos'
list write 'juci-inteno-voice-client'
list write 'juci-minidlna'
list write 'juci-mod-status'
list write 'juci-mod-system'
list write 'juci-natalie-dect'
list write 'juci-netmode'
list write 'juci-network-netifd'
list write 'juci-owsd'
list write 'juci-printer'
list write 'juci-samba'
list write 'juci-sfp'
list write 'juci-snmpd'
list write 'juci-sysupgrade'
list write 'juci-uhttpd'
list write 'juci-upnp'
list write 'juci-usb'
list write 'core'
list write 'unauthenticated'
EOF
}
exit 0

46
icgroupd/Makefile Normal file
View File

@@ -0,0 +1,46 @@
#
# Copyright (C) 2016 Inteno Broadband AB
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=icgroupd
PKG_VERSION:=1.0
PKG_RELEASE:=0
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=
PKG_MAINTAINER:=Inteno Broadband AB
include $(INCLUDE_DIR)/package.mk
define Package/icgroupd
SECTION:=base
CATEGORY:=Base system
TITLE:=Inteno cgroup daemon
DEPENDS:=+uci +busybox
endef
define Package/icgroupd/description
This package contains Intenos cgroup daemon and associated
configuration and startup scripts.
endef
define Build/Compile
true
endef
define Package/icgroupd/install
$(INSTALL_DIR) $(1)/sbin $(1)/etc/init.d $(1)/etc/config
$(INSTALL_CONF) ./files/cgroups.config $(1)/etc/config/cgroups
$(INSTALL_BIN) ./files/cgroups.init $(1)/etc/init.d/cgroups
$(INSTALL_BIN) ./files/cgroupd $(1)/sbin/
endef
$(eval $(call BuildPackage,icgroupd))

76
icgroupd/files/cgroupd Executable file
View File

@@ -0,0 +1,76 @@
#!/bin/sh
CGBASEDIR=$1
CGCONFIG=$2
[ -n "$CGBASEDIR" -a -n "$CGCONFIG" ] || exit 1
[ -r /lib/functions.sh ] || exit 1
. /lib/functions.sh
CGPROCMAP=/tmp/cgprocmap
CGPERIOD=3s
DBGLOG=/tmp/cgroupd.log
DEBUG=0
add_to_procmap () {
local name_grp=$1
local name grp
name=$(echo $name_grp |awk -F= '{print $1}')
grp=$(echo $name_grp |awk -F= '{print $2}')
echo "($name) $grp" >> $CGPROCMAP
}
# Read configuration file and create process:group look-up table
# in /tmp file
read_config () {
local enab
config_load $CGCONFIG
config_get enab cgroups enabled "1"
[ $enab -eq 0 ] && exit 1
config_get CGDEFGROUP cgroups defgroup "_undef_"
[ "$CGDEFGROUP" == "_undef_" ] && exit 1
[ "$DEBUG" == "1" ] && echo "default $CGDEFGROUP" >> $DBGLOG
echo -n '' > $CGPROCMAP
config_list_foreach procmap procmap add_to_procmap
[ "$DEBUG" == "1" ] && cat $CGPROCMAP >> $DBGLOG
}
# Move all process except init from cgroup root to cgroups according
# to /tmp look-up table
move_wild_procs () {
local wild_procs=$(cat $CGBASEDIR/cgroup.procs)
local pid name grp
for pid in $wild_procs; do
[ $pid -eq 1 ] && continue
if [ -d /proc/$pid ]; then
name=$(awk '{print $2}' /proc/$pid/stat)
grp=$(awk "\$1==\"$name\" {print \$2}" $CGPROCMAP)
[ "$grp" == "." ] && continue
[ -n "$grp" ] || grp=$CGDEFGROUP
[ "$DEBUG" == "1" ] && \
echo "Moving proc $pid $name to $grp" >> $DBGLOG
echo $pid > $CGBASEDIR/$grp/cgroup.procs
fi
done
}
[ "$DEBUG" == "1" ] && echo "$0 started $(date)" >> $DBGLOG
read_config
while true; do
move_wild_procs
sleep $CGPERIOD
done

View File

@@ -0,0 +1,48 @@
config cgroups cgroups
option enabled 1
option defgroup iopsys/normal
config cgroup _root_
# list option cpu.rt_runtime_us=50000
list option memory.move_charge_at_immigrate=1
config cgroup iopsys
list option cpu.shares=4096
# list option cpu.rt_runtime_us=40000
list option memory.limit_in_bytes=-1
list option memory.move_charge_at_immigrate=1
config cgroup iopsys_normal
list option cpu.shares=1024
# list option cpu.rt_runtime_us=10000
list option memory.limit_in_bytes=-1
list option memory.move_charge_at_immigrate=1
config cgroup iopsys_high
list option cpu.shares=4096
# list option cpu.rt_runtime_us=30000
list option memory.limit_in_bytes=-1
list option memory.move_charge_at_immigrate=1
config cgroup 3prt
list option cpu.shares=1024
# list option cpu.rt_runtime_us=10000
list option memory.limit_in_bytes=75M
list option memory.move_charge_at_immigrate=1
config cgroup 3prt_normal
list option cpu.shares=1024
# list option cpu.rt_runtime_us=2500
list option memory.limit_in_bytes=75M
list option memory.move_charge_at_immigrate=1
config cgroup 3prt_high
list option cpu.shares=4096
# list option cpu.rt_runtime_us=7500
list option memory.limit_in_bytes=75M
list option memory.move_charge_at_immigrate=1
config procmap procmap
list procmap kthreadd=.
list procmap minidlna=3prt/normal

93
icgroupd/files/cgroups.init Executable file
View File

@@ -0,0 +1,93 @@
#!/bin/sh /etc/rc.common
START=01
USE_PROCD=1
PROCD_DEBUG=1
NAME=cgroupd
CGBASEDIR=/sys/fs/cgroup
CGCONFIG="cgroups"
DBGLOG=/tmp/cginit.log
DEBUG=0
cgroupinit_set_knob_value () {
local knob_val=$1
local dir=$2
local knob val
knob=$(echo $knob_val |awk -F= '{print $1}')
val=$(echo $knob_val |awk -F= '{print $2}')
/bin/echo $val > $CGBASEDIR/$dir/$knob
[ "$DEBUG" == "1" ] && \
echo "/bin/echo $val > $CGBASEDIR/$dir/$knob (ret=$?)" >> $DBGLOG
}
cgroupinit_create_group () {
local cgrp=$1
local dir
[ "$DEBUG" == "1" ] && echo "Create group $cgrp:" >> $DBGLOG
if [ "$cgrp" == "_root_" ]; then
dir=.
else
dir=$(echo $cgrp |tr '_' '/')
if [ ! -d $CGBASEDIR/$dir ]; then
mkdir $CGBASEDIR/$dir
[ "$DEBUG" == "1" ] && \
echo "mkdir $CGBASEDIR/$dir (ret=$?)" >> $DBGLOG
fi
fi
config_list_foreach $cgrp option cgroupinit_set_knob_value $dir
}
cgroupinit_configure_cgroups () {
local enab defgrp
[ "$DEBUG" == "1" ] && echo "$0 started $(date)" >> $DBGLOG
config_load $CGCONFIG
config_get enab cgroups enabled "1"
[ $enab -eq 0 ] && return 1
config_get defgrp cgroups defgroup "_undef_"
[ "$defgrp" == "_undef_" ] && return 1
if ! grep -q " $CGBASEDIR cgroup " /proc/mounts; then
mount -t cgroup -o nodev,noexec,nosuid cgroup $CGBASEDIR
[ $? -eq 0 ] || return 1
fi
config_foreach cgroupinit_create_group cgroup
return 0
}
start_service () {
cgroupinit_configure_cgroups
[ $? -eq 0 ] || return
procd_open_instance
procd_set_param command /sbin/cgroupd $CGBASEDIR $CGCONFIG
procd_set_param respawn
procd_close_instance
}
stop_service () {
local cgdir procs prc
for cgdir in $(find $CGBASEDIR -type d -mindepth 1 -depth); do
procs=$(cat $cgdir/cgroup.procs)
for prc in $procs; do
echo $prc > $CGBASEDIR/cgroup.procs
done
rmdir $cgdir
done
}
service_triggers() {
procd_add_reload_trigger $CGCONFIG
}

View File

@@ -15,10 +15,31 @@ config CWMP_ACS_HDM
bool "HDM"
endchoice
choice
prompt "Select Data Model"
default tr098
config DATAMODEL_TR098
bool "TR-098"
config DATAMODEL_TR181
bool "TR-181"
endchoice
config CWMP_DEBUG
bool "Compile with debug options"
default y
choice
prompt "enable xmpp feature"
default disable
config XMPP_DISABLE
bool "disable"
config XMPP_ENABLE
bool "enable"
endchoice
config CWMP_DEVEL_DEBUG
bool "Compile with development debug options"
default n

18
icwmp/Makefile Normal file → Executable file
View File

@@ -8,15 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=icwmp
PKG_VERSION:=3.0-2015-11-10
PKG_VERSION:=3.0-2016-10-10
PKG_FIXUP:=autoreconf
ifeq ($(CONFIG_BCM_OPEN),y)
PKG_SOURCE_URL:=http://ihgsp.inteno.se/git/freecwmp.git
else
PKG_SOURCE_URL:=ssh://git@iopsys.inteno.se/freecwmp.git
endif
PKG_SOURCE_URL:=http://public.inteno.se:/icwmp.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=8d34c241548a21b6462df5d16906824685fe916c
PKG_SOURCE_VERSION:=f4a4cd45e616e58c1b5beb98e6d0d6800a8ce4a3
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
@@ -38,7 +34,7 @@ define Package/icwmp/Default
SECTION:=utils
CATEGORY:=Utilities
TITLE:=CWMP client
DEPENDS:=+libuci +libmicroxml +libubox +jshn +libubus +libblobmsg-json +libpthread +ubusd +shflags +getopt
DEPENDS:=+libuci +libmicroxml +libubox +jshn +libubus +libblobmsg-json +libpthread +ubusd +shflags +getopt +zlib +libjson-c +libopenssl +libexpat +libstrophe +curl
endef
define Package/icwmp/description
@@ -72,7 +68,7 @@ endif
TARGET_CFLAGS += \
-D_GNU_SOURCE -D_AADJ
ifneq ($(CWMP_REVISION)_,_)
ifneq ($(CWMP_REVISION),exported)
ifneq ($(CWMP_REVISION),Unversioned directory)
@@ -90,6 +86,9 @@ CONFIGURE_ARGS += \
--with-libubox-include-path=$(STAGING_DIR)/usr/include \
--with-libubus-include-path=$(STAGING_DIR)/usr/include
CONFIGURE_ARGS += $(if $(CONFIG_DATAMODEL_TR181),--enable-datamodel=tr181,--enable-datamodel=tr098)
CONFIGURE_ARGS += $(if $(CONFIG_XMPP_ENABLE),--enable-xmpp=enable,--enable-xmpp=disable)
ifeq ($(BUILD_VARIANT),zstream)
CONFIGURE_ARGS += \
--enable-http=zstream \
@@ -140,7 +139,6 @@ ifeq ($(CONFIG_CWMP_SCRIPTS_FULL),y)
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/scripts/icwmp.sh $(1)/usr/sbin/icwmp
$(INSTALL_BIN) $(PKG_BUILD_DIR)/scripts/iwepkeygen $(1)/usr/sbin/iwepkeygen
$(INSTALL_BIN) $(PKG_BUILD_DIR)/scripts/watchicwmpd.sh $(1)/usr/sbin/watchicwmpd
endif
endef

57
inotify-tools/Makefile Normal file
View File

@@ -0,0 +1,57 @@
#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=inotify-tools
PKG_VERSION:=3.14
PKG_RELEASE:=1
PKG_SOURCE_VERSION:=1df9af4d6cd0f4af4b1b19254bcf056aed4ae395
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/rvoicilas/inotify-tools.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
# support parallel build
PKG_BUILD_PARALLEL:=1
#re create configure scripts if not present.
PKG_FIXUP:=autoreconf
# run install target when cross compiling. basically, make install DESTDIR=$(PKG_INSTALL_DIR)
# this way we don't need to pick out the resulting files from the build dir.
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/inotify-tools
CATEGORY:=Utilities
TITLE:=Tools to trace filesystem events.
URL:=
endef
define Package/inotify-tools/description
Tools to trace filesystem events.
endef
define Package/inotify-tools/install
$(INSTALL_DIR) $(1)/usr
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_DIR) $(1)/usr/lib/
$(CP) ./files/* $(1)/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libinotifytools.so.0.4.1 $(1)/usr/lib/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libinotifytools.so.0 $(1)/usr/lib/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libinotifytools.so $(1)/usr/lib/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/inotifywait $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/inotifywatch $(1)/usr/bin/
endef
$(eval $(call BuildPackage,inotify-tools))

View File

@@ -0,0 +1,13 @@
#! /bin/sh
# is the real root mounted ?
if [ ! -f /tmp/inotify_real_root/etc/preinit ]
then
ubivol=$( cat /proc/cmdline | sed -e "s/.*root=\(ubi:rootfs_.\).*/\1/" )
mkdir /tmp/inotify_real_root
mount -t ubifs $ubivol /tmp/inotify_real_root
fi
inotifywait -r -m -e modify -e create -e attrib -e delete -e move /tmp/inotify_real_root

View File

@@ -1,52 +0,0 @@
#
# Copyright (C) 2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=inteno-configs
PKG_VERSION:=1.0
PKG_SOURCE_URL:=git@iopsys.inteno.se:inteno-configs.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=e6836dbc3dde40eba661b3c37d5f5d0cc6f2e5d0
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
######################################
define NewConfig
define Package/$(1)/install
$(INSTALL_DIR) $$(1)/etc/config
$(INSTALL_DIR) $$(1)/etc/uci-defaults
$(CP) $(PKG_BUILD_DIR)/$(1)/etc/config/* $$(1)/etc/config/ | true
$(CP) $(PKG_BUILD_DIR)/$(1)/etc/uci-defaults/* $$(1)/etc/uci-defaults | true
endef
define Package/$(1)
SECTION:=configs
CATEGORY:=Configurations
TITLE:=$(1)
endef
endef
define AddConfig
$(eval $(call NewConfig,$(1)))
$(eval $(call BuildPackage,$(1)))
endef
######################################
$(eval $(call AddConfig,conf-common-inteno))
$(eval $(call AddConfig,conf-caiman-inteno))

34
inteno-netmodes/Makefile Normal file
View File

@@ -0,0 +1,34 @@
#
# Copyright (C) 2016 Inteno
#
include $(TOPDIR)/rules.mk
PKG_NAME:=inteno-netmodes
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/inteno-netmodes
CATEGORY:=Base system
TITLE:=Predefined Network Modes
endef
define Package/inteno-netmodes/description
Predefined Network Modes
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./files/* $(PKG_BUILD_DIR)/
endef
define Build/Compile
endef
define Package/inteno-netmodes/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,inteno-netmodes))

View File

@@ -0,0 +1,5 @@
config mode 'setup'
option dir '/etc/netmodes'
option detail ''
option curmode 'routed'

View File

@@ -0,0 +1,167 @@
#!/bin/sh /etc/rc.common
START=10
USE_PROCD=1
. /usr/share/libubox/jshn.sh
. /lib/network/config.sh
local modedir=$(uci -q get netmode.setup.dir)
[ -n "$modedir" ] || modedir="/etc/netmodes"
get_device() {
local PORT_NAMES=$(db get hw.board.ethernetPortNames)
local PORT_ORDER=$(db get hw.board.ethernetPortOrder)
local cnt=1
local idx=0
local pnum=$(echo $PORT_NAMES | wc -w)
if [ $pnum -le 2 ]; then
PORT_NAMES=$(echo $PORT_NAMES | sed 's/LAN/LAN1/g')
fi
# get index of interface name
for i in $PORT_NAMES; do
if [ "$i" == "$1" ]; then
idx=$cnt
fi
cnt=$((cnt+1))
done
# get port name from index
cnt=1
for i in $PORT_ORDER; do
if [ "$cnt" == "$idx" ]; then
echo $i
fi
cnt=$((cnt+1))
done
}
populate_netmodes() {
[ -f /etc/config/netmode -a -d $modedir ] || return
delete_netmode() {
uci delete netmode.$1
}
config_load netmode
config_foreach delete_netmode netmode
uci commit netmode
wan=$(get_device WAN)
lan1=$(get_device LAN1)
lan2=$(get_device LAN2)
lan3=$(get_device LAN3)
lan4=$(get_device LAN4)
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
done
local hardware=$(db get hw.board.hardware)
local keys lang desc exp exclude
for mode in $(ls $modedir); do
lang=""
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
exclude=0
_i=1
while json_get_var board $_i; do
if [ "$board" == "$hardware" ]; then
uci -q delete netmode.$mode
exclude=1
break
fi
_i=$((_i+1))
done
json_select ..
[ $exclude -eq 1 ] && continue
fi
if json_select acl; then
_i=1
while json_get_var user $_i; do
uci add_list netmode.$mode._access_r="$user"
_i=$((_i+1))
done
json_select ..
fi
json_select description
json_get_keys keys
for k in $keys; do
json_get_keys lang $k
lang=$(echo $lang | sed 's/^[ \t]*//;s/[ \t]*$//')
json_select $k
json_get_var desc $lang
uci -q set netmode.$mode."desc_$lang"="$desc"
[ "$lang" == "en" ] && uci -q set netmode.$mode."desc"="$desc"
json_select ..
done
json_select ..
json_select explanation
json_get_keys keys
for k in $keys; do
json_get_keys lang $k
lang=$(echo $lang | sed 's/^[ \t]*//;s/[ \t]*$//')
json_select $k
json_get_var exp $lang
uci -q set netmode.$mode."exp_$lang"="$exp"
[ "$lang" == "en" ] && uci -q set netmode.$mode."exp"="$exp"
json_select ..
done
json_select ..
json_get_var cred credentials
uci -q set netmode.$mode.askcred="$cred"
json_get_var reboot reboot
uci -q set netmode.$mode.reboot="$reboot"
done
uci commit netmode
}
switch_netmode() {
[ -f /etc/config/netmode -a -d $modedir ] || return
config_load netmode
config_get curmode setup curmode
config_get conf $curmode conf
cp /etc/netmodes/$conf/* /etc/config/
rm -f /etc/config/DETAILS
sync
local reboot=$(uci -q get netmode.$curmode.reboot)
if [ "$reboot" == "0" ]; then
/etc/init.d/enviroment reload
else
reboot &
fi
}
start_service() {
populate_netmodes
}
reload_service() {
switch_netmode
}
service_triggers()
{
procd_add_reload_trigger netmode
}

View File

@@ -0,0 +1,20 @@
{
"description": [
{ "en" : "Bridged IPTV" },
{ "sv" : "Brygg IPTV" }
],
"explanation": [
{ "en" : "LAN4 port is bridged with IPTV VLAN" },
{ "sv" : "LAN4 port överbryggas med IPTV VLAN" }
],
"credentials" : 0,
"excluded_boards" : [
"CG300",
"CG301"
],
"acl" : [
"admin",
"support"
]
}

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

@@ -0,0 +1,114 @@
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 lan
list network 'lan'
option input ACCEPT
option output ACCEPT
option forward ACCEPT
config zone
option name wan
list network 'wan'
list network 'wan6'
list network 'iptv'
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
option name Allow-DHCP-Renew
option src wan
option proto udp
option dest_port 68
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,23 @@
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'
config atm_bridge
option link_type 'EoA'
option encapseoa 'llcsnap_eth'
option unit '1'
option ifname 'atm1.1'
option baseifname 'atm1'
option atmtype 'ubr'
option name 'atm_tv'
option vpi '8'
option vci '45'

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,18 @@
config 'vlan_interface'
option name 'eth_tv'
option ifname '$WAN.100'
option baseifname '$WAN'
option vlan8021q '100'
option vlan8021p '0'
option bridge '1'
config 'vlan_interface'
option name 'vdsl_tv'
option ifname 'ptm0.100'
option baseifname 'ptm0'
option vlan8021q '100'
option vlan8021p '0'
option bridge '1'

View File

@@ -0,0 +1,18 @@
config mcpd 'mcpd'
option igmp_query_response_interval '10'
option igmp_last_member_query_interval '10'
option igmp_robustness_value '2'
option igmp_lan_to_lan_multicast '0'
option igmp_max_groups '25'
option igmp_max_sources '10'
option igmp_max_members '25'
option igmp_fast_leave '1'
option igmp_join_immediate '0'
option igmp_proxy_enable '0'
option igmp_snooping_enable '2'
option igmp_snooping_interfaces 'br-iptv'
option igmp_default_version '2'
option igmp_query_interval '120'
option igmp_proxy_interfaces 'iptv'

View File

@@ -0,0 +1,37 @@
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'
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 'iptv'
option type 'bridge'
option proto 'dhcp'
option gateway '0.0.0.0'
option reqopts 'staticroutes'
option ifname 'ptm0.100 atm1.1 $WAN.100 $LAN4'
option defaultroute '0'
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

@@ -0,0 +1,20 @@
{
"description": [
{ "en" : "VoIP + Bridged IPTV" },
{ "sv" : "VoIP + Brygg IPTV" }
],
"explanation": [
{ "en" : "VoIP on dedicated VLAN + LAN4 port is bridged with IPTV VLAN" },
{ "sv" : "VoIP on dedicated VLAN + LAN4 port överbryggas med IPTV VLAN" }
],
"credentials" : 0,
"excluded_boards" : [
"CG300",
"CG301"
],
"acl" : [
"admin",
"support"
]
}

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

@@ -0,0 +1,114 @@
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 lan
list network 'lan'
option input ACCEPT
option output ACCEPT
option forward ACCEPT
config zone
option name wan
list network 'wan'
list network 'wan6'
list network 'iptv'
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
option name Allow-DHCP-Renew
option src wan
option proto udp
option dest_port 68
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,34 @@
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'
config atm_bridge
option link_type 'EoA'
option encapseoa 'llcsnap_eth'
option unit '1'
option ifname 'atm1.1'
option baseifname 'atm1'
option atmtype 'ubr'
option name 'atm_tv'
option vpi '8'
option vci '45'
config atm_bridge
option link_type 'EoA'
option encapseoa 'llcsnap_eth'
option unit '1'
option ifname 'atm2.1'
option baseifname 'atm2'
option atmtype 'ubr'
option name 'atm_voip'
option vpi '8'
option vci '55'

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,32 @@
config 'vlan_interface'
option name 'eth_tv'
option ifname '$WAN.100'
option baseifname '$WAN'
option vlan8021q '100'
option vlan8021p '0'
option bridge '1'
config 'vlan_interface'
option name 'eth_voip'
option ifname '$WAN.200'
option baseifname '$WAN'
option vlan8021q '200'
option vlan8021p '0'
config 'vlan_interface'
option name 'vdsl_tv'
option ifname 'ptm0.100'
option baseifname 'ptm0'
option vlan8021q '100'
option vlan8021p '0'
option bridge '1'
config 'vlan_interface'
option name 'vdsl_voip'
option ifname 'ptm0.200'
option baseifname 'ptm0'
option vlan8021q '200'
option vlan8021p '0'

View File

@@ -0,0 +1,18 @@
config mcpd 'mcpd'
option igmp_query_response_interval '10'
option igmp_last_member_query_interval '10'
option igmp_robustness_value '2'
option igmp_lan_to_lan_multicast '0'
option igmp_max_groups '25'
option igmp_max_sources '10'
option igmp_max_members '25'
option igmp_fast_leave '1'
option igmp_join_immediate '0'
option igmp_proxy_enable '0'
option igmp_snooping_enable '2'
option igmp_snooping_interfaces 'br-iptv'
option igmp_default_version '2'
option igmp_query_interval '120'
option igmp_proxy_interfaces 'iptv'

View File

@@ -0,0 +1,45 @@
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'
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 'iptv'
option type 'bridge'
option proto 'dhcp'
option gateway '0.0.0.0'
option reqopts 'staticroutes'
option ifname 'ptm0.100 atm1.1 $WAN.100 $LAN4'
option defaultroute '0'
config interface 'voip'
option type 'anywan'
option proto 'dhcp'
option gateway '0.0.0.0'
option reqopts 'staticroutes'
option ifname 'ptm0.200 atm2.1 $WAN.200'
option defaultroute '0'
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

@@ -0,0 +1,13 @@
{
"description": [
{ "en" : "Wireless Repeater" },
{ "sv" : "Trådlös Repeater" }
],
"explanation": [
{ "en" : "Your router is going to act as a wired extender or wireless repeater to the selected Wireless Access Point." },
{ "sv" : "Routern kommer att fungera som en trådbunden extender eller trådlös repeater till den valda trådlösa åtkomstpunkten." }
],
"credentials" : 1,
"reboot" : 0
}

View File

@@ -0,0 +1,121 @@
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 lan
list network 'lan'
option input ACCEPT
option output ACCEPT
option forward ACCEPT
config zone
option name wan
list network 'wan'
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
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,6 @@
config ethernet_interface 'Wan'
option baseifname '$WAN'
option ifname '$WAN.1'
option name 'WAN'
option bridge '1'

View File

@@ -0,0 +1,24 @@
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 vendorid 'Inteno_Repeater_$MAC4'
option hostname 'Inteno_Repeater_$MAC4'
option ifname '$WAN.1'
option reqopts '43'
config interface 'lan'
option is_lan '1'
option type 'bridge'
option proto 'static'
option ifname '$LAN1 $LAN2 $LAN3 $LAN4'
option ipaddr '192.168.11.1'
option netmask '255.255.255.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,33 @@
config uhttpd 'main'
list listen_http '0.0.0.0:80'
list listen_http '[::]:80'
list listen_http '0.0.0.0:8080'
list listen_http '[::]:8080'
list listen_http '0.0.0.0:8181'
list listen_http '[::]:8181'
list listen_https '0.0.0.0:443'
list listen_https '[::]:443'
option redirect_https '1'
option home '/www'
option rfc1918_filter '1'
option max_requests '3'
option max_connections '100'
option cert '/etc/uhttpd.crt'
option key '/etc/uhttpd.key'
option cgi_prefix '/cgi-bin'
option script_timeout '60'
option network_timeout '30'
option http_keepalive '20'
option tcp_keepalive '1'
option ubus_prefix '/ubus'
config cert 'px5g'
option days '730'
option bits '1024'
option country 'ZZ'
option state 'Somewhere'
option location 'Uknown'
option commonname 'OpenWrt'
config logopts 'logopts'

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 '20'
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

@@ -0,0 +1,12 @@
{
"description": [
{ "en" : "Fully Routed (NAT)" },
{ "sv" : "Fullt Omdirigerad (NAT)" }
],
"explanation": [
{ "en" : "" },
{ "sv" : "" }
],
"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

@@ -0,0 +1,153 @@
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 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
option name Allow-DHCP-Renew
option src wan
option proto udp
option dest_port 68
option target ACCEPT
option family ipv4
# 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
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
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
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
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
# 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
# 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 prioritizing some specific packets
config include
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,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,14 @@
config mcpd 'mcpd'
option igmp_proxy_interfaces 'wan'
option igmp_default_version '2'
option igmp_query_interval '125'
option igmp_query_response_interval '100'
option igmp_last_member_query_interval '10'
option igmp_robustness_value '2'
option igmp_max_groups '25'
option igmp_max_sources '10'
option igmp_max_members '25'
option igmp_fast_leave '1'
option igmp_proxy_enable '1'
option igmp_snooping_enable '2'
option igmp_snooping_interfaces 'br-lan'

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'

34
iop/Makefile Normal file
View File

@@ -0,0 +1,34 @@
#
# Copyright (C) 2006-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=iop
PKG_VERSION:=1.0
PKG_RELEASE:=0
include $(INCLUDE_DIR)/package.mk
define Package/iop
SECTION:=net
CATEGORY:=Network
TITLE:=iop utilities
endef
define Package/iop/description
This package contains Intenos Iop utilities
endef
define Build/Compile
true
endef
define Package/iop/install
true
endef
$(eval $(call BuildPackage,iop))

197
iop/configs/config Normal file
View File

@@ -0,0 +1,197 @@
CONFIG_BUILD_NLS=y
CONFIG_BUSYBOX_CUSTOM=y
CONFIG_CCACHE=y
CONFIG_DEBUG=y
CONFIG_DEVEL=y
CONFIG_LOCALMIRROR="http://mirror.inteno.se/mirror"
CONFIG_PACKAGE_6in4=y
CONFIG_PACKAGE_6rd=y
CONFIG_PACKAGE_6to4=y
CONFIG_PACKAGE_6tunnel=y
CONFIG_PACKAGE_alsa-lib=y
CONFIG_PACKAGE_bind-host=y
CONFIG_PACKAGE_chat=y
CONFIG_PACKAGE_comgt=y
CONFIG_PACKAGE_comgt-directip=y
CONFIG_PACKAGE_comgt-ncm=y
CONFIG_PACKAGE_crashlog=y
CONFIG_PACKAGE_ddns-scripts=y
CONFIG_PACKAGE_ds-lite=y
CONFIG_PACKAGE_gdb=m
CONFIG_PACKAGE_gdbserver=m
CONFIG_PACKAGE_getopt=y
CONFIG_PACKAGE_glib2=y
CONFIG_PACKAGE_ice-client=y
CONFIG_PACKAGE_ice-client-camerawatch=m
CONFIG_PACKAGE_ice-client-fileme=m
CONFIG_PACKAGE_ice-client-gigaset=m
CONFIG_PACKAGE_ice-client-guest=m
CONFIG_PACKAGE_ice-client-iperf=m
CONFIG_PACKAGE_ice-client-logreader=m
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
CONFIG_PACKAGE_iptables=y
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
CONFIG_PACKAGE_iptables-mod-filter=y
CONFIG_PACKAGE_iptables-mod-ipopt=y
CONFIG_PACKAGE_iup=y
CONFIG_PACKAGE_iwatchdog=y
CONFIG_PACKAGE_juci=y
CONFIG_PACKAGE_juci-broadcom-dsl=y
CONFIG_PACKAGE_juci-broadcom-ethernet=y
CONFIG_PACKAGE_juci-broadcom-iptv=y
CONFIG_PACKAGE_juci-broadcom-pwrmgmt=y
CONFIG_PACKAGE_juci-broadcom-vlan=y
CONFIG_PACKAGE_juci-broadcom-wl=y
CONFIG_PACKAGE_juci-broadcom-xdsl=y
CONFIG_PACKAGE_juci-ddns=y
CONFIG_PACKAGE_juci-diagnostics=y
CONFIG_PACKAGE_juci-dnsmasq-dhcp=y
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-inteno-provisioning=y
CONFIG_PACKAGE_juci-inteno-qos=y
CONFIG_PACKAGE_juci-inteno-voice-client=y
CONFIG_PACKAGE_juci-macdb=y
CONFIG_PACKAGE_juci-minidlna=y
CONFIG_PACKAGE_juci-mod-status=y
CONFIG_PACKAGE_juci-mod-system=y
CONFIG_PACKAGE_juci-natalie-dect=y
CONFIG_PACKAGE_juci-netmode=y
CONFIG_PACKAGE_juci-network-netifd=y
CONFIG_PACKAGE_juci-owsd=y
CONFIG_PACKAGE_juci-printer=y
CONFIG_PACKAGE_juci-samba=y
CONFIG_PACKAGE_juci-simple-gui=y
CONFIG_PACKAGE_juci-snmpd=y
CONFIG_PACKAGE_juci-sysupgrade=y
CONFIG_PACKAGE_juci-theme-inteno=y
CONFIG_PACKAGE_juci-ubus-core=y
CONFIG_PACKAGE_juci-upnp=y
CONFIG_PACKAGE_juci-usb=y
CONFIG_PACKAGE_juci-utils=y
# CONFIG_PACKAGE_kmod-ipt-nathelper is not set
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
CONFIG_PACKAGE_libffmpeg-mini=y
CONFIG_PACKAGE_libgmp=y
CONFIG_PACKAGE_libreadline=y
CONFIG_PACKAGE_minidlna=y
CONFIG_PACKAGE_miniupnpd=y
CONFIG_PACKAGE_mtd-utils=y
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_ndisc6=y
CONFIG_PACKAGE_netcheck=y
CONFIG_PACKAGE_ntfs-3g=y
CONFIG_PACKAGE_odhcp6c=y
CONFIG_PACKAGE_odhcpd=y
CONFIG_PACKAGE_openssl-util=y
CONFIG_PACKAGE_openvpn-easy-rsa=y
CONFIG_PACKAGE_openvpn-openssl=y
CONFIG_PACKAGE_p910nd=y
CONFIG_PACKAGE_peripheral_manager=y
CONFIG_PACKAGE_port-management=y
CONFIG_PACKAGE_power-management=y
CONFIG_PACKAGE_ppp-mod-pppoa=y
CONFIG_PACKAGE_ppp-mod-pppol2tp=y
CONFIG_PACKAGE_ppp-multilink=y
# CONFIG_PACKAGE_ppp is not set
CONFIG_PACKAGE_qos-scripts=y
CONFIG_PACKAGE_questd=y
CONFIG_PACKAGE_rdisc6=y
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
CONFIG_PACKAGE_tcpdump=y
CONFIG_PACKAGE_terminfo=y
CONFIG_PACKAGE_tptest=y
CONFIG_PACKAGE_traceroute6=y
CONFIG_PACKAGE_umbim=y
CONFIG_PACKAGE_uqmi=y
CONFIG_PACKAGE_usb-modeswitch=y
CONFIG_PACKAGE_usbreset=y
CONFIG_PACKAGE_wwan=y
CONFIG_PACKAGE_xl2tpd=y
CONFIG_PACKAGE_zoneinfo-core=y
CONFIG_PACKAGE_zoneinfo-europe=y
CONFIG_TARGET_CUSTOMER="INT"
CONFIG_TARGET_ROOTFS_TARGZ=y
# CONFIG_USE_SSTRIP is not set
CONFIG_USE_STRIP=y
CONFIG_BUILD_LOG=y
CONFIG_BUSYBOX_CONFIG_ADDUSER=y
CONFIG_BUSYBOX_CONFIG_ASH_RANDOM_SUPPORT=y
CONFIG_BUSYBOX_CONFIG_CTTYHACK=y
CONFIG_BUSYBOX_CONFIG_DELUSER=y
# CONFIG_BUSYBOX_CONFIG_DEVMEM is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_UDHCP_8021Q=y
CONFIG_BUSYBOX_CONFIG_FIRST_SYSTEM_ID=100
CONFIG_BUSYBOX_CONFIG_HTTPD=y
CONFIG_BUSYBOX_CONFIG_INSMOD=y
CONFIG_BUSYBOX_CONFIG_LAST_SYSTEM_ID=999
CONFIG_BUSYBOX_CONFIG_LOGIN=y
CONFIG_BUSYBOX_CONFIG_LSMOD=y
CONFIG_BUSYBOX_CONFIG_LSPCI=y
CONFIG_BUSYBOX_CONFIG_LSUSB=y
CONFIG_BUSYBOX_CONFIG_MICROCOM=y
CONFIG_BUSYBOX_CONFIG_RMMOD=y
CONFIG_BUSYBOX_CONFIG_STTY=y
CONFIG_BUSYBOX_CONFIG_TFTP=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_2_4_MODULES is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_AUTH_MD5=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_BASIC_AUTH=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_CGI=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_ENCODE_URL_STR=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_ERROR_PAGES=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_GZIP=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_PROXY=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_RANGES=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_SETUID=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV=y
CONFIG_BUSYBOX_CONFIG_FEATURE_HTTPD_USE_SENDFILE=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_INSMOD_TRY_MMAP is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_NOLOGIN is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_SECURETTY=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_TASKSET_FANCY is not set
# CONFIG_BUSYBOX_CONFIG_FEATURE_TFTP_BLOCKSIZE is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_TFTP_GET=y
CONFIG_BUSYBOX_CONFIG_FEATURE_TFTP_PUT=y
# CONFIG_BUSYBOX_CONFIG_LOGIN_SCRIPTS is not set
# CONFIG_BUSYBOX_CONFIG_LOGIN_SESSION_AS_CHILD is not set
# CONFIG_BUSYBOX_CONFIG_PAM is not set
# CONFIG_BUSYBOX_CONFIG_TFTP_DEBUG is not set
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

38
iop/configs/luci.diff Executable file
View File

@@ -0,0 +1,38 @@
CONFIG_PACKAGE_luci=y
CONFIG_PACKAGE_luci-mod-admin-core=y
CONFIG_PACKAGE_luci-mod-admin-full=y
CONFIG_PACKAGE_luci-app-ddns=y
CONFIG_PACKAGE_luci-app-dslstats=y
CONFIG_PACKAGE_luci-app-firewall=y
CONFIG_PACKAGE_luci-app-iup=y
CONFIG_PACKAGE_luci-app-mcpd=y
CONFIG_PACKAGE_luci-app-minidlna=y
CONFIG_PACKAGE_luci-app-multiwan=y
CONFIG_PACKAGE_luci-app-p910nd=y
CONFIG_PACKAGE_luci-app-parental-control=y
CONFIG_PACKAGE_luci-app-port-management=y
CONFIG_PACKAGE_luci-app-power-mgmt=y
CONFIG_PACKAGE_luci-app-samba=y
CONFIG_PACKAGE_luci-app-sfp=y
CONFIG_PACKAGE_luci-app-snmp=y
CONFIG_PACKAGE_luci-app-speedtest=y
CONFIG_PACKAGE_luci-app-upnp=y
CONFIG_PACKAGE_luci-app-voice=y
CONFIG_PACKAGE_luci-theme-base=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
CONFIG_PACKAGE_luci-i18n-english=y
CONFIG_PACKAGE_luci-proto-3g=y
CONFIG_PACKAGE_luci-proto-4g=y
CONFIG_PACKAGE_luci-proto-core=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_luci-proto-ppp=y
CONFIG_PACKAGE_luci-sgi-cgi=y
CONFIG_PACKAGE_luci-lib-core=y
CONFIG_PACKAGE_luci-lib-core_source=y
CONFIG_PACKAGE_luci-lib-ipkg=y
CONFIG_PACKAGE_luci-lib-json=y
CONFIG_PACKAGE_luci-lib-nixio=y
CONFIG_PACKAGE_luci-lib-nixio_notls=y
CONFIG_PACKAGE_luci-lib-sys=y
CONFIG_PACKAGE_luci-lib-web=y

89
iop/iop.completion Normal file
View File

@@ -0,0 +1,89 @@
# Bash completion for IOPSYS "./iop" utility
# Source this file into the curent shell or copy it into
# /usr/share/bash-completion/completions/ and start a new shell
# for automatic availability.
_iop_get_profiles()
{
find feeds/feed_inteno_targets/iopsys-*/ -name '*.diff' \
|awk -F'/' '{print$NF}' \
|awk -F. '{print$1}'
}
_iop_get_models()
{
find feeds/feed_inteno_targets/iopsys-*/ -mindepth 1 -maxdepth 1 -type d \
|awk -F'/' '{print$NF}' \
|egrep '^(cg|dg|eg|vg|vox)[0-9]'
}
_iop_get_model_customers()
{
local model=$1
find customerconfigs/$prev -mindepth 1 -maxdepth 1 -type d \
|awk -F'/' '{print$NF}'
}
_iop()
{
local cur prev iopcmds
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
iopcmds="bootstrap cfe_upgrade cfe_upgrade_latest extract_core \
feeds_update genconfig generate_tarballs install_key \
scp_changes setup_host ssh_install_key ssh_sysupgrade \
ssh_sysupgrade_latest ssh_sysupgrade_latest_w status \
update_package"
if [ $COMP_CWORD -eq 1 ] ; then
# Complete the primary iop command
COMPREPLY=($(compgen -W "${iopcmds}" -- ${cur}))
return 0
else
# Complete the arguments to "iopcmds"
local cmd="${COMP_WORDS[1]}"
case "$cmd" in
extract_core)
if [ "$prev" == "-e" ] ; then
_filedir -d
else
COMPREPLY=( $(compgen -W "-e -h" -- ${cur}) )
fi
return 0
;;
genconfig)
if [ "$prev" == "-p" ] ; then
local profiles=$(_iop_get_profiles)
COMPREPLY=( $(compgen -W "juci $profiles" -- ${cur}) )
elif [[ $cur == -* ]] ; then
COMPREPLY=( $(compgen -W "-c -h -p -s -t -u -v" -- ${cur}) )
else
local models=$(_iop_get_models)
if echo $models |grep -qw -- $prev ; then
local customers=$(_iop_get_model_customers $prev)
COMPREPLY=( $(compgen -W "$customers" -- ${cur}) )
else
COMPREPLY=( $(compgen -W "$models" -- ${cur}) )
fi
fi
return 0
;;
*)
# No arguments or arguments not supported yet
;;
esac
fi
}
complete -F _iop ./iop
complete -F _iop iop

View File

@@ -0,0 +1,42 @@
# this is a developer helper script to install firmware on a remote host running in CFE mode
function usage {
echo "usage: $0 cfe_upgrade <host> <file>"
}
function cfe_upgrade {
if [ -z "$1" ] ; then
usage
echo "Error: host required"
exit 1
fi
if [ -z "$2" ] ; then
usage
echo "Error: firmware filename required"
exit 1
fi
if [ ! -e $2 ] ; then
usage
echo "Error: firmware file does not exist"
exit 1
fi
IMAGE=`basename $2`
echo "CFE upgrade host: $1 with file $IMAGE"
[ "$2" ] && [ -e "$2" ] && curl -i -F filedata=@$2 http://$1/upload.cgi && echo "upgrade done!"
}
register_command "cfe_upgrade" "<host> <file> Install firmware on remote host in CFE mode"
function cfe_upgrade_latest {
if [ -z "$1" ] ; then
echo "usage: $0 cfe_upgrade_latest <host>"
echo "Error: host required"
exit 1
fi
{ cd `dirname $0`
IMAGE=`ls -Art bin/*/*.w | tail -n1`
[ "$IMAGE" ] && [ -e "$IMAGE" ] && ./iop cfe_upgrade $1 $IMAGE
}
}
register_command "cfe_upgrade_latest" "<host> Install latest firmware on remote host in CFE mode"

27
iop/scripts/compile.sh Normal file
View File

@@ -0,0 +1,27 @@
#!/bin/sh
function compile {
if [ -z "$1" ]; then
echo "Please give a valid package as first argument."
return 1
fi
local cpath pck
local lpath=$(find package/ -type l -name $1)
local dpath=$(find package/ -type d -name $1)
for pck in $lpath $dpath; do
if [ -n "$(ls $pck/Makefile 2>/dev/null)" ]; then
cpath=$pck
break
fi
done
if [ -n "$cpath" ]; then
make $cpath/compile V=$2
else
echo "Package $1 does not exist. Make sure you have installed the necessary feed."
fi
}
register_command "compile" "Compile a specific package: ./iop compile <PACKAGE_NAME> [0-99]; i.e ./iop compile netifd 99"

88
iop/scripts/extract_core.sh Executable file
View File

@@ -0,0 +1,88 @@
#!/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 {
# Dir of script location
topdir=$(pwd)
if [ $# -eq 0 ]; then
display_help
exit -1
fi
# 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
}
register_command "extract_core" "Extract core package to feeds_inteno_openwrt"

Some files were not shown because too many files have changed in this diff Show More