[OpenWrt-Devel] D-Link switches with GPL Linux kernel available

2015-03-15 Thread Jean-Michel Pouré - GOOZE
Dear all, First I would like to congratulate the community for working hard on OpenWRT. For years I have been using pfSense and now that they are closing sources (aka on copyright issues) and compiling without peer review, I am turning towards OpenWRT. I am impressed by the quality of OpenWRT proj

Re: [OpenWrt-Devel] D-Link switches with GPL Linux kernel available

2015-03-15 Thread Jean-Michel Pouré - GOOZE
Sorry, source code is available here : http://tsd.dlink.com.tw Select DGS and 1210 and click OK. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] D-Link switches with GPL Linux kernel available

2015-03-15 Thread Jean-Michel Pouré - GOOZE
Dear friends, I downloaded D-Link DGS-1210-10P switch latest GPL source code, hardware rev C1 (latest revision to date, available in shops): https://dlink-gpl.s3.amazonaws.com/GPL1500075/DGS-1210-10P-GPLSourceCode.tar.gz Compilation instructions: https://dlink-gpl.s3.amazonaws.com/GPL1500075/rea

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

2015-03-15 Thread Matthias Schiffer
This changes the x86 image generation to match x86_64, using the PARTUUID for the rootfs instead of explicitly configuring the device. It unbreaks KVM with VirtIO, which uses /dev/vda2 instead of /dev/sda2. Tested in QEMU/KVM with VirtIO, VirtualBox and VMware. Signed-off-by: Matthias Schiffer

[OpenWrt-Devel] init scripts from files/etc/init.d/ are broken

2015-03-15 Thread Moritz Warning
Hi, init scripts placed in files/etc/init.d/ are not enabled anymore. This is probably caused by this change: https://dev.openwrt.org/changeset/42470 A workaround would be to enable init scripts in /etc/uci-defaults/. But this does not work because the list of executed scripts seem to be determi

[OpenWrt-Devel] Kind request to commit http://patchwork.ozlabs.org/patch/449868/

2015-03-15 Thread Janne Cederberg
Greetings all! On thursday I provided this patch regarding the Hornet-UB board; the commit was accepted: http://git.openwrt.org/?p=openwrt.git;a=commitdiff;h=beed4d82d6a0154b0cd5f7b84e2180215ace6718 I ended up making a mistake on it though: changed the WPS LED related active_low value as well whic

Re: [OpenWrt-Devel] Kind request to commit http://patchwork.ozlabs.org/patch/449868/

2015-03-15 Thread John Crispin
On 15/03/2015 20:18, Janne Cederberg wrote: > Greetings all! > On thursday I provided this patch regarding the Hornet-UB board; the > commit was accepted: > http://git.openwrt.org/?p=openwrt.git;a=commitdiff;h=beed4d82d6a0154b0cd5f7b84e2180215ace6718 > > I ended up making a mistake on it though:

Re: [OpenWrt-Devel] [PATCH] kernel: Support kernel options required by systemd

2015-03-15 Thread John Crispin
On 12/03/2015 13:54, Jeff Waugh wrote: > +config KERNEL_FHANDLE > + bool "Compile the kernel with support for fhandle syscalls" > + default n > + Hi, support for fhandle was added in r44765 John ___ openwrt-devel mailing list openwrt-

[OpenWrt-Devel] [PATCH 1/3] [rpcd] file: add md5sum support

2015-03-15 Thread Luka Perkov
Signed-off-by: Luka Perkov --- file.c | 37 + 1 file changed, 37 insertions(+) diff --git a/file.c b/file.c index 31a937d..9e87a10 100644 --- a/file.c +++ b/file.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include @@ -237,6

[OpenWrt-Devel] [PATCH 2/3] [rpcd] file: add support for base64

2015-03-15 Thread Luka Perkov
b64encode and b64decode functions were taken from zstream project which was written by Steven Barth and John Crispin. Signed-off-by: Luka Perkov --- file.c | 197 + 1 file changed, 187 insertions(+), 10 deletions(-) diff --git a/fi

