Re: [OpenWrt-Devel] Port labels for DSA targets/devices

2020-04-20 Thread Jonathan Thibault
On 2020-04-20 3:42 p.m., m...@adrianschmutzler.de wrote: Hi all, recently, ramips/mt7621 has switched to DSA and mvebu [1] and kirkwood [2] are waiting for it. On ramips, port names have mostly been chosen to be lanX (lan1, lan2, ...) and wan. On other targets using DT files from kernel,

[OpenWrt-Devel] [PATCH v5 2/2] Allow sysupgrade restore on ER

2018-12-06 Thread Jonathan Thibault
--- target/linux/octeon/base-files/lib/preinit/79_move_config | 15 --- target/linux/octeon/base-files/lib/upgrade/platform.sh| 15 --- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/target/linux/octeon/base-files/lib/preinit/79_move_config

[OpenWrt-Devel] [PATCH v5 0/2] Allow sysupgrade restore on ER

2018-12-06 Thread Jonathan Thibault
This is a very simple patch that completes sysupgrade functionality on UBNT ER8. Default layout leaves about 128MB free on the kernel partition so there is plenty of space for temporary config backups. Jonathan Thibault (2): Evaluate board names in alphabetical order Allow sysupgrade restore

[OpenWrt-Devel] [PATCH v5 1/2] Evaluate board names in alphabetical order

2018-12-06 Thread Jonathan Thibault
--- target/linux/octeon/base-files/lib/upgrade/platform.sh | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/target/linux/octeon/base-files/lib/upgrade/platform.sh b/target/linux/octeon/base-files/lib/upgrade/platform.sh index cd49c0da36..6d258dbb0f 100755 ---

Re: [OpenWrt-Devel] [PATCH v4 2/2] Allow sysupgrade restore on ER

2018-12-04 Thread Jonathan Thibault
On 04/12/18 04:53 PM, Petr Štetiar wrote: Please try to follow DRY principles and don't copy the same code over again. I mean something like this: er_move_config() { local dev="$1" mount -t vfat "$dev" /mnt [ -f /mnt/sysupgrade.tgz ] && mv -f /mnt/sysupgrade.tgz

[OpenWrt-Devel] [PATCH v4 2/2] Allow sysupgrade restore on ER

2018-12-04 Thread Jonathan Thibault
--- target/linux/octeon/base-files/lib/preinit/79_move_config | 5 + target/linux/octeon/base-files/lib/upgrade/platform.sh| 5 + 2 files changed, 10 insertions(+) diff --git a/target/linux/octeon/base-files/lib/preinit/79_move_config

[OpenWrt-Devel] [PATCH v4 0/2] Allow sysupgrade restore on ER

2018-12-04 Thread Jonathan Thibault
This is a very simple patch that completes sysupgrade functionality on UBNT ER8. Default layout leaves about 128MB free on the kernel partition so there is plenty of space for temporary config backups. Jonathan Thibault (2): Evaluate board names in alphabetical order Allow sysupgrade restore

[OpenWrt-Devel] [PATCH v4 1/2] Evaluate board names in alphabetical order

2018-12-04 Thread Jonathan Thibault
--- target/linux/octeon/base-files/lib/upgrade/platform.sh | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/target/linux/octeon/base-files/lib/upgrade/platform.sh b/target/linux/octeon/base-files/lib/upgrade/platform.sh index cd49c0da36..6d258dbb0f 100755 ---

Re: [OpenWrt-Devel] [PATCH v2] Add generic actions to sched-core

2018-12-04 Thread Jonathan Thibault
On 03/12/18 01:37 AM, John Crispin wrote: Hi, sched-core is dependet on by these 2 packages and should only contain features required by them package/network/utils/iproute2/Makefile: DEPENDS:=+kmod-sched-core +(PACKAGE_devlink||PACKAGE_rdma):libmnl package/network/config/qos-scripts/Makefile:

[OpenWrt-Devel] [PATCH v3] octeon: Allow sysupgrade restore on ER

2018-11-28 Thread Jonathan Thibault
This is a very simple patch that completes sysupgrade functionality on UBNT ER8. Default layout leaves about 128MB free on the kernel partition so there is plenty of space for temporary config backups. --- v2: checks board name in alphabetical order v3: used git send-email to avoid patch

