Re: [OpenWrt-Devel] Bridged interface MAC address changes during DHCP client transaction wtih netifd

2012-06-26 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Ultimately, it may just be a bad idea to have a bridge's MAC address > change once established, at least as long as the bridge still contains an > underlying interface that "owns" the MAC address it's using. That is nothing netifd or OpenWrt does,

Re: [OpenWrt-Devel] TL-WR741ND with r32499: Could not open nvram!

2012-06-27 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > what am I missing? The fact that those units have no nvram. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/q10wACgkQdputYINPTPNtmACglI1Rr6b

Re: [OpenWrt-Devel] [PATCH] swconfig: List available switches

2012-07-01 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. [snip] > + while (dev) { > + struct switch_dev *next = dev->next; > + print_dev_summary(dev); > + swlib_free(dev); > + dev = dev->next; This looks like a user-after-free. Given that you alloca

Re: [OpenWrt-Devel] [PATCH] Adds support for libsocketcan package

2012-07-09 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I copied & commented your patch inline below. - --- /dev/null 2012-07-05 10:42:19.287097043 +0200 +++ package/libsocketcan/Makefile 2012-07-05 18:35:26.763462631 +0200 @@ -0,0 +1,62 @@ +# +# Copyright (C) 2006-2012 OpenWrt.org That should

Re: [OpenWrt-Devel] [Patch] 64 bit network interface stats in luci

2012-07-11 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The LuCI patch will not properly work that way, OpenWrt Lua does not handle numeric integer values > 2^31 bit. A somewhat larger range can be stored as float but the precision is not enough: # lua -e 'print(string.format("%d", tonumber("18446744073709

Re: [OpenWrt-Devel] [PATCH] dnsmasq syslog noise about packets received..

2012-07-15 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > i commented the bit which sometimes fills the syslog with: > "DHCP packet received on eth0.2 which has no address" like it does > on my tp-link wr1043nd.. uci set dhcp.@dnsmasq[0].notinterface=eth0.2 uci commit dhcp /etc/init.d/dnsmasq restart

Re: [OpenWrt-Devel] Patch formatting for new device support

2012-07-24 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > Should I create patches for machtype.h and Kconfig, or should I > create a patch for 610-MIPS-openwrt-machines.patch? Yes. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigm

Re: [OpenWrt-Devel] Patch formatting for new device support

2012-07-24 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oops, I missed the "or" :) I meant yes, you should amend 610-MIPS-openwrt-machines.patch . ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAOY1oACgkQ

Re: [OpenWrt-Devel] Patch formatting for new device support

2012-07-24 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Use variant (a), a patch-patch. Don't worry, we're used to look at and work with such things. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAOkf0AC

Re: [OpenWrt-Devel] Unable to log in to LuCI 8899

2012-08-08 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fixed in LuCI trunk: http://luci.subsignal.org/trac/changeset/8900 http://luci.subsignal.org/trac/changeset/8901 http://luci.subsignal.org/trac/changeset/8902 ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG

Re: [OpenWrt-Devel] [PATCH} fix hard reset of alix/soekris hardware under heavy NIC load

2012-08-09 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Applied in r33072 - thank you. Next time please ensure that your patch applies with -p1, not -p0. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAj

Re: [OpenWrt-Devel] [PATCH} fix hard reset of alix/soekris hardware under heavy NIC load

2012-08-10 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Are you upstreaming this patch into the linux kernel stable > branches? Can you please offer it to Greg? I have no idea about the processes involved, so someone else should look into that. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12

Re: [OpenWrt-Devel] [PATCH] [package] 6rd: missing config option `ipaddr`.

2012-08-10 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Applied in r33123 - thanks. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAlpzAACgkQdputYINPTPNbYwCfabSwQIs0ZZTshVOLrsMyM5XA /doAoJOUqwpF7tWjrAZoZgtDSUZBv

Re: [OpenWrt-Devel] [PATCH] tools/ppl: fix automake error due to use of obsolete directory name

2012-08-12 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Committed in r33141 - thanks. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAnpdgACgkQdputYINPTPOmcQCfZiObf1C4YfD/9n3ZLqVXsBF8 0/0AmgJt7VYV+hSNrArWUs1qTdG

