unreliable AP VLAN Interfaces 23.05

2023-11-25 Thread André Valentin via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hi! Currently I try to use AP VL

Re: wpa_supplicant and switch to ucode

2023-09-21 Thread André Valentin via openwrt-devel
that fixed the problem! Am 21.09.23 um 21:21 schrieb Felix Fietkau: On 21.09.23 20:00, André Valentin wrote: Hi! I just tested the current 23.05rc tree with the new hostapd patches and noticed that 802.1x on wired interfaces does now work anymore. Until now it was really easy to use t

wpa_supplicant and switch to ucode

2023-09-21 Thread André Valentin via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hi! I just tested the current 23

Re: Implementing bluetooth speakers on OpenWrt?

2023-09-04 Thread André Valentin via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hi Russel, I already did that. T

Re: [PATCH 0/2] ramips: add support for ZyXEL LTE3301-Plus

2022-06-30 Thread André Valentin
Hi ! Could simebody take a look at this? It's a really cool device ! Kind regards, André Am 17.06.22 um 21:35 schrieb André Valentin: The ZyXEL LTE3301-PLUS is an 4G indoor CPE with 2 external LTE antennas. Specifications: - SoC: MediaTek MT7621AT - RAM: 256 MB - Flash: 128

[PATCH 0/2] ramips: add support for ZyXEL LTE3301-Plus

2022-06-17 Thread André Valentin
slot - USB: USB3 port - Buttons: Reset, WPS - LEDs: Multicolour power, internet, LTE, signal, Wifi, USB - Power: 12V, 1.5A The device is built as an indoor ethernet to LTE bridge or router with Wifi. André Valentin (2): ramips: add support for ZyXEL LTE3301-Plus package/uboot-envtools: add

[PATCH 2/2] package/uboot-envtools: add support for ZyXEL LTE3301-plus

2022-06-17 Thread André Valentin
This add support for the uboot env allow to enable serial console. --- package/boot/uboot-envtools/files/ramips | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/boot/uboot-envtools/files/ramips b/package/boot/uboot-envtools/files/ramips index eebc08d65d..fbbb5a014b 100644 --- a/pack

[PATCH 1/2] ramips: add support for ZyXEL LTE3301-Plus

2022-06-17 Thread André Valentin
details about flashing see commit 2449a632084b ("ramips: mt7621: Add support for ZyXEL NR7101"). Please note that this commit is needed: firmware-utils: add marcant changes for ZyXEL NBG6716 and LTE3301-PLUS Signed-off-by: André Valentin --- .../ramips/dts/mt7621_zyxel_

[PATCH] firmware-utils: Add support for ZyXEL LTE3301-Plus

2022-06-17 Thread André Valentin
Add header mapping for ZyXEL LTE3301-Plus to zytrx. Signed-off-by: André Valentin --- src/zytrx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zytrx.c b/src/zytrx.c index 8c113d6..0c69b6a 100644 --- a/src/zytrx.c +++ b/src/zytrx.c @@ -92,6 +92,7 @@ static struct board_t

[PATCH v4 2/2] ramips: mt7621: Add support for ZyXEL LTE3301-PLUS

2021-05-24 Thread André Valentin
details about flashing see commit 2449a632084b ("ramips: mt7621: Add support for ZyXEL NR7101"). I recommend to install an initramfs image on the Kernel2 partition if you want to permanently use OpenWrt. Signed-off-by: André Valentin --- package/boot/uboot-envtools/files/ramips

[PATCH v4 1/2] firmware-utils: zytrx: Add support for ZyXEL LTE3301-PLUS

2021-05-24 Thread André Valentin
This adds a new device id to the image tools. Signed-off-by: André Valentin --- tools/firmware-utils/src/zytrx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/firmware-utils/src/zytrx.c b/tools/firmware-utils/src/zytrx.c index 302efc6010..b3bbbe3c69 100644 --- a/tools/firmware-utils

[PATCH v4 0/2] Add support for ZyXEL LTE3301-PLUS

2021-05-24 Thread André Valentin
This set adds support for the ZyXEL LTE3301-PLUS, an indoor 3G/4G indoor LTE router with Wifi. Thanks to Bjørn Mork for the image tool implementation. André Valentin (2): firmware-utils: zytrx: Add support for ZyXEL LTE3301-PLUS ramips: mt7621: Add support for ZyXEL LTE3301-PLUS package

[PATCH] ath79: increase ZyXEL NBG6716 kernel partition to 6MiB

2021-05-23 Thread André Valentin
-by: André Valentin --- .../linux/ath79/dts/qca9558_zyxel_nbg6716.dts | 4 +-- .../etc/uci-defaults/05_fix-compat-version| 3 +- target/linux/ath79/image/nand.mk | 34 --- 3 files changed, 26 insertions(+), 15 deletions(-) diff --git a/target/linux/ath79/dts

