initial commit

main
n0emis 4 years ago
commit c8bb92627b
Signed by: n0emis
GPG Key ID: 00FAF748B777CF10

@ -0,0 +1 @@
busybox

@ -0,0 +1,14 @@
#!/bin/sh
[ -d "/etc/board.d/" -a ! -f "/etc/board.json" ] && {
for a in `ls /etc/board.d/*`; do
[ -x $a ] || continue;
$(. $a)
done
}
[ -f "/etc/board.json" ] || return 1
[ -f "/etc/config/network" ] || {
touch /etc/config/network
/bin/config_generate
}

Binary file not shown.

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1,172 @@
#!/bin/sh
CFG=/etc/board.json
. /usr/share/libubox/jshn.sh
[ -f $CFG ] || exit 1
generate_static_network() {
uci -q batch <<EOF
delete network.loopback
set network.loopback='interface'
set network.loopback.ifname='lo'
set network.loopback.proto='static'
set network.loopback.ipaddr='127.0.0.1'
set network.loopback.netmask='255.0.0.0'
delete network.globals
set network.globals='globals'
set network.globals.ula_prefix='auto'
EOF
}
next_vlan=3
generate_network() {
local vlan
json_select network
json_select $1
json_get_vars ifname create_vlan macaddr
json_select ..
json_select ..
[ -n "$ifname" ] || return
[ "$create_vlan" -eq 1 ] && case $1 in
lan) vlan=1;;
wan) vlan=2;;
*)
vlan=$next_vlan
next_vlan=$((next_vlan + 1))
;;
esac
[ -n "$vlan" ] && ifname=${ifname}.${vlan}
uci -q batch <<EOF
delete network.$1
set network.$1='interface'
set network.$1.ifname='$ifname'
set network.$1.force_link=1
set network.$1.proto='none'
set network.$1.macaddr='$macaddr'
EOF
case $1 in
lan) uci -q batch <<EOF
set network.$1.type='bridge'
set network.$1.proto='static'
set network.$1.ipaddr='192.168.1.1'
set network.$1.netmask='255.255.255.0'
set network.$1.ip6assign='60'
EOF
;;
wan) uci -q batch <<EOF
set network.$1.proto='dhcp'
delete network.wan6
set network.wan6='interface'
set network.wan6.ifname='$ifname'
set network.wan6.proto='dhcpv6'
EOF
;;
esac
}
generate_switch_vlan() {
local device=$1
local vlan=$2
local cpu_port=$3
case $vlan in
lan) vlan=1;;
wan) vlan=2;;
*) vlan=${vlan##vlan};;
esac
json_select vlans
json_select $2
json_get_values ports
json_select ..
json_select ..
uci -q batch <<EOF
add network switch_vlan
set network.@switch_vlan[-1].device='$device'
set network.@switch_vlan[-1].vlan='$vlan'
set network.@switch_vlan[-1].ports='$ports ${cpu_port}t'
EOF
}
generate_switch() {
local key=$1
local vlans
json_select switch
json_select $key
json_get_vars enable reset blinkrate cpu_port
uci -q batch <<EOF
add network switch
set network.@switch[-1].name='$key'
set network.@switch[-1].reset='$reset'
set network.@switch[-1].enable_vlan='$enable'
set network.@switch[-1].blinkrate='$blinkrate'
EOF
[ -n "$cpu_port" ] && {
json_get_keys vlans vlans
for vlan in $vlans; do generate_switch_vlan $1 $vlan $cpu_port; done
}
json_select ..
json_select ..
}
generate_led() {
local key=$1
local cfg="led_$key"
json_select led
json_select $key
json_get_vars name sysfs type trigger device interface default
json_select ..
json_select ..
uci -q batch <<EOF
delete system.$cfg
set system.$cfg='led'
set system.$cfg.name='$name'
set system.$cfg.sysfs='$sysfs'
set system.$cfg.dev='$device'
set system.$cfg.trigger='$trigger'
set system.$cfg.port_mask='$port_mask'
set system.$cfg.default='$default'
EOF
case $type in
netdev)
uci -q batch <<EOF
set system.$cfg.trigger='netdev'
set system.$cfg.mode='link tx rx'
EOF
;;
usb)
uci -q batch <<EOF
set system.$cfg.trigger='usbdev'
set system.$cfg.interval='50'
EOF
;;
esac
}
json_init
json_load "$(cat ${CFG})"
generate_static_network
json_get_keys keys network
for key in $keys; do generate_network $key; done
json_get_keys keys switch
for key in $keys; do generate_switch $key; done
json_get_keys keys led
for key in $keys; do generate_led $key; done
uci commit

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1,71 @@
#!/bin/sh
awk -f - $* <<EOF
function bitcount(c) {
c=and(rshift(c, 1),0x55555555)+and(c,0x55555555)
c=and(rshift(c, 2),0x33333333)+and(c,0x33333333)
c=and(rshift(c, 4),0x0f0f0f0f)+and(c,0x0f0f0f0f)
c=and(rshift(c, 8),0x00ff00ff)+and(c,0x00ff00ff)
c=and(rshift(c,16),0x0000ffff)+and(c,0x0000ffff)
return c
}
function ip2int(ip) {
for (ret=0,n=split(ip,a,"\."),x=1;x<=n;x++) ret=or(lshift(ret,8),a[x])
return ret
}
function int2ip(ip,ret,x) {
ret=and(ip,255)
ip=rshift(ip,8)
for(;x<3;ret=and(ip,255)"."ret,ip=rshift(ip,8),x++);
return ret
}
function compl32(v) {
ret=xor(v, 0xffffffff)
return ret
}
BEGIN {
slpos=index(ARGV[1],"/")
if (slpos == 0) {
ipaddr=ip2int(ARGV[1])
dotpos=index(ARGV[2],".")
if (dotpos == 0)
netmask=compl32(2**(32-int(ARGV[2]))-1)
else
netmask=ip2int(ARGV[2])
} else {
ipaddr=ip2int(substr(ARGV[1],0,slpos-1))
netmask=compl32(2**(32-int(substr(ARGV[1],slpos+1)))-1)
ARGV[4]=ARGV[3]
ARGV[3]=ARGV[2]
}
network=and(ipaddr,netmask)
broadcast=or(network,compl32(netmask))
start=or(network,and(ip2int(ARGV[3]),compl32(netmask)))
limit=network+1
if (start<limit) start=limit
end=start+ARGV[4]
limit=or(network,compl32(netmask))-1
if (end>limit) end=limit
print "IP="int2ip(ipaddr)
print "NETMASK="int2ip(netmask)
print "BROADCAST="int2ip(broadcast)
print "NETWORK="int2ip(network)
print "PREFIX="32-bitcount(compl32(netmask))
# range calculations:
# ipcalc <ip> <netmask> <start> <num>
if (ARGC > 3) {
print "START="int2ip(start)
print "END="int2ip(end)
}
}
EOF

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1,18 @@
#!/bin/sh
# Copyright (C) 2006-2011 OpenWrt.org
if ( ! grep -qsE '^root:[!x]?:' /etc/shadow || \
! grep -qsE '^root:[!x]?:' /etc/passwd ) && \
[ -z "$FAILSAFE" ]
then
echo "Login failed."
exit 0
else
cat << EOF
=== IMPORTANT ============================
Use 'passwd' to set your login password!
------------------------------------------
EOF
fi
exec /bin/ash --login

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1,700 @@
#!/bin/sh
#
# $Id$
#
# this shell script is designed to merely dump the configuration
# information about how the net-snmp package was compiled. The
# information is particularly useful for applications that need to
# link against the net-snmp libraries and hence must know about any
# other libraries that must be linked in as well.
check_build_dir()
{
build_dir=$1
if test "x$build_dir" = "x" ; then
echo "You must specify a build directory."
exit 1
fi
# is it the src dir?
if test -f $build_dir/net-snmp-config.in ; then
return
fi
# make sure we can find build dir
if test ! -d $build_dir/snmplib/.libs ; then
echo "$build_dir does not appear to be a build directory."
exit 1
fi
}
# usage: index n arguments
# effect: returns the (n+1)th argument
index()
{
eval echo \$`expr $1 + 1`
}
# usage: count arguments
# effect: returns the number of arguments
count()
{
echo $#
}
prefix=/usr
exec_prefix=/usr
includedir=${prefix}/include
libdir=${exec_prefix}/lib
datarootdir=${prefix}/share
NSC_LDFLAGS="-L/mnt/src/qsdk/staging_dir/target-mips_74kc_uClibc-1.0.14/usr/lib -L/mnt/src/qsdk/staging_dir/target-mips_74kc_uClibc-1.0.14/lib -L/mnt/src/qsdk/staging_dir/toolchain-mips_74kc_gcc-4.8-linaro_uClibc-1.0.14/usr/lib -L/mnt/src/qsdk/staging_dir/toolchain-mips_74kc_gcc-4.8-linaro_uClibc-1.0.14/lib -L/mnt/src/qsdk/staging_dir/toolchain-mips_74kc_gcc-4.8-linaro_uClibc-1.0.14/usr/lib "
NSC_LIBS="-lm "
NSC_LNETSNMPLIBS=""
NSC_LAGENTLIBS=" "
NSC_LMIBLIBS="-ldl "
NSC_INCLUDEDIR=${includedir}
NSC_LIBDIR=-L${libdir}
NSC_SNMPLIBS="-lnetsnmp ${NSC_LNETSNMPLIBS}"
NSC_SUBAGENTLIBS="-lnetsnmpagent ${NSC_LAGENTLIBS} ${NSC_SNMPLIBS}"
NSC_AGENTLIBS="-lnetsnmpmibs ${NSC_LMIBLIBS} ${NSC_SUBAGENTLIBS}"
NSC_PREFIX=$prefix
NSC_EXEC_PREFIX=$exec_prefix
NSC_SRCDIR=.
NSC_INCDIR=${NSC_PREFIX}/include
NSC_BASE_SNMP_LIBS="-lnetsnmp"
NSC_BASE_SUBAGENT_LIBS="-lnetsnmpagent ${NSC_BASE_SNMP_LIBS}"
NSC_BASE_AGENT_LIBS="-lnetsnmpmibs ${NSC_BASE_SUBAGENT_LIBS}"
NSC_SRC_LIBDIRS="agent/.libs snmplib/.libs"
NSC_SRC_LIBDEPS="agent/.libs/libnetsnmpmibs.a agent/.libs/libnetsnmpagent.a snmplib/.libs/libnetsnmp.a"
if test "x$NSC_SRCDIR" = "x." ; then
NSC_SRCDIR="NET-SNMP-SOURCE-DIR"
fi
if test "x$1" = "x"; then
usage="yes"
else
while test "x$done" = "x" -a "x$1" != "x" -a "x$usage" != "xyes"; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac
unset shifted
case $1 in
--prefix=*)
prefix=$optarg
NSC_PREFIX=${prefix}
NSC_INCLUDEDIR=${prefix}/include
NSC_LIBDIR=-L${prefix}/lib
;;
--exec-prefix=*)
exec_prefix=$optarg
NSC_EXEC_PREFIX=${exec_prefix}
NSC_LIBDIR=-L${exec_prefix}/lib
;;
--debug-tokens|--deb*|--dbg*)
echo "find $NSC_SRCDIR -name \"*.c\" -print | xargs grep DEBUGMSGT | grep \\\" | cut -f 2 -d\\\" | sort -u"
if test "x$NSC_SRCDIR" != "xNET-SNMP-SOURCE-DIR" ; then
/usr/bin/find $NSC_SRCDIR -name "*.c" -print | xargs grep DEBUGMSGT | grep \" | cut -f 2 -d\" | sort -u
fi
;;
--indent-options|--in*)
echo "indent -orig -nbc -bap -nut -nfca `(cd $NSC_INCDIR/net-snmp; perl -n -e 'print "-T $1 " if (/}\s*(netsnmp_\w+)\s*;/);' */*.h)`"
;;
--configure-options|--con*)
echo " '--target=mips-openwrt-linux' '--host=mips-openwrt-linux' '--build=x86_64-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-mfd-rewrites' '--enable-shared' '--enable-static' '--with-endianness=big' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1' '--with-sys-contact=root@localhost' '--with-sys-location=Unknown' '--enable-applications' '--disable-debugging' '--disable-manuals' '--disable-scripts' '--with-out-mib-modules=agent_mibs agentx disman/event disman/schedule hardware host if-mib mibII notification notification-log-mib snmpv3mibs target tcp-mib ucd_snmp udp-mib utilities ' '--with-mib-modules=host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 if-mib/ifXTable mibII/at mibII/icmp mibII/ifTable mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser tunnel ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute ' '--with-out-transports=TCP TCPIPv6 Unix' '--with-transports=Callback UDP UDPIPv6' '--with-openssl=internal' '--without-libwrap' '--without-rpm' '--without-zlib' '--without-nl' '--enable-ipv6' 'build_alias=x86_64-linux-gnu' 'host_alias=mips-openwrt-linux' 'target_alias=mips-openwrt-linux' 'CC=mips-openwrt-linux-uclibc-gcc' 'CFLAGS=-Os -pipe -mno-branch-likely -mips32r2 -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fpic ' 'LDFLAGS=-L/mnt/src/qsdk/staging_dir/target-mips_74kc_uClibc-1.0.14/usr/lib -L/mnt/src/qsdk/staging_dir/target-mips_74kc_uClibc-1.0.14/lib -L/mnt/src/qsdk/staging_dir/toolchain-mips_74kc_gcc-4.8-linaro_uClibc-1.0.14/usr/lib -L/mnt/src/qsdk/staging_dir/toolchain-mips_74kc_gcc-4.8-linaro_uClibc-1.0.14/lib -L/mnt/src/qsdk/staging_dir/toolchain-mips_74kc_gcc-4.8-linaro_uClibc-1.0.14/usr/lib ' 'CPPFLAGS=-I/mnt/src/qsdk/staging_dir/target-mips_74kc_uClibc-1.0.14/usr/include -I/mnt/src/qsdk/staging_dir/target-mips_74kc_uClibc-1.0.14/include -I/mnt/src/qsdk/staging_dir/toolchain-mips_74kc_gcc-4.8-linaro_uClibc-1.0.14/usr/include -I/mnt/src/qsdk/staging_dir/toolchain-mips_74kc_gcc-4.8-linaro_uClibc-1.0.14/include '"
;;
--snmpd-module-list|--mod*)
echo host/hr_device host/hr_disk host/hr_filesys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_system ieee802dot11 mibII/at mibII/icmp mibII/ip mibII/snmp_mib mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser ucd-snmp/disk ucd-snmp/dlmod ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute if-mib/ifXTable/ifXTable mibII/kernel_linux mibII/ipAddr mibII/var_route mibII/route_write mibII/updates mibII/tcpTable mibII/udpTable util_funcs/header_generic mibII/vacm_conf tunnel/tunnel util_funcs/header_simple_table ucd-snmp/pass_common hardware/cpu/cpu hardware/cpu/cpu_linux hardware/memory/hw_mem hardware/memory/memory_linux if-mib/data_access/interface if-mib/ifTable/ifTable_interface if-mib/ifTable/ifTable_data_access if-mib/ifTable/ifTable if-mib/ifXTable/ifXTable_interface if-mib/ifXTable/ifXTable_data_access if-mib/data_access/interface_linux if-mib/data_access/interface_ioctl ip-mib/data_access/ipaddress_common ip-mib/data_access/ipaddress_linux ip-mib/data_access/ipaddress_ioctl
;;
--default-mibs|--mibs|--MIBS)
echo :SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:TUNNEL-MIB:IPV6-FLOW-LABEL-MIB:UCD-DLMOD-MIB:NET-SNMP-PASS-MIB
;;
--default-mibdirs|--mibdirs|--MIBDIRS)
echo $HOME/.snmp/mibs:/usr/share/snmp/mibs
;;
--env-separator)
echo ":"
;;
--exeext)
echo ""
;;
--snmpconfpath|--SNMPCONFPATH)
echo "/etc/snmp:/usr/share/snmp:/usr/lib/snmp:$HOME/.snmp:/usr/lib/snmp/"
;;
--persistent-directory|--persistent-dir)
echo /usr/lib/snmp/
;;
--perlprog|--perl)
echo /mnt/src/qsdk/staging_dir/host/bin/perl
;;
#################################################### compile
--base-cflags)
echo -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -Os -pipe -mno-branch-likely -mips32r2 -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fpic -Ulinux -Dlinux=linux -I/mnt/src/qsdk/staging_dir/target-mips_74kc_uClibc-1.0.14/usr/include -I/mnt/src/qsdk/staging_dir/target-mips_74kc_uClibc-1.0.14/include -I/mnt/src/qsdk/staging_dir/toolchain-mips_74kc_gcc-4.8-linaro_uClibc-1.0.14/usr/include -I/mnt/src/qsdk/staging_dir/toolchain-mips_74kc_gcc-4.8-linaro_uClibc-1.0.14/include -I${NSC_INCLUDEDIR}
;;
--cflags|--cf*)
echo -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -Os -pipe -mno-branch-likely -mips32r2 -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fpic -Ulinux -Dlinux=linux -I/mnt/src/qsdk/staging_dir/target-mips_74kc_uClibc-1.0.14/usr/include -I/mnt/src/qsdk/staging_dir/target-mips_74kc_uClibc-1.0.14/include -I/mnt/src/qsdk/staging_dir/toolchain-mips_74kc_gcc-4.8-linaro_uClibc-1.0.14/usr/include -I/mnt/src/qsdk/staging_dir/toolchain-mips_74kc_gcc-4.8-linaro_uClibc-1.0.14/include -I. -I${NSC_INCLUDEDIR}
;;
--srcdir)
echo $NSC_SRCDIR
;;
#################################################### linking
--libdir|--lib-dir)
echo $NSC_LIBDIR
;;
--ldflags|--ld*)
echo $NSC_LDFLAGS
;;
--build-lib-dirs)
shift
build_dir=$1
check_build_dir $build_dir
for dir in $NSC_SRC_LIBDIRS; do
result="$result -L$build_dir/$dir"
done
echo $result
;;
--build-lib-deps)
shift
build_dir=$1
check_build_dir $build_dir
for dir in $NSC_SRC_LIBDEPS; do
result="$result $build_dir/$dir"
done
echo $result
;;
--build-includes)
shift
build_dir=$1
check_build_dir $build_dir
result="-I$build_dir/include"
if test "$build_dir" != "$NSC_SRCDIR" -a "$NSC_SRCDIR" != "NET-SNMP-SOURCE-DIR"
then
result="$result -I$NSC_SRCDIR/include"
fi
echo $result
;;
--build-command)
echo "mips-openwrt-linux-uclibc-gcc -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -Os -pipe -mno-branch-likely -mips32r2 -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fpic -Ulinux -Dlinux=linux "
;;
#################################################### client lib
--libs)
# use this one == --netsnmp-libs + --external-libs
echo $NSC_LDFLAGS $NSC_LIBDIR $NSC_SNMPLIBS $NSC_LIBS
;;
--netsnmp-libs)
echo $NSC_LIBDIR $NSC_BASE_SNMP_LIBS
;;
--external-libs)
echo $NSC_LDFLAGS $NSC_LNETSNMPLIBS $NSC_LIBS
;;
#################################################### agent lib
--base-agent-libs)
echo $NSC_BASE_AGENT_LIBS
;;
--base-subagent-libs)
echo $NSC_BASE_SUBAGENT_LIBS
;;
--agent-libs)
# use this one == --netsnmp-agent-libs + --external-libs
echo $NSC_LDFLAGS $NSC_LIBDIR $NSC_AGENTLIBS $NSC_LIBS
;;
--netsnmp-agent-libs)
echo $NSC_LIBDIR $NSC_BASE_AGENT_LIBS
;;
--external-agent-libs)
echo $NSC_LDFLAGS $NSC_LMIBLIBS $NSC_LAGENTLIBS $NSC_LNETSNMPLIBS $NSC_LIBS
;;
####################################################
--version|--ver*)
echo 5.7.3
;;
--help)
usage="yes"
;;
--prefix|--pre*)
echo $NSC_PREFIX
;;
--exec-prefix)
echo $NSC_EXEC_PREFIX
;;
####################################################
--create-snmpv3-user)
done=1
shift
net-snmp-create-v3-user $*
exit $?
;;
####################################################
--compile-subagent)
shift
shifted=1
while test "x$done" = "x" -a "x$1" != "x" ; do
case $1 in
--norm)
norm=1
shift
;;
--cflags)
shift
if test "x$1" = "x" ; then
echo "You must specify the extra cflags"
exit 1
fi
cflags=$1
echo "setting extra cflags: $cflags"
shift
;;
--ldflags)
shift
if test "x$1" = "x" ; then
echo "You must specify the extra ldflags"
exit 1
fi
ldflags=$1
echo "setting extra ldflags: $ldflags"
shift
;;
--*)
echo "unknown suboption to --compile-subagent: $1"
exit 1
;;
*)
if test "x$outname" = "x"; then
outname=$1
shift
else
done=1
fi
;;
esac
done
tmpfile=netsnmptmp.$$.c
if test -f $tmpfile; then
echo "Ack. Can't create $tmpfile: already exists"
exit 1
fi
echo "generating the temporary code file: $tmpfile"
rm -f $tmpfile
cat > $tmpfile <<EOF
/* generated from net-snmp-config */
#include <net-snmp/net-snmp-config.h>
#ifdef HAVE_SIGNAL
#include <signal.h>
#endif /* HAVE_SIGNAL */
#include <net-snmp/net-snmp-includes.h>
#include <net-snmp/agent/net-snmp-agent-includes.h>
EOF
# If we were only given a single filename
# (and no explicit output name)
# then use that as the base of the output name
#
# If we weren't even given that, then bomb out
if test "x$1" = "x"; then
if test "x$outname" = "x"; then
echo "No MIB module codefile specified"
rm -f $tmpfile
exit 1
else
cfiles=$outname
outname=`basename $cfiles | sed 's/\.[co]$//'`
if test -f $outname.h; then
if grep "init_$outname" $outname.h; then
echo " #include \"$outname.h\"" >> $tmpfile
fi
fi
fi
fi
# add include files
while test "$1" != ""; do
cfiles="$cfiles $1"
name=`basename $1 | sed 's/\.[co]$//'`
if test -f $name.h; then
if grep "init_$name" $name.h; then
echo " #include \"$name.h\"" >> $tmpfile
fi
fi
shift
done
cat >> $tmpfile <<EOF
const char *app_name = "$outname";
static int reconfig = 0;
extern int netsnmp_running;
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#else
#define UNUSED
#endif
RETSIGTYPE
stop_server(UNUSED int a) {
netsnmp_running = 0;
}
#ifdef SIGHUP
RETSIGTYPE
hup_handler(int sig)
{
reconfig = 1;
signal(SIGHUP, hup_handler);
}
#endif
static void
usage(const char *prog)
{
fprintf(stderr,
"USAGE: %s [OPTIONS]\n"
"\n"
"OPTIONS:\n", prog);
fprintf(stderr,
" -d\t\t\tdump all traffic\n"
" -D TOKEN[,...]\tturn on debugging output for the specified "
"TOKENs\n"
"\t\t\t (ALL gives extremely verbose debugging output)\n"
" -f\t\t\tDo not fork() from the calling shell.\n"
" -h\t\t\tdisplay this help message\n"
" -H\t\t\tdisplay a list of configuration file directives\n"
" -L LOGOPTS\t\tToggle various defaults controlling logging:\n");
snmp_log_options_usage("\t\t\t ", stderr);
#ifndef DISABLE_MIB_LOADING
fprintf(stderr,
" -m MIB[" ENV_SEPARATOR "...]\t\tload given list of MIBs (ALL loads "
"everything)\n"
" -M DIR[" ENV_SEPARATOR "...]\t\tlook in given list of directories for MIBs\n");
#endif /* DISABLE_MIB_LOADING */
#ifndef DISABLE_MIB_LOADING
fprintf(stderr,
" -P MIBOPTS\t\tToggle various defaults controlling mib "
"parsing:\n");
snmp_mib_toggle_options_usage("\t\t\t ", stderr);
#endif /* DISABLE_MIB_LOADING */
fprintf(stderr,
" -v\t\t\tdisplay package version number\n"
" -x TRANSPORT\tconnect to master agent using TRANSPORT\n");
exit(1);
}
static void
version(void)
{
fprintf(stderr, "NET-SNMP version: %s\n", netsnmp_get_version());
exit(0);
}
int
main (int argc, char **argv)
{
int arg;
char* cp = NULL;
int dont_fork = 0, do_help = 0;
while ((arg = getopt(argc, argv, "dD:fhHL:"
#ifndef DISABLE_MIB_LOADING
"m:M:"
#endif /* DISABLE_MIB_LOADING */
"n:"
#ifndef DISABLE_MIB_LOADING
"P:"
#endif /* DISABLE_MIB_LOADING */
"vx:")) != EOF) {
switch (arg) {
case 'd':
netsnmp_ds_set_boolean(NETSNMP_DS_LIBRARY_ID,
NETSNMP_DS_LIB_DUMP_PACKET, 1);
break;
case 'D':
debug_register_tokens(optarg);
snmp_set_do_debugging(1);
break;
case 'f':
dont_fork = 1;
break;
case 'h':
usage(argv[0]);
break;
case 'H':
do_help = 1;
break;
case 'L':
if (snmp_log_options(optarg, argc, argv) < 0) {
exit(1);
}
break;
#ifndef DISABLE_MIB_LOADING
case 'm':
if (optarg != NULL) {
setenv("MIBS", optarg, 1);
} else {
usage(argv[0]);
}
break;
case 'M':
if (optarg != NULL) {
setenv("MIBDIRS", optarg, 1);
} else {
usage(argv[0]);
}
break;
#endif /* DISABLE_MIB_LOADING */
case 'n':
if (optarg != NULL) {
app_name = optarg;
netsnmp_ds_set_string(NETSNMP_DS_LIBRARY_ID,
NETSNMP_DS_LIB_APPTYPE, app_name);
} else {
usage(argv[0]);
}
break;
#ifndef DISABLE_MIB_LOADING
case 'P':
cp = snmp_mib_toggle_options(optarg);
if (cp != NULL) {
fprintf(stderr, "Unknown parser option to -P: %c.\n", *cp);
usage(argv[0]);
}
break;
#endif /* DISABLE_MIB_LOADING */
case 'v':
version();
break;
case 'x':
if (optarg != NULL) {
netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,
NETSNMP_DS_AGENT_X_SOCKET, optarg);
} else {
usage(argv[0]);
}
break;
default:
fprintf(stderr, "invalid option: -%c\n", arg);
usage(argv[0]);
break;
}
}
if (do_help) {
netsnmp_ds_set_boolean(NETSNMP_DS_APPLICATION_ID,
NETSNMP_DS_AGENT_NO_ROOT_ACCESS, 1);
} else {
/* we are a subagent */
netsnmp_ds_set_boolean(NETSNMP_DS_APPLICATION_ID,
NETSNMP_DS_AGENT_ROLE, 1);
if (!dont_fork) {
if (netsnmp_daemonize(1, snmp_stderrlog_status()) != 0)
exit(1);
}
/* initialize tcpip, if necessary */
SOCK_STARTUP;
}
/* initialize the agent library */
init_agent(app_name);
/* initialize your mib code here */
EOF
# add init routines
for i in $cfiles ; do
name=`basename $i | sed 's/\.[co]$//'`
echo checking for init_$name in $i
if grep "init_$name" $i ; then
echo " init_${name}();" >> $tmpfile
fi
done
# handle the main loop
cat >> $tmpfile <<EOF
/* $outname will be used to read $outname.conf files. */
init_snmp("$outname");
if (do_help) {
fprintf(stderr, "Configuration directives understood:\n");
read_config_print_usage(" ");
exit(0);
}
/* In case we received a request to stop (kill -TERM or kill -INT) */
netsnmp_running = 1;
#ifdef SIGTERM
signal(SIGTERM, stop_server);
#endif
#ifdef SIGINT
signal(SIGINT, stop_server);
#endif
#ifdef SIGHUP
signal(SIGHUP, hup_handler);
#endif
/* main loop here... */
while(netsnmp_running) {
if (reconfig) {
free_config();
read_configs();
reconfig = 0;
}
agent_check_and_process(1);
}
/* at shutdown time */
snmp_shutdown(app_name);
/* deinitialize your mib code here */
EOF
# add shutdown routines
i=`count $cfiles`
while [ $i -gt 0 ] ; do
fullname=`index $i $cfiles`
name=`basename $fullname | sed 's/\.[co]$//'`
echo checking for shutdown_$name in $fullname
if grep "shutdown_$name" $fullname ; then
echo " shutdown_${name}();" >> $tmpfile
fi
i=`expr $i - 1`
done
# finish file
cat >> $tmpfile <<EOF
/* shutdown the agent library */
shutdown_agent();
SOCK_CLEANUP;
exit(0);
}
EOF
if test "$?" != 0 -o ! -f "$tmpfile" ; then
echo "Ack. Can't create $tmpfile."
exit 1
fi
cmd="mips-openwrt-linux-uclibc-gcc $cflags -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -Os -pipe -mno-branch-likely -mips32r2 -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fpic -Ulinux -Dlinux=linux -I. -I${NSC_INCLUDEDIR} -o $outname $tmpfile $cfiles $NSC_LDFLAGS $NSC_LIBDIR $NSC_BASE_AGENT_LIBS $NSC_AGENTLIBS $ldflags"
echo "running: $cmd"
`$cmd`
if test "x$norm" != "x1" ; then
echo "removing the temporary code file: $tmpfile"
rm -f $tmpfile
else
echo "leaving the temporary code file: $tmpfile"
fi
if test -f $outname ; then
echo "subagent program $outname created"
fi
;;
*)
echo "unknown option $1"
usage="yes"
;;
esac
if [ "x$shifted" = "x" ] ; then
shift
fi
done
fi
if test "x$usage" = "xyes"; then
echo ""
echo "Usage:"
echo " net-snmp-config [--cflags] [--agent-libs] [--libs] [--version]"
echo " ... [see below for complete flag list]"
echo ""
echo " --version displays the net-snmp version number"
echo " --indent-options displays the indent options from the Coding Style"
echo " --debug-tokens displays a example command line to search to source"
echo " code for a list of available debug tokens"
echo ""
echo " SNMP Setup commands:"
echo ""
echo " --create-snmpv3-user creates a SNMPv3 user in Net-SNMP config file."
echo " See net-snmp-create-v3-user --help for list of"
echo " accepted options."
echo ""
echo " These options produce the various compilation flags needed when"
echo " building external SNMP applications:"
echo ""
echo " --base-cflags lists additional compilation flags needed"
echo " --cflags lists additional compilation flags needed"
echo " (includes -I. and extra developer warning flags)"
echo ""
echo " These options produce the various link flags needed when"
echo " building external SNMP applications:"
echo ""
echo " --libs lists libraries needed for building applications"
echo " --agent-libs lists libraries needed for building subagents"
echo ""
echo " These options produce various link flags broken down into parts."
echo " (Most of the time the simple options above should be used.)"
echo ""
echo " --libdir path to netsnmp libraries"
echo ""
echo " --base-agent-libs netsnmp specific agent libraries"
echo ""
echo " --netsnmp-libs netsnmp specific libraries (with path)"
echo " --netsnmp-agent-libs netsnmp specific agent libraries (with path)"
echo ""
echo " --ldflags link flags for external libraries"
echo " --external-libs external libraries needed by netsnmp libs"
echo " --external-agent-libs external libraries needed by netsnmp agent libs"
echo ""
echo " These options produce various link flags used when linking an"
echo " external application against an uninstalled build directory."
echo ""
echo " --build-includes include path to build/source includes"
echo " --build-lib-dirs link path to libraries"
echo " --build-lib-deps path to libraries for dependency target"
echo " --build-command command to compile \$3... to \$2"
echo ""
echo " Automated subagent building (produces an OUTPUTNAME binary file):"
echo " [this feature has not been tested very well yet. use at your risk.]"
echo ""
echo " --compile-subagent OUTPUTNAME [--norm] [--cflags flags]"
echo " [--ldflags flags] mibmodule1.c [...]]"
echo ""
echo " --norm leave the generated .c file around to read."
echo " --cflags flags extra cflags to use (e.g. -I...)."
echo " --ldflags flags extra ld flags to use (e.g. -L... -l...)."
echo ""
echo " Details on how the net-snmp package was compiled:"
echo ""
echo " --configure-options display original configure arguments"
echo " --prefix display the installation prefix"
echo " --snmpd-module-list display the modules compiled into the agent"
echo " --default-mibs display default list of MIBs"
echo " --default-mibdirs display default list of MIB directories"
echo " --snmpconfpath display default SNMPCONFPATH"
echo " --persistent-directory display default persistent directory"
echo " --perlprog display path to perl for the perl modules"
echo ""
exit
fi

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

