Re: [OpenWrt-Devel] looking for a tl-wdr4900 tester

2015-02-13 Thread Bastian Bittorf
* John Crispin blo...@openwrt.org [13.02.2015 20:03]: i have not even pushed my patches yet. i can send you an image to test if you want sorry, i see - i simply changed the kernel-version without seeing, that the 3.18 patches are not in yet for this platform i'am ready for testing and have a

Re: [OpenWrt-Devel] procd / crash of PID 1

2015-03-19 Thread Bastian Bittorf
* John Crispin blo...@openwrt.org [24.02.2015 21:50]: today i started to sysupgrade a r44751 router and the log (in another terminal) showed this: Wed Mar 18 22:46:05 2015 daemon.notice netifd: Network device 'wlan0' link is down Wed Mar 18 22:46:05 2015 daemon.notice netifd: Interface

Re: [OpenWrt-Devel] Ubiquiti AirOS7 is based on openwrt r40432

2015-03-12 Thread Bastian Bittorf
* Nemesis neme...@ninux.org [12.03.2015 14:08]: Anybody else has studied this code and found out anything interesting? 8-))) see, they use an acient php from: http://museum.php.net/php2/ bye, bastian ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] Multiple OpenWrt devices collectively managed?

2015-03-24 Thread Bastian Bittorf
* Janne Cederberg janne.cederb...@gmail.com [24.03.2015 12:56]: Oh, sorry Bastian I forgot to comment on your suggestion earlier! Question: how does that constant restarting affect network QoS/throughput? the 'wifi up' command is only issued when a) the last client leaves. each 60secs there

Re: [OpenWrt-Devel] Multiple OpenWrt devices collectively managed?

2015-03-24 Thread Bastian Bittorf
* David Lang da...@lang.hm [24.03.2015 12:56]: If a client tries to connect right after it has gone idle, they will just end up connecting to a more remote AP (assuming there is one in range) you are right, because everything is polluted with access-points, there is always another one in

Re: [OpenWrt-Devel] Is PPPoE broken in Barrier Breaker?

2015-03-25 Thread Bastian Bittorf
* valent.turko...@gmail.com valent.turko...@gmail.com [25.03.2015 09:25]: people who have success with PPPoE on OpenWrt? yes, we have several active routers with recent openwrt running PPPoE in Germany and Vietnam. bye, bastian ___ openwrt-devel

Re: [OpenWrt-Devel] uci -P no longer working correctly

2015-03-31 Thread Bastian Bittorf
* Yousong Zhou yszhou4t...@gmail.com [31.03.2015 19:20]: I just sent a patch for this with you in the cc list. Could you give it a try and tell if it can work for you? this does not fix the issue for me, just tried r45160 - see also: https://dev.openwrt.org/ticket/19361 bye, bastian

Re: [OpenWrt-Devel] uci -P no longer working correctly

2015-03-31 Thread Bastian Bittorf
* Yousong Zhou yszhou4t...@gmail.com [31.03.2015 19:20]: I just sent a patch for this with you in the cc list. Could you give it a try and tell if it can work for you? please ignore my last mail - uci was not recompiled - will check again. bye, bastian

Re: [OpenWrt-Devel] uci -P no longer working correctly

2015-03-31 Thread Bastian Bittorf
* Yousong Zhou yszhou4t...@gmail.com [31.03.2015 19:20]: I just sent a patch for this with you in the cc list. Could you give it a try and tell if it can work for you? fixed for me too - thank you! - bye, bastian ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] Rebuilding for specific hardware, example ar71xx/image for TP-Link TL-WR841ND

2015-03-23 Thread Bastian Bittorf
* Jean-Michel Pouré - GOOZE jmpo...@gooze.eu [23.03.2015 13:30]: Obviously, I need a default .config file before using buildroot. Where is it stored and published? just type 'make defconfig'. this is maybe not the config you have found somewhere, but it works and you can tweak it individually

Re: [OpenWrt-Devel] Rebuilding for specific hardware, example ar71xx/image for TP-Link TL-WR841ND

2015-03-23 Thread Bastian Bittorf
* Jean-Michel Pouré - GOOZE jmpo...@gooze.eu [23.03.2015 11:28]: Will it select automatically this .config file: target/linux/ar71xx/config-3.18 yes. the number is taken from 'include/kernel-version.mk' bye, bastian ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] Rebuilding for specific hardware, example ar71xx/image for TP-Link TL-WR841ND

2015-03-23 Thread Bastian Bittorf
* Arjen de Korte arjen+open...@de-korte.org [23.03.2015 16:06]: So I need to activate compilation with: echo .config 'CONFIG_PACKAGE_luci=y' No, you have to run 'make menuconfig' and select the luci package in there. In many cases, other packages are needed when you select a package. This

[OpenWrt-Devel] procd / crash of PID 1