[PATCH] ath79/zyxel_nbg6716: resize kernel partition to 6MiB and reenable again

2021-05-22 Thread André Valentin
-Kernel.bin | mtd -r -e /dev/mtd 3 write - /dev/mtd3 This may thow an error, because it is a 256M image. There are devices out there with this flash size. Notice that you will always loose configuration. Signed-off-by: André Valentin --- .../linux/ath79/dts/qca9558_zyxel_nbg6716.dts | 4

[PATCH v3 2/2] ramips: mt7621: Add support for ZyXEL LTE3301-Plus

2021-05-18 Thread André Valentin
] 3.3V Vcc [o] RX [o] TX MAC assignment: lan: 98:0d:67:ee:85:54 (base, on the device back) wlan: 98:0d:67:ee:85:55 For more details about flashing see commit 2449a632084b29632605e5a79ce5d73028eb15dd . Signed-off-by: André Valentin --- package/boot/uboot-envtools/files/ramips | 1

[PATCH v3 1/2] firmware-utils: zytrx: Add support for ZyXEL LTE3301-Plus

2021-05-18 Thread André Valentin
This adds a new device id to the image tools. Signed-off-by: André Valentin --- tools/firmware-utils/src/zytrx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/firmware-utils/src/zytrx.c b/tools/firmware-utils/src/zytrx.c index 302efc6010..b3bbbe3c69 100644 --- a/tools/firmware-utils

[PATCH v3 0/2] Add support for ZyXEL LTE3301-Plus

2021-05-18 Thread André Valentin
This set adds support for the ZyXEL LTE3301-Plus, an indoor 3G/4G indoor LTE router with Wifi. André Valentin (2): firmware-utils: zytrx: Add support for ZyXEL LTE3301-Plus ramips: mt7621: Add support for ZyXEL LTE3301-Plus package/boot/uboot-envtools/files/ramips | 1 + .../ramips

[PATCH v2 1/4] firmware-utils: zytrx: Add support for ZyXEL LTE3301-Plus

2021-05-17 Thread André Valentin
This adds a new device id to the image tools. Signed-off-by: André Valentin --- tools/firmware-utils/src/zytrx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/firmware-utils/src/zytrx.c b/tools/firmware-utils/src/zytrx.c index 302efc6010..b3bbbe3c69 100644 --- a/tools/firmware-utils

[PATCH v2 3/4] package/mtdutils: add ubifs-tools package containing mkfs.ubifs

2021-05-17 Thread André Valentin
Add mkfs.ubifs tool as package. It may used in the sysupgrade process. Signed-off-by: André Valentin --- package/utils/mtd-utils/Makefile | 17 + 1 file changed, 17 insertions(+) diff --git a/package/utils/mtd-utils/Makefile b/package/utils/mtd-utils/Makefile index 5a4b03da96

[PATCH v2 2/4] mtdsplit_squashfs: allow devicetree to define the name of the new partition

2021-05-17 Thread André Valentin
penwrt,squashfs"; label = "firmware"; openwrt,offset = <380>; openwrt,data-partition-name = "ubi"; }; This splits at first the uImage into kernel and rootfs, after that rootfs is splitted into rootfs (only squash) and the new ubi partition.

[PATCH v2 4/4] ramips: mt7621: Add support for ZyXEL LTE3301-Plus

2021-05-17 Thread André Valentin
] 3.3V Vcc [o] RX [o] TX For more details about flashing and bootloader see commit 2449a632084b29632605e5a79ce5d73028eb15dd . Installation: 1. Upload image via web interface or via bootloader. 2. Wait for the device to come up. Signed-off-by: André Valentin --- package/boot/uboot-envtools/files

[PATCH v2 0/4] Add support for ZyXEL LTE3301-Plus

2021-05-17 Thread André Valentin
This set adds support for the ZyXEL LTE3301-Plus, an indoor 3G/4G indoor LTE router with Wifi. André Valentin (4): firmware-utils: zytrx: Add support for ZyXEL LTE3301-Plus mtdsplit-squashfs: allow devicetree to define the name of the new partition package/mtdutils: add ubifs-tools

[PATCH 2/2] ramips: mt7621: Add support for ZyXEL LTE3301-Plus

2021-05-14 Thread André Valentin
] 3.3V Vcc [o] RX [o] TX For more details about flashing see commit 2449a632084b29632605e5a79ce5d73028eb15dd . Signed-off-by: André Valentin --- .../ramips/dts/mt7621_zyxel_lte3301-plus.dts | 213 ++ target/linux/ramips/image/mt7621.mk | 16 ++ .../mt7621/base-files

[PATCH 1/2] firmware-utils: zytrx: Add support for ZyXEL LTE3301-Plus

