Re: [OpenWrt-Devel] [PATCH] ar71xx: fix LED configuration for HiWiFi-HC6361.

2014-07-23 Thread Yousong Zhou
. The last one was right. The Signed-off-by line was missing in those previous ones somehow. My apology for the noise. Regards. yousong John On 23/07/2014 09:00, Yousong Zhou wrote: Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- target/linux/ar71xx/base-files

[OpenWrt-Devel] [PATCH] Remove stale calls to start() in initscripts.

2014-07-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/base-files/files/etc/init.d/boot|2 -- package/network/config/firewall/files/firewall.init |7 --- 2 files changed, 9 deletions(-) diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files

[OpenWrt-Devel] [PATCH] ramips: fix missing inclusion of system.sh for mtd_get_mac_binary and friends.

2014-07-22 Thread Yousong Zhou
From: Yousong Zhou zhouyous...@meituan.com --- target/linux/ramips/base-files/etc/uci-defaults/02_network |1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network index 7fbc66b

Re: [OpenWrt-Devel] [PATCH] mac80211: squelch WARN_ON_ONCE() caused by inbalanced set/clear of beacon enable it.

2014-07-17 Thread Yousong Zhou
Hi, On 17 July 2014 12:06, Yousong Zhou yszhou4t...@gmail.com wrote: Hi, On 14 July 2014 07:39, Yousong Zhou yszhou4t...@gmail.com wrote: A WARN_ON_ONCE() dump was triggered on a MT7620A based device with following config. Ticket #17032 can be closed with this patch. There are other flaws

[OpenWrt-Devel] [PATCH] mac80211: squelch WARN_ON_ONCE() caused by inbalanced set/clear of beacon enable it.

2014-07-16 Thread Yousong Zhou
A WARN_ON_ONCE() dump was triggered on a MT7620A based device with following config. Ticket #17032 can be closed with this patch. config wifi-iface option device radio0 option network lan option mode ap option ssid

Re: [OpenWrt-Devel] [PATCH] mac80211: squelch WARN_ON_ONCE() caused by inbalanced set/clear of beacon enable it.

2014-07-16 Thread Yousong Zhou
Hi, On 14 July 2014 07:39, Yousong Zhou yszhou4t...@gmail.com wrote: A WARN_ON_ONCE() dump was triggered on a MT7620A based device with following config. Ticket #17032 can be closed with this patch. There are other flaws I'd like to report here. With the same config, station can see the SSID

Re: [OpenWrt-Devel] Barrier Breaker 14.07-rc1

2014-07-14 Thread Yousong Zhou
On 14 July 2014 17:12, John Crispin j...@phrozen.org wrote: The OpenWrt developers are proud to announce the first release candidate of OpenWrt Barrier Breaker. ___ __ | |.-.-.-.| | | |..| |_ | - || _ | -__| ||

Re: [OpenWrt-Devel] Barrier Breaker 14.07-rc1

2014-07-14 Thread Yousong Zhou
On 14 July 2014 19:15, John Crispin j...@phrozen.org wrote: On 14/07/2014 13:13, Yousong Zhou wrote: On 14 July 2014 17:12, John Crispin j...@phrozen.org wrote: The OpenWrt developers are proud to announce the first release candidate of OpenWrt Barrier Breaker

Re: [OpenWrt-Devel] [PATCH 3/4] dnsmasq: Add config option to enable DNSSEC validation

2014-06-16 Thread Yousong Zhou
On Mon, Jun 16, 2014 at 09:57:20AM +0200, Andre Heider wrote: Hi, On Sun, Jun 15, 2014 at 12:26 AM, Yousong Zhou yszhou4t...@gmail.com wrote: It will be more complete if dnsmasq-dhcpv6 is also covered by this config option. Even better is letting this option depend on the actual dnsmasq

Re: [OpenWrt-Devel] [PATCH 0/4] dnsmasq: DNSSEC support

2014-06-15 Thread Yousong Zhou
On 15 June 2014 17:13, Steven Barth cy...@openwrt.org wrote: Hi Andre, could you please add nettle-mini support and make this a build variant instead of a config option, please? Build variant has the advantage that we can precompile it as ipks because we cannot enable dnssec by default.

Re: [OpenWrt-Devel] [PATCH 3/4] dnsmasq: Add config option to enable DNSSEC validation