2015-02-24 Thread Bastian Bittorf
our PID 1 sometimes crashs: if this happens the last lines in log show this: Tue Feb 24 11:40:04 2015 user.emerg syslog: Rebooting as procd has crashed Tue Feb 24 11:40:04 2015 user.emerg syslog: reboot in our firmware we evaluate the file /sys/kernel/debug/crashlog after each reboot. if procd

Re: [OpenWrt-Devel] Multiple OpenWrt devices collectively managed?

2015-03-23 Thread Bastian Bittorf
* David Lang da...@lang.hm [23.03.2015 20:19]: question is around having something to automatically assign channels amoung the different APs to minimize interference between the APs and between the APs and other things in the area. we just use hostapd athXk acs-survey/channel=auto...why dont

Re: [OpenWrt-Devel] Multiple OpenWrt devices collectively managed?

2015-03-23 Thread Bastian Bittorf
* Janne Cederberg janne.cederb...@gmail.com [23.03.2015 22:13]: So there's the auto mode in OpenWrt but that only considers the state of the wifi spectrum at the ifup of the wifi adapter, correct? So if things drastically change later, the AP would stay on the same channel and not switch.

[OpenWrt-Devel] [PATCH] busybox: replace hotfix with upstream commit de5edadee2dca2896492f97ab3a56e389305e74d

2015-04-23 Thread Bastian Bittorf
-by: Bastian Bittorf bitt...@bluebottle.com --- ...-a-regression-in-handling-local-variables.patch | 75 --- .../290-ash-fix-handling-of-duplicate-local.patch | 204 2 files changed, 204 insertions(+), 75 deletions(-) delete mode 100644 package/utils/busybox/patches/290-ash-fix

Re: [OpenWrt-Devel] Thoughts on shellcheck?

2015-05-04 Thread Bastian Bittorf
* Eric Schultz eschu...@prplfoundation.org [03.05.2015 20:28]: Hey, I wanted to let folks know about this open source tool for finding errors in shell scripts that I stumbled on: https://github.com/koalaman/shellcheck. Not sure on how applicable it will be to the complex features that OpenWrt

[OpenWrt-Devel] wrong configured spam-filter for openwrt-dev

2015-05-01 Thread Bastian Bittorf
while sending a mail to openwrt-dev, i got this answer, which doesnt make any sense, because the list only accepts registered users anyway: openwrt-devel@lists.openwrt.org: host mail.openwrt.org[78.24.191.176] said: 554 5.7.1 Service unavailable; Client host [176.9.57.138] blocked using

[OpenWrt-Devel] uhttpd / startup-error without a message

2015-05-11 Thread Bastian Bittorf
today I was searching for a non-running uhttpd and recognized, that there are no error messages anymore if something goes wrong. in 62ff68fb / r38023 # procd: convert various packages to procd style init.d scripts # Signed-off-by: John Crispin blo...@openwrt.org the debug-output was commented

Re: [OpenWrt-Devel] uhttpd / startup-error without a message

2015-05-11 Thread Bastian Bittorf
* Jo-Philipp Wich j...@openwrt.org [11.05.2015 10:29]: this is already fixed in trunk. The uhttpd stderr is relayed to syslog there. thank you - i see: this is not very intuitive. can this be send to console when user is interactive? (like: loggger -s message) bye, bastian

Re: [OpenWrt-Devel] uhttpd / startup-error without a message / procd interactive logging

2015-05-11 Thread Bastian Bittorf
* Jo-Philipp Wich j...@openwrt.org [11.05.2015 11:47]: this is not very intuitive. can this be send to console when user is interactive? (like: loggger -s message) Not easily as it is procd logging the services stderr. One can implement a test or debug start action though which would

Re: [OpenWrt-Devel] uhttpd / startup-error without a message / procd interactive logging

2015-05-11 Thread Bastian Bittorf
* Jo-Philipp Wich j...@openwrt.org [11.05.2015 12:34]: it think thats too special - there should be a generic way to get direct feedback on the commandline when something fails without doing magic. what if we e.g. 'export INTERACTIVE=1' via /etc/profile so procd / a called script is aware

Re: [OpenWrt-Devel] linux / overlay / OpenWrt / problems with full working dir

2015-05-19 Thread Bastian Bittorf
* Miklos Szeredi mik...@szeredi.hu [19.05.2015 11:19]: The work directory is needed for atomic copy-up and similar. It is not actually necessary to mount a read-only overlay. Post 4.0 it is possible to mount the overlay without workdir (but even then it won't happen automatically in case

[OpenWrt-Devel] -ash: changed behaviour of local vars / v1.22.1 - v1.23.2

2015-04-16 Thread Bastian Bittorf
while heavy testing of recent OpenWrt i discovered the following problem: x() { local x=1; echo $x; local x; echo $x; } older busybox will output 1 1 and v1.23.2 will only output 1 this means: 'local varname' will empty the var. is this a problem with a changed config? at least i cannot find a

[OpenWrt-Devel] [PATCH] [kernel] upstream fix: mount overlayfs r/o if workdir cannot be created

2015-05-19 Thread Bastian Bittorf
runtime tested on ar71xx with kernel 3.18.11 this paritially fixes #19564 Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- ...unt-read-only-if-workdir-can-t-be-created.patch | 114 1 file changed, 114 insertions(+) create mode 100644 target/linux/ar71xx/patches

[OpenWrt-Devel] Trac / disk-full? (error while writing to spool file)

2015-05-20 Thread Bastian Bittorf
while editing a ticket, i saw: Warning: The change has been saved, but an error occurred while sending notifications: (451, 'Error while writing spool file') bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] Chaos Calmer 15.05-rc1 / git-checkout