2021-05-14 Thread André Valentin
This adds a new device id to the image tools. Signed-off-by: André Valentin --- tools/firmware-utils/src/zytrx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/firmware-utils/src/zytrx.c b/tools/firmware-utils/src/zytrx.c index 302efc6010..b3bbbe3c69 100644 --- a/tools/firmware-utils

[PATCH 0/2] Add support for ZyXEL LTE3301-Plus

2021-05-14 Thread André Valentin
This set adds support for the ZyXEL LTE3301-Plus, an indoor 3G/4G indoor LTE router with Wifi. André Valentin (2): firmware-utils: zytrx: Add support for ZyXEL LTE3301-Plus ramips: mt7621: Add support for ZyXEL LTE3301-Plus .../ramips/dts/mt7621_zyxel_lte3301-plus.dts | 213

[PATCH v2] hostapd: enable background scanning in wpa_supplicant_full

2020-09-09 Thread André Valentin
0-06-08-5a8b3662-4_mipsel_24kc.ipk 550133 new: wpad-openssl_2020-06-08-5a8b3662-5_mipsel_24kc.ipk 551961 Signed-off-by: André Valentin --- package/network/services/hostapd/files/hostapd.sh | 7 +++ package/network/services/hostapd/files/wpa_supplicant-full.config | 6 +++---

[PATCH] hostapd: enable background scanning in wpa_supplicant_full

2020-09-09 Thread André Valentin
_24kc.ipk 550133 new: wpad-openssl_2020-06-08-5a8b3662-5_mipsel_24kc.ipk 551961 Signed-off-by: André Valentin --- package/network/services/hostapd/files/hostapd.sh | 7 +++ package/network/services/hostapd/files/wpa_supplicant-full.config | 6 +++--- package/networ

Re: [OpenWrt-Devel] mptcp in openwrt

2020-02-04 Thread André Valentin
Hi! mptcp is only for the devices intiating and terminating the connection. All routers in between (maybe OpenWRT) do not care about this. The only way you could use mptcp on a router is with a proxy service running on it, which will do the mptcp stuff. Please correct me if I unterstood wrong.

[OpenWrt-Devel] [PATCH 3/3] ath79: add support for ZyXEL NBG6716

2019-10-23 Thread André Valentin
copy and paste the result into the shell to unlock zloader. |NBG6716> ATEN 1,0046B0017430 If the entered code was correct the shell will change to use the ATGU command to enter the real u-boot shell. |NBG6716> ATGU |NBG6716# Signed-off-by: André Valentin --- .../ath79/base-files/etc/board.

[OpenWrt-Devel] [PATCH 0/3] ZyXEL NBG6716 update ar71xx, add ath79, extend mkrasimage

2019-10-23 Thread André Valentin
André Valentin (3): tools/mkrasimage: Add support for 128k header size ar71xx: fix bug in NBG6716 kernelpacking, add firmware partition ath79: add support for ZyXEL NBG6716 target/linux/ar71xx/image/legacy.mk | 5 +- .../ath79/base-files/etc/board.d/02_network | 8

[OpenWrt-Devel] [PATCH 1/3] tools/mkrasimage: Add support for 128k header size

2019-10-23 Thread André Valentin
128k header size support is needed for ZyXEL NBG6716. Signed-off-by: André Valentin --- tools/firmware-utils/src/mkrasimage.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tools/firmware-utils/src/mkrasimage.c b/tools/firmware-utils/src/mkrasimage.c index

Re: [OpenWrt-Devel] [PATCH 3/3] ath79: add support for ZyXEL NBG6716

2019-10-23 Thread André Valentin
Hi Adrian, thanks you for your hints! Please see below for comments. Am 22.10.19 um 20:01 schrieb Adrian Schmutzler: > Hi, > >> -Original Message- >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On >> Behalf Of André Valentin >> Se

[OpenWrt-Devel] [PATCH 3/3] ath79: add support for ZyXEL NBG6716

2019-10-22 Thread André Valentin
of tool.sh - |# bash ./tool.sh 012345678901 | |ATEN 1,879C711 copy and paste the result into the shell to unlock zloader. |NBG6716> ATEN 1,0046B0017430 If the entered code was correct the shell will change to use the ATGU command to enter the real u-boot shell. |NBG6716> ATGU |NBG6716#

[OpenWrt-Devel] [PATCH 2/3] ar71xx: fix bug in NBG6716 kernelpacking, add firmware partition

2019-10-22 Thread André Valentin
-Fix the kernel image generation (more robust) -Add a firmware partition table allowing easy upgrade to ath79 Signed-off-by: André Valentin --- target/linux/ar71xx/image/legacy.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/image/legacy.mk b

[OpenWrt-Devel] [PATCH 1/3] tools/mkrasimage: Add support for 128k header size

2019-10-22 Thread André Valentin
128k header size support is needed for ZyXEL NBG6716. Signed-off-by: André Valentin --- tools/firmware-utils/src/mkrasimage.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tools/firmware-utils/src/mkrasimage.c b/tools/firmware-utils/src/mkrasimage.c index