Binary file not shown.

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

Binary file not shown.

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
busybox

@ -0,0 +1 @@
/tmp/TZ

@ -0,0 +1,2 @@
hostapd_ctrl_iface_dir=/var/run/hostapd/
wpa_supp_ctrl_iface_dir=/var/run/wpa_supplicant/

@ -0,0 +1,11 @@
ap_scan=1
ctrl_interface=/var/run/wpa_supplicant
wps_cred_processing=1
network={
ssid="Atheros XSpan Network"
scan_ssid=1
proto=WPA
pairwise=TKIP
key_mgmt=WPA-PSK
psk="12345678"
}

@ -0,0 +1,66 @@
#!/bin/sh
# This file is part of avahi.
#
# avahi is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# avahi is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with avahi; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.
set -e
# Command line arguments:
# $1 event that happened:
# BIND: Successfully claimed address
# CONFLICT: An IP address conflict happened
# UNBIND: The IP address is no longer needed
# STOP: The daemon is terminating
# $2 interface name
# $3 IP adddress
PATH="$PATH:/usr/bin:/usr/sbin:/bin:/sbin"
# Use a different metric for each interface, so that we can set
# identical routes to multiple interfaces.
METRIC=$((1000 + `cat "/sys/class/net/$2/ifindex" 2>/dev/null || echo 0`))
if [ -n "$(type -q ip)" ] ; then
# We have the Linux ip tool from the iproute package
case "$1" in
BIND)
ip addr add "$3"/16 brd 169.254.255.255 scope link dev "$2"
ip route add default dev "$2" metric "$METRIC" scope link ||:
;;
CONFLICT|UNBIND|STOP)
ip route del default dev "$2" metric "$METRIC" scope link ||:
ip addr del "$3"/16 brd 169.254.255.255 scope link dev "$2"
;;
*)
echo "Unknown event $1" >&2
exit 1
;;
esac
else
echo "No network configuration tool found." >&2
exit 1
fi
exit 0

