Re: [PATCH] kernel: Move CONFIG_IONIC to generic kernel config

2020-08-09 Thread Yousong Zhou
On Mon, 10 Aug 2020 at 00:17, Hauke Mehrtens wrote: > > It is deactivated everywhere, just set this in the generic config. > > Signed-off-by: Hauke Mehrtens Acked-by: Yousong Zhou Regards, yousong ___ openwrt-devel

Re: [PATCH] malta: Refresh kernel configuration

2020-08-09 Thread Yousong Zhou
fine with this applied, so I guess this line is about mips64. > > Signed-off-by: Hauke Mehrtens Tested-By: Yousong Zhou Acked-By: Yousong Zhou Regards, yousong > --- > target/linux/malta/be/config-default | 8 > target/linux/malta/be64/config-default | 7

Re: [PATCH] toolchain: binutils: Fix typo in patch for MIPS64

2020-08-09 Thread Yousong Zhou
70bdf3212 ("toolchain/binutils: Add binutils 2.34") > Signed-off-by: Hauke Mehrtens Acked-by: Yousong Zhou Regards, yousong > --- > .../2.34/500-Change-default-emulation-for-mips64-linux.patch| 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH] uhttpd: Increase default certificate validate from 2 to 10 years

2020-08-31 Thread Yousong Zhou
It's worth mentioning that recent versions of macos since 10.15 have a restriction on certificate validity period, self-signed or not. It's a strong restriction that the browser ui will have no buttons or knobs to bypass the certificate validation, rendering such sites inaccessible. I remembered

Re: [PATCH] uhttpd: Increase default certificate validate from 2 to 10 years

2020-08-31 Thread Yousong Zhou
On Tue, 1 Sep 2020 at 06:45, Yousong Zhou wrote: > > It's worth mentioning that recent versions of macos since 10.15 have a > restriction on certificate validity period, self-signed or not. It's > a strong restriction that the browser ui will have no buttons or knobs >

Re: [PATCH] uhttpd: Increase default certificate validate from 2 to 10 years

2020-09-02 Thread Yousong Zhou
On Wed, 2 Sep 2020 at 01:32, Hauke Mehrtens wrote: > > On 9/1/20 12:45 AM, Yousong Zhou wrote: > > It's worth mentioning that recent versions of macos since 10.15 have a > > restriction on certificate validity period, self-signed or not. It's > > a strong re

Re: Dnssec is never enabled on recent master

2020-09-24 Thread Yousong Zhou
On Tue, 22 Sep 2020 at 19:00, Sami Olmari wrote: > > This commit > https://github.com/openwrt/openwrt/commit/064dc1e81bc85f6ef8becc38854292853a59d2c2 > breaks all dnssec, it will never get enabled despite /etc/config/dhcp > enabling it. Reverting this commit made dnssec to work again. So this > n

[PATCH 3/7] netfilter.mk: add version conditional for nf_nat_ipv4,6

2020-10-13 Thread Yousong Zhou
The upstream linux commit is 3bf195ae ("netfilter: nat: merge nf_nat_ipv4,6 into nat core"). It was included since linux 5.1 Signed-off-by: Yousong Zhou --- include/netfilter.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/netfilter.mk b/include/ne

[PATCH 6/7] netfilter.mk: add version conditional for CONFIG_NF_CT_PROTO_GRE

2020-10-13 Thread Yousong Zhou
ent has no prompt and can only be selected by NF_CONNTRACK_PPTP Fixes: FS#2990 (partial) Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2990 Signed-off-by: Tony Ambardar [note that the option now can not be enabled on its own] Signed-off-by: Yousong Zhou --- include/netfilter.mk

[PATCH 5/7] netfilter.mk: add version conditional around nf_nat_redirect mod

2020-10-13 Thread Yousong Zhou
n only be selected by other kconfig options] Signed-off-by: Yousong Zhou --- include/netfilter.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/netfilter.mk b/include/netfilter.mk index 3c217db106..e5ba3b366e 100644 --- a/include/netfilter.mk +++ b/include/netfilter.m

[PATCH 2/7] netfilter.mk: use CONFIG_NETFILTER_XT_TARGET_REDIRECT

2020-10-13 Thread Yousong Zhou
CONFIG_IP_NF_TARGET_REDIRECT is a compat option since upstream commit 2cbc78a2 ("netfilter: combine ipt_REDIRECT and ip6t_REDIRECT"). That happened since linux 3.10 Signed-off-by: Yousong Zhou --- include/netfilter.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 7/7] netfilter.mk: add version conditional around CONFIG_NF_NAT_PROTO_GRE

2020-10-13 Thread Yousong Zhou
It was removed in upstream linux commit faec18db ("netfilter: nat: remove l4proto->manip_pkt"). This happened since linux 5.1 Signed-off-by: Yousong Zhou --- include/netfilter.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/netfilter.mk b/include

[PATCH 1/7] netfilter.mk: use CONFIG_NETFILTER_XT_TARGET_MASQUERADE

2020-10-13 Thread Yousong Zhou
CONFIG_IP_NF_TARGET_MASQUERADE and its counterpart CONFIG_IP6_NF_TARGET_MASQUERADE are "backwards-compat option for the user's convenience" Related commit d22c1755 ("netfilter: fix NAT packaging with kernels 5.2+") Signed-off-by: Yousong Zhou --- include/netfilter.mk