[OpenWrt-Devel] [PATCH 0/3] ZyXEL NBG6716 update ar71xx, add ath79, add mtd mac parser

2019-10-22 Thread André Valentin
This patchset does the following: -Fix image generation for old ar71xx images -Add a firmware partition the the old ar71xx images (allowing migration) -Add ath79 support for NBG6716 André Valentin (3): tools/mkrasimage: Add support for 128k header size ar71xx: fix bug in NBG6716 kernelpacking

Re: [OpenWrt-Devel] [PATCH 4/5] target/generic: add ascii search option to mtd-mac-address helper

2019-10-21 Thread André Valentin
Hi Petr, I got it from here: lede/target/linux/ar71xx/files/arch/mips/ath79/nvram.c Am 21.10.19 um 16:06 schrieb Petr Štetiar: > André Valentin [2019-10-21 15:13:55]: > >> Am 21.10.19 um 15:02 schrieb Petr Štetiar: >>> André Valentin [2019-10-21 14:32:13]: >>> &

Re: [OpenWrt-Devel] [PATCH 1/5] tools/mkrasimage: Add support for 128k header size

2019-10-21 Thread André Valentin
Hi Petr, thanks, I will remove the constant. It is not needed anymore. Am 21.10.19 um 15:05 schrieb Petr Štetiar: > André Valentin [2019-10-21 14:32:10]: > > Hi, > >> #define HEADER_PARTITION_CALC_LENGTH 2048 >> -#define HEADER_PARTITION_LENGTH 0x1 &

Re: [OpenWrt-Devel] [PATCH 4/5] target/generic: add ascii search option to mtd-mac-address helper

2019-10-21 Thread André Valentin
Hi Petr! Am 21.10.19 um 15:02 schrieb Petr Štetiar: > André Valentin [2019-10-21 14:32:13]: > > Hi, > >> This improves the function of_get_mac_address_mtd... > > but on the other hand its also introducing something which would never be > accepted upstream, for det

[OpenWrt-Devel] [PATCH 3/5] ath79: add support for ZyXEL NBG6716

2019-10-21 Thread André Valentin
| |ATEN 1,879C711 copy and paste the result into the shell to unlock zloader. |NBG6716> ATEN 1,0046B0017430 If the entered code was correct the shell will change to use the ATGU command to enter the real u-boot shell. |NBG6716> ATGU |NBG6716# Signed-off-by: André Valentin --- .../ath79

[OpenWrt-Devel] [PATCH 4/5] target/generic: add ascii search option to mtd-mac-address helper

2019-10-21 Thread André Valentin
This improves the function of_get_mac_address_mtd the be able to handle u-boot environement. It is now possible to read a MAC address from the env and set this in the dt. Code has been taken from ar71xx. Signed-off-by: André Valentin --- ...ET-add-of_get_mac_address_mtd_search.patch | 96

[OpenWrt-Devel] [PATCH 2/5] ar71xx: fix bug in NBG6716 kernelpackaging, add firmware partition allowing ath79 update

2019-10-21 Thread André Valentin
-Fix the kernel image generation (more robust) -Add a firmware partition table allowing easy upgrade to ath79 Signed-off-by: André Valentin --- target/linux/ar71xx/image/legacy.mk | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/target/linux/ar71xx/image/legacy.mk b

[OpenWrt-Devel] [PATCH 5/5] ath79/zyxel_nbg6716: add macs from uboot-env partition

2019-10-21 Thread André Valentin
Switch NBG6716 to use the new mtd mac parser for u-boot env. Signed-off-by: André Valentin --- .../linux/ath79/dts/qca9558_zyxel_nbg6716.dts | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts b/target/linux

[OpenWrt-Devel] [PATCH 0/5] ZyXEL NBG6716 update ar71xx, add ath79, add mtd mac parser

2019-10-21 Thread André Valentin
This patchset does the following: -Fix image generation for old ar71xx images -Add a firmware partition the the old ar71xx images (allowing migration) -Add ath79 support for NBG6716 -Add a MAC parser for DTS allowing u-boot-env as MAC source André Valentin (5): tools/mkrasimage: Add support for

[OpenWrt-Devel] [PATCH 1/5] tools/mkrasimage: Add support for 128k header size

2019-10-21 Thread André Valentin
128k header size support is needed for ZyXEL NBG6716. Signed-off-by: André Valentin --- tools/firmware-utils/src/mkrasimage.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tools/firmware-utils/src/mkrasimage.c b/tools/firmware-utils/src/mkrasimage.c index

Re: [OpenWrt-Devel] rpcd: file: add path based read/write/exec ACL checks

