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

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

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

2014-07-23 Thread Yousong Zhou
From: Yousong Zhou zhouyous...@meituan.com Signed-off-by: Yousong Zhou yszhou4t...@gmail.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

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

2014-07-23 Thread Yousong Zhou
--- target/linux/ar71xx/base-files/etc/uci-defaults/01_leds |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index fa84661..a347802 100755 ---

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

2014-07-23 Thread Yousong Zhou
--- target/linux/ar71xx/base-files/etc/uci-defaults/01_leds |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index fa84661..a347802 100755 ---

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

2014-07-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- target/linux/ar71xx/base-files/etc/uci-defaults/01_leds |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds

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

Re: [OpenWrt-Devel] [PATCH]ramips:support Lenovo AC1200 Wireless router

2014-07-24 Thread Yousong Zhou
Hi, Lintel On 25 July 2014 09:20, Lintel Huang lintel.hu...@gmail.com wrote: No problem,why not? please give me address then I express it. I guess Roman meant a patch like http://patchwork.openwrt.org/patch/5970/, but I noticed that there are MT7620A-based boards storing their MAC addresses

Re: [OpenWrt-Devel] [PATCH] #9969: Add NFLOG and NFQUEUE targets for netfilter

2014-08-06 Thread Yousong Zhou
Hello, On 7 November 2013 00:47, Derek LaHousse dlaho...@mtu.edu wrote: Hello, new developer here, open to advice https://dev.openwrt.org/ticket/9969 Describe Changes: The included patch creates a menu item for iptables targets NFLOG and NFQUEUE. NFLOG is the successor to ULOG, while

Re: [OpenWrt-Devel] [PATCH] #9969: Add NFLOG and NFQUEUE targets for netfilter

2014-08-06 Thread Yousong Zhou
and compiled with OpenWrt SDK. [1] http://wiki.openwrt.org/doc/howto/obtain.firmware.sdk Regards, yousong Thanking you ever much, Best Regards, Mohideen On Wednesday, August 6, 2014 1:58 PM, Yousong Zhou yszhou4t...@gmail.com wrote: Hello, On 7 November 2013 00:47, Derek

[OpenWrt-Devel] [PATCH] iptables: add kmod-ipt-nf* to dependency list of iptables-mod-nf*.

2014-08-07 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/network/utils/iptables/Makefile |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/utils/iptables/Makefile b/package/network/utils/iptables/Makefile index bea2f1d..27201b4 100644 --- a/package

[OpenWrt-Devel] [PATCH] package: add libnetfilter-log.

2014-08-07 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/libs/libnetfilter-log/Makefile | 73 +++ ...e-unnecessary-pkgconfig-config.status-dep.patch | 25 ++ ...-build-remove-unused-lines-in-Makefile.am.patch | 24 + ...0003-build-resolve-automake-1.12

Re: [OpenWrt-Devel] [PATCH] #9969: Add NFLOG and NFQUEUE targets for netfilter

2014-08-07 Thread Yousong Zhou
On 7 August 2014 16:14, Guillaume Déflache guillaume.defla...@ibwag.com wrote: Now got committed in trunk thanks to cyrus (see https://dev.openwrt.org/changeset/42022)! Now hoping it will also make it into the Barrier Breaker release. Well, thank you all for the efforts :) Regards.

[OpenWrt-Devel] [PATCH] package: fix segfault of iwinfo.scanlist(radio0).

2014-08-08 Thread Yousong Zhou
because nl80211_msg() will put an invalid ifidx 0 to the nlmsg. Then iwinfo_ifup() and iwinfo_ifdown() would fail and happily nl80211_get_scanlist() returned 0 and left *len undefined. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/network/utils/iwinfo/src/iwinfo_lua.c |2

Re: [OpenWrt-Devel] /sbin/hotplug-call iface event never fired

2014-08-10 Thread Yousong Zhou
On Aug 10, 2014 8:43 PM, Weiwu Zhang zhangwe...@realss.com wrote: I found this problem while trying to make ddns work. This command updates ddns: # ACTION=ifup INTERFACE=wan /sbin/hotplug-call iface But: 1) reboot would not update ddns; 2) if ip address changed in a day, ddns would not

[OpenWrt-Devel] [PATCH] mac80211: fix freeing keys for ap iface in ieee80211_do_stop().

2014-08-13 Thread Yousong Zhou
(Hello.\n); 10 /* Won't fall through */ 11 case 2: 12 printf(World.\n); 13 } Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- ...ng-keys-for-ap-iface-in-ieee80211-do-stop.patch | 37