[PATCH 4/7] generic: 5.4: make nf nat masquerade in unset state by default

2020-10-13 Thread Yousong Zhou
elected by CONFIG_NETFILTER_XT_TARGET_MASQUERADE introduced still later in 5.2. Signed-off-by: Yousong Zhou --- target/linux/generic/config-5.4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/linux/generic/config-5.4 b/target/linux/generic/config-5.4 index aa3fbded3b..

[PATCH 0/7] netfilter: kconfig symbol updates

2020-10-13 Thread Yousong Zhou
can only be enabled when selected by others Tony Ambardar (1): netfilter.mk: add version conditional for CONFIG_NF_CT_PROTO_GRE Yousong Zhou (6): netfilter.mk: use CONFIG_NETFILTER_XT_TARGET_MASQUERADE netfilter.mk: use CONFIG_NETFILTER_XT_TARGET_REDIRECT netfilter.mk: add version

[PATCH netifd 2/4] proto: rework parse_addr to return struct device_addr

2020-10-20 Thread Yousong Zhou
This is a preparation for the next commit to record address index for the returned device_addr struct Signed-off-by: Yousong Zhou --- proto.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/proto.c b/proto.c index cbc92b1..d80cae0 100644 --- a

[PATCH netifd 1/4] build: find and use libnl header dirs

2020-10-20 Thread Yousong Zhou
Name of the libnl .pc file is libnl-3.0.pc This commit is mainly for testing netifd build of usual Linux systems. netifd Makefile in current OpenWrt build system specifies custom cmake flags to point to libnl-tiny Signed-off-by: Yousong Zhou --- CMakeLists.txt | 8 ++-- 1 file changed, 6

[PATCH netifd 3/4] device_addr: record address index as in the blob

2020-10-20 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- interface-ip.h | 1 + proto.c| 2 ++ 2 files changed, 3 insertions(+) diff --git a/interface-ip.h b/interface-ip.h index 5ab9299..b17ad94 100644 --- a/interface-ip.h +++ b/interface-ip.h @@ -127,6 +127,7 @@ struct device_addr { struct vlist_node

[PATCH netifd 4/4] interface: proto_ip: order by address index first

2020-10-20 Thread Yousong Zhou
tings. More importantly, the ubus output and dnsmasq config generation will be more predictable. Signed-off-by: Yousong Zhou --- interface-ip.c | 11 +-- proto.c| 4 ++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/interface-ip.c b/interface-ip.c index f1

[PATCH netifd 0/4] order by address index in ubus output

2020-10-20 Thread Yousong Zhou
in the uci config make netifd ubus > output consistent with linux network interfaces' primary/secondary > address settings. More importantly, the ubus output and dnsmasq config > generation will be more predictable. Yousong Zhou (4): build: find and use libnl header dirs proto

[PATCH v2 3/8] netfilter.mk: add version conditional for nf_nat_ipv4, 6

2020-10-21 Thread Yousong Zhou
The upstream linux commit is 3bf195ae ("netfilter: nat: merge nf_nat_ipv4,6 into nat core"). It was included since linux 5.1 Signed-off-by: Yousong Zhou --- include/netfilter.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/netfilter.mk b/include/ne

[PATCH v2 6/8] netfilter.mk: add version conditional around CONFIG_NF_NAT_PROTO_GRE

2020-10-21 Thread Yousong Zhou
It was removed in upstream linux commit faec18db ("netfilter: nat: remove l4proto->manip_pkt"). This happened since linux 5.0 Signed-off-by: Yousong Zhou --- include/netfilter.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/netfilter.mk b/include

[PATCH v2 8/8] netfilter.mk: remove now obsolete kmod nf_nat_redirect

2020-10-21 Thread Yousong Zhou
Now that the minimal kernel version maintained here is 4.19 Signed-off-by: Yousong Zhou --- include/netfilter.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/include/netfilter.mk b/include/netfilter.mk index 0c29c0bd04..2c71c07056 100644 --- a/include/netfilter.mk +++ b/include

[PATCH v2 7/8] netfilter.mk: add version conditional around nf_nat_redirect mod

2020-10-21 Thread Yousong Zhou
n only be selected by other kconfig options] Signed-off-by: Yousong Zhou --- include/netfilter.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/netfilter.mk b/include/netfilter.mk index 02173d4355..0c29c0bd04 100644 --- a/include/netfilter.mk +++ b/include/netfilter.m

[PATCH v2 4/8] generic: 5.4: make nf nat masquerade in unset state by default

2020-10-21 Thread Yousong Zhou
elected by CONFIG_NETFILTER_XT_TARGET_MASQUERADE introduced still later in 5.2. Signed-off-by: Yousong Zhou --- target/linux/generic/config-5.4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/linux/generic/config-5.4 b/target/linux/generic/config-5.4 index 04fda5de24..

[PATCH v2 1/8] netfilter.mk: use CONFIG_NETFILTER_XT_TARGET_MASQUERADE