Re: [OpenWrt-Devel] [PATCH] [tools] xz: update to 5.0.4

2012-08-12 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Committed in r33146 - thanks. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAnploACgkQdputYINPTPOjcQCgl/kVVZ9jXXnOKpkg/TCbXnR0 6RUAoJgKUv1uxJE830Mwjzk62Yr

Re: [OpenWrt-Devel] Global variables live across LuCI modules

2012-08-14 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Nguyễn Hồng Quân, each request will make uhttpd fork off a new process with an isolated process space. Every memory you modify within there will get discarded once the process serving the request ends. However you can use luci.util.serialize_

Re: [OpenWrt-Devel] [PATCH] iwinfo: add some Atheros cards

2012-08-14 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Commited in r33186 - thanks. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAqWZIACgkQdputYINPTPOI2wCfTvRN3sz+iIpE8ANyRZaNXzM4 az0AoJ9slbYhFWfZeXufe037cQzb

Re: [OpenWrt-Devel] [PATCH] iwinfo: add hw info support for Rt3xxx SoCs

2012-08-15 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Committed with minor whitespace changes in r33199 - thanks. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlArzaYACgkQdputYINPTPMrOQCgn12xo+csEASGCFYwYy151X

Re: [OpenWrt-Devel] [PATCH] iwinfo: add hwinfo for Rt3052

2012-08-15 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Added in r33200 - thanks. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAsBfwACgkQdputYINPTPOPvQCgp3rdb/GN92Mw8s5qGc41cxIN kegAn1ezge3MAdGGbXJ0AuBsVID027p

Re: [OpenWrt-Devel] Documentation available for freifunk-watchdog service?

2012-08-21 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There isn't. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAzUfcACgkQdputYINPTPNcQwCglRhv+KtZlZWtINUrsnRdGezX YEIAnjoyOEq5jPaXy6S6vKBDGC/YiDd0 =B0v

Re: [OpenWrt-Devel] [PATCH] Keep /etc/nginx on sysupgrade

2012-08-22 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. You do not need to ship a keep file, it is enough to add /etc/nginx to the conffiles define. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlA0u

Re: [OpenWrt-Devel] [PATCH] Keep /etc/nginx on sysupgrade

2012-08-22 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > It looks like conffiles can only save files, not entire directories. > /etc/nginx is a directory. Should conffiles be fixed to work with > directories too? It works fine with directories, see include/package-ipkg.mk, the code below "ifneq ($$(KEEP_$

Re: [OpenWrt-Devel] [PATCH] Keep /etc/nginx on sysupgrade

2012-08-24 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I see. The existing feeds/packages/net/nginx/Makefile already lists > the files under /etc/nginx that ship in the package in its > conffiles definition, but this doesn't result in a keep file in the > package because include/package-ipkg.mk will onl

Re: [OpenWrt-Devel] problem compiling for ar71xx

2012-09-01 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, this package is broken since a long time, simply deselect it. It needs extensive changes to work with newer kernels / iptables. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enig

Re: [OpenWrt-Devel] e3200 support question

2012-09-11 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Although with that we would be stuck at a certain kernel version. Which is an absolute no-go for OpenWrt. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECA

Re: [OpenWrt-Devel] Station mode for Fonera router?

2012-09-24 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > The wireless does not works (no OpenWrt SSID show, the wireless LED > blinks). Erm, it is normal that no SSID shows in station mode. You're client to another network and you're supposed to set the SSID and crypto settings to those of the target

Re: [OpenWrt-Devel] Station mode for Fonera router?

2012-09-24 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://wiki.openwrt.org/doc/recipes/routedap -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBgLcMACgkQdputYINPTPN+0QCeOerFEFz6RhsD9W7iw8G7vBIA llAAoJGadtVUTvB

Re: [OpenWrt-Devel] [PATCH] netifd: Fix race condition in fixup_interface()

2012-10-02 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > While carrying endurance testing of my system, i came accross a > problem: At some point I was unable to get the ppp link up. The > problem was that my device option had changed from /dev/ttyHS5 to > ppp0 and so the 3g hotplug refused to decl