2019-09-23 Thread André Valentin
Hi ! Thanks a lot, this works perfect. Kind regards, André Am 22.09.19 um 20:07 schrieb Jo-Philipp Wich: > Hi, > >> What do I have to do to enable access again, without calling ubus >> session grant like in the commit? Thank you! > > you need to add the following sections: > > "superuser": {

[OpenWrt-Devel] [PATCH 2/3] network/config/xfrm: add host-dependency for xfrm interface parent

2019-06-14 Thread André Valentin
Add proto_add_host_dependency to add a dependency to the tunlink interface Signed-off-by: André Valentin --- package/network/config/xfrm/files/xfrm.sh | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/package/network/config/xfrm/files/xfrm.sh b/package

[OpenWrt-Devel] [PATCH 2/3] netsupport: improve xfrm module support

2019-06-14 Thread André Valentin
-switch to module autoprobe -exclude 4.9 kernel Signed-off-by: André Valentin --- package/kernel/linux/modules/netsupport.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index

[OpenWrt-Devel] [PATCH 1/3] netifd: fix xfrm interface deletion and standardize netlink call

2019-06-14 Thread André Valentin
-xfrm interfaces were deleted before -use standard parameters for xfrm interface created Signed-off-by: André Valentin --- system-linux.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/system-linux.c b/system-linux.c index 6e5ca28..f63aeb2 100644 --- a/system-linux.c

[OpenWrt-Devel] [PATCH 0/3] xfrm: fix xfrm interface deletion and improve module loading

2019-06-14 Thread André Valentin
This fixes the following problems: -xfrm interfaces could not be deleted before -add proto_host_dependency -add Kernel 4.9 exclude -enable module autoprobing Thanks to Hans and Hauke for helping me. André Valentin (1): netifd: fix xfrm interface deletion and standardize netlink call system

[OpenWrt-Devel] [PATCH v3 1/3] kernel/netsupport: add xfrmi interface support

2019-06-08 Thread André Valentin
Add support for xfrm interfaces in kernel. XFRM interfaces are used by the IPsec stack for tunneling. XFRM interfaces are available since linux 4.19. --- package/kernel/linux/modules/netsupport.mk | 14 ++ 1 file changed, 14 insertions(+) diff --git a/package/kernel/linux/modules/net

[OpenWrt-Devel] [PATCH v3 3/3] netifd: add xfrm tunnel interface support

2019-06-08 Thread André Valentin
This adds support for xfrm interfaces. These interfaces can be used since linux 4.19 for IPsec traffic, like VTI interface. XFRM interfaces are less complicated compared to VTI because they need no IP tunnel endpoints. --- system-linux.c | 61 ++

[OpenWrt-Devel] [PATCH v3 0/3] Add xfrm interface support

2019-06-08 Thread André Valentin
This adds support for xfrm interfaces. These interfaces are used as tunnel interfaces for IPsec allowing route-based tunnels. Compared to vti, xfrm interfaces do not need IP endpoints. This is optimal for dynamic IP address setups. Currently linux 5.19 and strongswan 5.8 allows usage. v3: Change m

[OpenWrt-Devel] [PATCH v3 2/3] network/config: add xfrm interface support scripts

2019-06-08 Thread André Valentin
This package adds scripts for xfrm interfaces support. Example configuration via /etc/config/network: config interface 'xfrm0' option proto 'xfrm' option mtu '1300' option zone 'VPN' option tunlink 'wan' option ifid 30 config interface 'xfrm0_static'

[OpenWrt-Devel] [PATCH v2 3/3] netifd: add xfrm tunnel interface support

2019-06-06 Thread André Valentin
This adds support for xfrm interfaces. These interfaces can be used since linux 4.19 for IPsec traffic, like VTI interface. XFRM interfaces are less complicated compared to VTI because they need no tunnel endpoints. --- system-linux.c | 61 +

[OpenWrt-Devel] [PATCH v2 0/3] Add xfrm interface support

2019-06-06 Thread André Valentin
This adds support for xfrm interfaces. These interfaces are used as tunnel interfaces for IPsec allowing route-based tunnels. Compared to vti, xfrm interfaces do not need endpoints. This is optimal for dynamic IP address setups. Currently linux 5.19 and strongswan 5.8 allows usage. -- 2.11.0 __

[OpenWrt-Devel] [PATCH v2 2/3] network/config: add xfrm interface support scripts

2019-06-06 Thread André Valentin
This package adds scripts for xfrm interfaces support. Example configuration via /etc/config/network: config interface 'xfrm0' option proto 'xfrm' option mtu '1300' option zone 'VPN' option tunlink 'wan' option ifid 30 config interface 'xfrm0_static'

[OpenWrt-Devel] [PATCH v2 1/3] kernel/netsupport: add xfrmi interface support

2019-06-06 Thread André Valentin
Add support for xfrm interfaces in kernel. XFRM interfaces are used by the IPsec stack for tunneling. XFRM interfaces are available since linux 4.19. --- package/kernel/linux/modules/netsupport.mk | 14 ++ 1 file changed, 14 insertions(+) diff --git a/package/kernel/linux/modules/net

[OpenWrt-Devel] [PATCH 2/3] netifd: add xfrm interface support scripts

2019-06-06 Thread André Valentin
This package adds scripts for xfrm interfaces support. Example configuration via /etc/config/network: config interface 'xfrm0' option proto 'xfrm' option mtu '1300' option zone 'VPN' option tunlink 'wan' option ifid 30 config interface 'xfrm0_static'

[OpenWrt-Devel] [PATCH 1/3] netsupport: add xfrmi interface support

2019-06-06 Thread André Valentin
Add support for xfrm interfaces in kernel. XFRM interfaces are used by the IPsec stack for tunneling. XFRM interfaces are available since linux 4.19. --- package/kernel/linux/modules/netsupport.mk | 14 ++ 1 file changed, 14 insertions(+) diff --git a/package/kernel/linux/modules/net

[OpenWrt-Devel] [PATCH 3/3] netifd: add xfrm tunnel interface support

2019-06-06 Thread André Valentin
This adds support for xfrm interfaces. These interfaces can be used since linux 4.19 for IPsec traffic, like VTI interface. XFRM interfaces are less complicated compared to VTI because they need no tunnel endpoints. --- system-linux.c | 61 +

[OpenWrt-Devel] [PATCH 0/3] Add xfrm interface support

2019-06-06 Thread André Valentin
This adds support for xfrm interfaces. These interfaces are used as tunnel interfaces for IPsec allowing route-based tunnels. Compared to vti, xfrm interfaces do not need endpoints. This is optimal for dynamic IP address setups. -- 2.11.0 ___ openwrt-

[OpenWrt-Devel] [PATCH v2] linux/netsupport: Add support for MPLS protocol

2016-02-01 Thread André Valentin
This adds support for MPLS protocol including usage of lightweight tunnels. Kernel size of vmlinuz.bin grows by ~8k. Signed-off-by: André Valentin --- package/kernel/linux/modules/netsupport.mk | 22 ++ 1 file changed, 22 insertions(+) diff --git a/package/kernel/linux

[OpenWrt-Devel] [PATCH 2/2] linux/net: Add dependency for crypto echainiv module on 4.4

2016-01-30 Thread André Valentin
This dependency is needed to be able to create ipsec xfrm states. Signed-off-by: André Valentin --- package/kernel/linux/modules/netsupport.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules

[OpenWrt-Devel] [PATCH 1/2] linux/crypto: Add echainiv module provided by 4.4 kernels

2016-01-30 Thread André Valentin
This module is needed for IPsec ESP support, i.e.. Signed-off-by: André Valentin --- package/kernel/linux/modules/crypto.mk | 12 1 file changed, 12 insertions(+) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 1522da0..e8e6902

[OpenWrt-Devel] [PATCH RFC 2/2] modules/netsupport: Add MPLS support

2016-01-30 Thread André Valentin
Add needed modules for MPLS support. Signed-off-by: André Valentin --- package/kernel/linux/modules/netsupport.mk | 23 +++ 1 file changed, 23 insertions(+) diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index 446996e

[OpenWrt-Devel] [PATCH RFC 1/2] config: add MPLS and LWTunnel support

2016-01-30 Thread André Valentin
Add support for MPLS and Lighweight tunnel to openwrt kernel config. Signed-off-by: André Valentin --- config/Config-kernel.in | 8 1 file changed, 8 insertions(+) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index c93bbde..0bc1687 100644 --- a/config/Config

[OpenWrt-Devel] [PATCH] iproute2: Update to version 4.4

2016-01-30 Thread André Valentin
Update iproute2 to latest version 4.4 with full MPLS support. Signed-off-by: André Valentin --- package/network/utils/iproute2/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile

Re: [OpenWrt-Devel] [PATCH] vlandev: Add support for setting a unique MAC on a VLAN interface

2016-01-29 Thread André Valentin
Hi Felix, thanks for the hint. Did you configure the MAC in the interface section? I suggest I had a wrongly created MAC on my first tries which resulted in kernel not accepting it. Kind regards, André Am 28.01.2016 um 23:35 schrieb Felix Fietkau: > On 2016-01-24 20:47, André Valentin wr

[OpenWrt-Devel] [PATCH] vlandev: Add support for setting a unique MAC on a VLAN interface

2016-01-24 Thread André Valentin
x27;testvl' option proto 'none' option auto '1' Signed-off-by: André Valentin --- system-linux.c | 2 ++ system.h | 7 +++ vlandev.c | 17 + 3 files changed, 26 insertions(+) diff --git a/system-linux.c b/system-linux

[OpenWrt-Devel] [PATCH 2/2] network: add virtual tunnel interface (VTI) support

2015-12-26 Thread André Valentin
conn vti left=%any leftcert=peer2.test.der leftid=@peer2.test right=192.168.5.16 rightid=@peer3.test leftsubnet=0.0.0.0/0 rightsubnet=0.0.0.0/0 mark=2 auto=route Signed-off-by: André Valentin --- package/network/config/vti/Makef

[OpenWrt-Devel] [PATCH 1/2] netifd/system-linux: add VTI tunnel support

2015-12-26 Thread André Valentin
This patch adds support for VTI interfaces. VTI interfaces can be used to tunnel IPsec ESP traffic to a device so common firewall zones may be used. This also enables routing protocols to work over IPsec tunnels. Signed-off-by: André Valentin --- system-linux.c | 106

[OpenWrt-Devel] [PATCH] sysupgrade: Enable killing of all processes under upgraded

2014-07-09 Thread André Valentin
If the sysupgrade scripts is called under upgraded, it will not kill all other processes as it should to avoid interference by locked filesystem. This patch checks the parent and if it is upgraded, it kills all. Signed-off-by: André Valentin --- package/base-files/files/lib/upgrade/common.sh

[OpenWrt-Devel] [PATCH] ar71xx: nbg6716: extract ath10k wifi board.bin

2014-07-07 Thread André Valentin
With help of this script the ath10k board.bin settings are loaded from flash and saved to the ath10k firmware directory. The driver reads it later in the boot process. Signed-off-by: André Valentin --- .../lib/preinit/81_load_ath10k_board_bin | 23 1 file

[OpenWrt-Devel] [PATCH RfC] Fix wifi on ZyXEL NBG 6716

2014-07-07 Thread André Valentin
!), but tells its incorrect and does not load it. I patched the driver successfully so it ignores the error. Results are good. I do currently not know how to handle this ugly stuff upstream? What do you think? André Valentin (1): ar71xx: nbg6716: extract ath10k wifi board.bin .../lib/preinit