2020-10-21 Thread Yousong Zhou
CONFIG_IP_NF_TARGET_MASQUERADE and its counterpart CONFIG_IP6_NF_TARGET_MASQUERADE are "backwards-compat option for the user's convenience" Related commit d22c1755 ("netfilter: fix NAT packaging with kernels 5.2+") Signed-off-by: Yousong Zhou --- include/netfilter.mk

[PATCH v2 0/8] netfilter: kconfig symbol updates

2020-10-21 Thread Yousong Zhou
y Ambardar (1): netfilter.mk: add version conditional for CONFIG_NF_CT_PROTO_GRE Yousong Zhou (7): netfilter.mk: use CONFIG_NETFILTER_XT_TARGET_MASQUERADE netfilter.mk: use CONFIG_NETFILTER_XT_TARGET_REDIRECT netfilter.mk: add version conditional for nf_nat_ipv4,6 generic: 5.4: make nf nat

[PATCH v2 5/8] netfilter.mk: add version conditional for CONFIG_NF_CT_PROTO_GRE

2020-10-21 Thread Yousong Zhou
ent has no prompt and can only be selected by NF_CONNTRACK_PPTP Fixes: FS#2990 (partial) Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2990 Signed-off-by: Tony Ambardar [note that the option now can not be enabled on its own] Signed-off-by: Yousong Zhou --- include/netfilter.mk

[PATCH v2 2/8] netfilter.mk: use CONFIG_NETFILTER_XT_TARGET_REDIRECT

2020-10-21 Thread Yousong Zhou
CONFIG_IP_NF_TARGET_REDIRECT is a compat option since upstream commit 2cbc78a2 ("netfilter: combine ipt_REDIRECT and ip6t_REDIRECT"). That happened since linux 3.10 Signed-off-by: Yousong Zhou --- include/netfilter.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 04/10] base-files: upgrade: fwtool.sh: use v for log lines

2020-11-03 Thread Yousong Zhou
This will have at least the following effects - Log lines will have common prefix - They will be output to stderr instead of stdout Signed-off-by: Yousong Zhou --- .../base-files/files/lib/upgrade/fwtool.sh| 24 +-- 1 file changed, 12 insertions(+), 12 deletions(-) diff

[PATCH 07/10] base-files: bump PKG_RELEASE

2020-11-03 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- package/base-files/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/Makefile b/package/base-files/Makefile index c139ea313b..f63c4db533 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile

[PATCH 02/10] base-files: upgrade: use stdin redirection to replace cat command

2020-11-03 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- package/base-files/files/lib/upgrade/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index 56daabd778..808fad178b 100644 --- a/package

[PATCH 08/10] x86: upgrade: use v function for writting logs

2020-11-03 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- .../linux/x86/base-files/lib/upgrade/platform.sh | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/target/linux/x86/base-files/lib/upgrade/platform.sh b/target/linux/x86/base-files/lib/upgrade/platform.sh index 1bcd492dd7

[PATCH 05/10] base-files: upgrade: fwtool.sh: rewording logs

2020-11-03 Thread Yousong Zhou
The intent is to make it sound more like info level message, not some error like "404 not found". x86 target at the moment makes image with only signature but no metadata (ref commit f8141216 "x86: append metadata to combined images"). Signed-off-by: Yousong Zhou --- pack

[PATCH 03/10] base-files: upgrade: add get_image_dd()

2020-11-03 Thread Yousong Zhou
This is mainly to handle error message "Broken pipe" by common pattern "xcat | dd .." Ref: https://bugs.openwrt.org/index.php?do=details&task_id=3140 Reported-by: Philip Prindeville Signed-off-by: Yousong Zhou --- package/base-files/files/lib/upgrade/common.sh | 6 +

[PATCH 09/10] x86: upgrade: use get_image_dd

2020-11-03 Thread Yousong Zhou
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=3140 Reported-by: Philip Prindeville Signed-off-by: Yousong Zhou --- target/linux/x86/base-files/lib/upgrade/platform.sh | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/target/linux/x86/base-files

[PATCH 10/10] x86: upgrade: make code comment appear as log lines

2020-11-03 Thread Yousong Zhou
table from bootdisk... == upgrade: Extract boot sector from the image 37+26 records in 37+26 records out == upgrade: Reading partition table from image... Signed-off-by: Yousong Zhou --- target/linux/x86/base-files/lib/upgrade/platform.sh | 6 ++ 1 file changed, 2 insertions(+), 4

[PATCH 01/10] base-files: upgrade: log with prefix

2020-11-03 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- package/base-files/files/lib/upgrade/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index 2eb26ba44b..56daabd778 100644 --- a/package

[PATCH 06/10] base-files: upgrade: stage2: rework log lines

2020-11-03 Thread Yousong Zhou
- Use common v function when possible - Write log lines to stderr when using echo Signed-off-by: Yousong Zhou --- package/base-files/files/lib/upgrade/stage2 | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package/base-files/files/lib/upgrade/stage2 b/package

[PATCH 00/10] sysupgrade: reword and organize log lines

2020-11-03 Thread Yousong Zhou
tloader on /dev/vda... == upgrade: Upgrade completed == upgrade: Rebooting system... umount: can't unmount /dev: Resource busy umount: can't unmount /tmp: Resource busy [ 106.922638] Unregister pv shared memory for cpu 0 [ 106.931062] reboot: Restarting system [ 106.936009] reboot