[OpenWrt-Devel] [PATCH v2] Add generic actions to sched-core

2018-11-28 Thread Jonathan Thibault
Greetings, Next in my series of 'OpenWRT as a network swiss army knife' patches, I suggest having the ability to accept/drop frames with TC as part of sched-core. This can be useful in cases where you need very fast (if simplistic) packet filtering. I believe they are basic enough to be

Re: [OpenWrt-Devel] [PATCHv2] Allow VLAN filtering if needed.

2018-11-21 Thread Jonathan Thibault
On 21/11/18 09:13 AM, Daniel Golle wrote: Hi! On Thu, Nov 15, 2018 at 07:58:07PM +0100, Daniel Golle wrote: Hi Jonathan, On Thu, Nov 15, 2018 at 11:12:54AM -0500, Jonathan Thibault wrote: Greetings, I would like to propose enabling CONFIG_BRIDGE_VLAN_FILTERING on OpenWRT releases. I've

[OpenWrt-Devel] [PATCH] Add generic actions to sched-core

2018-11-16 Thread Jonathan Thibault
Greetings, Next in my series of 'OpenWRT as a network swiss army knife' patches, I suggest having the ability to accept/drop frames with TC as part of sched-core. This can be useful in cases where you need very fast (if simplistic) packet filtering. I believe they are basic enough to be

[OpenWrt-Devel] [PATCHv2] Allow VLAN filtering if needed.

2018-11-15 Thread Jonathan Thibault
Greetings, I would like to propose enabling CONFIG_BRIDGE_VLAN_FILTERING on OpenWRT releases. This allows us to use the bridge as a managed switch and gracefully handle mixed tagged and untagged frames. Prior to this, the only alternative was creating one bridge per vlan which quickly

[OpenWrt-Devel] [PATCH] Allow VLAN filtering if needed.

2018-11-15 Thread Jonathan Thibault
Greetings, I would like to propose enabling CONFIG_BRIDGE_VLAN_FILTERING on OpenWRT releases. This allows us to use the bridge as a managed switch and gracefully handle mixed tagged and untagged frames. Prior to this, the only alternative was creating one bridge per vlan which quickly

[OpenWrt-Devel] [PATCH v2] octeon: Allow sysupgrade restore on ER

2018-11-13 Thread Jonathan Thibault
This is a very simple patch that completes sysupgrade functionality on UBNT ER8. Default layout leaves about 128MB free on the kernel partition so there is plenty of space for temporary config backups. This version checks board names in alphabetical order. diff --git

Re: [OpenWrt-Devel] [PATCH] octeon: Allow sysupgrade restore on ER

2018-11-13 Thread Jonathan Thibault
On 12/11/18 03:45 PM, Stijn Tintel wrote: On 12/11/18 17:56, Jonathan Thibault wrote: This is a very simple patch that completes sysupgrade functionality on UBNT ER8. Default layout leaves about 128MB free on the kernel partition so there is plenty of space for temporary config backups. diff

[OpenWrt-Devel] [PATCH] octeon: Allow sysupgrade restore on ER

2018-11-12 Thread Jonathan Thibault
This is a very simple patch that completes sysupgrade functionality on UBNT ER8. Default layout leaves about 128MB free on the kernel partition so there is plenty of space for temporary config backups. diff --git a/target/linux/octeon/base-files/lib/preinit/79_move_config