2014-06-14 Thread Yousong Zhou
Hi, On 14 June 2014 23:34, Andre Heider a.hei...@gmail.com wrote: Enabling this compile time option adds a dependency on libnettle. Signed-off-by: Andre Heider a.hei...@gmail.com --- package/network/services/dnsmasq/Config.in | 25 +

Re: [OpenWrt-Devel] 3G conneciton terminated because recv LCP termreq

2014-06-01 Thread Yousong Zhou
Thanks! bjzhougong From: Yousong Zhou Date: 2014-06-01 11:12 To: bjzhougong CC: Bjørn Mork; openwrt-devel Subject: Re: Re: [OpenWrt-Devel] 3G conneciton terminated because recv LCP termreq On 1 June 2014 10:06, bjzhougong bjzhoug...@126.com wrote: Hi guys

Re: [OpenWrt-Devel] 3G conneciton terminated because recv LCP termreq

2014-05-31 Thread Yousong Zhou
Hi, On 31 May 2014 16:39, bjzhougong bjzhoug...@126.com wrote: Hi guys! I use AA in WR703n, when we connect EVDO usb dongle to router, I find 3G connection continue to disconnect after any minutes. From log, I find it is because of LCP termreq And Because it will redial success, so i think

Re: [OpenWrt-Devel] 3G conneciton terminated because recv LCP termreq

2014-05-31 Thread Yousong Zhou
On 31 May 2014 23:50, Bjørn Mork bj...@mork.no wrote: bjzhougong bjzhoug...@126.com writes: I only add lcp-echo-interval 10 in ppp options.and router recv LCP TermReq too Yes, the termreq is likely because the modem has detected that there is no IP traffic. LCP echo's won't help. Didn't

Re: [OpenWrt-Devel] 3G conneciton terminated because recv LCP termreq

2014-05-31 Thread Yousong Zhou
On 1 June 2014 10:06, bjzhougong bjzhoug...@126.com wrote: Hi guys! Thanks for your help! If we cannot find a way to prevent the idle timeout from being triggered at the remote side, the following 2 solutions worth a try. - Use the dial on-demand feature of pppd by adding an option like

[OpenWrt-Devel] [PATCH v2] dnsmasq: add ipset and auth compilation options.

2014-05-26 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- v1 - v2 Rebase it on the lastest trunk. package/network/services/dnsmasq/Makefile | 18 -- .../network/services/dnsmasq/files/dnsmasq.init|5 + 2 files changed, 21 insertions(+), 2 deletions

Re: [OpenWrt-Devel] [PATCH v5] ppp: add new protocol PPPoSSH.

2014-05-23 Thread Yousong Zhou
Hi, Joshua and list. On 23 May 2014 11:42, Joshua Judson Rosen jro...@harvestai.com wrote: On 2014-05-22 20:17, Yousong Zhou wrote: I am using PPPoSSH with ipset-enabled dnsmasq [1] mainly for accessing and accelerating the speed of several websites. Well, I myself quite enjoy the outcome

Re: [OpenWrt-Devel] [PATCH v5] ppp: add new protocol PPPoSSH.

2014-05-22 Thread Yousong Zhou
. - ssh_options, extra ssh client options. Because the protocol script file ppp.sh will be called with $HOME set to '/', we need to explicitly set it to the right value so that dropbear client can read '~/known_hosts' correctly. Signed-off-by: Yousong Zhou yszhou4tech at gmail.com --- v1 - v2 - Use

[OpenWrt-Devel] [PATCH v5] ppp: add new protocol PPPoSSH.

2014-05-18 Thread Yousong Zhou
ppp.sh will be called with $HOME set to '/', we need to explicitly set it to the right value so that dropbear client can read '~/known_hosts' correctly. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- v1 - v2 - Use common option names as suggested by jow and nbd. - Default to using

Re: [OpenWrt-Devel] [PATCH v5] ppp: add new protocol PPPoSSH.

2014-05-18 Thread Yousong Zhou
Hi, On 19 May 2014 09:55, Yousong Zhou yszhou4t...@gmail.com wrote: This patch adds protocol support for PPP over SSH. The protocol name is 'pppossh' with the following options. I am not sure whether such a non-standardized protocol will be accepted into the OpenWrt trunk. I have been using

[OpenWrt-Devel] [PATCH] base-files: calling stop_service before procd_kill.