Re: [PATCH 01/10] base-files: upgrade: log with prefix

2020-11-03 Thread Yousong Zhou
On Tue, 3 Nov 2020 at 21:02, Adrian Schmutzler wrote: > > Hi, > > > -Original Message- > > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > > On Behalf Of Yousong Zhou > > Sent: Dienstag, 3. November 2020 13:21 > > To: P

Re: OpenWrt IKEv2 NAT traversal (or similar) problem

2023-05-30 Thread Yousong Zhou
On Wednesday, 31 May 2023, Peter Naulls wrote: > > > I'm trying to track down a problem whereby using Windows VPN, some websites > are accessible and some aren't.  The problem is 100% OpenWrt, since it works > over > my regular WiFi router. > > Here's what I know (or think I know): > > All the V

Re: OpenWrt IKEv2 NAT traversal (or similar) problem

2023-05-30 Thread Yousong Zhou
On Wed, 31 May 2023 at 06:38, Peter Naulls wrote: > > On 5/30/23 18:16, Yousong Zhou wrote: > > On Wednesday, 31 May 2023, Peter Naulls wrote: > >> > >> > ] > > > > I am afraid the above is still single direction traffic. > > Sorry, quite so

Re: OpenWrt IKEv2 NAT traversal (or similar) problem

2023-05-31 Thread Yousong Zhou
On Wed, 31 May 2023 at 22:20, Peter Naulls wrote: > > On 5/30/23 21:09, Yousong Zhou wrote: > > On Wed, 31 May 2023 at 06:38, Peter Naulls wrote: > >> > > > > > Is it that your dns traffic is not going through the tunnel? curl > > -vvv should revea

[OpenWrt-Devel] [PATCH] [ar71xx] Add support for TPLINK WR720N v3

2013-04-09 Thread Yousong Zhou
Add support for TPLINK WR720N v3 which has 4MB flash, 32MB ram, 2 ethernet interfaces, 1 USB 2.0 port. The patch is mostly a modification from mach-tl-wr703n.c. GPIO numbers for the slider switch is from mach-tl-mr3020n.c. Tested on my device and they worked fine. Signed-off-by: yousong --- t

[OpenWrt-Devel] [PATCH] [ar71xx] Two 617- numbered patches exist in target/linux/ar71xx/patches-3.8/ directory

2013-04-28 Thread Yousong Zhou
Update the numbering of kernel patch for supporting Netgear WNR2000v3 from 617 to 618. Signed-off-by: yousong --- --- target/linux/ar71xx/patches-3.8/617-MIPS-ath79-add-Netgear-WNR2000v3-support.patch 2013-04-29 12:19:31.0 +0800 +++ target/linux/ar71xx/patches-3.8/618-MIPS-ath79-add

[OpenWrt-Devel] [PATCH] [ar71xx] Add description for -W option into usage output of mktplinkfw

2013-04-28 Thread Yousong Zhou
Add description for -W option into usage output of mktplinkfw. Signed-off-by: yousong --- I came across this when reading target/linux/ar71xx/image/Makefile and could not find what -W was for. This is a small patch tries to help make the project better. ;) Index: tools/firmware-utils/src/mktplin

Re: [OpenWrt-Devel] Generic Makefile question

2013-06-02 Thread Yousong Zhou
Hi, Pietro. On 17 May 2013 23:36, Pietro Paolini wrote: > Hello all, > I was looking at the Makefile in the top dir of OpenWRT and I don't > understand the meaning of these lines : > > $(toolchain/stamp-install): $(tools/stamp-install) > $(target/stamp-compile): $(toolchain/stamp-install) $(tool

[OpenWrt-Devel] [PATCH] [ar71xx] TL-WR720N-v3: Make failsafe work on LAN port

2013-06-15 Thread Yousong Zhou
triggered users usually need to first plug the cable out from the LAN port, then plug it into WAN port to get access to the system. Signed-off-by: Yousong Zhou --- Index: target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr720n-v3.c

Re: [OpenWrt-Devel] [Patch][Device Support] add support for Tplink tl-mr13u