[OpenWrt-Devel] [PATCH] nbg6716: Enable procd nand sysupgrage

2014-06-26 Thread André Valentin
This enables the procd nand upgrade for ZyXEL NBG 6716. Also the ubi config is cleaned up to match the wndr4300. Signed-off-by: André Valentin --- target/linux/ar71xx/base-files/lib/upgrade/platform.sh |1 + target/linux/ar71xx/image/Makefile |6 +- target/linux

Re: [OpenWrt-Devel] [PATCH 0/3] RFC: Enable sysupgrade on ubifs rootfs

2014-05-23 Thread André Valentin
Hi! currently I cannot comment this, I will do it in the late evening. But please notice that this was a request for comments. It was not intended to be merged, because there are still some minor and ugly things in it. I just wanted to know what you think about this before I invest more time in

[OpenWrt-Devel] [PATCH 2/3] sysupgrade: add support for running sysupgrade as PID 1

2014-05-22 Thread André Valentin
Signed-off-by: André Valentin --- package/base-files/files/lib/upgrade/common.sh | 32 +++- package/base-files/files/sbin/sysupgrade | 13 ++ 2 files changed, 33 insertions(+), 12 deletions(-) diff --git a/package/base-files/files/lib/upgrade/common.sh b

[OpenWrt-Devel] [PATCH 3/3] bcm53xx_brcm: add sysupgrade support

