Re: [OpenWrt-Devel] [PATCH] Workaround: saved administration site user and pass may appear on the Wireless configuration page, replacing the WPA key

2015-07-27 Thread Jo-Philipp Wich
Applied to master and for-15.05 - thanks! ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] Allow editing of AP channel when all client networks are disabled

2015-07-27 Thread Jo-Philipp Wich
Applied to master and for-15.05 - thanks! ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] Fix: A disabled wireless network may be shown as enabled, when multiple networks are defined on the same radio

2015-07-27 Thread Jo-Philipp Wich
Applied to master and for-15.05 - thanks! ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] Fix: Status for disabled wireless networks may display the SSID, BSSID and Mode of an active network on the same radio

2015-07-27 Thread Jo-Philipp Wich
Applied to master and for-15.05 - thanks! ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH 2/2] tools/quilt: fix build error during kernel_menuconfig on a cleaned env

2015-07-22 Thread Jo-Philipp Wich
Hi, this was originally done to fix quilt in the SDK. Did you test it there after your change? ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] Chaos Calmer 15.05 package build failures in SDK

2015-07-17 Thread Jo-Philipp Wich
Hi Daniel, please test whether the following patch solves the shared library problem: ~ Jow -- diff --git a/include/toplevel.mk b/include/toplevel.mk index bbeb7eb..11b2dd9 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -24,8 +24,8 @@ OPENWRTVERSION:=$(RELEASE)$(if $(REVISION),

Re: [OpenWrt-Devel] 14.07 SDK - iostream.h not found

2015-07-03 Thread Jo-Philipp Wich
Hi, this has been fixed with r46162. The SDK releases for 15.05-rc1 and 15.05-rc2 are affected as well. To solve the problem locally you can apply the following sed command: sed -i -e 's!/[^ ]*/staging_dir/[^/]*/!$STAGING_DIR/!g' \ staging_dir/toolchain-*/bin/g++-uc* ~ Jow

Re: [OpenWrt-Devel] iwinfo lua scanlist issue

2015-06-29 Thread Jo-Philipp Wich
Hi Peter, I suspect the culprit is nl80211_wait() which calls nl_recvmsgs() internally. To overcome this problem we need to restructure the nl80211 code to use nonblocking sockets and then extend the nl80211_wait() implementation to have a timeout. ~ Jow

Re: [OpenWrt-Devel] iwinfo lua scanlist issue

2015-06-29 Thread Jo-Philipp Wich
Not really as the core issue is always within the same C code, however you access it. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] [package] strace: update to 4.10

2015-06-25 Thread Jo-Philipp Wich
Applied in r46124 - thanks! ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH v2] [package] grub2: disable stack-protector

2015-06-25 Thread Jo-Philipp Wich
Applied in r46126 - thanks! ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] [package] grub2: fix musl build

2015-06-25 Thread Jo-Philipp Wich
Hi Dirk, I committed a different approach that basically turns the __GLIBC__ guards into !__UCLIBC__ ones. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH procd] service: start apps with LD_PRELOAD lib disabling buffering

2015-06-20 Thread Jo-Philipp Wich
Hi John, i dont like this idea at all. calling ld-preload on every started app just seems wrong I was the one suggesting the idea since we needed a solution which does not require modification of downstream programs. We could restrict the preloading to programs which requested stdio relaying

Re: [OpenWrt-Devel] [PATCH procd] service: use PTY (instead of a pipe) for reading service output

2015-06-19 Thread Jo-Philipp Wich
Hi. Do you have any other idea? Yes, we create a shared library which calls setbuf(stderr/out, NULL) in an __attribute__((constructor)) function, then specify this library in LD_PRELOAD when exec'ing stdio-relay enabled processes from procd. This is equivalent to the implementation used by the

Re: [OpenWrt-Devel] [PATCH] libusb-compat: fix build with musl

2015-06-18 Thread Jo-Philipp Wich
Hi Álvaro, I see. The proper place to fix it is flashrom, it needs to include sys/types.h before including libusb headers and its Makefile needs to define -D_GNU_SOURCE or -std=gnu99 Regards, Jow ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [PATCH] libusb-compat: fix build with musl