Re: [OpenWrt-Devel] nixio.TLSContext not found

2012-10-03 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > How can I fix this? You need to enable a crypto backend in luci-lib-nixio and then recompile. The default builds do not inclue crypto capabilities in the nixio library due to size constraints. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG

Re: [OpenWrt-Devel] nixio.TLSContext not found

2012-10-03 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > Sorry for stupid question, but how to enable the crypto backend? Run "make menuconfig" - navigate to LuCI -> Libraries and in the "TLS Provider" field choose OpenSSL or CyaSSL instead of disabled. Afterwards recompile with "make package/luci/{

Re: [OpenWrt-Devel] OpenVPN with netifd

2012-10-04 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Joachim, integrating the netifd support into the main OpenVPN package is just fine, it does not prevent the traditional way of using OpenVPN from working therefore I see no reason to not integrate it there. One main reason why your work isn't inte

Re: [OpenWrt-Devel] OpenVPN with netifd

2012-10-04 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > what to do then with the openvpn-devel package, should it include a > copy of all scripts which are also in the openvpn package? That > would mean that patches would have to be applied to both packages, > no? If I am not mistaken then openvpn-d

Re: [OpenWrt-Devel] What prevents OpenWRT from removing host's bin directory from the $PATH ?

2012-10-11 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So far the policy has been to only provide host builds for packages which are either known to be broken on some distros / OSes (libtool, sed, ..) or which are not available or shipped with required features disabled (sdcc). If we'd really provide ever

Re: [OpenWrt-Devel] Correct output directories for libraries

2012-10-11 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Something is messed up with libffi. libffi should be running on the > target. No. In order to compile glib2 you first need to compile glib2 for the host systems because you need the genmarshall executables from it during the cross compilation phase

Re: [OpenWrt-Devel] Correct output directories for libraries

2012-10-11 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > but in order to build glib2 for the target you obviously also need > libffi for the target, even if it is never used [at runtime]. That should've read: but in order to build glib2 for the host you obviously also need libffi for the host, even if i

Re: [OpenWrt-Devel] [PATCH] [packages] reaver: Deauthenticate when using external authentication

2012-10-14 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > The patch sends a deauthentication package after each WPS exchange > if we do not associate to the AP using reaver (-A switch) Shouldn't this be sent upstream? ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Usi

Re: [OpenWrt-Devel] [PATCH] [base-files] Changed START to 25 in sysntpd

2012-10-17 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Time synchronization is not guaranteed to be done when the sysntpd init script finished so this start index change doesn ot reliably solve the problem. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mo

Re: [OpenWrt-Devel] uhttpd package broken ?

2012-10-19 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fixed with r33860. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCBW4AACgkQdputYINPTPOYWgCdEBPsfbduskoxEGxkm+tW4CvQ EbMAn378JcKTPWuuKlbe2oRlY7zUAucg =GjrZ --

Re: [OpenWrt-Devel] base-files: preinit scripts issue and mtd-utils package

2012-10-21 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 "mtd" is in the "mtd" package, not "mtd-utils". -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCD598ACgkQdputYINPTPN9xgCfRq2BEieU5Zp6RdL90yMW5zz/ /WUAn26uYI5N

Re: [OpenWrt-Devel] Multilink PPP in OpenWrt and LuCI

2012-11-12 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello George, I applied 000-mlppp-fix-non-pppX-interface-naming.patch to both trunk and AA. I left the reconnect fix for now since it would break existing functionality. I hope to be able to look into this eventually. Regards, Jow -BEGIN PGP SIGN

Re: [OpenWrt-Devel] Cross Libtool

2012-11-14 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, in most cases it is enough to specify PKG_FIXUP:=autoreconf in the OpenWrt Makefile. This will regenerate configure scripts, Makefiles and embedded libtool copies with patched variants. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.

Re: [OpenWrt-Devel] Cross Libtool

2012-11-14 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > It turns out that it is buggy on the link stage (as I described). It works for any other package so it is unlikely to be "buggy on the link stage". It is most likely improperly called by the Makefile. > Does this means that every package __HAS__ to

Re: [OpenWrt-Devel] Cross Libtool