Re: [OpenWrt-Devel] [PATCH] sysctl: read settings from /etc/sysctl.d/*.conf

2015-05-27 Thread Jonathan Thibault
You might want to adjust the hotplug script too. On 27/05/15 05:23 AM, Stefan Tomanek wrote: This changes makes it possible to store custom settings in individual files inside the directory /etc/sysctl.d/, which take precedence over /etc/sysctl.conf. Signed-off-by: Stefan Tomanek

[OpenWrt-Devel] [PATCH] octeon: Add MMC support for EdgeRouter ER8

2015-03-18 Thread Jonathan Thibault
This adds in-kernel support for the octeon mmc controller so that Ubiquiti ER8 are now bootable from their internal storage. Aimed at the BB branch but should work on trunk as well. Pay attention to the change in default value for bb_size in octeon_mmc.c, default was too large (256KB) and caused

Re: [OpenWrt-Devel] [PATCH] octeon: Add MMC support for EdgeRouter ER8

2015-03-18 Thread Jonathan Thibault
On 18/03/15 09:53 AM, John Crispin wrote: Hi Jonathan, nice one, i saw the patch on the lmo mailing list and had this on my todo list for the next days, will give it a shot later on my ER8. do you fancy also sending a version that we can apply to trunk ? John Here you go. diff --git

Re: [OpenWrt-Devel] [PATCH] iproute2: bump version to v3.18.0, add package for bridge program

2015-01-05 Thread Jonathan Thibault
It'd probably be nice to add vlan filtering support to the bridge utility. I submitted a patch to do so earlier https://lists.openwrt.org/pipermail/openwrt-devel/2014-December/030024.html On 30/12/14 11:17 PM, Russell Senior wrote: Signed-off-by: Russell Senior russ...@personaltelco.net ---

[OpenWrt-Devel] [PATCH v2] iproute2: add VLAN filtering + bridge control.

2014-12-15 Thread Jonathan Thibault
Made changes suggested by Felix. I'll try to put together a preliminary report on how much bloat this add to the kernel Though this might not be that needed for home use, I think it really adds to OpenWRT's usefulness as a set-and-forget network wonder-appliance. diff --git

[OpenWrt-Devel] [PATCH] enable vlan filtering.

2014-12-11 Thread Jonathan Thibault
This is quite useful when you want to encapsulate l2 into a vpn and other things of that nature. I've called the package containing the 'bridge' command bridge2 (from iproute2) to avoid conflicting with old package 'bridge' which should really be called 'bridge-utils' and which provides 'brctl'.

Re: [OpenWrt-Devel] should syslog-ng[3] terminate build-in syslog?

2012-12-31 Thread Jonathan Thibault
I think the 'sanest' way to do this would be to have a /etc/init.d/logger script start the logger instead of /etc/init.d/boot and having the install script for whatever syslog package gets added later on do: '/etc/init.d/logger disable' That's a core architecture change of course, but not much

Re: [OpenWrt-Devel] [PATCH 2/2] geode: add additional companion chip drivers to alix2 and geos

2011-06-06 Thread Jonathan Thibault
On 30/05/11 03:47 AM, Philip Prindeville wrote: On 5/29/11 11:25 PM, Jonathan Thibault wrote: On 30/05/11 01:05 AM, Philip Prindeville wrote: Yeah, I noticed that just after I sent it... just redid the patch. On 5/29/11 10:02 PM, Nathan Williams wrote: On Sun, 2011-05-29 at 21:41 -0700

Re: [OpenWrt-Devel] [PATCH 2/2] geode: add additional companion chip drivers to alix2 and geos

2011-05-30 Thread Jonathan Thibault
On 30/05/11 01:05 AM, Philip Prindeville wrote: Yeah, I noticed that just after I sent it... just redid the patch. On 5/29/11 10:02 PM, Nathan Williams wrote: On Sun, 2011-05-29 at 21:41 -0700, Philip Prindeville wrote: Use EHCI, not UHCI usb module. kmod-usb2 is EHCI (USB 2.0). Not

Re: [OpenWrt-Devel] Refactoring base-files

2011-02-05 Thread Jonathan Thibault
On 05/02/11 06:26 AM, Bastian Bittorf wrote: The next step can be: - make an official coding-style (at the moment much is mixed) - make an offical way, how to solve typical problems in scripts - make base-files (experimental) which can be selected in menuconfig and i will maintain it. if

[OpenWrt-Devel] [PATCH] fix dhcp ignore in dnsmasq init script

2009-05-04 Thread Jonathan Thibault
Hello gang, I noticed that when adding 'option ignore 1' to an interface in /etc/config/dhcp, the interface is indeed added to the dnsmasq command line as a -2 param, which is correct, but the --dhcp-range also get appended to the command line, which causes dnsmasq to fail. If no range is