2015-06-17 Thread Jo-Philipp Wich
Hi Álvaro, hmm, I have no issues building it under musl here. The buildbots seems to report no errors either. Can you provide a diffconfig.sh output? Btw, you do not need to replace all types, u_int{8,16,32,64}_t is exposed by musl if you include sys/types.h *and* if _GNU_SOURCE is defined. ~

Re: [OpenWrt-Devel] Method to load firmware blob for a particular router model

2015-06-14 Thread Jo-Philipp Wich
Hi, So how do I write a firmware blob into /lib/firmware into the build process without the hassle of creating a metapackage? $ mkdir -p files/lib/firmware $ wget -O files/lib/firmware/blah.bin http://example.org/blah.bin $ make Or do you mean how to integrate it into the repository? In that

Re: [OpenWrt-Devel] x86_64 packages missing

2015-06-10 Thread Jo-Philipp Wich
Hi, the 64 target is now a subtarget of x86, so you can find those packages here: https://downloads.openwrt.org/snapshots/trunk/x86/64/packages/ Basically replace x86_64 with x86/64 in your opkg.conf HTH, Jow ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] netifd: handling of interfaces with proto none

2015-06-08 Thread Jo-Philipp Wich
Hi Lars, I struggled with this issue as well and after a brief chat with nbd the conclusion was to force the tap device to be external, this will cause netifd to leave its routes and address config alone, even when ifup is called on the network. In short you need to prepare the vpn interface

Re: [OpenWrt-Devel] [PATCH] Add sch_fq and sch_pie to the kmod-sched package.

2015-06-03 Thread Jo-Philipp Wich
Hi, The .ipk goes from 46018 to 52793 bytes. Can't seem to get the image size to change, probably some issue with my build setup... The image is padded to whole eraseblocks, so if the squashfs size does not change then the added code fits into the remaining space of an eraseblock. ~ Jow

Re: [OpenWrt-Devel] Link detection - TP-Link Archer C7 v2

2015-05-27 Thread Jo-Philipp Wich
Hi Richard, the link status is not propagated to the netdev because there's an external switch chip between the CPU and the RJ45 plug on the outside. There currently is no mechanism to propagate switch port states to Linux netdev link states as such an mechanism has various implications. For

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

2015-05-27 Thread Jo-Philipp Wich
Hi, patch is fine with me however there's a typo in the error message: failed to work directory This should get corrected (and upstream notified about it as well). ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

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

2015-05-27 Thread Jo-Philipp Wich
Hi. e.g. 'failed to create work directory'? Yeah, I assume that was the intended meaning of the message. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

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

2015-05-27 Thread Jo-Philipp Wich
and r45772 this paritially fixes #19564 Signed-off-by: Bastian Bittorf bitt...@bluebottle.com Acked-by: Jo-Philipp Wich j...@openwrt.org --- ...-overlayfs-fallback-to-readonly-when-full.patch | 109 1 file changed, 109 insertions(+) create mode 100644 target/linux

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

2015-05-21 Thread Jo-Philipp Wich
Hi. Did you try something like export PATH=$PATH:/home/bastian/openwrt/staging_dir/host/bin ? If that works you could add it to your .bashrc ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

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

2015-05-21 Thread Jo-Philipp Wich
my idea was to use this: make target/linux/{clean,prepare} V=s QUILT=1 If the patches all apply despite fuzz: make target/linux/refresh If they do not apply: make target/linux/{clean,prepare} V=s QUILT=1 cd build_dir/target-*/linux-*/linux-* quilt push -a (will halt before the failing

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

2015-05-21 Thread Jo-Philipp Wich
Hi. 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. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

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

2015-05-11 Thread Jo-Philipp Wich
Hi, this is already fixed in trunk. The uhttpd stderr is relayed to syslog there. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

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

2015-05-11 Thread Jo-Philipp Wich
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 of this? Whats too special with /etc/init.d/$SERVICE debug

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

2015-05-11 Thread Jo-Philipp Wich
Hi. thank you - i see: 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 calculate the commandline and start the

Re: [OpenWrt-Devel] [PATCH 2/2] lldpd: update to version 0.7.14

2015-04-21 Thread Jo-Philipp Wich
Hi Alexandru, please reset the PKG_REVISION to 1 on version bumps. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] [rpcd][v2] file: add md5sum support