Re: [OpenWrt-Devel] [PATCH] mac80211: fix freeing keys for ap iface in ieee80211_do_stop().

2014-08-14 Thread Yousong Zhou
Hi, On 14 August 2014 11:58, Yousong Zhou yszhou4t...@gmail.com wrote: The patch will fix #17506 and squelch the following WARNING from mac80211.ko While the patch does fix the WARNING on HiWiFi HC6361, but after checking with commit history, looks like my patch is a revert of the following

[OpenWrt-Devel] Status of ACS survey with rt2x00 driver using hostapd

2014-08-18 Thread Yousong Zhou
Hi, I am trying to get ACS working on my available devices. What I have noticed is that the command `iw phy phy0 survey dump` returned different result between HiWiFi HC6361 which uses ath9k driver and a MT7620A based device using rt2x00 driver. On HC6361, the command displayed statistics for

Re: [OpenWrt-Devel] [PATCH] ar71xx: make LED names for EnGenius routers follow convention

2014-08-20 Thread Yousong Zhou
On 21 August 2014 06:45, Forest Crossman cyro...@gmail.com wrote: Signed-off-by: Forest Crossman cyro...@gmail.com --- target/linux/ar71xx/base-files/etc/diag.sh| 4 ++-- target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 8

[OpenWrt-Devel] [RFC] mac80211: fix freeing keys for ap iface in ieee80211_do_stop().

2014-08-21 Thread Yousong Zhou
The patch will fix #17506 and squelch the following WARNING from mac80211.ko [ 203.77] [ cut here ] [ 203.77] WARNING: at

Re: [OpenWrt-Devel] Status of ACS survey with rt2x00 driver using hostapd

2014-08-21 Thread Yousong Zhou
Answering my own question. On 18 August 2014 21:27, Yousong Zhou yszhou4t...@gmail.com wrote: Hi, I am trying to get ACS working on my available devices. What I have noticed is that the command `iw phy phy0 survey dump` returned different result between HiWiFi HC6361 which uses ath9k

Re: [OpenWrt-Devel] Status of ACS survey with rt2x00 driver using hostapd

2014-08-21 Thread Yousong Zhou
Hi, Helmut On 22 August 2014 04:56, Helmut Schaa helmut.sc...@googlemail.com wrote: Your observation is correct, rt2x00 only returns survey data for the current channel. I also thought about doing the same approach as ath9k but duplicating the code seems not reasonable. It might make more

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

2014-08-24 Thread Yousong Zhou
[ 24.25] [83164078] rt2800_conf_tx+0x3c8/0x494 [rt2800lib] [ 24.26] [ 24.26] ---[ end trace ff7bf97509953be2 ]--- Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- .../921-rt2x00-fix-beacon-bit-balance.patch| 50 1 file changed, 50

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