2012-11-14 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > It works for any other package so it is unlikely to be "buggy on > the link stage". It is most likely improperly called by the > Makefile. And indeed, line 11 of despotify's Makefile says: LD = $(CC) That is the most likely culprit. ~ Jow

Re: [OpenWrt-Devel] Cross Libtool

2012-11-15 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Provide your current OpenWrt Makefile. I still believe you're using libtool wrong. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlCk2vIACgkQdputYINPT

Re: [OpenWrt-Devel] [PATCH] fix wget-ssl dependencies

2012-11-20 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Might be that it got introduced by configure because it detected certain stuff on the host system or staging_dir thats normally not there. It would help if the op could attach the config.log of wget. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG

Re: [OpenWrt-Devel] Custom kernel, rootfs_data not mounted?

2012-11-21 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Make sure you pick 921-use_preinit_as_init.patch as well. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlCtNs0ACgkQdputYINPTPNaHACbBQFpF9Rb9f9sZwyb3p

Re: [OpenWrt-Devel] [PATCH] mac80211: Fix multi-bss operation issue on rt2800

2012-11-26 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > +is_not_rt2800() { + grep -E 'Ralink (RT3050|RT3052|RT3350|RT3352)' > /proc/cpuinfo >/dev/null && \ + return 1 || return 0 +} This can be simplified to: is_not_rt2800() { grep -sqE 'Ralink (RT3050|RT3052|RT3350|RT3352)'

Re: [OpenWrt-Devel] [PATCH] mac80211: Fix multi-bss operation issue on rt2800

2012-11-26 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > But then it should be changed to is_rt2800(), right? Correct, I overlooked the inverted logic. > Sounds good, there's plan to add this into the AA? I was personally > thinking about such a generalization myself. No, it will most definitely no

Re: [OpenWrt-Devel] hostapd on Buffalo WZR-HP-G300NH

2012-11-26 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > It seems that hostapd is getting blocked performing a sendto. I've > seen it twice today both times it gets stuck in sendto. https://dev.openwrt.org/ticket/11894 ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment:

Re: [OpenWrt-Devel] Linux kernel module hacking

2012-11-27 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OpenWrt does not use the in-kernel ath9k driver. The correct make targets would be make package/mac80211/clean and make package/mac80211/compile . ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with undefi

Re: [OpenWrt-Devel] DSL support and luci integration

2012-11-27 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Why is there even a need for dedicated DSL control in the gui? Shouldn't the normal per-interface ifup/ifdown be enough? ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.n

Re: [OpenWrt-Devel] Change Default IP?

2012-11-30 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > Hmmmit seems to have disappeared. I will try to find time to > look into this. It was removed deliberately because image-config uci-defaults clashed with ar71xx network generation uci-defaults. The most universal way to preconfigure an im

Re: [OpenWrt-Devel] about Luci Inter-process communication!

2012-11-30 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > luci is how to carry out the action and save the settings from UI > to linux, it ipc how architecture? It just calls system (shell) commands to apply the changes to affected services. This mainly means restarting corresponding init scripts. Th

Re: [OpenWrt-Devel] [PATCH 2/2] Make teql hotplug script run sooner

2012-11-30 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just a heads-up unrelated to this patch; current versions include Busybox ntpd by default, so there is no real need to install ntpclient separately. Obtaining the correct time should work automatically if you sync your /etc/config/system to contain th

Re: [OpenWrt-Devel] network_get_gateway doesn't seem to work

2012-12-08 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > In AA-rc1 I am trying to get the gateway of an interface: > > root@OpenWrt:~# (. /lib/functions/network.sh; network_get_gateway > foo wan0; echo $foo) > > That returns nothing however. wan0 however does have a route > configuration: [...] Y

Re: [OpenWrt-Devel] network_get_gateway doesn't seem to work

2012-12-08 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Did you consider to set "option metric" on the two interfaces, e.g. metric 10 and 11 and thne just install oyur own preferred defualt route with metric 0? ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with

Re: [OpenWrt-Devel] network_get_gateway doesn't seem to work

2012-12-09 Thread Jo-Philipp Wich
I fail to see how that requires changes to shorewall, it would continue doing whatever it does (routes added without explicit metric get automatically metric 0). ~Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.or

Re: [OpenWrt-Devel] new package ndpi-netfilter

2012-12-17 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > But I can still surf webs after this : iptables -I OUTPUT -m ndpi > --http -j REJECT This means it's not working properly? No this means you should use FORWARD instead of OUTPUT when browsing via the router... ~ Jow -BEGIN PGP SIGNATURE- Ve

Re: [OpenWrt-Devel] [PATCH] libuci-lua: depend on lua

2012-12-24 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > libuci-lua is only usable with lua, so add a dependency. Other > packages like libiwinfo-lua already depend on lua. That is not quite right. The uhttpd server for example provides a Lua runtime that does not need the cli interpreter. The libiw

Re: [OpenWrt-Devel] [PATCH] [packages] mini_snmpd: Add wireless signal and noise data

2013-01-03 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm not sure if this patch makes much sense. The /proc/net/wireless file is part of the legacy wext api which is scheduled for removal soon, also the signal and noise values in ap mode are mostly meaningless, if set at all. ~ Jow -BEGIN PGP S

Re: [OpenWrt-Devel] [PATCH][toolchain/uclibc] build: enable ld.so standalone (LDSO_STANDALONE_SUPPORT)

2013-01-04 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 How does it affect the size of the libc binaries? ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDm0OcACgkQdputYINPTPP7rwCeKCGZ7kQiIwpAz1B/9e+HZVRD P

Re: [OpenWrt-Devel] how to get config option value on model ListValue!

2013-01-04 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > how to get the value of the option name? Can i use foreach? follow > is my program [...] m.uci:foreach("dhcp", "host", function(section) profile:value(section['name']) end) ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.

Re: [OpenWrt-Devel] D-Link DIR-600/601(Rev.A1) - Not preserving configurations

2013-01-05 Thread Jo-Philipp Wich
> I also found another problem when set wireless to act as a wds > server. "wds" is no valid mode for mac80211 drivers, use "option mode ap" and "option wds 1". ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.

Re: [OpenWrt-Devel] D-Link DIR-600/601(Rev.A1) - Not preserving configurations

2013-01-05 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Is this correct or it can be used both ways ? Yes. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDoirMACgkQdputYINPTPMc8ACgjPQY+a82sYGOtvhBShFVKIT0 ens

Re: [OpenWrt-Devel] [PATCH] [packages] fix wprobe build for kernel v3.7

2013-01-17 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Russell, this got obsoleted by https://dev.openwrt.org/changeset/35185 ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlD30PsACgkQdputYINPTPP6uQC

Re: [OpenWrt-Devel] failed attitude adjustment build on mac os 10.8 for package luci because of undeclared identifier 'PATH_MAX'

2013-01-18 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fixed in svn. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlD5V04ACgkQdputYINPTPMJVACfTQMOveUEJAqwui6d5RAUiadq RKYAoJgeH/D4/gGOzxAReww7GNAn2nl7 =S

Re: [OpenWrt-Devel] ERROR: please fix target/

2013-01-26 Thread Jo-Philipp Wich
Apparently Gentoo ships a broken make 3.82. Use another distro or downgrade make on it. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] add /usr/lib/ipsec to LD_PATH

