Re: [OpenWrt-Devel] [PATCH v2 1/6] netifd: Make sending DHCP release configurable via uci when client exits

2016-04-28 Thread Hans Dedecker
On Thu, Apr 28, 2016 at 12:26 PM, Jo-Philipp Wich wrote: > Hi, > > I assume this one supersedes "netifd: Send DHCP release when client > exits" ? > Correct > > Asking because I see no deletion of the "-R" option which would be > introduced by the other patch. > > If this is

Re: [OpenWrt-Devel] [PATCH] ramips: add support for Planex MZK-EX750NP.

2016-04-28 Thread @SRCHACK . ORG
Hi, Dear Piotr. Status quo, is the only way there is access in the UART. Looking for a good way. I'm thinking. On 2016/04/28 19:24, Piotr Dymacz wrote: Hello YuheiOKAWA, Just small question. How the user can access the device if it doesn't have Ethernet and the WiFi is disabled by default in

Re: [OpenWrt-Devel] [PATCH] ramips: add support for Planex MZK-EX750NP.

2016-04-28 Thread Andrew Yong
@openwrt devs: Is there an upstream-approved way to remove "option disabled 1" from default WiFi config for devices with no Ethernet port? Many SOM modules and mini routers (and the Zsun card reader https://wiki.hackerspace.pl/projects:zsun-wifi-card-reader) don't have Ethernet ports and

Re: [OpenWrt-Devel] [PATCH] [scripts] avoid hard-coded path in sha-bang

2016-04-28 Thread John Crispin
Hi, please change the subject as below change [scripts] avoid hard-coded path in sha-bang to scripts: avoid hard-coded paths in scripts John On 28/04/2016 14:02, e196...@hotmail.com wrote: > Hi John, > > I cannot figure out the slang words you mentioned. > I'm not a English native

Re: [OpenWrt-Devel] [PATCH] [scripts] avoid hard-coded path in sha-bang

2016-04-28 Thread e196819
Hi John, I cannot figure out the slang words you mentioned. I'm not a English native speaker... Could you explain more about that? On Mon, Apr 25, 2016 at 03:17:47PM +0200, John Crispin wrote: > please avoid using slang words and add "scripts:" as a subject prefix > > > > On 22/04/2016

Re: [OpenWrt-Devel] [PATCH] ramips: add support for Planex MZK-EX750NP.

2016-04-28 Thread Andrew Yong
I'll take a look at what can be done with the `wifi` script. I think it's pretty long overdue with IoT modules being huge now. On 28 Apr 2016 20:23, "Piotr Dymacz" wrote: > Hello, > > 2016-04-28 13:12 GMT+02:00 Andrew Yong : > [...] > > > Many SOM modules and mini

[OpenWrt-Devel] [PATCH] xtables-addons: Fix Lua packet script implementation

2016-04-28 Thread Hans Dedecker
lua_packet_segment parameter start has type char pointer; in function lua_tg it's assigned an uint16 value generating compiler warnings obviously indicating posssible seg fault problems. Fix the issue by using the correct skb functions so the parameter points to the position inside the sk_buff

[OpenWrt-Devel] [PATCH] set mark for locally generated traffic in OUTPUT chain

2016-04-28 Thread Daniel Golle
Signed-off-by: Daniel Golle --- rules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.c b/rules.c index 756c78d..e20442e 100644 --- a/rules.c +++ b/rules.c @@ -270,7 +270,7 @@ append_chain(struct fw3_ipt_rule *r, struct fw3_rule *rule) {

Re: [OpenWrt-Devel] [PATCH v2 1/6] netifd: Make sending DHCP release configurable via uci when client exits

2016-04-28 Thread Jo-Philipp Wich
Hi, I assume this one supersedes "netifd: Send DHCP release when client exits" ? Asking because I see no deletion of the "-R" option which would be introduced by the other patch. If this is the case can you slightly reword it to "Add configurable DHCP release behaviour" or something? Sorry for

Re: [OpenWrt-Devel] [PATCH] ramips: add support for Planex MZK-EX750NP.

2016-04-28 Thread Piotr Dymacz
Hello, 2016-04-28 13:12 GMT+02:00 Andrew Yong : [...] > Many SOM modules and mini routers (and the Zsun card reader > https://wiki.hackerspace.pl/projects:zsun-wifi-card-reader) don't have > Ethernet ports and manufacturers ship custom OpenWrt with preconfigured WiFi > for this,

Re: [OpenWrt-Devel] [PATCH] ramips: add support for Planex MZK-EX750NP.

2016-04-28 Thread Piotr Dymacz
Hello YuheiOKAWA, Just small question. How the user can access the device if it doesn't have Ethernet and the WiFi is disabled by default in OpenWrt? Cheers, Piotr 2016-04-28 11:49 GMT+02:00 YuheiOKAWA : > add support for Planex MZK-EX750NP. > MZK-EX750NP is MT7620A

[OpenWrt-Devel] [PATCH] netifd: Add configurable DHCP release behavior

2016-04-28 Thread Hans Dedecker
Make sending a DHCP release configurable when the client exits allowing to clean up IP/mac state info in intermediate devices. Signed-off-by: Hans Dedecker --- v1 -> v2 : Make sending DHCP release configurable via uci

[OpenWrt-Devel] [PATCH] ramips: add support for Planex MZK-EX750NP.

2016-04-28 Thread YuheiOKAWA
add support for Planex MZK-EX750NP. MZK-EX750NP is MT7620A and MT7610E based 11ac wifi repeater. Built-in power supply. 64MiB RAM, 8MiB SPI Flash, non Wired Ethernet. Signed-off-by: YuheiOKAWA --- target/linux/ramips/base-files/etc/board.d/01_leds | 4 +

[OpenWrt-Devel] [PATCH v3 1/2] mvebu: config-4.1: make mmc drivers builtin

2016-04-28 Thread josua . mayer97
From: Josua Mayer This is especially useful on the Clearfog board which boots from mmc by default. Signed-off-by: Josua Mayer --- target/linux/mvebu/config-4.1 | 24 1 file changed, 24 insertions(+) diff --git

[OpenWrt-Devel] [PATCH v3 2/2] mvebu: add squashfs image type to MMCProfile

2016-04-28 Thread josua . mayer97
From: Josua Mayer Added gen_mvebu_sdcard_img.sh to create bootable sdcard images. It takes the bootloader and partition images to create a bootable sdcard image. Partition Layout: p1: fat32: for kernel, dtb and boot config files if any p2: squashfs: for openwrt This change

[OpenWrt-Devel] [PATCH v2] scripts: avoid hard-coded paths in scripts

2016-04-28 Thread Iblis Lin
Signed-off-by: Iblis Lin --- scripts/brcmImage.pl | 2 +- scripts/deptest.sh| 2 +- scripts/feeds | 2 +- scripts/mkits.sh | 2 +- scripts/pad_image | 2 +- scripts/redboot-script.pl | 2 +- scripts/remote-gdb| 2 +- 7 files

Re: [OpenWrt-Devel] [PATCH] set mark for locally generated traffic in OUTPUT chain

2016-04-28 Thread John Crispin
trivia is missing On 28/04/2016 14:25, Daniel Golle wrote: > Signed-off-by: Daniel Golle > --- > rules.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/rules.c b/rules.c > index 756c78d..e20442e 100644 > --- a/rules.c > +++ b/rules.c > @@

[OpenWrt-Devel] [PATCH v2 2/2] mvebu: add squashfs image type to MMCProfile

2016-04-28 Thread josua . mayer97
From: Josua Mayer Added gen_mvebu_sdcard_img.sh to create bootable sdcard images. It takes the bootloader and partition images to create a bootable sdcard image. Partition Layout: p1: fat32: for kernel, dtb and boot config files if any p2: squashfs: for openwrt This change

[OpenWrt-Devel] [PATCH] target/linux/mpc85xx: fix talitos crypto driver init

2016-04-28 Thread Alexandru Ardelean
Crypto hash algorithms must provide the statesize for kernel 4.2+ Referencing commit in the kernel: commit 8996eafdcbad149ac0f772fb1649fbb75c482a6a Author: Russell King Date: Fri Oct 9 20:43:33 2015 +0100 crypto: ahash - ensure statesize is non-zero

Re: [OpenWrt-Devel] [PATCH] set mark for locally generated traffic in OUTPUT chain

2016-04-28 Thread Hans Dedecker
On Thu, Apr 28, 2016 at 3:31 PM, Daniel Golle wrote: > Hi Jo! > > On Thu, Apr 28, 2016 at 03:03:49PM +0200, Jo-Philipp Wich wrote: > > my stomach feeling tells me that this is okay but can you elaborate on > > the change? > > Currently all marking always happends in the

[OpenWrt-Devel] [PATCH] ubi-utils: package mkfs.ubifs and mtdinfo into ubi-utils

2016-04-28 Thread Alexandru Ardelean
This is a partial backport from mtd-utils. mtd-utils exposed multiple sub-packages. I think mtd-utils was part of the oldpackages ; I haven't checked. But it seems that mtd-utils and ubi-utils are pretty much the same. The only thing we need on top of ubi-utils are the 'mkfs.ubifs' and 'mtdinfo'

[OpenWrt-Devel] [PATCH v2 1/2] mvebu: config-4.1: make mmc drivers builtin

2016-04-28 Thread josua . mayer97
From: Josua Mayer This is especially useful on the Clearfog board which boots from mmc by default. Signed-off-by: Josua Mayer --- target/linux/mvebu/config-4.1 | 24 1 file changed, 24 insertions(+) diff --git

Re: [OpenWrt-Devel] [PATCH] set mark for locally generated traffic in OUTPUT chain

2016-04-28 Thread Jo-Philipp Wich
Hi Daniel, my stomach feeling tells me that this is okay but can you elaborate on the change? ~ Jo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH 2/2] mvebu: add squashfs image type to MMCProfile

2016-04-28 Thread josua . mayer97
From: Josua Mayer Added gen_mvebu_sdcard_img.sh to create bootable sdcard images. It takes the bootloader and partition images to create a bootable sdcard image. Partition Layout: p1: fat32: for kernel, dtb and boot config files if any p2: squashfs: for openwrt This change

[OpenWrt-Devel] [PATCH 1/2] mvebu: config-4.1: make mmc drivers builtin

2016-04-28 Thread josua . mayer97
From: Josua Mayer This is especially useful on the Clearfog board which boots from mmc by default. Signed-off-by: Josua Mayer --- target/linux/mvebu/config-4.1 | 24 1 file changed, 24 insertions(+) diff --git a/target/linux/mvebu/config-4.1

Re: [OpenWrt-Devel] [PATCH] set mark for locally generated traffic in OUTPUT chain

2016-04-28 Thread Jo-Philipp Wich
Hi Daniel, thanks for the explaination, I was missing the function context. The change is indeed fine, pushed to firewall3.git - thanks! ~ Jo ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

[OpenWrt-Devel] [PATCH v4] base-files: evaluate uci-defaults on run-time installations

2016-04-28 Thread Daniel Golle
Packages may install scripts into /etc/uci-defaults to be executed once after installation, usually at the first boot of the target. This works fine if the package was installed to the rootfs during build or using the ImageBuilder. If the package is installed using opkg during run-time

Re: [OpenWrt-Devel] [PATCH] set mark for locally generated traffic in OUTPUT chain

2016-04-28 Thread Daniel Golle
Hi Jo! On Thu, Apr 28, 2016 at 03:03:49PM +0200, Jo-Philipp Wich wrote: > my stomach feeling tells me that this is okay but can you elaborate on > the change? Currently all marking always happends in the PREROUTING chain. This doesn't catch locally generated traffic and thus also doesn't allow

Re: [OpenWrt-Devel] [PATCH v3] base-files: evaluate uci-defaults on run-time installations

2016-04-28 Thread Hannu Nyman
I did not try to think through if this would be the correct thing to do for all packages, but the basic change seems reasonable. Having the uci-defaults run postponed to the reboot is annoying in some cases. However, your patch seems to break the basic characteristics of an uci-defaults

Re: [OpenWrt-Devel] [PATCH v3 1/2] mvebu: config-4.1: make mmc drivers builtin

2016-04-28 Thread Andrej Vlasic
Hi Josua, On 28.04.2016 17:03, josua.maye...@gmail.com wrote: From: Josua Mayer This is especially useful on the Clearfog board which boots from mmc by default. Signed-off-by: Josua Mayer --- target/linux/mvebu/config-4.1 | 24

[OpenWrt-Devel] [PATCH] libffi: bump to version 3.2.1

2016-04-28 Thread Alexey Brodkin
Among many fixes and improvements this new version adds support of ARC architecture (ARC port was actually introduced in v3.1 but while at it why not to update to the most recent version). Which allows to build dependent projects like Python etc. Signed-off-by: Alexey Brodkin

Re: [OpenWrt-Devel] [PATCH] target/linux/mpc85xx: fix talitos crypto driver init

2016-04-28 Thread Alexandru Ardelean
On Thu, Apr 28, 2016 at 6:18 PM, Jonas Eymann wrote: > Hi Alexandru, > > > > > Crypto hash algorithms must provide the statesize for > > kernel 4.2+ > > > > Referencing commit in the kernel: > > > > commit 8996eafdcbad149ac0f772fb1649fbb75c482a6a > > Author: Russell King

[OpenWrt-Devel] [PATCH 2/2] ext4_part_match: fix bug that prevented matching names

2016-04-28 Thread josua . mayer97
From: Josua Mayer Actually use the populated devname variable to compare against given name, instead of the buf variable, which incidentally contains either: MAJOR=xyz, MINOR=x, or DEVTYPE=partition, none of which ever match a name. Signed-off-by: Josua Mayer

[OpenWrt-Devel] [PATCH 1/2] mount_root: implement overlay= boot option

2016-04-28 Thread josua . mayer97
From: Josua Mayer This change adds code to handle a new option on cmdline: overlay= This is used to find the rootfs_data partition / disk when it has a non-standard name or location. It takes either the device node name, or the full path to the device node: i.e.

[OpenWrt-Devel] [PATCH v2 3/3] mount_root: Also handle new overlay= option in done()

2016-04-28 Thread josua . mayer97
From: Josua Mayer The done()-function is used both to initialize rootfs_data when there is no filesystem yet, but also to set ready-state on fresh filesystems. Make sure to also do that when a non-standard overlay device is specified. Signed-off-by: Josua Mayer

[OpenWrt-Devel] [PATCH v2 1/3] mount_root: implement overlay= boot option

2016-04-28 Thread josua . mayer97
From: Josua Mayer This change adds code to handle a new option on cmdline: overlay= This is used to find the rootfs_data partition / disk when it has a non-standard name or location. It takes either the device node name, or the full path to the device node: i.e.

[OpenWrt-Devel] [PATCH v2 2/3] ext4_part_match: fix bug that prevented matching names

2016-04-28 Thread josua . mayer97
From: Josua Mayer Actually use the populated devname variable to compare against given name, instead of the buf variable, which incidentally contains either: MAJOR=xyz, MINOR=x, or DEVTYPE=partition, none of which ever match a name. Signed-off-by: Josua Mayer

Re: [OpenWrt-Devel] [PATCH] target/linux/mpc85xx: fix talitos crypto driver init

2016-04-28 Thread Jonas Eymann
Hi Alexandru, > > Crypto hash algorithms must provide the statesize for > kernel 4.2+ > > Referencing commit in the kernel: > > commit 8996eafdcbad149ac0f772fb1649fbb75c482a6a > Author: Russell King > Date: Fri Oct 9 20:43:33 2015 +0100 > > crypto: ahash -

Re: [OpenWrt-Devel] [PATCH v2 1/3] mount_root: implement overlay= boot option

2016-04-28 Thread Rafał Miłecki
On 28 April 2016 at 20:20, wrote: > @@ -33,6 +33,35 @@ start(int argc, char *argv[1]) > if (!getenv("PREINIT")) > return -1; > > + /* > +* Check cmdline for a hint about overlay device > +*/ > + if(!data) { > +

Re: [OpenWrt-Devel] [PATCH v2 1/3] mount_root: implement overlay= boot option

2016-04-28 Thread Rafał Miłecki
On 28 April 2016 at 20:20, wrote: > From: Josua Mayer > > This change adds code to handle a new option on cmdline: overlay= > This is used to find the rootfs_data partition / disk when it has a > non-standard name or location. > > It takes either the