2013-07-03 Thread Yousong Zhou
Hi, Zhiqiang On Wed, Jul 03, 2013 at 08:44:44AM +0800, zhiqiang wang wrote: > Signed-off-by: Zhiqiang Wang > --- > --- target/linux/ar71xx/patches-3.8/610-MIPS-ath79-openwrt-machines.patch > (revision > 37128) > +++ target/linux/ar71xx/patches-3.8/610-MIPS-ath79-openwrt-machines.patch > (worki

[OpenWrt-Devel] Target malta and x86 failed booting up on qemu.

2013-07-11 Thread Yousong Zhou
Hello! With r37237, I built malta and x86 target with default configuration. But they both failed to boot up on qemu of version 1.5.1, i.e. there is no shell prompt and virtual machine just hangs and eats up CPU. I guess procd is the culprit. With malta, the bootlog shows no sign of procd, yet it

[OpenWrt-Devel] [PATCH] Malta: avoid redundant vmlinux-initramfs.elf copy.

2013-07-12 Thread Yousong Zhou
Also preserve order of components in image filename when doing copy from $(KDIR) to $(BIN_DIR). --- include/image.mk |2 +- target/linux/malta/image/Makefile |3 --- 2 files changed, 1 insertions(+), 4 deletions(-) diff --git a/include/image.mk b/include/image.mk index 7d

Re: [OpenWrt-Devel] [PATCH] Malta: avoid redundant vmlinux-initramfs.elf copy.

2013-07-12 Thread Yousong Zhou
Signed-off-by: Yousong Zhou On Sat, Jul 13, 2013 at 01:14:45PM +0800, Yousong Zhou wrote: > Also preserve order of components in image filename when doing copy from > $(KDIR) to $(BIN_DIR). > --- > include/image.mk |2 +- > target/linux/malta/image/Makefile

[OpenWrt-Devel] [PATCH] [make] Strip leading and trailing colons in LD_LIBRARY_PATH.

2013-07-17 Thread Yousong Zhou
ned-off-by: Yousong Zhou --- include/toplevel.mk |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/toplevel.mk b/include/toplevel.mk index b8608ee..70a0634 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -24,8 +24,8 @@ OPENWRTVERSION:=$(RELEASE)$(if

Re: [OpenWrt-Devel] [PATCH] [make] Strip leading and trailing colons in LD_LIBRARY_PATH.

2013-07-17 Thread Yousong Zhou
On Thu, Jul 18, 2013 at 11:12:46AM +0800, Yousong Zhou wrote: > Empty path denoted by leading or trailing colons also specify current > directory when searching for libraries, which should be avoided. > Otherwise "make install_runtime" for uClibc cannot work right. > &

Re: [OpenWrt-Devel] Building Python extensions

2013-07-26 Thread Yousong Zhou
Hi, Drasko, On 27 July 2013 06:01, Drasko DRASKOVIC wrote: > Hi all, > I tried to install a Pyton extension directly on the MIPS target via pip : > > root@Marx:/# pip install netifaces > Downloading/unpacking netifaces > Running setup.py egg_info for package netifaces > > ... > > uilding 'netif

Re: [OpenWrt-Devel] [PATCH 1/6] ramips: add basics for Poray devices

2013-07-28 Thread Yousong Zhou
Hi, On Sun, Jul 28, 2013 at 12:23:35PM +0200, Felix Kaechele wrote: > This commit adds the basic elements to support Poray brand routers. > It contains a tool to do the encryption/obfuscation that is used in > Poray routers. > > Signed-off-by: Felix Kaechele > Signed-off-by: Luis Soltero > Sign

Re: [OpenWrt-Devel] ruby - error: 'EC_GROUP_new_curve_GF2m' undeclared (first use in this function)

2013-07-28 Thread Yousong Zhou
Hi, Remzi, On 29 July 2013 09:10, Remzi AKYÜZ wrote: > Hi, > > I cannot build ruby at trunk (37568) and i got this; > > i486-openwrt-linux-uclibc-gcc -I. -I../../.ext/include/i486-linux > -I../.././include -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" > -I/openwrt/trunk/staging_dir/target-

[OpenWrt-Devel] [PATCH] [packages] ruby: enable openssl GF2m ECC support if ruby-openssl was selected.

2013-07-28 Thread Yousong Zhou
GF2m ECC support is needed when compiling ruby-openssl. Link [1] contains the detailed bug description. [1] https://bugs.ruby-lang.org/issues/8384 Signed-off-by: Yousong Zhou --- lang/ruby/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lang/ruby/Makefile b

Re: [OpenWrt-Devel] [PATCH v2 1/6] ramips: add basics for Poray devices

2013-07-30 Thread Yousong Zhou
Hi, Felix, On Tue, Jul 30, 2013 at 05:40:19PM +0200, Felix Kaechele wrote: > This commit adds the basic elements to support Poray brand routers. > It contains a tool to do the encryption/obfuscation that is used in > Poray routers. > > Support for Poray devices was worked on by: > > Felix Kaeche

[OpenWrt-Devel] [PATCH 0/3] Fix triggering failsafe on every booting.

2013-08-01 Thread Yousong Zhou
weird that this issue never happened before. Yousong Zhou (3): gpio-button-hotplug: add inline function gpio_button_get_value(). gpio-button-hotplug: use gpio_button_get_value() to fetch state. gpio-button-hotplug: use gpio_button_get_value() to initialize last_state. .../gpio-button-h

[OpenWrt-Devel] [PATCH 1/3] gpio-button-hotplug: add inline function gpio_button_get_value().

2013-08-01 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- .../gpio-button-hotplug/src/gpio-button-hotplug.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c b/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c index

[OpenWrt-Devel] [PATCH 2/3] gpio-button-hotplug: use gpio_button_get_value() to fetch state.

2013-08-01 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- .../gpio-button-hotplug/src/gpio-button-hotplug.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c b/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c index

[OpenWrt-Devel] [PATCH 3/3] gpio-button-hotplug: use gpio_button_get_value() to initialize last_state.

2013-08-01 Thread Yousong Zhou
p. Signed-off-by: Yousong Zhou --- .../gpio-button-hotplug/src/gpio-button-hotplug.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c b/package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c index 9cbee2

Re: [OpenWrt-Devel] [PATCH 0/3] Fix triggering failsafe on every booting.

2013-08-01 Thread Yousong Zhou
On Thu, Aug 01, 2013 at 12:58:58PM +0200, John Crispin wrote: > On 01/08/13 13:02, Yousong Zhou wrote: > >Hi, this series tries to fix unintended failsafe triggering by initializing > >buttons' last_status with its actual value instead of always 0 (released). > >Othe

Re: [OpenWrt-Devel] [PATCH 3/3] gpio-button-hotplug: use gpio_button_get_value() to initialize last_state.

2013-08-03 Thread Yousong Zhou
On 3 August 2013 19:51, Felix Fietkau wrote: > On 2013-08-01 1:02 PM, Yousong Zhou wrote: >> TL-WR720N-v3 has a slider switch composed of 2 GPIO buttons which can be >> used to swtich between 3 positions. At leat 1 button is in pressed state >> in any of those positions. I

[OpenWrt-Devel] [PATCH] ar71xx: make failsafe for TL-WR720N-v3 work on port labelled as LAN.

2013-08-31 Thread Yousong Zhou
. Signed-off-by: Yousong Zhou --- A previous version of this patch [1] has been sent but was not receiving any response and now can not be applied without conflict. [1] http://patchwork.openwrt.org/patch/3765/ .../ar71xx/base-files/etc/uci-defaults/02_network |1 - .../files/arch/mips

Re: [OpenWrt-Devel] [PATCH] ar71xx: make failsafe for TL-WR720N-v3 work on port labelled as LAN.

2013-09-03 Thread Yousong Zhou
On Tue, Sep 03, 2013 at 03:08:13PM +0200, Gabor Juhos wrote: > 2013.08.31. 10:16 keltezéssel, Yousong Zhou írta: > > Failsafe listens on eth0 by default, but due to the order of eth > > registration > > eth0 previously corresponded to the port labelled as WAN. Thi

Re: [OpenWrt-Devel] Strange TCP failure

2013-09-04 Thread Yousong Zhou
Hi, Jon. On 5 September 2013 04:02, jonsm...@gmail.com wrote: > I'm using OpenWRT git on AsiaRF. AsiaRF may not be completely debugged yet. > > Problem: I can ping the router without issue. But I am unable to open > any TCP connections. > Firewall is off: /etc/init.d/firewall stop > > I attached

Re: [OpenWrt-Devel] Strange TCP failure

2013-09-04 Thread Yousong Zhou
On 5 September 2013 09:04, Yousong Zhou wrote: > Hi, Jon. > > On 5 September 2013 04:02, jonsm...@gmail.com wrote: >> I'm using OpenWRT git on AsiaRF. AsiaRF may not be completely debugged yet. >> >> Problem: I can ping the router without issue. But I am unabl

Re: [OpenWrt-Devel] Installing OpenWRT on RA-5350 without serial

2013-09-19 Thread Yousong Zhou
Hi, On 20 September 2013 04:35, Stefan Monnier wrote: > Has anyone figured out to install OpenWRT on something like a Hame > MPR-A1 without opening the device and connecting a serial line? I do not have a device of that model myself. But the device is already supported by OpenWrt with a tool to

Re: [OpenWrt-Devel] [PATCH 4/7] pptpd: Add uci configuration for PPTPD.

2013-10-10 Thread Yousong Zhou
Hi, On 10 October 2013 20:16, Bruno Randolf wrote: > Signed-off-by: Bruno Randolf > --- > net/pptpd/Makefile| 3 +++ > net/pptpd/files/pptpd.init| 41 +++-- > net/pptpd/files/pptpd.uciconf | 8 > 3 files changed, 50 insertions(+), 2

Re: [OpenWrt-Devel] [PATCH 01/10] cron: improve init script

2013-10-10 Thread Yousong Zhou
Hi, On 10 October 2013 19:02, Bruno Randolf wrote: > Add PATH in case it is missing (e.g. when executing the script from > ssh, like "ssh IP /etc/init.d/cron restart"). > > Signed-off-by: Bruno Randolf > --- > package/busybox/files/cron | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a

Re: [OpenWrt-Devel] [PATCH 3/7] [boot] uboot-lantiq: enable parallel building

2013-10-27 Thread Yousong Zhou
Hi, On 28 October 2013 03:45, Daniel Schwierzeck wrote: > Signed-off-by: Daniel Schwierzeck > --- > package/boot/uboot-lantiq/Makefile | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/package/boot/uboot-lantiq/Makefile > b/package/boot/uboot-lantiq/Makefile > inde

[OpenWrt-Devel] [PATCH] pppd: Place plugin-specific options after `plugin name`.

2013-11-20 Thread Yousong Zhou
], where options are: This is due to the requirement that function add_option() should be called by the plugin_init() function first before pppd can parse those options. Signed-off-by: Yousong Zhou --- package/network/services/ppp/files/ppp.sh |2 +- 1 files changed, 1 insertions(+), 1 deleti

Re: [OpenWrt-Devel] [PATCH 5/5] base-files: hotplug-call: minor cleanup: make it more visible, that braces are used for sourcing (protection against misbehaving external script, e.g. exit-call)

2013-11-22 Thread Yousong Zhou
Hi, That is a really long Subject line I guess. On Fri, Nov 22, 2013 at 07:57:21PM +0100, Bastian Bittorf wrote: > > Signed-off-by: Bastian Bittorf > --- > package/base-files/files/sbin/hotplug-call |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/bas

Re: [OpenWrt-Devel] [PATCH 5/5] base-files: hotplug-call: minor cleanup: make it more visible, that braces are used for sourcing (protection against misbehaving external script, e.g. exit-call)

2013-11-23 Thread Yousong Zhou
Hi, On Sat, Nov 23, 2013 at 09:48:07AM +0100, Bastian Bittorf wrote: > * Yousong Zhou [23.11.2013 09:40]: > > That is a really long Subject line I guess. > > yes, i should change the way like i write git-commit-messages. > (emails are automatically written with &#

Re: [OpenWrt-Devel] [PATCH 5/5] base-files: hotplug-call: minor cleanup: make it more visible, that braces are used for sourcing (protection against misbehaving external script, e.g. exit-call)

2013-11-23 Thread Yousong Zhou
Hi, On Sat, Nov 23, 2013 at 11:30:27AM +0100, Bastian Bittorf wrote: > * Yousong Zhou [23.11.2013 10:58]: > > > > Looks like most of them `exit` for a reason. Maybe we could instead just > > > > document explicitly the way hotplug scripts are run and le

[OpenWrt-Devel] [PATCH] minidlna: create /dev/inotify when necessary.

2013-12-01 Thread Yousong Zhou
On ar71xx platform, /dev/inotify is not created by default. Create it when inotify is enabled. This should close ticket #10711. Signed-off-by: Yousong Zhou --- multimedia/minidlna/files/minidlna.init |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/multimedia/minidlna

Re: [OpenWrt-Devel] [PATCH] minidlna: create /dev/inotify when necessary.

2013-12-02 Thread Yousong Zhou
Hi, John and all. On 2 December 2013 14:51, John Crispin wrote: > On 02/12/13 04:58, Yousong Zhou wrote: >> >> On ar71xx platform, /dev/inotify is not created by default. Create it >> when inotify is enabled. >> >> This should close ticket #10711.

Re: [OpenWrt-Devel] [PATCH] minidlna: create /dev/inotify when necessary.

2013-12-06 Thread Yousong Zhou
Hi, On 2 December 2013 19:24, Yousong Zhou wrote: > Hi, John and all. > > On 2 December 2013 14:51, John Crispin wrote: >> On 02/12/13 04:58, Yousong Zhou wrote: >>> >>> On ar71xx platform, /dev/inotify is not created by default. Create it >>> when ino

Re: [OpenWrt-Devel] can not save kernel .config settings when using 'make kernel_menuconfig'

2013-12-10 Thread Yousong Zhou
Hi, On 11 December 2013 11:16, 仙凡居士 wrote: > Hi gentleman > > I'm a new developer with open-wrt, and now I'm facing a problem that after I > save my kernel configurations to .config with 'make kernel_menuconfig'. > After that I do 'make V=s', but the kernel configurations are all lost, I > have t

Re: [OpenWrt-Devel] [PATCH 0/2] let sysupgrade's --force also trigger mtd --force

2013-12-11 Thread Yousong Zhou
Hi, On 5 December 2013 18:42, Cody P Schafer wrote: > Normal force (one -F flag) is unchanged in behavior and only overrides the > sysupgrade checks. Force with two or more flags also passes --force to mtd, > overriding some of it's checks. > > This was useful in testing of the belkin f7d pa

[OpenWrt-Devel] [PATCH 1/3] base-files: no need to strip out sequence number from script name.

2013-12-12 Thread Yousong Zhou
Since commit 2ed5144 "base-files: warn when calling /etc/init.d/

[OpenWrt-Devel] [PATCH 1/3] base-files: No need to strip out sequence number from script name.

2013-12-12 Thread Yousong Zhou
Since commit 2ed5144 "base-files: warn when calling /etc/init.d/

[OpenWrt-Devel] [PATCH 3/3] mac80211.sh: fix wds option.

2013-12-12 Thread Yousong Zhou
ll cause "bad number" error. Thu Dec 5 16:55:54 2013 daemon.notice netifd: radio0 (17747): sh: bad number Signed-off-by: Yousong Zhou --- .../mac80211/files/lib/netifd/wireless/mac80211.sh |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/package/ke

[OpenWrt-Devel] [PATCH 2/3] base-files: remove duplicate stop_service() function.

2013-12-12 Thread Yousong Zhou
It was introduced in commit 2f966e8, "base-files: add a post start hook for procd managed services". Signed-off-by: Yousong Zhou --- package/base-files/files/etc/rc.common |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/package/base-files/files/etc/rc

[OpenWrt-Devel] [PATCH] aria2: add uci support for aria2.

2013-12-12 Thread Yousong Zhou
acing dashes `-` with underscores `_`. Signed-off-by: Yousong Zhou --- net/aria2/Makefile |4 +- net/aria2/files/aria2.config | 26 net/aria2/files/aria2.init | 284 ++ 3 files changed, 313 insertions(+), 1 deletions(-) create mode 10064

[OpenWrt-Devel] Fwd: [PATCH 3/3] mac80211.sh: fix wds option.

2013-12-12 Thread Yousong Zhou
My bad. Same mail forwarded to the openwrt-devel list. -- Forwarded message -- From: Yousong Zhou Date: 12 December 2013 23:05 Subject: Re: [OpenWrt-Devel] [PATCH 3/3] mac80211.sh: fix wds option. To: Felix Fietkau Hi, Felix On 12 December 2013 21:31, Felix Fietkau wrote

Re: [OpenWrt-Devel] how to set busybox's some options now ?

2013-12-17 Thread Yousong Zhou
Hi, On 17 December 2013 18:54, xinglp wrote: > There's some usefull options for me, such as SAVEHISTORY, > REVERSE_SEARCH, WGET_TIMEOUT, netcat and TRACEROUTE6. > But the recent commit disabled the busybox configure memu. How to set > somethings for busybox now ? The config for busybox can be ov

Re: [OpenWrt-Devel] how to set busybox's some options now ?

2013-12-17 Thread Yousong Zhou
On 17 December 2013 22:13, openwrt-de...@couprie.net wrote: > Hi yousong, > > Can you give a example how to call menuconfig for busybox ? I am doing menuconfig for busybox in OpenWrt build environment in which busybox tarball has already been extracted. Your situation may vary. Busybox itself pro

Re: [OpenWrt-Devel] Q: hotplug / button / reset

2013-12-18 Thread Yousong Zhou
On 18 December 2013 18:35, Bastian Bittorf wrote: > on a 'TP-LINK TL-WDR4900 v1' there is a button labeled > 'WPS/reset'. when i press it, i get a hotplug call with > > $BUTTON = reset and > $ACTION = pressed / released > > after this the router restarts. who does this? procd? Hi, It's from a ke

Re: [OpenWrt-Devel] procd usage examples

2013-12-23 Thread Yousong Zhou
On 23 December 2013 04:26, valent.turko...@gmail.com wrote: > Hi, > I see that procd is being used by OpenWrt but wiki documentation is > lacking some basic examples how could it be used further by advanced > users (not developers). > > One use case would be to trigger some action when some usb de

Re: [OpenWrt-Devel] procd usage examples

2013-12-26 Thread Yousong Zhou
On 27 December 2013 09:49, valent.turko...@gmail.com wrote: > After adding hotplug troubleshooting on wiki [1] and creating hotplug > debug script I saw this for two different bluetooth dongles: > > > action='add' product='a12/1/1915' type='224/1/1' interface='' > action='add' product='a12/1/1915'

[OpenWrt-Devel] [PATCH] Fix starting up ddns monitor daemon.

2014-01-27 Thread Yousong Zhou
etain compatibility (#7570) Signed-off-by: Yousong Zhou --- .../files/usr/lib/ddns/dynamic_dns_functions.sh|2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh b/net/ddns-scripts/files/usr/lib

Re: [OpenWrt-Devel] [PATCH] gw6c: fixed sed separator

2014-02-18 Thread Yousong Zhou
On Tue, Feb 18, 2014 at 08:03:06AM +0100, Michel Stempin wrote: > Signed-off-by: Michel Stempin > --- > ipv6/gw6c/patches/001-sed-separator.patch | 18 ++ > 1 file changed, 18 insertions(+) > create mode 100644 ipv6/gw6c/patches/001-sed-separator.patch > > diff --git a/ipv6/gw

Re: [OpenWrt-Devel] where is KDump??

2014-02-20 Thread Yousong Zhou
Hi, On Thu, 20 Feb 2014, Alan.Hoo wrote: > > dear all : > >   > >    have you porting the KDump to OpenWRT System ? is there an KDump > package available to download ? Kdump is part of kexec-tools, you can find it package/boot/kexec-tools. It is not included in by default. You can sear

Re: [OpenWrt-Devel] Really slow 3G speed through router... okay when connected directly

2014-02-23 Thread Yousong Zhou
hi On Sun, 23 Feb 2014, jinzhcheng wrote: Dear Sir, I have a HUAWEI 3G usb modem, The download speed is over 160KB/s if connected directly to PC, but if  used with WR703N, the download speed is only 60KB/s. I think wifi and usb speed isn't bottleneck, but what is root cause of slower speed th

Re: [OpenWrt-Devel] I still can't figure out how the config files in /etc/config/* are parsed?

2014-03-13 Thread Yousong Zhou
Hi, On 13 March 2014 16:11, Wandy Lau wrote: > These files are parsed by shell scripts or some thing else? I really can't > figure it out. Please give me some idea about this. > UCI is really a pearl in OpenWrt. I was surprised by the design and implementation when trying to understand the det

Re: [OpenWrt-Devel] I still can't figure out how the config files in /etc/config/* are parsed?

2014-03-13 Thread Yousong Zhou
Hi, On 13 March 2014 18:46, Wandy Lau wrote: > Thank you for your kindness. I have read all these. But I think that is not > enough. Some more work need to be done. I need dig deeper. Ok, let me tell > something: > > Actually I want to know how the hostapd.conf is produced. Because there is > on

<    2   3   4   5   6   7   8   >