2014-05-22 Thread André Valentin
Signed-off-by: André Valentin --- .../base-files/lib/upgrade/platform.sh | 108 1 file changed, 108 insertions(+) create mode 100755 target/linux/bcm53xx_brcm/base-files/lib/upgrade/platform.sh diff --git a/target/linux/bcm53xx_brcm/base-files/lib/upgrade

[OpenWrt-Devel] [PATCH 1/3] procd: add support for running sysupgrade as PID 1

2014-05-22 Thread André Valentin
Signed-off-by: André Valentin --- package/system/procd/patches/100-sysupgrade.patch | 73 + 1 file changed, 73 insertions(+) create mode 100644 package/system/procd/patches/100-sysupgrade.patch diff --git a/package/system/procd/patches/100-sysupgrade.patch b/package

[OpenWrt-Devel] [PATCH 0/3] RFC: Enable sysupgrade on ubifs rootfs

2014-05-22 Thread André Valentin
ill all processes if run under PID 1. platform.sh: Example sysupgrade plattform code for my developement tree. Please consider these patches as a RFC. They are not final and need your expertise and hints. I do appreciate every proposal. André André Valentin (3): procd: add support for running

Re: [OpenWrt-Devel] bcm53xx: Netgear R7000 problems

2014-05-14 Thread André Valentin
Hello! On 13.05.2014 10:41, Rafał Miłecki wrote: > On 13 May 2014 10:10, James Hilliard wrote: >> Seems there might be some relevant code here for the flash >> https://github.com/jameshilliard/R7000-V1.0.2.164_1.0.15_GPL/tree/master/src/shared > > Sure, you just need to re-write it to don't use

