Compare commits

...

15 Commits

Author SHA1 Message Date
Sukru Senli
2edcda6715 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* a6b12a9 initialize clients with repeated flag as false
-------------------------------------------------------------------------------
commit a6b12a910caf7c1e1b868f4f97ed004ca2bacf03
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-13 10:34:03 +0200

    initialize clients with repeated flag as false

Base directory -> /
 network.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
2017-04-13 10:35:38 +02:00
Alex Oprea
b0b3e6434e imonitor: restart acsd if it's using more than 20% processor 2017-04-12 16:12:08 +02:00
Alex Oprea
71d392fb9c iup: fix typo 2017-04-12 15:04:37 +02:00
Alex Oprea
23a7b45f65 iup: fix flow in handle provisioning 2017-04-12 14:03:05 +02:00
Sukru Senli
be2672ba87 Revert "icwmp: do not copy over dmmap config file"
This reverts commit b6485ad3c2.
2017-04-12 10:56:12 +02:00
Reidar Cederqvist
731af2534c Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 618a0ee network: ports call do not show repeated clients on port
* af73e44 graphd: added missing include (pthread)
-------------------------------------------------------------------------------
commit 618a0ee2a4c8022f6c55a8bb2580b1df31681846
Author: Reidar Cederqvist <reidar.cederqvist@gmail.com>
Date: 2017-04-12 10:15:23 +0200

    network: ports call do not show repeated clients on port

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

    graphd: added missing include (pthread)

Base directory -> /
 graphd.c | 1 +
 1 file changed, 1 insertion(+)
-------------------------------------------------------------------------------
2017-04-12 10:55:53 +02:00
Alex Oprea
4df1a9537b iup: do not check for file nor reboot if the section is not enabled 2017-04-11 16:40:23 +02:00
Sukru Senli
93f8e773f2 inteno-netmodes: make sure network config has no trailing spaces in ifname 2017-04-11 14:34:01 +02:00
Sukru Senli
b6485ad3c2 icwmp: do not copy over dmmap config file 2017-04-11 12:35:35 +02:00
Sukru Senli
160b2d2ab9 icwmp-3.0-2017-04-10 2017-04-10 16:07:11 +02:00
Erik Horemans
8e55630c38 new ice-client R4.3.0-RC13 2017-04-07 09:15:59 +02:00
Sukru Senli
094760cd1f icwmp-3.0-2017-04-05 2017-04-06 09:59:59 +02:00
Sukru Senli
1f846df579 Update feed [ feed_inteno_packages ] package [ questd ]
-------------------------------------------------------------------------------
* 8d89f66 router.network: update linkspeed of a port for each call
-------------------------------------------------------------------------------
commit 8d89f663e30b93cd314df708bf6abbef342d52ee
Author: Sukru Senli <sukru.senli@inteno.se>
Date: 2017-04-05 12:41:22 +0200

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

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

    broadcom.c, scanresults: fixed rssi for mips platform

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

    added definition for wl_get_maxrate in broadcom.c

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

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

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

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

    makefile clean : remove graphd binary

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

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

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

    makefile clean : remove graphd binary

Base directory -> /
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------
2017-04-05 10:57:14 +02:00
6 changed files with 55 additions and 18 deletions

View File

@@ -20,13 +20,13 @@ export PLATFORM_INCLUDE:=platforms/iopsys/build.mk
export DATE:=$(shell date +%Y-%m-%d-%H-%M-%S)
export LOGIN:=$(shell whoami)
BASE_PKG_VERSION:=4.3.0
PKG_RELEASE:=RC10
PKG_RELEASE:=RC13
PKG_VERSION:=$(BASE_PKG_VERSION)-$(PKG_RELEASE)_$(DATE)_$(LOGIN)
export PKG_VERSION
###########################--RELEASE--################################
PKG_SOURCE_VERSION:=f133275635c84968be8207eaa787dd82beed24c1
PKG_SOURCE_VERSION:=e688de3925debceee8f82d7c50cacd3c90ee1bc1
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/

View File

@@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=icwmp
PKG_VERSION:=3.0-2017-03-24
PKG_VERSION:=3.0-2017-04-10
PKG_FIXUP:=autoreconf
PKG_SOURCE_URL:=http://public.inteno.se:/icwmp.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=d99d4a513759f754aaaeb06a7ef667de1df59f61
PKG_SOURCE_VERSION:=c628b80e78c0b818daaded3872a67f83ea6eec10
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)

View File

@@ -59,11 +59,18 @@ populate_netmodes() {
lan5=$(get_device LAN5)
for file in $(find $modedir -type f); do
grep -q "\$WAN" $file && sed -i "s/\$WAN/$wan/g" $file
grep -q "\$LAN1" $file && sed -i "s/\$LAN1/$lan1/g" $file
grep -q "\$LAN2" $file && sed -i "s/\$LAN2/$lan2/g" $file
grep -q "\$LAN3" $file && sed -i "s/\$LAN3/$lan3/g" $file
grep -q "\$LAN4" $file && sed -i "s/\$LAN4/$lan4/g" $file
conf="$(echo $file | cut -d'/' -f5)"
if [ "$conf" == "network" ]; then
grep -q "\$WAN" $file && sed -i "s/\$WAN/$wan/g" $file
grep -q "\$LAN1" $file && sed -i "s/\$LAN1/$lan1/g" $file
grep -q "\$LAN2" $file && sed -i "s/\$LAN2/$lan2/g" $file
grep -q "\$LAN3" $file && sed -i "s/\$LAN3/$lan3/g" $file
grep -q "\$LAN4" $file && sed -i "s/\$LAN4/$lan4/g" $file
ifname="$(uci -q get $file.wan.ifname | sed 's/[ \t]*$//')"
uci -q set $file.wan.ifname="$ifname"
uci -q commit $file
fi
done
local hardware=$(db get hw.board.hardware)

View File

@@ -228,13 +228,14 @@ handle_provisioning() {
retry=$((retry+1))
fi
done
fi
if [ ! -s "$IUPCONFFILES" ]; then
echo "File not Found"
reboot="off"
CONF=0
else
handle_Downloaded_file $deckey
if [ ! -s "$IUPCONFFILES" ]; then
echo "File not Found"
reboot="off"
CONF=0
else
handle_Downloaded_file $deckey
fi
fi
}

View File

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

View File

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