Re: [OpenWrt-Devel] [OpenWrt-Commits] r31561 - in packages/net/xl2tpd: . files patches

2012-05-05 Thread David Woodhouse
On Fri, 2012-05-04 at 23:29 -0600, Philip Prindeville wrote: I'd combine all of these as: local device server username password ... Hm. I was just trying to copy local style, which in ppp.sh had each one with its usage. Which makes slightly more sense to me; it makes it simpler to add and

Re: [OpenWrt-Devel] [OpenWrt-Commits] r31565 - in trunk/package/pptp: . files

2012-05-05 Thread David Woodhouse
On Fri, 2012-05-04 at 23:35 -0600, Philip Prindeville wrote: -find_gw() { - route -n | awk '$1 == 0.0.0.0 { print $2; exit }' +find_route() { + ip route get $1 | sed -e 's/ /\n/g' | \ +sed -ne '1p;/via/{N;p};/dev/{N;p};/src/{N;p};/mtu/{N;p}' I'd (a) use ip -4 -o

[OpenWrt-Devel] Working with patches

2012-05-05 Thread Peter Lawler
Hi! I'm working on submitting a patch for the appweb package by following the Wiki page http://wiki.openwrt.org/doc/devel/patches#edit.an.existing.patch The specific patch I'm working on is this one for appweb

Re: [OpenWrt-Devel] [OpenWrt-Commits] r31565 - in trunk/package/pptp: . files

2012-05-05 Thread David Woodhouse
On Sat, 2012-05-05 at 13:14 +0200, Felix Fietkau wrote: As long as it works, it's not worth putting in effort to clean this up. This code will be going away soon (replaced by the to-be-written netifd based script). The new code will not need iproute2 or such tricks at all. OTOH vpnc-script

Re: [OpenWrt-Devel] [PATCH] this patch adds initial support for linux 3.3 to brcm47xx

2012-05-05 Thread Hauke Mehrtens
On 03/29/2012 01:24 PM, Hauke Mehrtens wrote: On 03/22/2012 09:05 PM, Peter Wagner wrote: Signed-off-by: Peter Wagner tripo...@gmx.at Hi Peter Wagner, my current plan is to leave kernel version 3.3 out and directly go to 3.4 if someone adds the rc to OpenWrt trunk. If I would add 3.3

Re: [OpenWrt-Devel] Kernel test

2012-05-05 Thread Alberich de megres
One more last question: which serial/jtag cable do you use? (if it is cheap, better) thanks! On Wed, May 2, 2012 at 5:55 PM, Jonathan Bennett jbscienc...@gmail.com wrote: On Sat, Apr 28, 2012 at 9:22 AM, Alberich de megres alberich...@gmail.com wrote: Hi, @Jonathan, how get access to the

Re: [OpenWrt-Devel] [PATCH] Add Lua bindings for libgps

2012-05-05 Thread Felix Fietkau
On 2012-04-16 3:31 PM, Dave Taht wrote: On Mon, Apr 16, 2012 at 2:37 AM, Christian Gagneraud ch...@techworks.ie wrote: On 05/04/12 16:19, Dave Taht wrote: I note that I have been tracking the latest gpsds closely (with the new api) A problem is that it requires that scons support be added

Re: [OpenWrt-Devel] [PATCH/RFC] add kernel-accelerated PPtP support

2012-05-05 Thread Felix Fietkau
On 2012-05-04 6:55 PM, Daniel Golle wrote: PPtP right now works with a pure userland implementation though there is perfectly working support for kernel-accelerated PPtP. Having this as a seperate package is a bit ugly, I think it should be a patch on top of the ppp package adding

Re: [OpenWrt-Devel] [PATCH] Add Lua bindings for libgps

2012-05-05 Thread Felix Fietkau
On 2012-05-05 8:49 PM, Eric S. Raymond wrote: Felix Fietkau n...@openwrt.org: I merged scons build support in r31618. I was just about to merge chrpath too, but it didn't build on my OSX box. When I found out what chrpath is used for in the build system, I decided to not merge it at all. If I

Re: [OpenWrt-Devel] [PATCH] Add Lua bindings for libgps

2012-05-05 Thread dave taht
On 05/05/2012 01:17 PM, Felix Fietkau wrote: On 2012-05-05 8:49 PM, Eric S. Raymond wrote: Felix Fietkaun...@openwrt.org: I merged scons build support in r31618. I was just about to merge chrpath too, but it didn't build on my OSX box. When I found out what chrpath is used for in the build

[OpenWrt-Devel] [PATCH] ramips: Updated patch for ramips_esw.c swconfig supoprt

2012-05-05 Thread Tobias Diedrich
This patch adds swconfig support for ramips_esw: So far I've developed and tested the patch mostly on the D-LINK DIR-300 B1. I've made sure that in the enable_vlan=0 case it behaves like a dumb switch, so external switches should work fine with vlans. Also I've taken some more care than before

Re: [OpenWrt-Devel] [PATCH] ramips: Updated patch for ramips_esw.c swconfig supoprt

2012-05-05 Thread Tobias Diedrich
Thou shalt build against up-to-date vanilla svn before posting a patch Of course 1) the serial bugfix crept in and 2) I was lazily rebuilding and while I updated ramips_esw.c the header file still had the RT305X_ESW_VLAN_CONFIG_BYPASS and I never noticed that I forgot to remove it from the