2014-08-25 Thread Yousong Zhou
Hi, John On 25 August 2014 14:24, John Crispin blo...@openwrt.org wrote: Hi, On 25/08/2014 05:29, Yousong Zhou wrote: +-/* +-* Upload beacon to the H/W. This is only required on +- * USB devices. PCI devices fetch beacons

Re: [OpenWrt-Devel] Including git revision commit hash and svn revision id on release announcement.

2014-08-27 Thread Yousong Zhou
On 28 August 2014 11:11, Alive4Ever alive4e...@live.com wrote: Hello developers. Probably you are annoyed by people asking which revision is Barrier Breaker RC3 or similar, because they want to be able to compile the specific release theirselves. To address this issue, I think it would be

[OpenWrt-Devel] [RFC] imx6: fix image build for Generic profile.

2014-09-08 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- I do not own a board that can run imx6 target firmware, but this patch has been compile tested by myself and aandrew in #openwrt. target/linux/imx6/image/Makefile | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff

Re: [OpenWrt-Devel] [PATCH] [RESEND] ar71xx: add qihoo 360 c301 router support

2014-09-11 Thread Yousong Zhou
Hi, Weijie On 11 September 2014 17:58, Weijie Gao hackpas...@gmail.com wrote: Qihoo 360 C301 is a dual band wireless router supports 802.11n and 802.11ac. Its chipset is AR9344 + AR9882 with two 16MB flashes. This patch adds its initial support. Cool, Signed-off-by: Weijie Gao

Re: [OpenWrt-Devel] couple questions about downloading for a new build

2014-09-11 Thread Yousong Zhou
On 11 September 2014 20:30, Robert P. J. Day rpj...@crashcourse.ca wrote: first, i created a local mirror with all the tarballs i downloaded during an earlier build, and configured a new build to use that, and i noticed that the download operation *copied* over the tarballs into the dl/

Re: [OpenWrt-Devel] couple questions about downloading for a new build

2014-09-11 Thread Yousong Zhou
On 11 September 2014 21:12, Robert P. J. Day rpj...@crashcourse.ca wrote: On Thu, 11 Sep 2014, Yousong Zhou wrote: On 11 September 2014 20:30, Robert P. J. Day rpj...@crashcourse.ca wrote: first, i created a local mirror with all the tarballs i downloaded during an earlier build

[OpenWrt-Devel] [PATCH v3] dnsmasq: allow de-selecting features from -full variant.

2014-09-17 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- v2 - v3 - Let the kconfig menu items depend on actual build variant selected. - Make features of -full variant selectable. v1 - v2 Rebase it on the lastest trunk. package/network/services/dnsmasq/Makefile | 26

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

2014-09-17 Thread Yousong Zhou
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 --- I can make this a standalone package (maybe in packages feeds) if that is more

Re: [OpenWrt-Devel] [PATCH][RESEND.3] ar71xx:stops qihoo c301 booting into backup firmware

2014-09-22 Thread Yousong Zhou
On 2014/9/20 17:18, swigger wrote: Openwrt recently adds Qihoo [NYSE:QIHU] C301 router support. However, this router has a backup firmware in the second flash and the current trunk can only boot 3 times before u-boot boots into that backup firmware. This is a stratgy for unbricking. This

Re: [OpenWrt-Devel] [PATCH][RESEND.3] ar71xx:stops qihoo c301 booting into backup firmware

2014-09-22 Thread Yousong Zhou
Just got the device... Wow On 22 September 2014 15:47, swigger swig...@gmail.com wrote: Well, it's a good idea. But I don't know how to create a wiki page. QIhoo 360 C301 (http://luyou.360.cn/parameter.html, Simplified Chinese ONLY), has two 16M flash. The first flash is full functional,

[OpenWrt-Devel] [PATCH] ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.

2014-09-22 Thread Yousong Zhou
|imagemaxtry=3.im| 0050 61 67 65 31 74 72 79 6e 75 6d 3d 30 00 00 00 00 |age1trynum=0| 0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/boot/uboot-envtools/files/ar71xx |3

Re: [OpenWrt-Devel] [PATCH][RESEND.3] ar71xx:stops qihoo c301 booting into backup firmware

2014-09-22 Thread Yousong Zhou
On 22 September 2014 16:42, swigger swig...@gmail.com wrote: NO, not seama. Seama is only a container, not an encrypted format. The original OEM firmware is encrypted by AES ECB mode and have a RSA-1024 signuature. The aes key is base64_decode(lbhySwdj31NGnuebNn9FmQ==); The oem's upgrade

Re: [OpenWrt-Devel] 答复: [PATCH] ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.

2014-09-22 Thread Yousong Zhou
if /etc/fw_env.config was created correctly. regards yousong -邮件原件- 发件人: Yousong Zhou [mailto:yszhou4t...@gmail.com] 发送时间: 2014年9月14日 8:28 收件人: blo...@openwrt.org 抄送: swig...@gmail.com; hackpas...@gmail.com; gch981...@gmail.com; openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] On support status of OpenWrt for Qihoo C301

2014-09-23 Thread Yousong Zhou
On 23 September 2014 23:54, Weijie Gao hackpas...@gmail.com wrote: Hi, The gap is not used in official firmware, so it is okay not to keep the gap. Yeah, I checked the content of that segment when using OEM firmware with md 0x9ff7 and found it was almost all filled with 0xff. The seama

[OpenWrt-Devel] [RFC] ar71xx: fix seama factory type image generation.

2014-09-24 Thread Yousong Zhou
Currently JFFS2 end-of-filesystem marker 0xdeadc0de is included the computation of image's MD5 checksum as part of the seama header. But OpenWrt will erase blocks including and after the marker thus invalidating the checksum after the first boot. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com

Re: [OpenWrt-Devel] On support status of OpenWrt for Qihoo C301

2014-09-24 Thread Yousong Zhou
On 24 September 2014 12:10, swigger swig...@gmail.com wrote: I think they are in parallel connection, you can have a look at the circuit. i cannot see it from the circuit. but i do believe that it's more likely that only 2 GPIOs are used to drive the leds. anyway, there is only one window for

Re: [OpenWrt-Devel] wireless scan/add functioning wrong on my MTK7620n board

2014-09-24 Thread Yousong Zhou
On 25 September 2014 12:06, 张钊 formywillcan...@gmail.com wrote: I’ve built a firmware from git.openwrt.org/openwrt.git known as CHAOS CALMER (Bleeding Edge, r42657) for my MTK7620n board, it works well except this weird problem. When I enable wifi, then trying to use iw dev wlan0 scan or

Re: [OpenWrt-Devel] missing debootstrap-udeb_1.0.61_all.udeb

2014-09-27 Thread Yousong Zhou
hi On 27 September 2014 05:44, Robert P. J. Day rpj...@crashcourse.ca wrote: Download failed. --2014-09-26 17:31:12-- http://downloads.openwrt.org/sources/debootstrap-udeb_1.0.61_all.udeb should this exist somewhere? It should try first the URL as specified in the package Makefile. But

Re: [OpenWrt-Devel] desperately seeking info on this weird MT7620A/MT7610EN dev board

2014-10-08 Thread Yousong Zhou
On Oct 8, 2014 4:33 PM, Robert P. J. Day i'm looking at this page: http://www.cleanrouter.com/home/product and the processor is shown as an atheros AR7161, though. also, the pandoras hope router apparently has 4 wired ports, and this board has only two. at the risk of abusing this mailing

Re: [OpenWrt-Devel] desperately seeking info on this weird MT7620A/MT7610EN dev board

2014-10-08 Thread Yousong Zhou
On 9 October 2014 01:27, Robert P. J. Day rpj...@crashcourse.ca wrote: i can't even get to the page in [1], and the router in [2] is listed as based on AR9331, not MT7620A, so i'm fairly sure that can't be it. i'll keep trying the first link. Yes, HC6361 is AR9331 based. It is said that

Re: [OpenWrt-Devel] [PATCH] ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.

2014-10-08 Thread Yousong Zhou
On 7 October 2014 02:33, John Crispin blo...@openwrt.org wrote: On 14/09/2014 02:27, Yousong Zhou wrote: Qihoo C301 has 2 flash chips of which one is used as primary and the other is used as backup. OEM U-Boot will try to boot an activeregion N with imageNstatus=0 and imageNtrynum

Re: [OpenWrt-Devel] [PATCH] ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.

2014-10-11 Thread Yousong Zhou
On 9 October 2014 16:32, John Crispin blo...@openwrt.org wrote: Hi Yousong thanks for clarifying. i would prefer to use the uboot-envtools version that you sent a patch for unless there are any technical reasons to use the kernel based patch. I take `/etc/init.d/done` as a better indication

Re: [OpenWrt-Devel] Help, how to troubleshoot openwrt crash(reboot)

2014-10-12 Thread Yousong Zhou
On Oct 12, 2014 2:41 AM, document caoxi...@gmail.com wrote: hi, how to troubleshoot openwrt crash(reboot) ? i have openvpn-2.3.2 installed from opkg but when i manually start it about 1min passed, router (openwrt-12.09) will reboot. when i enabled openvpn service on startup, router will

[OpenWrt-Devel] [PATCH 1/4] firmware-utils: fix compilation warnings.

2014-10-17 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- tools/firmware-utils/src/buffalo-tftp.c |2 -- tools/firmware-utils/src/mkrtn56uimg.c |8 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/tools/firmware-utils/src/buffalo-tftp.c b/tools/firmware-utils/src

[OpenWrt-Devel] [PATCH 2/4] build: add $(STAGING_DIR_HOST)/usr/{include, lib} to build search path.

2014-10-17 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- rules.mk |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.mk b/rules.mk index c9efb9e..f44e8ed 100644 --- a/rules.mk +++ b/rules.mk @@ -187,9 +187,9 @@ export PKG_CONFIG HOSTCC:=gcc HOSTCXX:=g

[OpenWrt-Devel] [PATCH 3/4] openssl: add host build.

2014-10-17 Thread Yousong Zhou
Only support Linux at the moment. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/libs/openssl/Makefile | 56 + 1 file changed, 56 insertions(+) diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile index 0c42362

[OpenWrt-Devel] [PATCH 4/4] firmware-utils: restore compilation of mkhilinkfw.

2014-10-17 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- target/linux/ramips/image/Makefile |2 +- tools/Makefile |1 + tools/firmware-utils/Makefile |4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/target/linux/ramips/image/Makefile b

[OpenWrt-Devel] [PATCH 1/3] ar71xx: add comments for Image/BuildLoader{, Alone}.

2014-10-17 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- target/linux/ar71xx/image/Makefile | 17 + 1 file changed, 17 insertions(+) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 78e2d70..a382f3a 100644 --- a/target/linux/ar71xx/image

[OpenWrt-Devel] [PATCH 3/3] ar71xx: unify usage of IMAGE_PROFILE instead of PROFILE.

2014-10-17 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- target/linux/ar71xx/image/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index a382f3a..f0e6586 100644 --- a/target/linux/ar71xx/image

[OpenWrt-Devel] [PATCH 2/3] ramips: add comments for image/Makefile.

2014-10-17 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- target/linux/ramips/image/Makefile | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index f048caf..b390467 100644 --- a/target

Re: [OpenWrt-Devel] [PATCHv2] [netifd/scripts] make netifd scripts recognize signal strings such as INT/TERM/KILL/... signal in proto_kill_command()

2014-10-18 Thread Yousong Zhou
Am 16.10.2014 14:59 schrieb Bastian Bittorf bitt...@bluebottle.com: [netifd/scripts] make netifd scripts recognize signal strings such as INT/TERM/KILL/... instead of let the caller do the conversion of symbolic to numeric (e.g. SIGUSR1 - 16), do the conversion internally - the old mode

Re: [OpenWrt-Devel] [PATCHv2] [netifd/scripts] make netifd scripts recognize signal strings such as INT/TERM/KILL/... signal in proto_kill_command()

2014-10-18 Thread Yousong Zhou
Am 18.10.2014 23:58 schrieb Bastian Bittorf bitt...@bluebottle.com: * Yousong Zhou yszhou4t...@gmail.com [18.10.2014 17:58]: + signal=$( kill -l $signal ) the quotes may not work... they work and you should always quote a var, unless you are really sure

Re: [OpenWrt-Devel] [PATCH 4/4] firmware-utils: restore compilation of mkhilinkfw.

2014-10-20 Thread Yousong Zhou
Hi, Felix On 20 October 2014 16:28, Felix Fietkau n...@openwrt.org wrote: On 2014-10-17 11:58, Yousong Zhou wrote: diff --git a/tools/Makefile b/tools/Makefile index 5629251..9879be1 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -72,6 +72,7 @@ $(curdir)/b43-tools/compile := $(curdir

Re: [OpenWrt-Devel] [PATCH 4/4] firmware-utils: restore compilation of mkhilinkfw.

2014-10-21 Thread Yousong Zhou
Hi, John, Felix On 20 October 2014 17:24, Yousong Zhou yszhou4t...@gmail.com wrote: Hi, Felix On 20 October 2014 16:28, Felix Fietkau n...@openwrt.org wrote: On 2014-10-17 11:58, Yousong Zhou wrote: diff --git a/tools/Makefile b/tools/Makefile index 5629251..9879be1 100644 --- a/tools

Re: [OpenWrt-Devel] Configuring OVS on OpenWRT

2014-11-20 Thread Yousong Zhou
On 21 November 2014 10:03, Yilun Zhou yilun.z...@duke.edu wrote: Hi, I have installed OVS on my router and I want to connect it with a Floodlight controller. The IP address of the laptop on which Floodlight is running is 192.168.1.161 and Floodlight is running on port 6633. Here is what I am

[OpenWrt-Devel] [PATCH 0/4] Add multi-line option value support to UCI config file parser.

2014-11-24 Thread Yousong Zhou
scattered here and there. [1] see `append_params()` in package/network/services/openvpn/files/openvpn.init Yousong Zhou (4): Drop test cases for deprecated ucimap-example. Sync ref test result with current implementation. Use offset into parser buffer to avoid potential heap overflow. Add

[OpenWrt-Devel] [PATCH 1/4] Drop test cases for deprecated ucimap-example.

2014-11-24 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- test/tests.d/060-ucimap_example |9 - 1 file changed, 9 deletions(-) delete mode 100644 test/tests.d/060-ucimap_example diff --git a/test/tests.d/060-ucimap_example b/test/tests.d/060-ucimap_example deleted file mode 100644

[OpenWrt-Devel] [PATCH 2/4] Sync ref test result with current implementation.

2014-11-24 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- test/references/export.result | 10 +- test/references/import.result |8 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/references/export.result b/test/references/export.result index 957e687

[OpenWrt-Devel] [PATCH 3/4] Use offset into parser buffer to avoid potential heap overflow.

2014-11-24 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- delta.c| 15 +++- file.c | 216 +++- uci_internal.h |8 ++- util.c | 11 +-- 4 files changed, 147 insertions(+), 103 deletions(-) diff --git a/delta.c b

[OpenWrt-Devel] [PATCH 4/4] Add test coverage for multi-line option value.

2014-11-24 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- test/references/add_section.result |2 +- test/references/export.data|7 ++- test/references/export.result |5 + test/references/get_multiline.data

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

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

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

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

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

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

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

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

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

  1   2   3   4   5   6   7   8   >