2015-05-20 Thread Bastian Bittorf
* Steven Barth cy...@openwrt.org [20.05.2015 19:43]: http://downloads.openwrt.org/chaos_calmer/15.05-rc1/ Thank you! when will this work?: git clone git://git.openwrt.org/15.05/openwrt.git * Known Issues - libusb-1.0 is currently not installable (#19668). This is already this is a joke

[OpenWrt-Devel] [PATCH] [base-files] show hint when JFFS2-partition is full and overlayfs mounted read-only

2015-06-03 Thread Bastian Bittorf
in /overlay/upper/... Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/base-files/files/etc/profile |4 1 file changed, 4 insertions(+) diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index 3dd58e1..007baf0 100644 --- a/package/base

[OpenWrt-Devel] [gre...@linuxfoundation.org: Patch ovl: mount read-only if workdir can't be created has been added to the 4.0-stable tree]

2015-06-03 Thread Bastian Bittorf
despite being read-only. Reported-by: Bastian Bittorf bitt...@bluebottle.com Signed-off-by: Miklos Szeredi mszer...@suse.cz Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- fs/overlayfs/copy_up.c |3 +++ fs/overlayfs/dir.c |9 + fs/overlayfs/super.c | 10

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Bastian Bittorf
* Hendrik Lüth hend...@linux-nerds.de [10.06.2015 12:58]: + for i in /etc/profile.d/* ; do +if [ -r $i ]; then + . $i +fi + done + unset i +fi i like the idea, but please use at least: command . $i or ( . $i ) otherwise a syntax error / file error will prevent a login.

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Bastian Bittorf
* Matthias Schiffer mschif...@universe-factory.net [10.06.2015 14:26]: Why should errors in these files cause login issues? This is shell and there's no -e, problematic lines will print an error and be skipped. i have seen a lot of strange things. think about flash readerrors or stack

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Bastian Bittorf
* thomas.lan...@lantiq.com thomas.lan...@lantiq.com [10.06.2015 13:59]: I think this will not work, as /etc/profile (and these additional files) is expected to be executed in the current shell context. Otherwise adding shell variables or extending $PATH will not work. So you cannot execute

Re: [OpenWrt-Devel] How to keep disabled services disabled after sysupgrade

2015-06-18 Thread Bastian Bittorf
* Stefan Tomanek stefan.tomanek+open...@wertarbyte.de [18.06.2015 15:39]: Can anyone supply any different ideas or provide some feedback? maybe: disabled services are stored during sysupgrade in e.g. /lib/upgrade/keep.d/services_disabled and this file will be read line by line during

Re: [OpenWrt-Devel] Presentation on Linux Containers (LXC)

2015-06-26 Thread Bastian Bittorf
* Javier Domingo Cansino javier...@gmail.com [26.06.2015 17:22]: Thanks for sharing!! short comment from myself (for the next hangout). everyone who is speaking should do a short introduce myself with background. bye, bastian ___ openwrt-devel mailing

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Bastian Bittorf
* Hendrik Lüth hend...@linux-nerds.de [10.06.2015 20:38]: Weather a script needs to get called in failsafe mode or not depends on the script, so I'd like to not skip it. no, failsafe is failsafe is failsafe and should do mostly nothing. bye, bastian

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Bastian Bittorf
* Yousong Zhou yszhou4t...@gmail.com [10.06.2015 20:38]: distributions. This allows packages to install their own scripts into /etc/profile.d/. IMO, OpenWrt is not like most of other Linux distributions. So what are those other packages that need this and the current specific use cases?

Re: [OpenWrt-Devel] [PATCHv2] ppp : Unnumbered support

2015-06-12 Thread Bastian Bittorf
* Hans Dedecker dedec...@gmail.com [12.06.2015 12:15]: + if [ -n $res_mask -a $mask != 32 ]; then + [ $mask -gt $res_mask ] || [ $res_mask = 32 ] { if you send a v3, please use here: [ $mask -gt $res_mask -o $res_mask = 32 ] { ... } + [ -n

Re: [OpenWrt-Devel] opkg.conf as preserved config file in sysupgrade is creating problems (especially after package signing)

2015-06-18 Thread Bastian Bittorf
* Hannu Nyman hannu.ny...@iki.fi [18.06.2015 11:06]: Other possibility could be divide opkg.conf into two: a build-specific default download repo list (to be overwritten in sysupgrade) and a user-specific config file with config options and possible additional download locations (to be

Re: [OpenWrt-Devel] [PATCH] [generic] ramips: adding support for OYE-0001 Wireless Router

2015-06-17 Thread Bastian Bittorf
* younfan33 younfa...@hotmail.com [17.06.2015 08:52]: --- target/linux/ramips/base-files/lib/preinit/06_set_iface_mac(revision 0) +++ target/linux/ramips/base-files/lib/preinit/06_set_iface_mac(revision 0) @@ -0,0 +1,113 @@ +# +# Copyright (C) 2011 OpenWrt.org +# +

Re: [OpenWrt-Devel] can netifd automatically restart a service?

2015-06-11 Thread Bastian Bittorf
* Nikos Mavrogiannopoulos n...@gnutls.org [11.06.2015 09:35]: individual service). However, a way to reduce the impact would be for netifd to restart transmission if crashed. Can that be done already, or inittab is the only option? you can convert the initscript for using 'procd'. take as an

Re: [OpenWrt-Devel] [PATCH v2] base-files: add /etc/profile.d support

2015-06-15 Thread Bastian Bittorf
* Hendrik hend...@linux-nerds.de [15.06.2015 09:02]: i just wanted to ask for your oppinions on the second verison of my patch. why didnt you pay attention for all the suggestions? bye, bastian ___ openwrt-devel mailing list

[OpenWrt-Devel] menuconfig: unselect usign / build without opkg

2015-05-29 Thread Bastian Bittorf
while working on a minimal image, i tried to build without usign. is it possible to let it depend on opkg? can i send a patch for this? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH v4] [kernel] upstream fix: mount overlayfs r/o if workdir cannot be created

2015-05-29 Thread Bastian Bittorf
* Christian Mehlis christ...@m3hlis.de [29.05.2015 19:00]: this patch is superfluous because it's already merged... Thomas is right, i send it only for ar71xx, but it should be in the generic 3.18-patchfolder. I'am already compiling some other platforms and test it. if ok, i will send v5 which

[OpenWrt-Devel] [PATCH] odhcp6c: script: only call firewall, if installed

2015-05-31 Thread Bastian Bittorf
We dont use fw3, so i was wondering about error-messages in syslog about fw3. check if 'fw3' is in place, before calling it. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/network/ipv6/odhcp6c/files/dhcpv6.script |4 +++- 1 file changed, 3 insertions(+), 1 deletion

Re: [OpenWrt-Devel] [PATCH/resend] [odhcp6c] script: only call firewall, if installed

2015-05-31 Thread Bastian Bittorf
* Steven Barth cy...@openwrt.org [31.05.2015 20:56]: The patch is malformed and cannot be applied. i just sent a rebased version (the old was from 2014). bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH] odhcp6c: script: only call firewall, if installed

2015-06-01 Thread Bastian Bittorf
* Steven Barth cy...@openwrt.org [01.06.2015 10:46]: Is that okay with you as well https://dev.openwrt.org/changeset/45867 ? it's ok for me, but IMHO not the proper way, because you are hiding errors, if there are any... bye, bastian ___ openwrt-devel

Re: [OpenWrt-Devel] [PATCH] zram-swap: set a high priority for the swap

2015-05-27 Thread Bastian Bittorf
* Juan Orti Alcaine j.orti.alca...@gmail.com [26.05.2015 07:59]: - swapon $zram_dev + swapon -p 100 $zram_dev please use at least: swapon -p X $dev || swapon $dev so it can work even without '-p' option, which is optional in busybox. bye, bastian

[OpenWrt-Devel] [PATCH v2] [kernel] upstream fix: mount overlayfs r/o if workdir cannot be created

2015-05-27 Thread Bastian Bittorf
This is the case e.g. if JFFS2 partition is full. see: https://www.mail-archive.com/linux-unionfs@vger.kernel.org/msg00246.html runtime tested on ar71xx with kernel 3.18.14 and r45772 (rebased) this paritially fixes #19564 Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- ...-overlayfs

[OpenWrt-Devel] [PATCH v3] [kernel] upstream fix: mount overlayfs r/o if workdir cannot be created

2015-05-27 Thread Bastian Bittorf
-by: Bastian Bittorf bitt...@bluebottle.com --- ...-overlayfs-fallback-to-readonly-when-full.patch | 109 1 file changed, 109 insertions(+) create mode 100644 target/linux/ar71xx/patches-3.18/910-overlayfs-fallback-to-readonly-when-full.patch diff --git a/target/linux/ar71xx

Re: [OpenWrt-Devel] [PATCH v2] [kernel] upstream fix: mount overlayfs r/o if workdir cannot be created

2015-05-27 Thread Bastian Bittorf
* Jo-Philipp Wich j...@openwrt.org [27.05.2015 18:40]: This should get corrected (and upstream notified about it as well). e.g. 'failed to create work directory'? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH/resend] [odhcp6c] script: only call firewall, if installed

2015-05-31 Thread Bastian Bittorf
* Bastian Bittorf bitt...@bluebottle.com [23.10.2014 11:28]: odhcp6c: script: only call firewall, if installed we dont use fw3, so i was wondering about error-messages in syslog about fw3. check if 'fw3' is in place, before calling it. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com

[OpenWrt-Devel] Dualradio 2.4/5GHz ath9k-Hardware which is deliverable?

2015-07-01 Thread Bastian Bittorf
In our community we are struggling now, what we can buy. TP-Link 4900 and 4300 are EOL now in Germany. What else is there? - 8mb+ flash - 450 mbit ath9k 2.4 GHz - 450 mbit ath9k 5 GHz - 128mb ram - 5 gigabit ports - OpenWrt 8-) bye, bastian ___

Re: [OpenWrt-Devel] Dualradio 2.4/5GHz ath9k-Hardware which is deliverable?

2015-07-01 Thread Bastian Bittorf
* Jonathan Bennett jbscienc...@gmail.com [01.07.2015 20:33]: I have had great success with the tp-link Archer c7. It fits the bid nicely, if it is available. no, it does not fit. it has only an ath10k-radio for 5ghz. bye, bastian ___ openwrt-devel

Re: [OpenWrt-Devel] [PATCH] This patch fixes a line that appears to clear beacon_int variable, prevent setting beacon interval for adhoc.

2015-06-30 Thread Bastian Bittorf
* ben b...@gowasabi.net [30.06.2015 06:48]: Signed-off-by: ben b...@gowasabi.net --- package/network/services/hostapd/files/netifd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/hostapd/files/netifd.sh

Re: [OpenWrt-Devel] Dualradio 2.4/5GHz ath9k-Hardware which is deliverable?

2015-07-01 Thread Bastian Bittorf
* Emmanuel Deloget log...@free.fr [01.07.2015 21:50]: You should try Aliexpress - it seems they still have some 4900 (be aware that prices might be a bit weird). my question is not about tricks to get these devices. it's about what can be found everywhere. is 2.4+5ghz ath9k really outdated?

Re: [OpenWrt-Devel] [Olsr-dev] [ANNOUNCE - v1] olsrd v0.9.0.2 released

2015-07-02 Thread Bastian Bittorf
* Ferry Huberts maili...@hupie.com [30.06.2015 18:38]: We did a bug-fix release of olsrd v1. yesterday i updated the OpenWrt routing-packages for trunk|14.07|15.05 - thank you all! BTW: no issues so far when using 'musl' libc. as always: please compile, test and report 8-) bye, bastian

Re: [OpenWrt-Devel] Dualradio 2.4/5GHz ath9k-Hardware which is deliverable?

2015-07-02 Thread Bastian Bittorf
* Etienne Champetier champetier.etie...@gmail.com [02.07.2015 10:51]: is 2.4+5ghz ath9k really outdated? bye, bastian maybe you can explain why only ath9k (mesh? binary blob?) We like on 4 things: - ratecontrol in userspace (minstrel) - powercontrol in userspace (not upstream yet) -

Re: [OpenWrt-Devel] Fwd: iwinfo lua scanlist issue

2015-06-29 Thread Bastian Bittorf
* Peter Uithoven pe...@peteruithoven.nl [29.06.2015 15:27]: If I understand the OpenWRT wiki hotplug is replaced by procd? no. netifd will start hotplug if an interface comes up. But, why does the wiki say this then? Is that info incorrect? Is netifd an exception? you are right -

Re: [OpenWrt-Devel] Fwd: iwinfo lua scanlist issue

2015-06-29 Thread Bastian Bittorf
* Peter Uithoven pe...@peteruithoven.nl [29.06.2015 13:20]: We do a little bit of our own wifi config. We try to find (using scanlist) known wifi networks and connect to them, when non appropriate are found we create a accesspoint. In the future, when connecting to a known networks fails it

Re: [OpenWrt-Devel] watchping

2015-07-03 Thread Bastian Bittorf
* Bruno Randolf b...@einfach.org [03.07.2015 13:15]: I am writing here to ask wether someone has done this already, or if there are any other concerns or opinions. Please let me know! I think nearly every wireless community has something like this. A good approach is IMHO the sven-ola check

Re: [OpenWrt-Devel] watchping

2015-07-03 Thread Bastian Bittorf
* Bruno Randolf b...@einfach.org [03.07.2015 13:15]: I am writing here to ask wether someone has done this already, or if there are any other concerns or opinions. Please let me know! IMHO useful would be to have a hotplug-events during every change of default-route (for every interface). (e.g.

[OpenWrt-Devel] error 421 while creating new ticket

2015-07-02 Thread Bastian Bittorf
just for the admin: Warning: The ticket has been created, but an error occurred while sending notifications: (421, 'Unexpected failure, please try later') while submitting this new ticket: https://dev.openwrt.org/ticket/20029 bye, bastian ___

Re: [OpenWrt-Devel] working with quilt from './staging_dir/host/bin/quilt'

2015-05-21 Thread Bastian Bittorf
* Jo-Philipp Wich j...@openwrt.org [21.05.2015 20:50]: meanwhile yes, but it does not work like i exspected. should'nt quilt open, when a patch cannot be applied cleanly? Uhm no. At least I never encountered such behavior. ok, lets say i have copied a patch into the kernel-patches folder

[OpenWrt-Devel] working with quilt from './staging_dir/host/bin/quilt'

2015-05-21 Thread Bastian Bittorf
on my buildserver i cannot install packages and must use e.g. './staging_dir/host/bin/quilt'. but quilt does not start with: make target/linux/{clean,prepare} V=s QUILT=1 bastian@gcc20:~/openwrt$ which quilt || echo missing missing bastian@gcc20:~/openwrt$ ./staging_dir/host/bin/quilt --version

Re: [OpenWrt-Devel] [PATCH] [kernel] upstream fix: mount overlayfs r/o if workdir cannot be created

2015-05-21 Thread Bastian Bittorf
* Christian Mehlis christ...@m3hlis.de [21.05.2015 12:49]: +--- a/fs/overlayfs/super.c b/fs/overlayfs/super.c +@@ -529,7 +529,7 @@ static int ovl_remount(struct super_block *sb, int *flags, char *data) this function was added with linux 4.0, so your patch for 3.18 does not apply.

Re: [OpenWrt-Devel] [PATCH] [kernel] upstream fix: mount overlayfs r/o if workdir cannot be created

2015-05-21 Thread Bastian Bittorf
: Bastian Bittorf bitt...@bluebottle.com Date: Thu, 21 May 2015 13:55:00 +0200 Subject: [PATCH] [kernel] upstream fix: mount overlayfs r/o if workdir cannot be created see: https://www.mail-archive.com/linux-unionfs@vger.kernel.org/msg00246.html runtime tested on ar71xx with kernel 3.18.11 and r45705

Re: [OpenWrt-Devel] working with quilt from './staging_dir/host/bin/quilt'

2015-05-21 Thread Bastian Bittorf
* Jo-Philipp Wich j...@openwrt.org [21.05.2015 15:18]: Did you try something like export PATH=$PATH:/home/bastian/openwrt/staging_dir/host/bin ? meanwhile yes, but it does not work like i exspected. should'nt quilt open, when a patch cannot be applied cleanly? bye, bastian

Re: [OpenWrt-Devel] [PATCH v2] busybox: lock: implement -n Fail rather than wait

2015-08-13 Thread Bastian Bittorf
* Alexander Couzens lyn...@fe80.eu [07.08.2015 20:48]: lock -n is similiar to flock -n. If the lock was already taken, fail with exit code = 1 and write error message to stderr. see: http://mywiki.wooledge.org/BashFAQ/045 internally we are using 'mkdir' which is called via a 'lock()' function:

Re: [OpenWrt-Devel] [PATCH] busybox: lock: implement -n Fail rather than wait

2015-08-13 Thread Bastian Bittorf
* Alexander Couzens lyn...@fe80.eu [06.08.2015 19:05]: lock -n is similiar to flock -n. If the lock was already taken, fail with exit code = 1 and write error message to stderr. sorry, forget to ask: is this more atomic than 'mkdir mypath || return'? bye, bastian

Re: [OpenWrt-Devel] Separate Default SSID for 2.4GHz and 5GHz

2015-08-13 Thread Bastian Bittorf
* Sami Olmari s...@olmari.fi [07.08.2015 15:48]: In openwrt you are free to configure each and every radio as own unit, so use whatever SSID you see fit for each radio. This is default basic OpenWrt stuff :) seems that Afkar has 1 radio which must be switched between 2.4 and 5 GHz, Afkar?

[OpenWrt-Devel] iproute2/tc does not apply or show filters

2015-06-30 Thread Bastian Bittorf
While working with 'tc' we found something strange: Our filters apply without errors, but we cannot see them with 'tc filter show dev $dev'. Also when running 'tc monitor' in another terminal, we only see 'qdisc' related things, but not filters. It seems that it happens from r37xxx till

[OpenWrt-Devel] RFC: adding 'traceroute6' to busybox / base

2015-08-01 Thread Bastian Bittorf
i build it for ar71xx, and these are the numbers [bytes]: before: 359736 build_dir/target-mips_34kc_musl-1.1.10/busybox-1.23.2/busybox 208071 bin/ar71xx/packages/base/busybox_1.23.2-1_ar71xx.ipk after: 359884 build_dir/target-mips_34kc_musl-1.1.10/busybox-1.23.2/busybox 209115

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

2015-08-12 Thread Bastian Bittorf
* Rafał Miłecki zaj...@gmail.com [11.08.2015 21:01]: is there a special reason, that you are using exec /sbin/poweroff instead of just /sbin/poweroff bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

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

2015-08-12 Thread Bastian Bittorf
* 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 this while reading the affected sources of your patch. @stefan: why is this 'exec' needed? bye, bastian

Re: [OpenWrt-Devel] [PATCH] bugfix: FORCE=1 doesn't work to override prereq checks

2015-07-27 Thread Bastian Bittorf
* Lawrence D'Anna la...@elder-gods.org [26.07.2015 16:39]: What prereq can be forced that makes force even a worthwhile option? If it works anyway, why not just drop the prereq check? If it still won't work, what's the point in allowing a force? In my case it was because the prereq

Re: [OpenWrt-Devel] RFC: Preserving smbpasswd dnsmasq.time across sysupgrade

2015-07-27 Thread Bastian Bittorf
* Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk [26.07.2015 16:35]: The next question is how? It looks like a few other packages create a subdir in 'keep.d' with a file containing a list of files that should be preserved by default. I would anticipate creating 'samba' 'dnsmasq'

Re: [OpenWrt-Devel] [PATCH] busybox: update to version 1.24.1

2015-10-26 Thread Bastian Bittorf
* Magnus Kroken [26.10.2015 07:11]: > Patches applied upstream and dropped: > 280-fix_find_regression.patch > 300-ip-addr-improvements.patch > > Signed-off-by: Magnus Kroken > --- > Run-time tested on ar71xx (TL-WDR4300). Compile-tested on mpc85xx and

Re: [OpenWrt-Devel] Extra file permissions

2015-10-27 Thread Bastian Bittorf
* David H. Madden [27.10.2015 08:16]: > I have been adding ssh authorized_keys files to my OpenWRT devices, > and would like to have them built into the sysupgrade image, rather > than adding to /overlay afterward. However, the process that copies > files from .../files to the

Re: [OpenWrt-Devel] How to get uhttpd logs

2015-10-29 Thread Bastian Bittorf
* Pratik Prajapati [29.10.2015 12:41]: > So how to get uhttpd logs ? 1) run the daemon in foreground: look out for the exact option string with 'ps'. here i have to run e.g.: /usr/sbin/uhttpd -f -h /www -r EG-labor-AP -c /etc/httpd.conf -x /cgi-bin -u /ubus -t 60

Re: [OpenWrt-Devel] Memory leak in ash with script using "local" incorrectly

2015-10-29 Thread Bastian Bittorf
* Rafał Miłecki [29.10.2015 07:29]: > However I guess it would be nice thing to stop memory leak, even if > script code is incorrect. Could someone take a look at this, please? > > My BusyBox/ash version: > BusyBox v1.23.2 (2015-07-12 11:22:27 CEST) built-in shell (ash) i just

Re: [OpenWrt-Devel] UCI???

2015-11-11 Thread Bastian Bittorf
* smile...@gmail.com [11.11.2015 20:11]: > How can i get the functions including in the script > i.e. /lib/functions/olsrd.sh > Is there a way without to read the sources? please use for external packages this tracker: https://github.com/openwrt/packages/ (olsr-package is

Re: [OpenWrt-Devel] polluted env-space after running OpenWrt-helper scripts

2015-11-03 Thread Bastian Bittorf
* Jo-Philipp Wich [03.11.2015 12:44]: > > but i'am unsure how to unset all these vars: > > Whenever a script calls uci_load(), the previous state vars are > discarded, see the declaration of uci_load in /lib/config/uci.sh > > You can force an unconditional unload with calling

Re: [OpenWrt-Devel] polluted env-space after running OpenWrt-helper scripts

2015-11-03 Thread Bastian Bittorf
* Felix Fietkau [03.11.2015 13:23]: > I think if you're worried about the overhead of that stuff, you should > help migrate init scripts away from this legacy API. > > Services started via procd are not affected by that kind of env-space > pollution. thank you, i will do it

Re: [OpenWrt-Devel] [PATCH][ar71xx] add support for tp-link wr841n v10 image generation

2015-10-16 Thread Bastian Bittorf
* Bastian Bittorf <bitt...@bluebottle.com> [11.10.2015 21:31]: > * John Crispin <blo...@openwrt.org> [11.10.2015 20:40]: > > also please prefix your patches with ar71xx: and not [ar71xx] > > can please somebody change the text in > https://dev.openwrt.org/

Re: [OpenWrt-Devel] [PATCH] base-files: sysupgrade: respect new profile.d infrastructure

2015-10-16 Thread Bastian Bittorf
* Bastian Bittorf <bitt...@bluebottle.com> [11.10.2015 21:48]: > i got a patchwork mail[1] with the short message > "patch is superseeded" - but no further comments, > so the question is: > > 1) who closed the patch? > 2) why is it 'supersee

Re: [OpenWrt-Devel] [PATCH] busybox: enable find mtime support by default

2015-10-16 Thread Bastian Bittorf
* Dirk Brenken [16.10.2015 12:58]: > busybox binary in openwrt neither supports stat nor find mtime. This > patch adds find mtime support by default. please show at least 2 platforms, how much bloat it adds (stripped/unstripped) bye, bastian

[OpenWrt-Devel] [PATCH] base-files: sysupgrade: respect new profile.d infrastructure

2015-10-11 Thread Bastian Bittorf
i got a patchwork mail[1] with the short message "patch is superseeded" - but no further comments, so the question is: 1) who closed the patch? 2) why is it 'superseeded', but not fixed? bye, bastian [1] http://patchwork.ozlabs.org/patch/528164/ ___

Re: [OpenWrt-Devel] [PATCH][ar71xx] add support for tp-link wr841n v10 image generation

2015-10-11 Thread Bastian Bittorf
* John Crispin [11.10.2015 20:40]: > also please prefix your patches with ar71xx: and not [ar71xx] can please somebody change the text in https://dev.openwrt.org/wiki/SubmittingPatches @ "13. The canonical patch format" -> Subject: [PATCH 001/123] [section] summary phrase i

Re: [OpenWrt-Devel] SVN to GIT transition / paid patch-checking

2015-10-13 Thread Bastian Bittorf
* Nemesis [12.10.2015 12:17]: > The Django Framework moved from SVN to github in 2012but they kept their > own bug tracker (which they redesigned with some funding to make it more > usable): https://code.djangoproject.com/ > > I think they're a good example of an open source

Re: [OpenWrt-Devel] SVN to GIT transition / paid patch-checking

2015-10-13 Thread Bastian Bittorf
* Daniel Golle [13.10.2015 16:53]: > If you want an industry-driven fork, go ahead. But don't force that > model upon an existing community without understanding how major parts > of that said community is operating. What I see since a long time, is that there is simply

[OpenWrt-Devel] [PATCH v2] base-files: show hint when JFFS2-partition is full and overlayfs mounted read-only

2015-10-09 Thread Bastian Bittorf
in /overlay/upper/... v2: fix subject line Signed-off-by: Bastian Bittorf <bitt...@bluebottle.com> --- package/base-files/files/etc/profile |4 1 file changed, 4 insertions(+) diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index 3dd58e1..0

[OpenWrt-Devel] [PATCH] base-files: sysupgrade: respect new profile.d infrastructure

2015-10-09 Thread Bastian Bittorf
-conffiles' call in add_uci_conffiles() Signed-off-by: Bastian Bittorf <bitt...@bluebottle.com> --- package/base-files/Makefile |1 - package/base-files/files/lib/upgrade/keep.d/base-files-essential |2 +- 2 files changed, 1 insertion(+), 2 del

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread Bastian Bittorf
* karlp [04.09.2015 12:30]: > Maybe "local" could be used to avoid the unset FILE line, but at least on 2nd tought i must object, that if we use a function, our environment is polluted with a function (how to unload it?), so it's easier to just unset a variable. bye, bastian

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread Bastian Bittorf
* karlp [04.09.2015 12:30]: > > + for FILE in /etc/profile.d/*.sh; do > > + [ -e "$FILE" ] && . "$FILE" > > Why the -e? You only got existing files in the glob above right? If no, when the directory is empty, you get FILE='/etc/profile.d/*.sh' > Maybe "local"

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread Bastian Bittorf
* edgar.sol...@web.de [04.09.2015 12:30]: > note from a bystander. this looks wrong - path/file names containing spaces > will be delimited by for. probably better use for the sent patch this works: root@box:~ touch "A 1" root@box:~ touch "A 2" root@box:~ for FILE in A*;

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread Bastian Bittorf
* Karl Palsson [04.09.2015 15:02]: > So let's -d test the directory instead of -e testing every file just in > case the directory didn't exist? even if the directory exists but is empty, the globbing fails. but i get your point. what about: [ -n "$( ls -1 $dir )" ] && {

Re: [OpenWrt-Devel] Fwd: [PATCH] uhttpd: serve precompressed files

2015-09-07 Thread Bastian Bittorf
* Adrian Kotelba [07.09.2015 11:36]: > Well, it could be useful for low-end devices with small storage > capacity and slow networks, see https://dev.openwrt.org/ticket/14333. > The static content, mostly text-based HTML, Java, and css files, could > be stored as gzip or

Re: [OpenWrt-Devel] Fwd: [PATCH] uhttpd: serve precompressed files

2015-09-07 Thread Bastian Bittorf
* Adrian Kotelba [07.09.2015 15:18]: > > ok, as far as i understand the patch, if somebody > > tries to http_get file 'xy.html' and the webserver > > finds 'xy.html.gz' it serves this file, right? > > Right. More preciselly, if somebody tries to http_get file 'xy.html'

Re: [OpenWrt-Devel] Fwd: [PATCH] uhttpd: serve precompressed files

2015-09-07 Thread Bastian Bittorf
* Adrian Kotelba [07.09.2015 18:57]: > Thanks for hints. So, in other words, you propose to compress the > files on the fly, right? > I am afraid that low-end devices may not have enough cpu power to do that. this is really fast. gzip compresses at ~1megabyte/sec on a

Re: [OpenWrt-Devel] Fwd: [PATCH] uhttpd: serve precompressed files

2015-09-06 Thread Bastian Bittorf
* Adrian Kotelba [06.09.2015 20:05]: > Serving precompressed content with uhttpd. please write more about the usecase. it looks useless?! bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

<    1   2   3   4   5   6   7   8   >