[OpenWrt-Devel] [PATCH 3/3] [rpcd] file: add support for setting mode when writing files

2015-03-15 Thread Luka Perkov
Signed-off-by: Luka Perkov --- file.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/file.c b/file.c index 54f5d8a..95dd4d4 100644 --- a/file.c +++ b/file.c @@ -92,6 +92,7 @@ static const struct blobmsg_policy rpc_file_rb_policy[__RPC_F_RB_MAX] = { enum {

Re: [OpenWrt-Devel] [PATCH 1/3] [rpcd] file: add md5sum support

2015-03-15 Thread John Crispin
Hi, On 15/03/2015 22:00, Luka Perkov wrote: > wbuf = blobmsg_alloc_string_buffer(&buf, "md5", 33); > + > + for (i = 0; i < 16; i++) > + sprintf((wbuf + (i * 2)), "%02x", (uint8_t) md5[i]); there is a set of brackets too many here > + > + *(wbuf + 33) = 0; is this not off by

Re: [OpenWrt-Devel] [PATCH 2/3] [rpcd] file: add support for base64

2015-03-15 Thread John Crispin
On 15/03/2015 22:00, Luka Perkov wrote: > b64encode and b64decode functions were taken from zstream project which was > written by Steven Barth and John Crispin. > i did not write this :) > Signed-off-by: Luka Perkov > --- > file.c | 197 > +++

Re: [OpenWrt-Devel] [PATCH 3/3] [rpcd] file: add support for setting mode when writing files

2015-03-15 Thread John Crispin
On 15/03/2015 22:00, Luka Perkov wrote: > Signed-off-by: Luka Perkov > --- > file.c | 11 +-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --git a/file.c b/file.c > index 54f5d8a..95dd4d4 100644 > --- a/file.c > +++ b/file.c > @@ -92,6 +92,7 @@ static const struct blobmsg

[OpenWrt-Devel] TEW-632BRP reboots on latest trunk with ipset enabled

2015-03-15 Thread Nikolay Martynov
Hi. I've got Trendnet TEW-632BRP running trunk and using ipset to close access to couple of sites. It was working fine but latest trunk makes router restart each 5-10 mins. I've bisected this to commit [44671] (and [44742] that uses it). With these two commits reverted reboots no longer happe

[OpenWrt-Devel] [PATCH] kernel: Support kernel options required by systemd

2015-03-15 Thread Jeff Waugh
(John: This patch takes into account r44765, but moves the FHANDLE config stanza to a more understandable position in the file.) These are all likely to be widely useful in this modern age, but my interest is primarily in systemd support. :-) c.f. http://sources.gentoo.org/cgi-bin/viewvc.cgi/gen

[OpenWrt-Devel] [PATCH] linux: modules: crypto: adds ccm package

2015-03-15 Thread Varka Bhadram
This patch adds support crypto-ccm modules support. Signed-off-by: Varka Bhadram --- package/kernel/linux/modules/crypto.mk | 11 +++ 1 file changed, 11 insertions(+) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 4df2d73..ef5f3a9 1

Re: [OpenWrt-Devel] [PATCH] kernel: Support kernel options required by systemd

2015-03-15 Thread Rafał Miłecki
On 14 March 2015 at 00:35, Jeff Waugh wrote: > (John: This patch takes into account r44765, but moves the FHANDLE config > stanza to a more understandable position in the file.) If you want to put some comments in your patch, place them below the "---". This way they won't be visible after applyi

Re: [OpenWrt-Devel] [PATCH] kernel: Support kernel options required by systemd

2015-03-15 Thread Jeff Waugh
On Mon, Mar 16, 2015 at 4:56 PM, Rafał Miłecki wrote: > If you want to put some comments in your patch, place them below the > "---". This way they won't be visible after applying patch with "git > am". Thanks -- will do. 8) ___ openwrt-devel mailing li