2014-05-16 Thread Yousong Zhou
Before this patch, doing `/e/c/network restart' will emit the folloing error by `ubus network.wireless down {}' because netifd already quit by that time. Command failed: not found Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/base-files/Makefile|2

[OpenWrt-Devel] [PATCH] ubus: be verbose when printing command failed message.

2014-05-16 Thread Yousong Zhou
The original Command failed: Not found message tends to make people think it's from shell. Make it clear and verbose for the ease of debug. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- cli.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/cli.c b/cli.c

Re: [OpenWrt-Devel] Implementing DNSSEC

2014-05-13 Thread Yousong Zhou
Hi, Erik. On 14 May 2014 11:35, Erik Rigtorp e...@rigtorp.se wrote: Hi, I recently submitted a patch to bump dnsmasq to 2.70. The main new feature in 2.70 is support for DNSSEC. If dnsmasq is updated my next patch is to enable a build flag to build dnsmasq with DNSSEC support. Can you also

Re: [OpenWrt-Devel] [PATCH 2/2] ppp: fix o_special option printing

2014-05-11 Thread Yousong Zhou
Hi, Nathan. On 11 May 2014 15:04, Nathan Hintz nlhi...@hotmail.com wrote: Hi Yousong: ++ } ++ } else if (opt-flags OPT_A2LIST) { + struct option_value *ovp, *pp; + + ovp = malloc(sizeof(*ovp) + strlen(*argv)); +@@ -994,7 +1003,7 @@ print_option(opt, mainopt, printer, arg) + p = (char

Re: [OpenWrt-Devel] [PATCH 2/2] ppp: fix o_special option printing

2014-05-07 Thread Yousong Zhou
Hi, Nathan. On 7 May 2014 13:25, Nathan Hintz nlhi...@hotmail.com wrote: PPPD crashes (SEGV) when the 'dump' or 'dryrun' options are specified and an option defined internally as o_special with an option flag of OPT_A2STRVAL is used. The crash occurs because the option value is not saved

Re: [OpenWrt-Devel] [PATCH 1/2] ppp: fix printing of DNS/WINS addresses

2014-05-07 Thread Yousong Zhou
Hi, Nathan. On 7 May 2014 13:24, Nathan Hintz nlhi...@hotmail.com wrote: Signed-off-by: Nathan Hintz nlhi...@hotmail.com --- Re-send of the following: http://patchwork.openwrt.org/patch/3246/ .../ppp/patches/502-fix-ms-dns-and-ms-wins-print.patch | 17 + 1 file

Re: [OpenWrt-Devel] [PATCH v3] ppp: add new protocol PPPoSSH.

2014-05-06 Thread Yousong Zhou
Hi, On 24 April 2014 11:23, Yousong Zhou yszhou4t...@gmail.com wrote: This patch adds protocol support for PPP over SSH. The protocol name is 'pppossh' with the following options. - server, required, SSH server name. - port, SSH server port. - sshuser, required, SSH login username

[OpenWrt-Devel] [PATCH 2/4] Remove *.orig and *.rej from .gitignore.

2014-04-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- .gitignore |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1bef86e..0892453 100644 --- a/.gitignore +++ b/.gitignore @@ -15,11 +15,9 @@ /files /package/feeds /package/openwrt

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

2014-04-23 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 yszhou4t...@gmail.com --- package/base-files/Makefile|2 +- package/base-files/files/etc/rc.common |4 2 files changed, 1 insertions(+), 5

[OpenWrt-Devel] [PATCH 3/4] dnsmasq: add ipset and auth compilation options.

2014-04-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/network/services/dnsmasq/Makefile | 16 +++- .../network/services/dnsmasq/files/dnsmasq.init|5 + 2 files changed, 20 insertions(+), 1 deletions(-) diff --git a/package/network/services/dnsmasq

[OpenWrt-Devel] [PATCH 4/4] ppp: add new protocol PPPoSSH.

2014-04-23 Thread Yousong Zhou
to '/', so we use 'env -u HOME' to let dropbear client to get correct HOME directory from /etc/passwd file so that it can read '~/known_hosts' correctly. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/network/services/ppp/files/ppp.sh | 51 + 1 files

[OpenWrt-Devel] [PATCH] ar71xx: abort building if there is failure when generating image.

2014-04-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- target/linux/ar71xx/image/Makefile | 22 +- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 8234f88..3cfd4c1 100644

Re: [OpenWrt-Devel] [PATCH 4/4] ppp: add new protocol PPPoSSH.

2014-04-23 Thread Yousong Zhou
that it can read '~/known_hosts' correctly. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/network/services/ppp/files/ppp.sh | 51 + 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/package/network/services/ppp/files/ppp.sh b

Re: [OpenWrt-Devel] Cannot get patch into patchwork

2014-04-23 Thread Yousong Zhou
Hi On 23 April 2014 22:02, Jacek Kikiewicz ja...@aol.pl wrote: Hello, Sorry for sending same patch few times, for some reason I cannot get it to patchwork... I configured my client to send plain text, there are no attachments, format should be good... Can someone advice what am I doing

Re: [OpenWrt-Devel] [PATCH] ar71xx: abort building if there is failure when generating image.

2014-04-23 Thread Yousong Zhou
On 23 April 2014 21:40, Michel Stempin michel.stem...@wanadoo.fr wrote: Le 23/04/2014 14:59, Bastian Bittorf a écrit : * Yousong Zhou yszhou4t...@gmail.com [23.04.2014 14:53]: once upon a time 36ea10375db186bf10c13d89bbdc4cfb62bf5fcc, the idea was NOT to abort because e.g. the user builts

Re: [OpenWrt-Devel] [PATCH 2/4] Remove *.orig and *.rej from .gitignore.

2014-04-23 Thread Yousong Zhou
On 23 April 2014 23:23, Felix Fietkau n...@openwrt.org wrote: On 2014-04-23 14:16, Yousong Zhou wrote: Signed-off-by: Yousong Zhou yszhou4t...@gmail.com Why? There are times when I apply patches with patch utility, some *.orig and *.rej files will be generated in the tree and later copied

Re: [OpenWrt-Devel] [PATCH 2/4] Remove *.orig and *.rej from .gitignore.

2014-04-23 Thread Yousong Zhou
On 24 April 2014 04:54, Jonas Gorski j...@openwrt.org wrote: On Wed, Apr 23, 2014 at 5:38 PM, Yousong Zhou yszhou4t...@gmail.com wrote: On 23 April 2014 23:23, Felix Fietkau n...@openwrt.org wrote: On 2014-04-23 14:16, Yousong Zhou wrote: Signed-off-by: Yousong Zhou yszhou4t...@gmail.com Why

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

2014-04-23 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 yszhou4t...@gmail.com --- package/base-files/Makefile|2 +- package/base-files/files/etc/rc.common |4 2 files changed, 1 insertions(+), 5

[OpenWrt-Devel] [PATCH v2 2/3] dnsmasq: add ipset and auth compilation options.

2014-04-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- v1 - v2 - Incremented PKG_RELEASE. package/network/services/dnsmasq/Makefile | 18 -- .../network/services/dnsmasq/files/dnsmasq.init|5 + 2 files changed, 21 insertions(+), 2 deletions(-) diff

[OpenWrt-Devel] [PATCH v2 3/3] ppp: add new protocol PPPoSSH.

2014-04-23 Thread Yousong Zhou
client must NOT use it. Because the protocol script file ppp.sh will be called with $HOME set to '/', we need to explicitly set it to the right value so that dropbear client can read '~/known_hosts' correctly. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- v1 - v2 - Use common option

[OpenWrt-Devel] [PATCH v3] ppp: add new protocol PPPoSSH.

2014-04-23 Thread Yousong Zhou
client must NOT use it. Because the protocol script file ppp.sh will be called with $HOME set to '/', we need to explicitly set it to the right value so that dropbear client can read '~/known_hosts' correctly. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- v1 - v2 - Use common option

[OpenWrt-Devel] [PATCH 0/3] Add support for HiWiFi HC6361

2014-04-13 Thread Yousong Zhou
created for this device. [0] https://code.hiwifi.com/ [1] http://patchwork.openwrt.org/patch/4244/ [2] http://wiki.openwrt.org/toh/hiwifi/hc6361 Yousong Zhou (3): ar71xx: add kernel support for HiWiFi HC6361. ar71xx: add user-space support for HiWiFi HC6361 board. ar71xx: add profile and build

[OpenWrt-Devel] [PATCH 1/3] ar71xx: add kernel support for HiWiFi HC6361.

2014-04-13 Thread Yousong Zhou
by a USB cable. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- target/linux/ar71xx/config-3.10|1 + .../files/arch/mips/ath79/mach-hiwifi-hc6361.c | 115 .../709-MIPS-ath79-HiWiFi-HC6361-support.patch | 39 +++ 3 files changed, 155

[OpenWrt-Devel] [PATCH 2/3] ar71xx: add user-space support for HiWiFi HC6361 board.

2014-04-13 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- target/linux/ar71xx/base-files/etc/diag.sh |3 +++ .../ar71xx/base-files/etc/uci-defaults/01_leds |5 + .../ar71xx/base-files/etc/uci-defaults/02_network |1 + target/linux/ar71xx/base-files/lib/ar71xx.sh

[OpenWrt-Devel] [PATCH 3/3] ar71xx: add profile and build image for HiWiFi HC6361.

2014-04-13 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- target/linux/ar71xx/generic/profiles/hiwifi.mk | 19 +++ target/linux/ar71xx/image/Makefile | 18 ++ 2 files changed, 37 insertions(+), 0 deletions(-) create mode 100644 target/linux/ar71xx

Re: [OpenWrt-Devel] public ssh key

2014-03-31 Thread Yousong Zhou
Hello, Flavio On 1 April 2014 08:41, Flavio Rodrigo LEonel frleo...@gmail.com wrote: hallo my friends i'm trying connect with my aps with this process but not connect if without password http://wiki.openwrt.org/oldwiki/dropbearpublickeyauthenticationhowto You need to add your public key

Re: [OpenWrt-Devel] [PATCH] [ar71xx] Support for HiWifi HC6361 router

2014-03-30 Thread Yousong Zhou
Hi, On 26 March 2014 18:41, Yousong Zhou yszhou4t...@gmail.com wrote: Hi, Just got my my chance to try this router. It's 2014 now and my comments are late... Sorry, but getting this board supported in the OpenWrt trunk is really good. For those interested, the original patch can be found

[OpenWrt-Devel] [PATCH] ar71xx: add comments for image Makefile.

2014-03-29 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- target/linux/ar71xx/image/Makefile | 50 1 files changed, 50 insertions(+), 0 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 6e0ffe0..4fca1c3

[OpenWrt-Devel] [PATCH] dropbear: add options SSHKeepAlive and IdleTimeout.

2014-03-29 Thread Yousong Zhou
value of ServerAliveInterval for Debian ssh client (See man ssh_config). Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/network/services/dropbear/Makefile |2 +- .../network/services/dropbear/files/dropbear.init |6 +- 2 files changed, 6 insertions(+), 2

Re: [OpenWrt-Devel] [PATCH] [ar71xx] Support for HiWifi HC6361 router

2014-03-26 Thread Yousong Zhou
Hi, Just got my my chance to try this router. It's 2014 now and my comments are late... Sorry, but getting this board supported in the OpenWrt trunk is really good. For those interested, the original patch can be found at the following URL. http://patchwork.openwrt.org/patch/4244/ On

Re: [OpenWrt-Devel] /var/dhcp.leases empty

2014-03-26 Thread Yousong Zhou
Hi, On 26 March 2014 20:56, Zhang Weiwu zhangwe...@realss.com wrote: Using Bleeding Edge, r39770. /var/dhcp.leases is always empty, no matter how many hosts in the lan got assigned IPv4 addresses. LUCI also shows There are no active leases. Not sure about this, but I can confirm that r40007

Re: [OpenWrt-Devel] /var/dhcp.leases empty

2014-03-26 Thread Yousong Zhou
Hi, On 26 March 2014 21:07, Yousong Zhou yszhou4t...@gmail.com wrote: Hi, On 26 March 2014 20:56, Zhang Weiwu zhangwe...@realss.com wrote: Using Bleeding Edge, r39770. /var/dhcp.leases is always empty, no matter how many hosts in the lan got assigned IPv4 addresses. LUCI also shows

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 xdragon...@gmail.com 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

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 xdragon...@gmail.com 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.

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

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 search for

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 michel.stem...@wanadoo.fr --- ipv6/gw6c/patches/001-sed-separator.patch | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 ipv6/gw6c/patches/001-sed-separator.patch

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

2014-01-27 Thread Yousong Zhou
compatibility (#7570) Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- .../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/ddns

Re: [OpenWrt-Devel] procd usage examples

2013-12-26 Thread Yousong Zhou
On 27 December 2013 09:49, valent.turko...@gmail.com 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'

Re: [OpenWrt-Devel] procd usage examples

2013-12-23 Thread Yousong Zhou
On 23 December 2013 04:26, valent.turko...@gmail.com 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

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 xin...@gmail.com 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

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 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

[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/script enable and neither START nor STOP is defined, there is no need to specify the sequence number in the service script file name. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/base-files/files/etc/rc.common |6

[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/script enable and neither START nor STOP is defined, there is no need to specify the sequence number in the service script file name. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/base-files/files/etc/rc.common |6

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

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

[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 yszhou4t...@gmail.com --- package/base-files/files/etc/rc.common |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/package/base-files/files/etc

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

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

[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 yszhou4t...@gmail.com Date: 12 December 2013 23:05 Subject: Re: [OpenWrt-Devel] [PATCH 3/3] mac80211.sh: fix wds option. To: Felix Fietkau n...@openwrt.org Hi, Felix On 12

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, 仙凡居士 crystal6...@126.com 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

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 yszhou4t...@gmail.com wrote: Hi, John and all. On 2 December 2013 14:51, John Crispin j...@phrozen.org 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

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 yszhou4t...@gmail.com [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 'git format-patch

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 bitt...@bluebottle.com --- package/base-files/files/sbin/hotplug-call |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff

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

2013-11-20 Thread Yousong Zhou
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 yszhou4t...@gmail.com --- package/network/services/ppp/files/ppp.sh |2 +- 1 files changed, 1 insertions(+), 1

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 daniel.schwierz...@gmail.com wrote: Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- package/boot/uboot-lantiq/Makefile | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

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 b...@einfach.org wrote: Signed-off-by: Bruno Randolf b...@einfach.org --- net/pptpd/Makefile| 3 +++ net/pptpd/files/pptpd.init| 41 +++-- net/pptpd/files/pptpd.uciconf | 8 3 files

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 b...@einfach.org 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 b...@einfach.org --- package/busybox/files/cron | 2 ++ 1 file changed, 2

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 monn...@iro.umontreal.ca 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

Re: [OpenWrt-Devel] Strange TCP failure

2013-09-04 Thread Yousong Zhou
Hi, Jon. On 5 September 2013 04:02, jonsm...@gmail.com 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

Re: [OpenWrt-Devel] Strange TCP failure

2013-09-04 Thread Yousong Zhou
On 5 September 2013 09:04, Yousong Zhou yszhou4t...@gmail.com wrote: Hi, Jon. On 5 September 2013 04:02, jonsm...@gmail.com 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

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. This may cause some inconvenience

[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 yszhou4t...@gmail.com --- 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

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 n...@openwrt.org 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. Initialize

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

2013-08-01 Thread Yousong Zhou
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-hotplug/src

[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 yszhou4t...@gmail.com --- .../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

[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 yszhou4t...@gmail.com --- .../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

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

2013-08-01 Thread Yousong Zhou
-off-by: Yousong Zhou yszhou4t...@gmail.com --- .../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

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). Otherwise devices with like TL-WR720N-v3

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 Kaechele

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 hef...@fedoraproject.org Signed-off-by:

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 linuxli...@gmail.com 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\

[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 yszhou4t...@gmail.com --- lang/ruby/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [OpenWrt-Devel] Building Python extensions

2013-07-26 Thread Yousong Zhou
Hi, Drasko, On 27 July 2013 06:01, Drasko DRASKOVIC drasko.drasko...@gmail.com 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 ...

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

2013-07-17 Thread Yousong Zhou
-by: Yousong Zhou yszhou4t...@gmail.com --- 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

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. Cases that pathes may contain

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

2013-07-12 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

[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

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

2013-07-12 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com 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

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 wang.9...@gmail.com --- snip --- target/linux/ar71xx/patches-3.8/610-MIPS-ath79-openwrt-machines.patch (revision 37128) +++

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

2013-06-15 Thread Yousong Zhou
is 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 yszhou4t...@gmail.com --- Index: target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr720n-v3.c

Re: [OpenWrt-Devel] Generic Makefile question

2013-06-02 Thread Yousong Zhou
Hi, Pietro. On 17 May 2013 23:36, Pietro Paolini pulsarpie...@aol.com 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):

<    2   3   4   5   6   7   8   >