2015-04-14 Thread Jo-Philipp Wich
Hi, comments inline dito. On 12/04/2015 03:56, Luka Perkov wrote: Signed-off-by: Luka Perkov l...@openwrt.org --- changes in v2: * no need to null-terminate string after sprintf() file.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/file.c

Re: [OpenWrt-Devel] [PATCH] [rpcd][v2] file: add md5sum support

2015-04-14 Thread Jo-Philipp Wich
Ok, ACK from me then. Thanks for taking care of the merge. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] Security Vulnerability Reporting and Database

2015-03-26 Thread Jo-Philipp Wich
Hi. During the discussions for the OpenWireless/OpenWrt security hackathon in April, one of the participants asked if there's a way to report security vulnerabilities in OpenWrt. I didn't know of one so I figured I should ask. Is there a recommended process for reporting a security

Re: [OpenWrt-Devel] synchronous network reload/restart

2015-03-26 Thread Jo-Philipp Wich
Hi. Is there any way to synchronously (blocking) reload or restart the network configuration? ubus call network reload (or restart) returns immediately, and the re-configuration happens asynchronously in the background. I'd like the command to block or otherwise wait until the

Re: [OpenWrt-Devel] Dynamically generate custom files before building?

2015-03-25 Thread Jo-Philipp Wich
Hi, some architectures do not have any default files for wireless and network in the repository. Those files are generated by scripts on first boot. The question is raised over and over again in the forums and on the lists. The natural solution to your kind of objective is to write an

Re: [OpenWrt-Devel] OpenWRT reproducible build

2015-03-25 Thread Jo-Philipp Wich
Hi. I would like to point out this Debian Reproducible build project: https://wiki.debian.org/ReproducibleBuilds https://reproducible.debian.net/reproducible.html IMHO, it would be a major improvement to be able to build the same OpenWRT packages on different location. Yes, it would. So

Re: [OpenWrt-Devel] [PATCH v3] x86: use PARTUUID instead explicitly specifying the device by default

2015-03-24 Thread Jo-Philipp Wich
Applied in r44966 - thanks! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] x86_64: fix PARTUUID format with leading zeros

2015-03-24 Thread Jo-Philipp Wich
Applied in r44959 - thanks! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH][RESEND V2] lldpd: add option to disable privilege separation

2015-03-24 Thread Jo-Philipp Wich
Applied in r44967 - thanks! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

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

2015-03-23 Thread Jo-Philipp Wich
Hi. Thanks, I got it now. So I should run make oldconfig when compiling automatically everyday? The best approach is the following: - Initially use menuconfig and select stuff as you like - Extract the delta compared to the defualt configuration with scripts/diffconfig.sh: $

Re: [OpenWrt-Devel] Status of X86_64 OpenWRT architecture

2015-03-20 Thread Jo-Philipp Wich
Hi, The board can boot OpenWRT git X86 but not X86_64. I have a feeling that the X86_64 git is out of sync and that most drivers are disabled by default. Also no compilation options are available in make menuconfig. Last time I checked the x86-64 target booted just fne on my Alix APU board

Re: [OpenWrt-Devel] [RFC] firewall: NAT masquerading race condition

2015-02-11 Thread Jo-Philipp Wich
Hi, theoretically the selective conntrack flushing of fw3 should take care of that. Can you investigate why it is not the case for you? ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] More bad RPATH

2015-02-10 Thread Jo-Philipp Wich
Hi Etienne, so we should keep rpaths below /usr/lib/ or /lib/ and remove everything else including exactly /usr/lib and /lib (with or without trailing /) ? ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] More bad RPATH

2015-02-09 Thread Jo-Philipp Wich
Hi Etienne, please test after fresh build with these two patches applied: http://luci.subsignal.org/~jow/rpath/ My first thought was to fixup libtool to not spray rpaths all over the place but since replacing every libtool in every package seems futile the next best place to do so would be the

Re: [OpenWrt-Devel] Dangerous RPATH in uhttpd, uci, rpcd, ubus

2015-02-08 Thread Jo-Philipp Wich
Hi Etienne, please try the change below (totally untested... just form reading the cmake manual). diff --git a/include/cmake.mk b/include/cmake.mk index 6ab628e..862a6a9 100644 --- a/include/cmake.mk +++ b/include/cmake.mk @@ -61,6 +61,7 @@ define Build/Configure/Default