[OpenWrt-Devel] [PATCHv2 2/2] ar71xx: add beta sysupgrade support for ZyXEL NBG 6716

2014-04-01 Thread André Valentin
This add beta support for ZyXEL NBG 6716. Expect it to be reworked because there will come a change for NAND flash. Signed-off-by: André Valentin --- .../ar71xx/base-files/lib/upgrade/platform.sh | 21 +++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a

[OpenWrt-Devel] [PATCHv2 1/2] ar71xx: add support for ZyXEL NBG 6716

2014-04-01 Thread André Valentin
With this patch OpenWRT supports the following on the ZyXEL NBG 6716: -WiFi 2G (ath9k) -WiFi 5G (ath10k) -NAND flash -2 Ethernet interfaces -USB 2.0 -LEDs including switch -reasonale defaults at first boot Signed-off-by: André Valentin --- package/boot/uboot-envtools/files/ar71xx

[OpenWrt-Devel] [PATCHv2 0/2] Add Support for ZyXEL NBG 6716

2014-04-01 Thread André Valentin
or improvements please tell. André Valentin (2): ar71xx: add support for ZyXEL NBG 6716 ar71xx: add beta sysupgrade support for ZyXEL NBG 6716 package/boot/uboot-envtools/files/ar71xx |3 + target/linux/ar71xx/base-files/etc/diag.sh |3 + .../ar71xx/base-files/etc

Re: [OpenWrt-Devel] [PATCH 2/2] fstools: fix jffs2 detection on ubi/nand platform

2014-03-27 Thread André Valentin
Hi! Thanks for your info! I am curious about how you solve this :-) André On 27.03.2014 10:35, John Crispin wrote: > Hi, > > i am working on a new update for fstools that implements ubi properly > via gluebi. this is a rather large rework and will take another 1-2 > weeks till ready. > >

[OpenWrt-Devel] [PATCH 2/2] fstools: fix jffs2 detection on ubi/nand platform

2014-03-26 Thread André Valentin
Normally a jffs fs start with a know marker. If ubi is used, the partition does not habe such a marker. Just 0x. This patch checks if the partition is of type ubivol and has 0x at the beginning. In this case the partition is mounted as a jffs. Signed-off-by: André Valentin

[OpenWrt-Devel] [PATCH 1/2] Add Support for ZyXEL NBG 6716

2014-03-26 Thread André Valentin
With this patch OpenWRT supports the following on the ZyXEL NBG 6716: -WiFi 2G -WiFi 5G -NAND flash -2 Ethernet interfaces -USB -LEDs (except switch LEDs) -sysupgrade process -reasonale defaults at first boot Signed-off-by: André Valentin --- package/boot/uboot-envtools/files/ar71xx

[OpenWrt-Devel] Support for Buffalo WZR-D1800H

2014-01-16 Thread André Valentin
Hi! I'm trying to run OpenWRT on a Buffalo WZR-D1800H ( see Wiki http://wiki.openwrt.org/toh/buffalo/wzr-d1800h) Currently I'm able to run the initramfs image via tftp boot. The following drivers work: -wl (1bgn, 11an, no 11ac which I do not care) -bgmac -usb So most important parts work :-) Bu

Re: [OpenWrt-Devel] Buffalo wbmr/lantiq kernel panik

2012-11-09 Thread André Valentin
André >-Original Message- >From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] >On Behalf Of John Crispin >Sent: Friday, November 09, 2012 8:46 PM >To: OpenWrt Development List >Subject: Re: [OpenWrt-Devel] Buffalo wbmr/lantiq kernel panik > >On 09/11/1

Re: [OpenWrt-Devel] Buffalo wbmr/lantiq kernel panik

2012-11-09 Thread André Valentin
nfig": > >Global build settings > Compile the kernel with symbol table information Mit freundlichen Grüßen, André Valentin Systemadministrator -- Internet * Netzwerk * Mobile Daten Citrix Silver Solution Advisor MarcanT GmbH, Ravensberger Str. 10 G, D - 33602 Bielefe

Re: [OpenWrt-Devel] Buffalo wbmr/lantiq kernel panik

2012-11-09 Thread André Valentin
>openwrt-devel mailing list >openwrt-devel@lists.openwrt.org >https://lists.openwrt.org/mailman/listinfo/openwrt-devel Mit freundlichen Grüßen, André Valentin Systemadministrator -- Internet * Netzwerk * Mobile Daten Citrix Silver Sol

[OpenWrt-Devel] Buffalo wbmr/lantiq kernel panik

2012-11-09 Thread André Valentin
00831824> ac430030 000f 8e63f6a0 8e22f6a4 3c058029 [0.064000] ---[ end trace 139ce121c98e96c9 ]--- [0.064000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x000b [0.064000] ---