2013-01-28 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, maybe we should generalize it and pass any subdir of /usr/lib ? ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlEGn70ACgkQdputYINPTPNtLQCfUyCOF

Re: [OpenWrt-Devel] Axel instead of wget.

2013-02-01 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > Using wget for fetching sources is dead slow on my internet. > anyone please know any hack to use axel instead ? Thats not easily doable as "axel" does not support outputting the download to stdout, that is needed for md5sum validation. Howev

Re: [OpenWrt-Devel] [PATCH] [netifd] add bridge priority option

2013-02-04 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, just a random thought... I wonder if it would make sense to set a lower priority by default (while still keeping this option to allow overriding again). ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG

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

2013-02-13 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 NAK. This file is there to support sysupgrade on devices that do not have opkg installed. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlEb0oQACgkQ

Re: [OpenWrt-Devel] WNDR3800 wifi and collectd issues - r38991

2013-12-03 Thread Jo-Philipp Wich
Hi. > I just built this while trying to resolve an Android connectivity issue > (I'd been running r37866 previously) on a NetGear WNDR3800, and the new > build seems somewhat better, but I've noticed a couple of odd things - > I'm wondering if these are known issues, or if I should submit bugs

Re: [OpenWrt-Devel] Unable to Compile Kernel Header ar71xx

2013-12-06 Thread Jo-Philipp Wich
Hi. > Could someone more familiar with the build process have a look? Should be fixed with https://dev.openwrt.org/changeset/38998 - please test. ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-deve

Re: [OpenWrt-Devel] OpenWrt kernel_menuconfig issue?

2014-01-06 Thread Jo-Philipp Wich
OpenWrt patches the kconfig to explicitely make those symbols visible. Reason for that is to allow disabling unused algs. ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https:

Re: [OpenWrt-Devel] LuCI: remove pages/nodes based on logged in user

2014-01-18 Thread Jo-Philipp Wich
Hi. > At the first sight the problem is solved: you open "System" tab and > you don't see "LED Configuration" option, but as soon as you select > one of the System's tabs all hidden tabs appear. > > How can I remove the tab permanently for the current session? Why > removing the tab from tree

Re: [OpenWrt-Devel] ssh link-local fails with "Servname not supported for ai_socktype"

2014-01-28 Thread Jo-Philipp Wich
It's a bug in upstream dropbear afair. At some point they changed some scp port separator to "%" to fix another issue and that breaks the parsing of LL addrs. Bug introduced by this: http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/2013q2/001390.html ~ Jow signature.asc Description: OpenPGP d

Re: [OpenWrt-Devel] [PATCH 1/2] hostapd: Fix basic_rate setup with netifd

2014-01-28 Thread Jo-Philipp Wich
Applied in r39411 - thanks! ~ 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] [PATCH 2/2] hostapd: Fix 80211w setup with netifd