Re: [OpenWrt-Devel] byte counters for IP address using IPTABLES

2015-02-04 Thread Jo-Philipp Wich
Hi, please retry after sysctl -w net.netfilter.nf_conntrack_skip_filter=0 ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] hardened openwrt luci

2015-01-31 Thread Jo-Philipp Wich
Hi. I've tested yesterday Openwrt CC (r44203) with all hardening options on PKG_CC_STACKPROTECTOR_STRONG KERNEL_CC_STACKPROTECTOR_STRONG PKG_FORTIFY_SOURCE_2 PKG_RELRO_FULL i've only done basic testing but it seems to work, except luci which send me bad gatway. Execute /www/cgi-bin/luci

Re: [OpenWrt-Devel] Wiki upload rights

2015-01-25 Thread Jo-Philipp Wich
Hi. As I already wrote three weeks ago, upload into the media namespace. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] ddns-scripts 2.0.1-1 breaks freedns.afraid.org?

2015-01-13 Thread Jo-Philipp Wich
Hi, a good solution would be to look what placeholders are used in the service url template and check if those are all set. So if the url has no [USERNAME] then option username is not checked either. Granted, it is a bit harder to implement but would match the expectations of the common user I

Re: [OpenWrt-Devel] [PATCH] firewall3: Immediate continue when no source is specified as it is used later on (seg fault)

2015-01-13 Thread Jo-Philipp Wich
Hi, thank you for the patch. Since there already is a generic free further down I decided to move the offending code blocks into the else clause wich sets valid = true, see http://nbd.name/gitweb.cgi?p=firewall3.git;a=commit;h=adf87f3a36328b949ed777068b14d975b429f9ad ~ Jow

Re: [OpenWrt-Devel] [Luci2] Problems since 2015-01-05-e28f8f6

2015-01-07 Thread Jo-Philipp Wich
Hi. login window now without wrong user ... and no alert boxes but still hanging at Loading data... No idea about that, it works fine here. Check your firebug / chrome debugger console for errors. ~ Jow ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [Luci2] Problems since 2015-01-05-e28f8f6

2015-01-07 Thread Jo-Philipp Wich
Hi, my bad - I forgot to push the updated views as well. Please try again. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] Modifying configuration at package install

2015-01-07 Thread Jo-Philipp Wich
Hi Eric, make your package ship an /etc/uci-defaults/99_custom_settings that executes the appropriate uci set commands. That script is automatically sourced on the first OpenWrt boot and deleted afterwards. Make sure it exits with code 0. You can not rely on postinstall hooks as the network

Re: [OpenWrt-Devel] [PATCH] [packages] dnsmasq: add option --quiet-dhcp

2015-01-05 Thread Jo-Philipp Wich
Hi, --- a/openwrt/package/network/services/dnsmasq/files/dnsmasq.init +++ b/openwrt/package/network/services/dnsmasq/files/dnsmasq.init What kind of tree was this patch generated from? For the usual git trees it should be a/package/... instead of a/openwrt/package/... @@ -123,6 +123,7 @@

Re: [OpenWrt-Devel] QA for upcoming(?) CC?

2014-12-05 Thread Jo-Philipp Wich
Hi. in any event, if the idea of an official release is that it should build out of the box, there are clearly a number of (albeit easily fixable) download and build issues to clean up. is it part of pre-release QA to make sure all of these issues are resolved? Such issues are usually not