@ -0,0 +1,28 @@
[server]
#host-name=foo
#domain-name=local
use-ipv4=yes
use-ipv6=yes
check-response-ttl=no
use-iff-running=no
[publish]
publish-addresses=yes
publish-hinfo=yes
publish-workstation=no
publish-domain=yes
#publish-dns-servers=192.168.1.1
#publish-resolv-conf-dns-servers=yes
[reflector]
enable-reflector=no
reflect-ipv=no
[rlimits]
#rlimit-as=
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=30
rlimit-stack=4194304
rlimit-nproc=3

@ -0,0 +1,11 @@
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name>...</name>
<service>
<type>_http._tcp</type>
<port>80</port>
<txt-record>path=/</txt-record>
<txt-record>vendorUrl=...</txt-record>
</service>
</service-group>

@ -0,0 +1,11 @@
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name>...</name>
<service>
<type>_https._tcp</type>
<port>443</port>
<txt-record>path=/</txt-record>
<txt-record>vendorUrl=...</txt-record>
</service>
</service-group>

@ -0,0 +1,7 @@
_ _
__| | ___| | ___ ___
/ _` |/ _ \ |/ _ \/ __| (c) 2019 devolo AG
| (_| | __/ | (_) \__ \ powered by OpenWrt 15.05.1
\__,_|\___|_|\___/|___/ powered by QSDK SPF 6.1
-----------------------------------------------------
delos 5.2.1 for ___VENDOR_NAME___ ___PRODUCT_NAME___

@ -0,0 +1,13 @@
================= FAILSAFE MODE active ================
special commands:
* firstboot reset settings to factory defaults
* mount_root mount root-partition with config files
after mount_root:
* passwd change root's password
* /etc/config directory with config files
for more help see:
http://wiki.openwrt.org/doc/howto/generic.failsafe
=======================================================

@ -0,0 +1,12 @@
config default 'config'
option AutoConfigEnable '0'
option HCSecsBetweenDHCPRequestPackets '2'
option HRSecsBetweenDHCPRequestPackets '3'
option HRSecsBetweenStateContinuityCheck '15'
option HRMaxTriesWaitingForDHCPResponse '3'
option HCMaxTxTriesBeforeGettingIPAddr '10'
option SecsBetweenChecksForCableConnection '5'
option AcdDebugLevel '1'
option DisableHCMode '1'
option DisableWDSSTAInHREMode '0'

@ -0,0 +1,2 @@
config avahi config
option disabled '0'

@ -0,0 +1,8 @@
config configsync 'global'
option enabled '1'
option logging '0'
option startdelay '0'
option extensiondelay '20'
option eventdelay '10'
option configured '0'

@ -0,0 +1,6 @@
config config 'config'
option active_variant ''
config info 'info'
option vendor_name ''
option product_name ''

@ -0,0 +1,6 @@
config dlanApp2Backend 'global'
option enabled '1'
option http_realm 'devolo-api'
option http_username 'devolo'
option http_password ''
option http_ha1 ''

@ -0,0 +1,5 @@
config dropbear
option PasswordAuth 'on'
option RootPasswordAuth 'on'
option Port '22'
# option BannerFile '/etc/banner'

@ -0,0 +1,37 @@
# easycwmp uci configuration
config local
option disabled '0'
option interface lo
option port 7547
option ubus_socket /var/run/ubus.sock
option date_format %FT%T%z
option username easycwmp
option password easycwmp
option provisioning_code ''
#basic authentication = 'Basic', Digest authentication = 'Digest', Default value = 'Digest'
option authentication 'Digest'
#Logging levels: Critic=0, Warning=1, Notice=2, Info=3, Debug=4
option logging_level '1'
config acs
option url 'https://bs-acs-dev.devolo.net:17457'
option username 'bs-acs-dev-client'
option password '9f5b6e971d0bc8bf219e994c1529112f'
option parameter_key ''
option periodic_enable '1'
option periodic_interval '300'
option periodic_time '0001-01-01T00:00:00Z'
config device
option manufacturer easycwmp
option oui FFFFFF
option product_class easycwmp
option serial_number FFFFFF123456
option hardware_version example_hw_version
option software_version example_sw_version
config instances 'instances'
config next_instances 'next_instances'

@ -0,0 +1,196 @@
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
option disabled 0
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
# include a file with users custom iptables rules
config include
option path /etc/firewall.user
### EXAMPLE CONFIG SECTIONS
# do not allow a specific ip to access wan
#config rule
# option src lan
# option src_ip 192.168.45.2
# option dest wan
# option proto tcp
# option target REJECT
# block a specific mac on wan
#config rule
# option dest wan
# option src_mac 00:11:22:33:44:66
# option target REJECT
# block incoming ICMP traffic on a zone
#config rule
# option src lan
# option proto ICMP
# option target DROP
# port redirect port coming in on wan to lan
#config redirect
# option src wan
# option src_dport 80
# option dest lan
# option dest_ip 192.168.16.235
# option dest_port 80
# option proto tcp
# port redirect of remapped ssh port (22001) on wan
#config redirect
# option src wan
# option src_dport 22001
# option dest lan
# option dest_port 22
# option proto tcp
# 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
### FULL CONFIG SECTIONS
#config rule
# option src lan
# option src_ip 192.168.45.2
# option src_mac 00:11:22:33:44:55
# option src_port 80
# option dest wan
# option dest_ip 194.25.2.129
# option dest_port 120
# option proto tcp
# option target REJECT
#config redirect
# option src lan
# option src_ip 192.168.45.2
# option src_mac 00:11:22:33:44:55
# option src_port 1024
# option src_dport 80
# option dest_ip 194.25.2.129
# option dest_port 120
# option proto tcp

@ -0,0 +1,17 @@
config global
option uci_enabled '1'
config network
config access
option SOURCE 'ANY'
option REQUIRE_SOURCE_ADDRESS 'N'
option FW_ACCESS_TIMEOUT '300'
option CMD_CYCLE_OPEN '/usr/share/delos-fwknopd/cmd.sh open $PORT'
option CMD_CYCLE_CLOSE '/usr/share/delos-fwknopd/cmd.sh close $PORT'
option CMD_CYCLE_TIMER '10'
config config
option PCAP_INTF 'br-lan'
option ENABLE_SPA_PACKET_AGING N

@ -0,0 +1,164 @@
config config 'config'
option Enable '0'
option cfg80211_enable '0'
option SwitchInterface 'auto'
option SwitchLanVid '1'
option Control 'manual'
option DisableSteering '0'
config hy 'hy'
option LoadBalancingSeamless '1'
option ConstrainTCPMedium '0'
option MaxLBReordTimeout '1500'
option HActiveMaxAge '120000'
option ForwardingMode 'APS'
config Wlan 'Wlan'
option WlanCheckFreqInterval '10'
option WlanALDNLNumOverride '0'
config Vlanid
option ifname 'eth1'
option vid '1'
config Vlanid
option ifname 'eth0'
option vid '2'
config PathChWlan 'PathChWlan'
option UpdatedStatsInterval_W2 '1'
option StatsAgedOutInterval_W2 '30'
option MaxMediumUtilization_W2 '70'
option MediumChangeThreshold_W2 '10'
option LinkChangeThreshold_W2 '10'
option MaxMediumUtilizationForLC_W2 '70'
option CPULimitedTCPThroughput_W2 '0'
option CPULimitedUDPThroughput_W2 '0'
option PHYRateThresholdForMU_W2 '2000'
option ProbePacketInterval_W2 '1'
option ProbePacketSize_W2 '64'
option EnableProbe_W2 '1'
option AssocDetectionDelay_W2 '5'
option UpdatedStatsInterval_W5 '1'
option StatsAgedOutInterval_W5 '30'
option MaxMediumUtilization_W5 '70'
option MediumChangeThreshold_W5 '10'
option LinkChangeThreshold_W5 '10'
option MaxMediumUtilizationForLC_W5 '70'
option CPULimitedTCPThroughput_W5 '0'
option CPULimitedUDPThroughput_W5 '0'
option PHYRateThresholdForMU_W5 '2000'
option ProbePacketInterval_W5 '1'
option ProbePacketSize_W5 '64'
option EnableProbe_W5 '1'
option AssocDetectionDelay_W5 '5'
option ScalingFactorHighRate_W5 '750'
option ScalingFactorHighRate_W2 '200'
option ScalingFactorLow '60'
option ScalingFactorMedium '85'
option ScalingFactorHigh '60'
option ScalingFactorTCP '90'
option UseWHCAlgorithm '1'
option NumUpdatesUntilStatsValid '3'
config PathChPlc 'PathChPlc'
option MaxMediumUtilization '80'
option MediumChangeThreshold '10'
option LinkChangeThreshold '10'
option StatsAgedOutInterval '60'
option UpdateStatsInterval '1'
option EntryExpirationInterval '120'
option MaxMediumUtilizationForLC '80'
option LCThresholdForUnreachable '5'
option LCThresholdForReachable '10'
option HostPLCInterfaceSpeed '0'
config Topology 'Topology'
option ND_UPDATE_INTERVAL '15'
option BD_UPDATE_INTERVAL '3'
option HOLDING_TIME '190'
option TIMER_LOW_BOUND '7'
option TIMER_UPPER_BOUND '11'
option MSGID_DELTA '64'
option HA_AGING_INTERVAL '120'
option ENABLE_TD3 '1'
option ENABLE_BD_SPOOFING '1'
option NOTIFICATION_THROTTLING_WINDOW '1'
option PERIODIC_QUERY_INTERVAL '60'
option ENABLE_NOTIFICATION_UNICAST '0'
config HSPECEst 'HSPECEst'
option UpdateHSPECInterval '1'
option NotificationThresholdLimit '10'
option NotificationThresholdPercentage '20'
option AlphaNumerator '3'
option AlphaDenominator '8'
option LocalFlowRateThreshold '2000000'
option LocalFlowRatioThreshold '5'
option MaxHActiveEntries '8192'
config PathSelect 'PathSelect'
option UpdateHDInterval '10'
option LinkCapacityThreshold '20'
option UDPInterfaceOrder 'EP52'
option NonUDPInterfaceOrder 'EP52'
option SerialflowIterations '10'
option DeltaLCThreshold '10'
option EnableBadLinkStatsSwitchFlow '1'
config LogSettings 'LogSettings'
option EnableLog '0'
option LogRestartIntervalSec '10'
option LogPCSummaryPeriodSec '0'
option LogServerIP '192.168.1.10'
option LogServerPort '5555'
option EnableLogPCW2 '1'
option EnableLogPCW5 '1'
option EnableLogPCP '1'
option EnableLogTD '1'
option EnableLogHE '1'
option EnableLogHETables '1'
option EnableLogPS '1'
option EnableLogPSTables '1'
option LogHEThreshold1 '200000'
option LogHEThreshold2 '10000000'
config IEEE1905Settings 'IEEE1905Settings'
option StrictIEEE1905Mode '0'
option GenerateLLDP '1'
option AvoidDupRenew '0'
option AvoidDupTopologyNotification '0'
config HCPSettings 'HCPSettings'
option V1Compat '1'
config MultiAP 'MultiAP'
option EnableController '0'
option EnableAgent '0'
option EnableSigmaDUT '0'
option ClientAssocCtrlTimeoutSec '0'
option ClientAssocCtrlTimeoutUsec '200000'
option ShortBlacklistTimeSec '2'
option AlwaysClearBlacklists '1'
option ClientSteerTimeoutSec '1'
option ClientSteerTimeoutUsec '0'
option MetricsReportingInterval '5'
option RSSIHysteresis_W2 '5'
option RSSIHysteresis_W5 '5'
option LoadBalancingInterval '30'
option EnableChannelSelection '1'
option MinPreferredChannelIndex '36'
option MaxPreferredChannelIndex '99'
config SteerMsg 'SteerMsg'
option AvgUtilReqTimeout '1'
option LoadBalancingCompleteTimeout '90'
option RspTimeout '2'
config Monitor 'Monitor'
option DisableMonitoringLegacyClients '1'
option DisableSteeringInactiveLegacyClients '1'
option DisableSteeringActiveLegacyClients '1'
option DisableSteeringMax11kUnfriendlyClients '1'
option MonitorTimer '60'
option MonitorResponseTimeout '5'

@ -0,0 +1,148 @@
config config 'config'
option Enable '1'
option cfg80211_enable '0'
list MatchingSSID ''
option PHYBasedPrioritization '0'
option BlacklistOtherESS '0'
option InactDetectionFromTx '0'
config IdleSteer 'IdleSteer'
option RSSISteeringPoint_DG '5'
option RSSISteeringPoint_UG '20'
option NormalInactTimeout '10'
option OverloadInactTimeout '10'
option InactCheckInterval '1'
option AuthAllow '0'
config ActiveSteer 'ActiveSteer'
option TxRateXingThreshold_UG '50000'
option RateRSSIXingThreshold_UG '30'
option TxRateXingThreshold_DG '6000'
option RateRSSIXingThreshold_DG '0'
config Offload 'Offload'
option MUAvgPeriod '60'
option MUOverloadThreshold_W2 '70'
option MUOverloadThreshold_W5 '70'
option MUSafetyThreshold_W2 '50'
option MUSafetyThreshold_W5 '60'
option OffloadingMinRSSI '20'
config IAS 'IAS'
option Enable_W2 '1'
option Enable_W5 '1'
option MaxPollutionTime '1200'
option UseBestEffort '0'
config StaDB 'StaDB'
option IncludeOutOfNetwork '1'
option TrackRemoteAssoc '1'
option MarkAdvClientAsDualBand '0'
config SteerExec 'SteerExec'
option SteeringProhibitTime '300'
option BTMSteeringProhibitShortTime '30'
config APSteer 'APSteer'
option LowRSSIAPSteerThreshold_SIG '17'
option LowRSSIAPSteerThreshold_CAP '20'
option LowRSSIAPSteerThreshold_RE '45'
option APSteerToRootMinRSSIIncThreshold '5'
option APSteerToLeafMinRSSIIncThreshold '10'
option APSteerToPeerMinRSSIIncThreshold '10'
option DownlinkRSSIThreshold_W5 '-65'
option APSteerMaxRetryCount '2'
config config 'config_Adv'
option AgeLimit '5'
config StaDB 'StaDB_Adv'
option AgingSizeThreshold '100'
option AgingFrequency '60'
option OutOfNetworkMaxAge '300'
option InNetworkMaxAge '2592000'
option NumNonServingBSSes '4'
option PopulateNonServingPHYInfo '1'
option LegacyUpgradeAllowedCnt '0'
option LegacyUpgradeMonitorDur '2100'
option MinAssocAgeForStatsAssocUpdate '150'
config StaMonitor 'StaMonitor_Adv'
option RSSIMeasureSamples_W2 '5'
option RSSIMeasureSamples_W5 '5'
config BandMonitor 'BandMonitor_Adv'
option ProbeCountThreshold '1'
option MUCheckInterval_W2 '10'
option MUCheckInterval_W5 '10'
option MUReportPeriod '30'
option LoadBalancingAllowedMaxPeriod '15'
option NumRemoteChannels '3'
config Estimator_Adv 'Estimator_Adv'
option RSSIDiff_EstW5FromW2 '-15'
option RSSIDiff_EstW2FromW5 '5'
option ProbeCountThreshold '3'
option StatsSampleInterval '1'
option Max11kUnfriendly '10'
option 11kProhibitTimeShort '30'
option 11kProhibitTimeLong '300'
option PhyRateScalingForAirtime '50'
option EnableContinuousThroughput '0'
option BcnrptActiveDuration '50'
option BcnrptPassiveDuration '200'
option FastPollutionDetectBufSize '10'
option NormalPollutionDetectBufSize '10'
option PollutionDetectThreshold '60'
option PollutionClearThreshold '40'
option InterferenceAgeLimit '15'
option IASLowRSSIThreshold '12'
option IASMaxRateFactor '88'
option IASMinDeltaBytes '2000'
option IASMinDeltaPackets '10'
option ActDetectMinInterval '30'
option ActDetectMinPktPerSec '2'
config SteerExec 'SteerExec_Adv'
option TSteering '15'
option InitialAuthRejCoalesceTime '2'
option AuthRejMax '3'
option SteeringUnfriendlyTime '600'
option MaxSteeringUnfriendly '604800'
option TargetLowRSSIThreshold_W2 '5'
option TargetLowRSSIThreshold_W5 '15'
option BlacklistTime '900'
option BTMResponseTime '10'
option BTMAssociationTime '6'
option BTMAlsoBlacklist '1'
option BTMUnfriendlyTime '600'
option MaxBTMUnfriendly '86400'
option MaxBTMActiveUnfriendly '604800'
option MinRSSIBestEffort '12'
option LowRSSIXingThreshold '10'
option StartInBTMActiveState '0'
option Delay24GProbeRSSIThreshold '35'
option Delay24GProbeTimeWindow '0'
option Delay24GProbeMinReqCount '0'
option LegacyUpgradeUnfriendlyTime '21600'
config SteerAlg_Adv 'SteerAlg_Adv'
option MinTxRateIncreaseThreshold '53'
option MaxSteeringTargetCount '1'
option ApplyEstimatedAirTimeOnSteering '1'
option UsePathCapacityToSelectBSS '1'
config DiagLog 'DiagLog'
option EnableLog '0'
option LogServerIP '192.168.1.10'
option LogServerPort '7788'
option LogLevelWlanIF '2'
option LogLevelBandMon '2'
option LogLevelStaDB '2'
option LogLevelSteerExec '2'
option LogLevelStaMon '2'
option LogLevelEstimator '2'
option LogLevelDiagLog '2'
config Persist 'Persist'
option PersistPeriod '3600'

@ -0,0 +1,3 @@
config global
option logging '0'
option enabled '0'

@ -0,0 +1,5 @@
config radius
option profile_name 'default_profile'
option auth_port '1812'
option acct_port '1813'

@ -0,0 +1,237 @@
config config repacd
option Enable '0'
option cfg80211_enable '0'
option ManagedNetwork 'lan'
option DeviceType 'RE'
option Role 'NonCAP'
option GatewayConnectedMode 'AP'
option ConfigREMode 'auto'
option DefaultREMode 'son'
option BlockDFSChannels '0'
option EnableSteering '1'
option EnableSON '1'
option ManageMCSD '1'
option LinkCheckDelay '2'
option TrafficSeparationEnabled '0'
option NetworkGuest 'guest'
option NetworkGuestBackhaulInterface '2.4G'
option EnableEthernetMonitoring '0'
config MAPConfig 'MAPConfig'
option Enable '0'
option FirstConfigRequired '1'
option BSSInstantiationTemplate 'scheme-a.conf'
option FronthaulSSID ''
option FronthaulKey ''
option BackhaulSSID ''
option BackhaulKey ''
option BackhaulSuffix ''
option StandaloneController '0'
config WiFiLink 'WiFiLink'
option MinAssocCheckAutoMode '5'
option MinAssocCheckPostWPS '5'
option MinAssocCheckPostBSSIDConfig '5'
option WPSTimeout '180'
option AssociationTimeout '300'
option RSSINumMeasurements '5'
option RSSIThresholdFar '-75'
option RSSIThresholdNear '-60'
option RSSIThresholdMin '-75'
option RSSIThresholdPrefer2GBackhaul '-100'
option 2GBackhaulSwitchDownTime '10'
option MaxMeasuringStateAttempts '3'
option DaisyChain '1'
option RateNumMeasurements '30'
option RateThresholdMin5GInPercent '40'
option RateThresholdMax5GInPercent '70'
option RateThresholdPrefer2GBackhaulInPercent '5'
option 5GBackhaulBadlinkTimeout '60'
option BSSIDAssociationTimeout '90'
option RateScalingFactor '70'
option 5GBackhaulEvalTimeShort '1800'
option 5GBackhaulEvalTimeLong '7200'
option 2GBackhaulEvalTime '1800'
option PreferCAPSNRThreshold5G '0'
option MoveFromCAPSNRHysteresis5G '2'
option 2GIndependentChannelSelectionEnable '0'
option 2GIndependentChannelSelectionRssiLevel '-70'
option 2GIndependentChannelSelectionTotalRssiCounter '10'
option 2GIndependentChannelSelectionRssiDebug '0'
option 2GIndependentChannelSelectionStartRssiCheckTime '60'
option ManageVAPInd '0'
config MAPWiFiLink 'MAPWiFiLink'
option MinAssocCheckPostWPS '5'
option WPSTimeout '180'
option AssociationTimeout '300'
option RSSINumMeasurements '5'
option BackhaulRSSIThreshold_2 '-78'
option BackhaulRSSIThreshold_5 '-78'
option BackhaulRSSIThreshold_offset '10'
option Max5gAttempts '3'
option MaxMeasuringStateAttempts '3'
option ForceBSSesDownOnAllBSTASwitches '0'
config PLCLink 'PLCLink'
option PLCBackhaulEvalTime '1800'
config BackhaulMgr 'BackhaulMgr'
option SelectOneBackHaulInterfaceInDaisy '0'
option BackHaulMgrRateNumMeasurements '10'
option PLCLinkThresholdto2G '60'
option SwitchInterfaceAfterCAPPingTimeouts '10'
config FrontHaulMgr 'FrontHaulMgr'
option ManageFrontAndBackHaulsIndependently '0'
option FrontHaulMgrTimeout '300'
config LEDState 'Reset'
option Name_1 'led_0'
option Trigger_1 'none'
option Brightness_1 '0'
option Name_2 'led_1'
option Trigger_2 'none'
option Brightness_2 '0'
config LEDState 'NotAssociated'
option Name_1 'led_0'
option Trigger_1 'timer'
option Brightness_1 '1'
option DelayOn_1 '500'
option DelayOff_1 '500'
option Name_2 'led_1'
option Trigger_2 'none'
option Brightness_2 '0'
config LEDState 'AutoConfigInProgress'
option Name_1 'led_0'
option Trigger_1 'timer'
option Brightness_1 '1'
option DelayOn_1 '250'
option DelayOff_1 '250'
option Name_2 'led_1'
option Trigger_2 'none'
option Brightness_2 '0'
config LEDState 'Measuring'
option Name_1 'led_0'
option Trigger_1 'timer'
option Brightness_1 '1'
option DelayOn_1 '250'
option DelayOff_1 '250'
option Name_2 'led_1'
option Trigger_2 'timer'
option Brightness_2 '1'
option DelayOn_2 '250'
option DelayOff_2 '250'
config LEDState 'WPSTimeout'
option Name_1 'led_0'
option Trigger_1 'timer'
option Brightness_1 '1'
option DelayOn_1 '2000'
option DelayOff_1 '1000'
option Name_2 'led_1'
option Trigger_2 'none'
option Brightness_2 '0'
config LEDState 'AssocTimeout'
option Name_1 'led_0'
option Trigger_1 'timer'
option Brightness_1 '1'
option DelayOn_1 '5000'
option DelayOff_1 '1000'
option Name_2 'led_1'
option Trigger_2 'none'
option Brightness_2 '0'
config LEDState 'RE_MoveCloser'
option Name_1 'led_0'
option Trigger_1 'none'
option Brightness_1 '1'
option Name_2 'led_1'
option Trigger_2 'none'
option Brightness_2 '0'
config LEDState 'RE_MoveFarther'
option Name_1 'led_0'
option Trigger_1 'none'
option Brightness_1 '0'
option Name_2 'led_1'
option Trigger_2 'none'
option Brightness_2 '1'
config LEDState 'RE_LocationSuitable'
option Name_1 'led_0'
option Trigger_1 'none'
option Brightness_1 '1'
option Name_2 'led_1'
option Trigger_2 'none'
option Brightness_2 '1'
config LEDState 'InCAPMode'
option Name_1 'led_0'
option Trigger_1 'none'
option Brightness_1 '1'
option Name_2 'led_1'
option Trigger_2 'none'
option Brightness_2 '1'
config LEDState 'CL_LinkSufficient'
option Name_1 'led_0'
option Trigger_1 'none'
option Brightness_1 '1'
option Name_2 'led_1'
option Trigger_2 'none'
option Brightness_2 '0'
config LEDState 'CL_LinkInadequate'
option Name_1 'led_0'
option Trigger_1 'none'
option Brightness_1 '0'
option Name_2 'led_1'
option Trigger_2 'none'
option Brightness_2 '1'
config LEDState 'CL_ActingAsRE'
option Name_1 'led_0'
option Trigger_1 'none'
option Brightness_1 '1'
option Name_2 'led_1'
option Trigger_2 'none'
option Brightness_2 '1'
config LEDState 'RE_BackhaulGood'
option Name_1 'led_0'
option Trigger_1 'none'
option Brightness_1 '1'
option Name_2 'led_1'
option Trigger_2 'none'
option Brightness_2 '1'
config LEDState 'RE_BackhaulFair'
option Name_1 'led_0'
option Trigger_1 'none'
option Brightness_1 '1'
option Name_2 'led_1'
option Trigger_2 'none'
option Brightness_2 '0'
config LEDState 'RE_BackhaulPoor'
option Name_1 'led_0'
option Trigger_1 'none'
option Brightness_1 '0'
option Name_2 'led_1'
option Trigger_2 'none'
option Brightness_2 '1'
config LEDState 'RE_SwitchingBSTA'
option Name_1 'led_0'
option Trigger_1 'timer'
option Brightness_1 '1'
option DelayOn_1 '250'
option DelayOff_1 '250'
option Name_2 'led_1'
option Trigger_2 'none'
option Brightness_2 '0'

@ -0,0 +1,7 @@
config login
option username 'root'
option password '$p$root'
list read '*'
list write '*'

@ -0,0 +1,51 @@
config agent
option agentaddress 'UDP:161'
option disabled '1'
config com2sec 'public'
option secname 'ro'
option community 'public'
option source 'default'
config group 'public_v1'
option group 'public'
option version 'v1'
option secname 'ro'
config group 'public_v2c'
option group 'public'
option version 'v2c'
option secname 'ro'
config group 'public_usm'
option group 'public'
option version 'usm'
option secname 'ro'
config view 'all'
option viewname 'all'
option type 'included'
option oid '.1'
config access 'public_access'
option group 'public'
option context 'none'
option version 'any'
option prefix 'exact'
option read 'all'
option write 'none'
option notify 'none'
option level 'noauth'
config userv3
option access 'ro'
option authtype 'MD5'
option sectype 'DES'
option name ''
option authpass ''
option secpass ''
config system
option sysLocation ''
option sysContact ''
option sysName 'devolo-business'

@ -0,0 +1,4 @@
config ssid-steering global
option enable '0'
option private_vaps 'ath0'
option public_vaps 'ath1'

@ -0,0 +1,3 @@
config global 'global'
option logging '0'
option enabled '0'

@ -0,0 +1,12 @@
config system
option hostname OpenWrt
option timezone UTC
option log_size 64
config timeserver ntp
list server 0.openwrt.pool.ntp.org
list server 1.openwrt.pool.ntp.org
list server 2.openwrt.pool.ntp.org
list server 3.openwrt.pool.ntp.org
option enabled 1
option enable_server 0

@ -0,0 +1,11 @@
config stun 'stun'
option username 'tr069_stun'
option password 'tr069_stun'
option server_address 'stun.l.google.com'
option server_port '19302'
option min_keepalive '30'
option max_keepalive '3600'
#Log levels: Critical=0, Warning=1, Notice=2, Info=3, Debug=4
option loglevel '0'
# option client_port 7547
#if client_port option is not set or < 0 then use a random port for connection request source port

@ -0,0 +1,12 @@
config upnp 'upnp'
option enable '1'
option period '60'
option root_description_url ''
#example of root_description_url: 'http://192.168.1.1:5000/rootDesc.xml'. Empty value means that will be discovered automatically.
option loglevel '0'
#Log levels: Critical=0, Warning=1, Notice=2, Info=3, Debug=4
config gateway 'gateway'

@ -0,0 +1,122 @@
# Server configuration
config uhttpd main
# HTTP listen addresses, multiple allowed
list listen_http 0.0.0.0:80
list listen_http [::]:80
# HTTPS listen addresses, multiple allowed
list listen_https 0.0.0.0:443
list listen_https [::]:443
# Redirect HTTP requests to HTTPS if possible
option redirect_https 0
# Server document root
option home /www
# Reject requests from RFC1918 IP addresses
# directed to the servers public IP(s).
# This is a DNS rebinding countermeasure.
option rfc1918_filter 0
# Maximum number of concurrent requests.
# If this number is exceeded, further requests are
# queued until the number of running requests drops
# below the limit again.
option max_requests 3
# Maximum number of concurrent connections.
# If this number is exceeded, further TCP connection
# attempts are queued until the number of active
# connections drops below the limit again.
option max_connections 100
# Certificate and private key for HTTPS.
# If no listen_https addresses are given,
# the key options are ignored.
option cert /etc/uhttpd.crt
option key /etc/uhttpd.key
# CGI url prefix, will be searched in docroot.
# Default is /cgi-bin
option cgi_prefix /cgi-bin
# List of extension->interpreter mappings.
# Files with an associated interpreter can
# be called outside of the CGI prefix and do
# not need to be executable.
# list interpreter ".php=/usr/bin/php-cgi"
# list interpreter ".cgi=/usr/bin/perl"
# Lua url prefix and handler script.
# Lua support is disabled if no prefix given.
# option lua_prefix /luci
# option lua_handler /usr/lib/lua/luci/sgi/uhttpd.lua
# Specify the ubus-rpc prefix and socket path.
# option ubus_prefix /ubus
# option ubus_socket /var/run/ubus.sock
# CGI/Lua timeout, if the called script does not
# write data within the given amount of seconds,
# the server will terminate the request with
# 504 Gateway Timeout response.
option script_timeout 60
# Network timeout, if the current connection is
# blocked for the specified amount of seconds,
# the server will terminate the associated
# request process.
option network_timeout 30
# HTTP Keep-Alive, specifies the timeout for persistent
# HTTP/1.1 connections. Setting this to 0 will disable
# persistent HTTP connections.
option http_keepalive 20
# TCP Keep-Alive, send periodic keep-alive probes
# over established connections to detect dead peers.
# The value is given in seconds to specify the
# interval between subsequent probes.
# Setting this to 0 will disable TCP keep-alive.
option tcp_keepalive 1
# Basic auth realm, defaults to local hostname
# option realm OpenWrt
# Configuration file in busybox httpd format
# option config /etc/httpd.conf
# Do not follow symlinks that point outside of the
# home directory.
# option no_symlinks 0
# Do not produce directory listings but send 403
# instead if a client requests an url pointing to
# a directory without any index file.
# option no_dirlists 0
# Do not authenticate any ubus-rpc requests against
# the ubus session/access procedure.
# This is dangerous and should be always left off
# except for development and debug purposes!
# option no_ubusauth 0
# Certificate defaults for px5g key generator
config cert px5g
# Validity time
option days 3650
# RSA key size
option bits 2048
# Location
option country ZZ
option state Somewhere
option location Unknown
# Common name
option commonname 'devolo AG'

@ -0,0 +1,18 @@
config upnpd config
option enable_natpmp 1
option enable_upnp 1
option secure_mode 1
config perm_rule
option action allow
option ext_ports 1024-65535
option int_addr 0.0.0.0/0 # Does not override secure_mode
option int_ports 1024-65535
option comment "Allow high ports"
config perm_rule
option action deny
option ext_ports 0-65535
option int_addr 0.0.0.0/0
option int_ports 0-65535
option comment "Default deny"

@ -0,0 +1,7 @@
config global
option logging '0'
option enabled '0'
option forcewifidown '0'
option recheck_interval '10'
option modules_retries '10'
option unload_modules '0'

@ -0,0 +1 @@
config delos_uninitialized 'delos_uninitialized'

@ -0,0 +1,49 @@
config wsplcd config
option HyFiSecurity '0'
option cfg80211_enable '0'
# RunMode REGISTRAR, ENROLLEE, NONE or AUTO
option RunMode 'AUTO'
option DesignatedPBAP '0'
# WPSMethod WPS_M2 or WPS_M8
option WPSMethod 'WPS_M2'
option ConfigSta '1'
option SearchTimeout '60'
option WPSSessionTimeout '120'
option WPSRetransmitTimeout '5'
option WPSPerMessageTimeout '15'
option PushButtonTimeout '120'
option PBSearchTimeout '10'
option SSIDSuffix ''
option NetworkKey1905 ''
option UCPKSalt ''
# WPAPassphraseType LONG or SHORT
option WPAPassphraseType 'LONG'
# DebugLevel DUMP,DEBUG,INFO,ERROR
option DebugLevel 'ERROR'
option BandSel '0'
option BandChoice '5G'
option RMCollectTimeout '10'
option DeepClone '1'
option DeepCloneNoBSSID '0'
option ManageVAPInd '1'
# Following are configuration for 1.0 AP Cloning
option APCloning '0'
# ButtonMode ONEBUTTON or TWOBUTTON
option ButtonMode 'TWOBUTTON'
option CloneTimeout '180'
option WalkTimeout '120'
option RepeatTimeout '1'
option InternalTimeout '15'
option WaitOtherBandsSecs '20'
option WaitFirstBandSecs '30'
# Write debug log to file: NONE, APPEND, TRUNCATE
option WriteDebugLogToFile 'NONE'
# Config push restart and apply timeouts in secs
# Applicable to Registrar
option ConfigRestartShortTimeout '5'
# Applicable to Enrollee only
option ConfigRestartLongTimeout '15'
option ConfigApplyTimeout '30'

@ -0,0 +1,13 @@
config xmpp 'xmpp_client'
option username 'username'
option password 'pass'
option domain 'domain'
option resource 'resource'
option keep_alive_interval '40'
option connect_attempt '4'
option retry_init_interval '5'
option retry_interval_multi '5'
option retry_interval_max '10'
option allowed_jid ''
option cafile ''
option verify_peer '0'

@ -0,0 +1 @@
DEVICE_TYPE=1200wifiac

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

Loading…
Cancel
Save