2014-01-28 Thread Jo-Philipp Wich
Applied in r39412 - thanks! ~ 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] [PATCH] [ubus] lua: fix whitespaces and typo

2014-01-28 Thread Jo-Philipp Wich
Applied in b356773921a89b370f8ccb34c9ea5f21148115ea - thanks! ~ 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] [PATCH] [ubus] lua: allow methods with no arguments

2014-01-28 Thread Jo-Philipp Wich
Applied in 4e82a1fabb87b5e3c948a792e16b0fac3702721b - thanks! ~ 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 https://lists.op

Re: [OpenWrt-Devel] [PATCH] shadow: add missing build dependency

2014-01-29 Thread Jo-Philipp Wich
Applied in r39414 - thanks! ~ 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] [PATCH] cups: Update package source URL

2014-01-29 Thread Jo-Philipp Wich
Applied in r39415 - thanks! ~ 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] [PATCH] mxml: Update package source URL

2014-01-29 Thread Jo-Philipp Wich
Applied in r39416 - thanks! ~ 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] [PATCH] cmus: fix configure checks against host files

2014-01-29 Thread Jo-Philipp Wich
Applied in r39417 - thanks! ~ 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] [PATCH] packages: libdaemon: prevent an erroneous error message

2014-01-29 Thread Jo-Philipp Wich
Applied in r39418 - thanks! ~ 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] [PATCH 0/3] fix lldp and push it to 0.7.7

2014-01-29 Thread Jo-Philipp Wich
Applied in r39419, r39420 and r39420 - thanks! ~ 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] [PATCH v6] Add sysfixtime init script, replacement of luci_fixtime

2014-01-29 Thread Jo-Philipp Wich
Applied in r39422 - thanks! ~ 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] [PATCH] [packages] alpine: fix build on Archlinux

2014-01-29 Thread Jo-Philipp Wich
Applied in r39423 - thanks! ~ 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] [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] [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 openwr

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] 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 probl

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] [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 optio

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 openwrt-devel

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] 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] 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 https://lists.openwrt.org/cgi-bin/mail

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 https://lists.openwrt.org/cgi-bin/mai

<    3   4   5   6   7   8   9   10   11   12   >