Re: [OpenWrt-Devel] [PATCH] Add Lua bindings for libgps

2012-05-05 Thread Felix Fietkau
On 2012-05-05 10:20 PM, dave taht wrote: On 05/05/2012 01:17 PM, Felix Fietkau wrote: On 2012-05-05 8:49 PM, Eric S. Raymond wrote: Felix Fietkaun...@openwrt.org: I merged scons build support in r31618. I was just about to merge chrpath too, but it didn't build on my OSX box. When I found out

Re: [OpenWrt-Devel] Working with patches

2012-05-05 Thread Philip Prindeville
Try 'refresh' instead. On 5/5/12 2:29 AM, Peter Lawler wrote: Hi! I'm working on submitting a patch for the appweb package by following the Wiki page http://wiki.openwrt.org/doc/devel/patches#edit.an.existing.patch The specific patch I'm working on is this one for appweb

Re: [OpenWrt-Devel] [PATCH] ramips: Updated patch for ramips_esw.c swconfig supoprt

2012-05-05 Thread Tobias Diedrich
Tobias Diedrich wrote: So far I've developed and tested the patch mostly on the D-LINK DIR-300 B1. I've made sure that in the enable_vlan=0 case it behaves like a dumb switch, so external switches should work fine with vlans. Meh, for some reason on the WL-351 the doubletag bits don't take.

Re: [OpenWrt-Devel] [PATCH 2/2] Comprehensive ipv4 and ipv6 unaligned access patch for ar71xx

2012-05-05 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, better answer late, than never.. To conclude: We won't get to a common opinion on that I guess. I just wanted to draw your attention (from time to time, maybe once a year) onto that this 0,52% IPv6-stuff isn't real life, honestly. 99,48% are

Re: [OpenWrt-Devel] [PATCH 2/2] Comprehensive ipv4 and ipv6 unaligned access patch for ar71xx

2012-05-05 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So, finally please understand also, that there is a 99,48%-world besides v6 which has to work as it is. Finally, please understand that your IPv6 discussion in this thread is pointless, off topic and and unproductive. It draws attention away from

Re: [OpenWrt-Devel] [PATCH] ramips: Updated patch for ramips_esw.c swconfig supoprt

2012-05-05 Thread Tobias Diedrich
Third time's a charm. This patch adds swconfig support for ramips_esw: Tested on both D-LINK DIR-300 B1 and Sitecom WL-351 (external rtl8366rb on internal port 5). I've made sure that in the enable_vlan=0 case it behaves like a dumb switch, so external switches should work fine with vlans and

[OpenWrt-Devel] [PATCH] daemonlogger package Makefile

2012-05-05 Thread Robert Vineyard
Daemonlogger is a packet logger and soft tap developed by Martin Roesch. This patch adds a Makefile to build it as an OpenWRT ipk package. Note: the patch is against trunk, but it also builds cleanly on Backfire. Signed-off-by: Robert Vineyard viney...@tuffmail.com --- Index:

[OpenWrt-Devel] [PATCH 1/1] dnsmasq: add support for set: and tag: pairs

2012-05-05 Thread Philip Prindeville
On my network, I have a variety of machines and appliances, some of which need different configuration issues than the default options. For example: config host option name 'client' option mac '00:01:02:03:04:05' option ip '192.168.1.20' option tag 'acme' config

Re: [OpenWrt-Devel] [PATCH] daemonlogger package Makefile

2012-05-05 Thread Philip Prindeville
Comments... On 5/5/12 8:02 PM, Robert Vineyard wrote: Daemonlogger is a packet logger and soft tap developed by Martin Roesch. This patch adds a Makefile to build it as an OpenWRT ipk package. Note: the patch is against trunk, but it also builds cleanly on Backfire. Signed-off-by: Robert

Re: [OpenWrt-Devel] Kernel test

2012-05-05 Thread Jonathan Bennett
https://www.adafruit.com/products/70 is a great serial cable. It's used for ttl level serial. (If you have to solder to the board, it's probably ttl. If there is an actual serial port, then it's 12 v serial. Different device) On Sat, May 5, 2012 at 9:16 AM, Alberich de megres