Re: [PATCH] netifd: add support of GRE tunnel ignore-df option

2023-04-24 Thread Stefan Hellermann
to use both options: ignore-df nopmtudisc Signed-off-by: Stefan Hellermann --- a/system-linux.c +++ b/system-linux.c @@ -3496,6 +3496,7 @@ static int system_add_gre_tunnel(const c         ttl = 64;     nla_put_u8(nlm, IFLA_GRE_PMTUDISC, set_df ? 1 : 0); +        nla_put_u8(nlm

Re: [PATCH 0/3] mikrotik: make soft_config partition writable

2021-12-21 Thread Stefan Hellermann
p] # cat /sys/firmware/mikrotik/soft_config/commit clean => No error, change is written to flash sysupgrade is also ok, configuration ist saved. Tested-by: Stefan Hellermann ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] [RFC] add unison-2.48.3

2015-09-18 Thread Stefan Hellermann
two comments to my own patch: 2015-09-18 7:13 GMT+02:00 Stefan Hellermann <ste...@the2masters.de>: > should probably be sent to the packages repo on github. > > Signed-of-by: Stefan Hellermann <ste...@the2masters.de> > --- > package/network/utils/unison/

Re: [OpenWrt-Devel] [PATCH] [RFC] toolchain: add OCaml compiler

2015-09-18 Thread Stefan Hellermann
2015-09-17 22:40 GMT+02:00 Bastian Bittorf <bitt...@bluebottle.com>: > * Stefan Hellermann <ste...@the2masters.de> [17.09.2015 20:00]: > > Tested with Unison File Synchronizer on ar71xx and x86_64. Beware: > > Stripping unison won't work! > > Better solut

[OpenWrt-Devel] [PATCH] [RFC] toolchain: add OCaml compiler

2015-09-17 Thread Stefan Hellermann
without make dirclean, as tools/ocaml is not rebuild in this case. Tested with Unison File Synchronizer on ar71xx and x86_64. Beware: Stripping unison won't work! Better solutions and comments are appreciated! Signed-off-by: Stefan Hellermann <ste...@the2masters.de> --- toolchain/Con

[OpenWrt-Devel] [PATCH] [RFC] add unison-2.48.3

2015-09-17 Thread Stefan Hellermann
should probably be sent to the packages repo on github. Signed-of-by: Stefan Hellermann <ste...@the2masters.de> --- package/network/utils/unison/Makefile | 36 .../utils/unison/patches/100-ocamlopt.patch| 225 + 2 files changed, 261 inse

Re: [OpenWrt-Devel] [PATCH] base-files: rework reset button script to indicate factory reset

2015-08-15 Thread Stefan Hellermann
hi, it's not needed, you can remove it. Stefan 2015-08-12 15:19 GMT+02:00 Bastian Bittorf bitt...@bluebottle.com: * Rafał Miłecki zaj...@gmail.com [12.08.2015 15:10]: I think you're commenting on a wrong patch. sorry, yes - the comment applies to: a643de25/r40909 and i just stumpled upon

[OpenWrt-Devel] [PATCH rebased] x86: add kmod-acpi-button and kmod-button-hotplug to default packages

2015-07-14 Thread Stefan Hellermann
to install them manually. Signed-off-by: Stefan Hellermann ste...@the2masters.de --- target/linux/x86/64/target.mk| 2 +- target/linux/x86/kvm_guest/target.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/x86/64/target.mk b/target/linux/x86/64/target.mk

[OpenWrt-Devel] [PATCH] [PATCH] x86: add kmod-acpi-button and kmod-button-hotplug to default packages

2015-06-19 Thread Stefan Hellermann
to install them manually. Signed-off-by: Stefan Hellermann ste...@the2masters.de --- target/linux/x86/64/target.mk| 2 +- target/linux/x86/kvm_guest/target.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/x86/64/target.mk b/target/linux/x86/64/target.mk

[OpenWrt-Devel] [PATCH] [PATCH] wpa-supplicant: add 802.11r client support

2015-05-18 Thread Stefan Hellermann
Add 802.11r client support to wpa_supplicant. It's only enabled in wpa_supplicant-full. hostapd gained 802.11r support in commit r45051. Tested on a TP-Link TL-WR710N sta psk client with two 802.11r enabled openwrt accesspoints (TP-Link TL-WDR3600). Signed-off-by: Stefan Hellermann ste

Re: [OpenWrt-Devel] [PATCH] base-files: add simple shutdown script

2014-06-03 Thread Stefan Hellermann
Thanks for applying this in r40909. Sadly the commit is not complete, the file needs to be mode 755. Signed-off-by: Stefan Hellermann ste...@the2masters.de diff --git a/package/base-files/files/etc/rc.button/power b/package/base-files/files/etc/rc.button/power old mode 100644 new mode 100755

[OpenWrt-Devel] [PATCH] {, gpio}-button-hotplug: remove check on CONFIG_HOTPLUG for Kernel = 3.11

2014-05-15 Thread Stefan Hellermann
CONFIG_HOTPLUG was removed in Linux kernel 3.11, so remove the #ifdef in button-hotplug and gpio-button-hotplug kernel modules. Reported in Trac ticket #16413. The Patch is untested on kernel version 3.11 Signed-off-by: Stefan Hellermann ste...@the2masters.de --- package/kernel/button-hotplug

[OpenWrt-Devel] [PATCH] base-files: add simple shutdown script

2014-05-15 Thread Stefan Hellermann
Since svn rev [38557] we support power buttons, for example the ACPI power button on x86 machines. Add a simple shutdown script to /etc/rc.button, to gracefully shutdown the machine after the power button is pressed. Tested on x86 and x86_64 in a kvm virtual machine. Signed-off-by: Stefan

Re: [OpenWrt-Devel] [PATCH] base-files: add simple shutdown script

2014-05-15 Thread Stefan Hellermann
2014-05-15 12:27 GMT+02:00 Stefan Hellermann ste...@the2masters.de: Since svn rev [38557] we support power buttons, for example the ACPI power button on x86 machines. Add a simple shutdown script to /etc/rc.button, to gracefully shutdown the machine after the power button is pressed. Tested

Re: [OpenWrt-Devel] [PATCH] Always install /etc/zabbix_agentd.conf.d dir for zabbix-agentd

2014-04-29 Thread Stefan Hellermann
zabbix: update to 2.2.0 Signed-off-by: Etienne CHAMPETIER etienne.champet...@free.fr Tested-by: Stefan Hellermann ste...@the2masters.de --- admin/zabbix/Makefile | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/admin/zabbix/Makefile b/admin/zabbix/Makefile

Re: [OpenWrt-Devel] Fix VLAN on Atheros AR8327N

2014-04-01 Thread Stefan Hellermann
2014-03-31 16:39 GMT+02:00 Jonas Gorski j...@openwrt.org: Hello there. Have a question. What about those switch chips: - ar8316, - ar8227, - ar7240. Are they also capable of doing tagged+untagged vlan on the same port at the same time? Do they benefit from this pach? Could

Re: [OpenWrt-Devel] [PATCH] remove ppp requirement from chat

2014-03-21 Thread Stefan Hellermann
you should remove the DEPENDS line, not only comment it. Acked-By: Stefan Hellermann ste...@the2masters.de This patch removes ppp dependancy from chat. Signed-off-by: Oskari Rauta oskari dot rauta at gmail dot com ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [PATCH] [base-files] x86_64: fix sysupgrade

2014-03-17 Thread Stefan Hellermann
This makes sysupgrade on x86/x86_64 usable again! Thanks! Till now I always had to do a manual second reboot of the virtual machines to apply the configuration after an sysupgrade. I tested it on 5 virtual machines (with slightly patched kernel config) Tested-By: Stefan Hellermann ste

Re: [OpenWrt-Devel] [PATCH] kernel: Allow building xen kvm modules for x86 and x86_64

2014-03-17 Thread Stefan Hellermann
2014-03-14 13:12 GMT+01:00 Helmut Schaa helmut.sc...@googlemail.com: Building a x86 or x86_64 kernel image supporting both, xen and kvm was not possible before. Allow building xen kvm modules for standard x86 and x86_64 targets. Signed-off-by: Helmut Schaa helmut.sc...@googlemail.com ---

Re: [OpenWrt-Devel] [PATCH] Zabbix: update to 2.2.1

2014-01-22 Thread Stefan Hellermann
It's running on one of my servers for about a day, update went smooth. Acked-by: Stefan Hellermann ste...@the2masters.de 2014/1/22 Etienne CHAMPETIER etienne.champet...@free.fr With this new version of zabbix we do not need uname and hostname anymore, see https://svn.zabbix.com/browse/ZBX

Re: [OpenWrt-Devel] [PATCH] busybox: enable CONFIG_HOSTNAME

2014-01-21 Thread Stefan Hellermann
etienne.champet...@free.fr Hi Stefan, With your patch, system.hostname is still broken, and you have to reconfigure all zabbix agent. I prefer to patch zabbix (if busybox hostname is a nogo) Regards, Etienne Stefan Hellermann ste...@the2masters.de a écrit : Hi Etienne, we don't really

Re: [OpenWrt-Devel] [PATCH] busybox: enable CONFIG_HOSTNAME

2014-01-17 Thread Stefan Hellermann
Hi Etienne, we don't really need busybox hostname, we can read it directly from /proc/sys/kernel/hostname and save a fork every time zabbix needs the hostname. Patch against the packages repository. Signed-off-by: Stefan Hellermann ste...@the2masters.de diff --git a/admin/zabbix/Makefile b

Re: [OpenWrt-Devel] bug with recent busybox config changes

2014-01-11 Thread Stefan Hellermann
-by: Stefan Hellermann ste...@the2masters.de diff --git a/admin/zabbix/Makefile b/admin/zabbix/Makefile index 5ee8425..2836354 100644 --- a/admin/zabbix/Makefile +++ b/admin/zabbix/Makefile @@ -99,12 +99,6 @@ As it uses libiwinfo, it works with all wifi devices supported by openwrt. See http

Re: [OpenWrt-Devel] [PATCH v6] Add sysfixtime init script, replacement of luci_fixtime

2014-01-06 Thread Stefan Hellermann
Hi Sebastian, this would work only in case you're using squashfs, but there are others like jffs, ubifs and ext4 without overlay. best regards, Stefan 2014/1/6 Sebastian Moeller moell...@gmx.de Hi Etienne, On Jan 6, 2014, at 13:01 , Etienne CHAMPETIER etienne.champet...@free.fr wrote:

Re: [OpenWrt-Devel] [PATCH][V5] Zabbix: add extra packages with discovery/userparameter

2013-04-25 Thread Stefan Hellermann
! The chmod on the statistics dir is a nice compromise. Acked-by: Stefan Hellermann ste...@the2masters.de Index: admin/zabbix/files/wifi === --- admin/zabbix/files/wifi (révision 0) +++ admin/zabbix/files/wifi (révision 0

Re: [OpenWrt-Devel] Howto flash AVM Fritzbox 3370

2013-04-08 Thread Stefan Hellermann
I noticed that there is support for the AVM Fritzbox 3370 in openwrt trunk. I just compiled a image and got these files: openwrt-lantiq-xway-FRITZ3370.eva openwrt-lantiq-xway-FRITZ3370-jffs2-128k.rootfs openwrt-lantiq-xway-rootfs.tar.gz Does anybody have an idea how to flash it to this

Re: [OpenWrt-Devel] [PATCH] [packages] port-mirroring: new package port-mirroring

2013-03-22 Thread Stefan Hellermann
document which features of the TZSP protocol you support, http://en.wikipedia.org/wiki/TZSP lists several tags which are mostly relevant in wifi networks. Thanks, Stefan Hellermann ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https

Re: [OpenWrt-Devel] [PATCH] [packages] port-mirroring: new package port-mirroring

2013-03-19 Thread Stefan Hellermann
the differences to netfilter TEE. Regards, Stefan Hellermann ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] base-files: remove stale base-files-essentials file

2013-02-13 Thread Stefan Hellermann
opkg list-changed-conffiles on upgrades. I always wondered why files like /ets/shells are in every sysupgarade backup, I have never touched this file. With this patch these files are only backed up when they were changed. Signed-off-by: Stefan Hellermann ste...@the2masters.de --- package/base-files

Re: [OpenWrt-Devel] [PATCH] base-files: remove stale base-files-essentials file

2013-02-13 Thread Stefan Hellermann
NAK. This file is there to support sysupgrade on devices that do not have opkg installed. But important files are missing, like - /etc/shadow - /etc/sysupgrade.conf Which packages should support sysupgrade without opkg? only base-files? Regards, Stefan

Re: [OpenWrt-Devel] [PATCH] [package] busybox: Add startup script for busybox acpid and a minimal config

2013-02-13 Thread Stefan Hellermann
I wonder why this version of acpid doesnt need - kmod-input-evdev - kmod-acpi-button If this is the case the the package apcid is obsolete right now. kmod-acpi-button is empty, at least in the kvm x86 profile. kmod-input-evdev is needed, otherwise acpid will crash on startup

[OpenWrt-Devel] [PATCH] [package] busybox: Add startup script for busybox acpid and a minimal config

2013-02-12 Thread Stefan Hellermann
With this I can shutdown a x86 machine by pressing the powerbutton. Tested on a KVM Virtual Machine. Signed-off-by: Stefan Hellermann ste...@the2masters.de diff --git a/package/busybox/Makefile b/package/busybox/Makefile index 7aaaf6c..fb497af 100644 --- a/package/busybox/Makefile +++ b/package

[OpenWrt-Devel] [PATCH v2] mac80211: add dependency of PACKAGE_MAC80211_DEBUGFS

2013-01-04 Thread Stefan Hellermann
remove this part of the help text Signed-off-by: Stefan Hellermann ste...@the2masters.de --- a/package/mac80211/Makefile +++ b/package/mac80211/Makefile @@ -84,13 +84,12 @@ define KernelPackage/mac80211/config config PACKAGE_MAC80211_DEBUGFS bool Export mac80211

[OpenWrt-Devel] [PATCH variant a] mac80211: uncouple ATH_DEBUGFS from MAC80211_DEBUGFS

2013-01-04 Thread Stefan Hellermann
and MAC80211_DEBUGFS is enabled, it saves about 25k on a compressed image here. Signed-off-by: Stefan Hellermann ste...@the2masters.de --- a/package/mac80211/Makefile +++ b/package/mac80211/Makefile @@ -35,6 +35,7 @@ PKG_CONFIG_DEPENDS:= \ $(patsubst %,CONFIG_PACKAGE_kmod-%,$(PKG_DRIVERS

[OpenWrt-Devel] [PATCH variant b] mac80211: remove a few config options

2013-01-04 Thread Stefan Hellermann
remove a few config settings from mac80211 MAC80211_DEBUGFS selects the atheros wireless debugfs options, but not the debugfs options from rt2x00-lib and b43. Make it consistent and remove all driver_DEBUGFS option. ATH_DEBUG needs MAC80211_DEBUGFS, so select it. Signed-off-by: Stefan

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Stefan Hellermann
I think better dependency would be: define KernelPackage/zram/config select BUSYBOX_CONFIG_MKSWAP if !PACKAGE_swap-utils select BUSYBOX_CONFIG_SWAPONOFF if !PACKAGE_swap-utils endef btw. @devs - is there an openwrt DEPENDS:= equivalent for select symbol if expr ? Yes there is:

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Stefan Hellermann
I wanted to use such DEPENDS type instead of define (...)/config block but unfortunately after converting Kconfig selects to equivalent openwrt DEPENDS:, eg: DEPENDS:=+@!PACKAGE_swap-utils:BUSYBOX_CONFIG_MKSWAP +@!PACKAGE_swap-utils:BUSYBOX_CONFIG_SWAPONOFF I got this in opkg control file:

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Stefan Hellermann
On 5 January 2013 01:37, Stefan Hellermann ste...@the2masters.de wrote: That's easy: DEPENDS:=+!BUSYBOX_CONFIG_MKSWAP:swap-utils Unfortunately this doesn't work. Menuconfig does not see the symbol swap-utils which is expected behavior. Symbol: PACKAGE_kmod-zram [=n] x Prompt: kmod

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Stefan Hellermann
My bad! You are right Stephan. I apologizes. I have overlooked missing @ in your DEPENDS ... been testing with +@! ... -.- Time to sleep. Sorry all and thank you again Stefan. When doing funky DEPENDS always think of poor opkg which has to install a package later. It cannot add a applet to

Re: [OpenWrt-Devel] [PATCH][V3] Zabbix: add extra packages with discovery/userparameter

2012-12-27 Thread Stefan Hellermann
renamed all the wifi stuff, please use updated templates. Please delete files/zabbix_agentd.conf, it's an empty file. Signed-off-by: Etienne CHAMPETIER etienne.champet...@free.fr Acked-by: Stefan Hellermann ste...@the2masters.de Index: files/mac80211

Re: [OpenWrt-Devel] [PATCH][V2] Zabbix: add extra packages with discovery/userparameter

2012-12-26 Thread Stefan Hellermann
# lua -l iwinfo -e print(#iwinfo[iwinfo.type('wlan0')].assoclist('wlan0')) 0 lua -l iwinfo -e n = 0; for _,_ in pairs(iwinfo[iwinfo.type('wlan0')].assoclist('wlan0')) do n = n + 1 end; print(n) That's it! Thanks! # lua -l iwinfo -e n = 0; for _,_ in

Re: [OpenWrt-Devel] [PATCH][V2] Zabbix: add extra packages with discovery/userparameter

2012-12-25 Thread Stefan Hellermann
) 40140 ms ago RX: 54.0 MBit/s, MCS 0, 20MHz 1115 Pkts. TX: 48.0 MBit/s, MCS 0, 20MHz530 Pkts. Regards, Stefan Hellermann 2012/12/24 Etienne CHAMPETIER etienne.champet...@free.fr: Hi Use wlan0 instead of radio0 Joyeux noel, Etienne

Re: [OpenWrt-Devel] [PATCH][V2] Zabbix: add extra packages with discovery/userparameter

2012-12-24 Thread Stefan Hellermann
Hi, -The wifi package should also work with broadcom-wl and madwifi, where the mac80211 is only for mac80211. I split up to put dependencies, and in case someone want to make extra-madwifi later... We can make only one package we just have to be sure that the discovery rules fails

Re: [OpenWrt-Devel] [PATCH][V2] Zabbix: add extra packages with discovery/userparameter

2012-12-24 Thread Stefan Hellermann
Hi, -i don't use {#DEV}, and it's a uci bug, i should just suppress it? Ok, I don't know how to use it, either. -for the wifi.discovery i'm always using phy instead of macaddress in wireless config (so i can flash a spare router quickly). you can suppress the {#PHY} part, or find another

[OpenWrt-Devel] [PATCH] mac80211: add dependency of PACKAGE_MAC80211_DEBUGFS

2012-12-24 Thread Stefan Hellermann
automatically selects CONFIG_KERNEL_DEBUG_FS if PACKAGE_MAC80211_DEBUGFS is set. Additionally, the help text says Say N unless you know you need this., but it's set to default y. I removed the default y to be consistent with the help text. Signed-off-by: Stefan Hellermann ste...@the2masters.de --- a/package

Re: [OpenWrt-Devel] [PATCH] libiwinfo-lua: don't depend on lua

2012-12-24 Thread Stefan Hellermann
on frontend software, only the other way around. ~ Jow So here is another try, delete +lua from libiwinfo-lua. Other packages should always depend on the library and on the interpreter. Signed-off-by: Stefan Hellermann ste...@the2masters.de --- a/package/network/utils/iwinfo/Makefile +++ b

Re: [OpenWrt-Devel] [PATCH][V2] Zabbix: add extra packages with discovery/userparameter

2012-12-22 Thread Stefan Hellermann
is needed. Further I think the startup scripts are a bad idea and we should just run zabbix as root. I have to run your rules on a router with wifi devices to test them, I have not done it till now. Regards, Stefan Hellermann ___ openwrt-devel mailing

Re: [OpenWrt-Devel] [PATCH][V2] Zabbix: add extra packages with discovery/userparameter

2012-12-22 Thread Stefan Hellermann
CONFIG_KERNEL_DEBUG_FS automatically. Regards, Stefan Hellermann ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [Patch] Add xterm-256color to ncurses terminfo

2012-12-22 Thread Stefan Hellermann
Patch to add xterm-256color to terminfo. Fedora 18 and Mac OS X lion set $TERM to xterm-256color by default. Without this patch ncurses based apps will error out with: Error opening terminal: xterm-256color. diff --git a/package/libs/ncurses/Makefile b/package/libs/ncurses/Makefile index

Re: [OpenWrt-Devel] [PATCH] Zabbix: add wifi (iwinfo and mac80211) UserParameter

2012-12-20 Thread Stefan Hellermann
, Stefan Hellermann ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [lantiq] kernel 3.7 update

2012-12-15 Thread Stefan Hellermann
wow thanks! Nice update! I will try it next week on a few Fritzbox 7320, looks like it's almost fully supported (only DECT missing). 2012/12/15 John Crispin j...@phrozen.org: Hi, i pushed the lantiq 3.7 kernel support last night. This is a rather big update as we are now running arch/lantiq/

Re: [OpenWrt-Devel] [PATCH 1/2] [packages] zabbix: preserve conffile over sysupgrade

2012-12-04 Thread Stefan Hellermann
Applied in r34491, thanks! -- Florian Thanks! I noticed that there is now an empty file: admin/zabbix/files/zabbix_agentd.conf this should be deleted. -- Stefan ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH][packages][admin] Zabbix - level up

2012-12-04 Thread Stefan Hellermann
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/zabbix -PKG_MD5SUM:=d34d398beddee0eaa999789100cf74e3 +PKG_MD5SUM:=bef75dd149abc8a6da4adafc08eb61de PKG_INSTALL:=1 Acked-by: Stefan Hellermann ste...@the2masters.de ___ openwrt-devel

[OpenWrt-Devel] [PATCH] [packages] add rsnapshot backup utility

2012-10-23 Thread Stefan Hellermann
the conffiles line to save rsnapshot.conf over sysupgrade. I'm using this package on a NAS for a few weeks now. Should I add a MAINTAINER:= line? Signed-off-by: Stefan Hellermann ste...@the2masters.de Index: utils/rsnapshot/Makefile

[OpenWrt-Devel] [PATCH 1/2] [packages] zabbix: preserve conffile over sysupgrade

2012-10-23 Thread Stefan Hellermann
an old conffile files/zabbix_agentd.conf which is unused since changeset 32497 (level up zabbix to version 2.0.0) Should I breakdown this patch into smaller parts? Signed-off-by: Stefan Hellermann ste...@the2masters.de Index: admin/zabbix/Makefile