Re: [OpenWrt-Devel] iwinfo_cli.c:(.text.startup+0x120): undefined reference to `iwinfo_backend_by_name'

2014-10-28 Thread Jo-Philipp Wich
Try make package/iwinfo/{clean,compile} ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [BROKEN][package-ipkg.mk] postinst, prerm, conffiles from original makefile killed

2014-10-24 Thread Jo-Philipp Wich
Hi Christian, should be fixed with 43017 - thanks for reporting. Btw, there's two little problems with the prerm postinst defines in the ddns-scripts Makefile: First you should not indent the script code, otherwise the final script file will have leading spaces on each line. Second you must

Re: [OpenWrt-Devel] [BROKEN][package-ipkg.mk] postinst, prerm, conffiles from original makefile killed

2014-10-24 Thread Jo-Philipp Wich
Hi. postinst and prerm are copied shell scripts and executed on the box and not by make thats the reason for #!/bin/sh required on the first line so $$ not needed. right ? Nope, not right - it is needed. Make is interpreting the stuff between define .. endef - you need to escape $ in any

Re: [OpenWrt-Devel] [PATCH] [dnsmasq] support enforced start-IP, end-IP, netmask

2014-10-14 Thread Jo-Philipp Wich
Hi. it does not work. this is my interface: [...] Actually it should work just fine even without option netmask if you specify the start as ipaddr: # ipcalc.sh 192.168.0.1 16 192.168.8.1 252 IP=192.168.0.1 NETMASK=255.255.0.0 BROADCAST=192.168.255.255 NETWORK=192.168.0.0 PREFIX=16

Re: [OpenWrt-Devel] [PATCH v2] mac80211: remove error from detect script

2014-10-08 Thread Jo-Philipp Wich
-by: Michel Stam m.s...@fugro.nl Acked-by: Jo-Philipp Wich j...@openwrt.org ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] BB SDKs are too lean (no libffi, etc.)

2014-10-07 Thread Jo-Philipp Wich
Hi Paul, the trick is to add the OpenWrt source as package feed, this way you gain access to libffi and any other core packages: $ wget https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2 [...] $ tar -xjf

Re: [OpenWrt-Devel] [luci] [DISCUSSION] How to support LuCI applications not in OpenWrt packages repository

2014-10-07 Thread Jo-Philipp Wich
Hi. In principle I have no objections but we need to figure out a way on how to deal with translation files. If stuff is split out of the LuCI repo you have to take of that yourself. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH v2] iwinfo: handle 802.11ac mode for lua

2014-10-04 Thread Jo-Philipp Wich
Applied in r42757 - thanks! ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH v2] luci: initial luCI 802.11ac support

2014-10-04 Thread Jo-Philipp Wich
Applied in http://nbd.name/gitweb.cgi?p=luci.git;a=commitdiff;h=08df45ab3592e5084eab77127b84be3add358500 - thanks! ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] Please could somebody implement this short term [OpenWrt] #18018: luci-app-ddns is missing the event interface option

2014-10-03 Thread Jo-Philipp Wich
Whats the meaning of this option? The description text is awful and since I do not know what it is supposed to do I cannot write a proper one. Also a signed-off-by would be good. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] Please could somebody implement this short term [OpenWrt] #18018: luci-app-ddns is missing the event interface option

2014-10-03 Thread Jo-Philipp Wich
Hi, thanks for the patch. however the description still looks grammatically wrong: On which interface up should start the ddns script process. Maybe it can be better written as Trigger DDNS update when this interface is started Ideas? ~ Jow ___

Re: [OpenWrt-Devel] [PATCH] mac80211: remove error from detect script

2014-10-03 Thread Jo-Philipp Wich
Hi Michel, John. -for dev in $(ls /sys/class/ieee80211); do +for dev in $(ls /sys/class/ieee80211 2/dev/null); do what error do you see ? if you see an error we should try to fix that rather than supressing it I suppose the case when wifi detect is invoked but no phy exists on the

Re: [OpenWrt-Devel] kernel changes on recompilation?

2014-10-02 Thread Jo-Philipp Wich
Hi Gui, this is not supposed to happen though - you can see the magic in include/kernel-defaults.mk - define Kernel/Configure/Default The hash is calculated like that: grep '=[ym]' .../.config | sort | md5sum Can you diff the Kernel build_dir/target-*/linux-*/linux-*/.config file before and

Re: [OpenWrt-Devel] [PATCH] base-files: remove a 'not found' error message during system boot

2014-10-02 Thread Jo-Philipp Wich
Hi Michel, On 02.10.2014 15:24, Michel Stam wrote: During boot, a not found message is displayed for systems which do not have uci 'network.globals.ula_prefix' defined in /etc/config/network. The error message itself is not used and can be ignored. Signed-off-by: Michel Stam

Re: [OpenWrt-Devel] why is 'wan' port missing in luci switch vlan setup page for Netgear WNR2200 ?

2014-09-26 Thread Jo-Philipp Wich
Hi. The wan port is likely a dedicated, non-switch interface (e.g. eth1) on this model. If you want to declare VLANs on it then simply create a new interface using eth1.Y as manual physical ifname where Y denotes the desired VLAN id. ~ Jow ___

Re: [OpenWrt-Devel] [PATCH][package] dropbear: enable sha2-based hmac by default.

2014-09-23 Thread Jo-Philipp Wich
Hi. Dropbear should support sha2-based message authentication. This patch will enable hmac-sha2-256 and hmac-sha2-512. Whats the size increase due to that? ~ Jow --- a/options.h +++ b/options.h @@ -128,8 +128,8 @@ much traffic. */ * which are not the

Re: [OpenWrt-Devel] Using - in section names

2014-08-27 Thread Jo-Philipp Wich
Hi, yes there is a reason, the initial uci implementation was shell based and section names are part of generated variable names which must not contain dashes. Simply replacing dashes with underscores is not possible either as this would lead to ambiguous results. ~ Jow

Re: [OpenWrt-Devel] Using - in section names

2014-08-27 Thread Jo-Philipp Wich
So, it shouldn't be necessary with the C implementation? Correct, but that cannot be changed without breaking support for legacy APIs. Simply replacing dashes with underscores is not possible either as this would lead to ambiguous results. Yes, I've got exactly this problem: the name of

Re: [OpenWrt-Devel] Extroot on Barrier Breaker 14.07-rc3

2014-08-21 Thread Jo-Philipp Wich
Hi. Try adding option delay_root 10 ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] because -e xx , only export one value. I try to get all value by one call. So I add '; ' in -e parameters.

2014-08-19 Thread Jo-Philipp Wich
Hi Liu Bo, was there any particular reason why you couldn't use multiple -e arguments? That should produce the very same results without using ; jsonfilter -s '{a:b,e:{a:c}}' -e t=$['a'] -e y=$['e']['a'] export t='b'; export y='c'; ~ Jow ___

Re: [OpenWrt-Devel] [PATCH] package: fix segfault of iwinfo.scanlist(radio0).

2014-08-12 Thread Jo-Philipp Wich
Committed in r42151 - thank you! ~ jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] base-files: /lib/functions/network.sh: fix network_get_ipaddr6

2014-08-11 Thread Jo-Philipp Wich
Hi Henning, committed in r42139 and merged to BB in r42140 - thank you! ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] nf_ct_iterate_cleanup has more arguments in the 3.14 kernel

2014-08-10 Thread Jo-Philipp Wich
Hi Russel, I introduced that breakage yesterday and it applies to Kernel 3.13 as well... I fixed my changed and pushed them, your patch was not applicable because it modified the wrong patch file, the erroneous call was introduced by 604-netfilter_conntrack_flush.patch ~ Jow

Re: [OpenWrt-Devel] [PATCH] [luci] Improve spelling and grammar

2014-08-03 Thread Jo-Philipp Wich
Hi, can you extend the patch to update the corresponding strings in the *.po files as well? ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] When to use Target Profile or Subtarget

2014-07-15 Thread Jo-Philipp Wich
Hi. Profiles influence image generation and package selection but share all a common kernel. Subtargets are used if a different kernel is required. ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [ANN] MicroPython - well-known scripting language, unbloated

2014-07-14 Thread Jo-Philipp Wich
Hi. Yes, I heard from other replies, that's good news, hope it will be ready for prime time soon. Still, it would be nice to have good unbloated language for rapid app development in constrained environments, like most routers on which OpenWRT runs. I made initial proof of concept web

Re: [OpenWrt-Devel] Trac: Custom Query results in Missing or invalid form token.

2014-07-11 Thread Jo-Philipp Wich
Thats due to the varnish cache, it strips all incoming cookies for non-authenticated users. ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] uhttpd: Cert error sec_error_reused_issuer_and_serial

2014-07-09 Thread Jo-Philipp Wich
Hey Gui, I think we can extract a few bits of entropy by using the MAC addresses, should be easy to obtain them through getifaddrs(). ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] System Logs Reporting: IEEE 802.11: Could not add STA to kernel driver for Windows 7 clients

2014-07-03 Thread Jo-Philipp Wich
Hi, this chipset cannot support more than 7 clients in AP mode. Its a limitation of the chip firmware. ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [Patch][Resend] Support for BMP085 pressure sensor

2014-07-02 Thread Jo-Philipp Wich
Hi, git send-email support is provided by a separate package on .deb distros: apt-get install git-email ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] Status: 302 Found - LuCI and lighttpd

2014-07-01 Thread Jo-Philipp Wich
Hi, the string Saving config files is not occuring anywhere in the LuCI source code. Seems it is emitted by a program that gets invoked when configs get committed through libuci. Did you modify libuci or luci.model.uci ? ~ Jow signature.asc Description: OpenPGP digital signature

Re: [OpenWrt-Devel] Status: 302 Found - LuCI and lighttpd

2014-07-01 Thread Jo-Philipp Wich
Whats the result if you run grep -r Saving config files / ? signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] /var/state/wireless not being updated any more?

2014-06-16 Thread Jo-Philipp Wich
Hi, the data is cached upon the first call. To force a resync, run network_flush_cache. ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] bb luci error

2014-06-12 Thread Jo-Philipp Wich
Hi, fixed with http://luci.subsignal.org/trac/changeset/10286 - thanks for your heads-up. ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] How do I improve LuCI's Catalan translations?

2014-05-31 Thread Jo-Philipp Wich
Hi. I applied a fix for that - should work now. Updating Pootle is not feasable at this stage is it is customized quite a bit. ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH 0/3] RFC: Enable sysupgrade on ubifs rootfs

2014-05-23 Thread Jo-Philipp Wich
Hey. is this neccessary ? should a forced detach not be enough ? that is why we added the forced detach ioctl. The forced detaching might solve the issue for the ubi case but not in a general way. Replacing pid 1 is the safest, cleanest and most generic solution as it will support any kind of

Re: [OpenWrt-Devel] [PATCH] Fix sysntpd to use multiple servers.

2014-05-07 Thread Jo-Philipp Wich
Hi. Can you elaborate on this fix? The current implementation works fine here as well and I cannot spot a functional difference with your change. ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [PATCH 4/4] ppp: add new protocol PPPoSSH.

2014-04-23 Thread Jo-Philipp Wich
Hi. I think you should reuse option names used by other protocols, we already have far too much variation and abbreviation styles for common option names - see my comments inline below. This patch adds protocol support for PPP over SSH. The protocol name is 'pppossh' with the following

Re: [OpenWrt-Devel] dev.openwrt.org frequently gives 504 Gateway Time-out or 502 Bad Gateway errors

2014-03-19 Thread Jo-Philipp Wich
Hi. Can you give this mirror a shot? http://openwrt.nanobit.org/browser/trunk It's just the svn repo, and it's not synced on a regular basis, but if it can handle the load, I can see about improving it. 504 Gateway Time-out nginx This was after holding Ctrl-R for 5 seconds. ~ Jow

Re: [OpenWrt-Devel] dev.openwrt.org frequently gives 504 Gateway Time-out or 502 Bad Gateway errors

2014-03-04 Thread Jo-Philipp Wich
Hi. It is really annoying that dev.openwrt.org frequently gives 504 Gateway Time-out or 502 Bad Gateway errors. During the last few days it seems that the bug tracker is unreachable half of the time. Typical error is just: 502 Bad Gateway nginx/1.1.19 Is there some problem

Re: [OpenWrt-Devel] [PATCH] Add mwan in feeds.conf.default

2014-02-11 Thread Jo-Philipp Wich
Hi, I definitely support adding mwan3 to OpenWrt, but I think scope-wise it would fit into the OpenWrt-Routing feed. It should be no problem merging the package there and grant commit access there. ~ Jow signature.asc Description: OpenPGP digital signature

Re: [OpenWrt-Devel] [PATCH] tcpdump: new upstream release 4.5.1 libpcap 1.5.3

2014-02-04 Thread Jo-Philipp Wich
Hi, I think you should drop patches/004-fix_3g_iface.patch entirely, all thats left after your refresh is a useless declaration of char *devp. Regards, Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [PATCH] [packages] dropbear: update to 2013.62

2014-01-31 Thread Jo-Philipp Wich
Hi, whats the size increase of the dropbear package? ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCHv2 1/4] [rpcd] fix whitespaces

2014-01-29 Thread Jo-Philipp Wich
Applied in ec21f653b936b54e4d788d77bfce18634255adb7 till 4cc6a9deb8eb65c8771ed56ae9fc950f3efa99c6. Thanks Luka. ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

<    1   2   3   4   5   6   7   8   9   10   >