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 2

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

2014-03-26 Thread Yousong Zhou
Hi, On 26 March 2014 20:56, Zhang Weiwu 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 works fine. > >

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

2014-03-26 Thread Yousong Zhou
Hi, On 26 March 2014 21:07, Yousong Zhou wrote: > Hi, > > On 26 March 2014 20:56, Zhang Weiwu 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 &

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

2014-03-29 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- 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 100644 --- a/target

[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 --- package/network/services/dropbear/Makefile |2 +- .../network/services/dropbear/files/dropbear.init |6 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a

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

Re: [OpenWrt-Devel] public ssh key

2014-03-31 Thread Yousong Zhou
Hello, Flavio On 1 April 2014 08:41, Flavio Rodrigo LEonel 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 into /etc/dro

Re: [OpenWrt-Devel] public ssh key

2014-03-31 Thread Yousong Zhou
Hi, On 1 April 2014 09:04, Flavio Rodrigo LEonel wrote: > > but before this process the AP report error public key invalid Is that error comes from the log by dropbear? Then you may want to provide the detailed error information if that is okay. I used public key authentication with dropbear

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

2014-04-13 Thread Yousong Zhou
] has been 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 p

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

2014-04-13 Thread Yousong Zhou
wered by a USB cable. Signed-off-by: Yousong Zhou --- 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 insert

[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 --- 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 |3 +++ .../ar71xx

[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 --- 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/generic/profiles

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

2014-04-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- .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-packages -*.orig -*.rej

[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 --- package/base-files/Makefile|2 +- package/base-files/files/etc/rc.common |4 2 files changed, 1 insertions(+), 5 deletions(-)

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

2014-04-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- 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/Makefile b/package

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

2014-04-23 Thread Yousong Zhou
$HOME set 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 --- package/network/services/ppp/files/ppp.sh | 51 +

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

2014-04-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- 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 --- a/target/linux/ar71xx

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

2014-04-23 Thread Yousong Zhou
ther. So I will keep it 'acceptunknown'. Cannot find a shorter yet more intuitive name... > > >> Because the protocol script file ppp.sh will be called with $HOME set to >> '/', so we use 'env -u HOME' to let dropbear client to get correct HOME

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

2014-04-23 Thread Yousong Zhou
Hi On 23 April 2014 22:02, Jacek Kikiewicz 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 wrong her

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 wrote: > > > Le 23/04/2014 14:59, Bastian Bittorf a écrit : > >> * Yousong Zhou [23.04.2014 14:53]: >> >> once upon a time 36ea10375db186bf10c13d89bbdc4cfb62bf5fcc, the idea >> was NOT to abort because e.g. the user built

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 wrote: > On 2014-04-23 14:16, Yousong Zhou wrote: >> Signed-off-by: Yousong Zhou > 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 in the final bi

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 wrote: > On Wed, Apr 23, 2014 at 5:38 PM, Yousong Zhou wrote: >> On 23 April 2014 23:23, Felix Fietkau wrote: >>> On 2014-04-23 14:16, Yousong Zhou wrote: >>>> Signed-off-by: Yousong Zhou >>> 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 --- package/base-files/Makefile|2 +- package/base-files/files/etc/rc.common |4 2 files changed, 1 insertions(+), 5 deletions(-)

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

2014-04-23 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- 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 --git a/pack

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

2014-04-23 Thread Yousong Zhou
. OpenSSH 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 --- v1 -> v2 - Use co

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

2014-04-23 Thread Yousong Zhou
. OpenSSH 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 --- v1 -> v2 - Use co

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

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

2014-05-06 Thread Yousong Zhou
Hi, Nathan. On 7 May 2014 13:25, Nathan Hintz 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 when the para

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

2014-05-06 Thread Yousong Zhou
Hi, Nathan. On 7 May 2014 13:24, Nathan Hintz wrote: > > Signed-off-by: Nathan Hintz > --- > 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 changed, 17 insertions(+) > create mo

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

2014-05-07 Thread Yousong Zhou
bear client can read '~/known_hosts' correctly. Signed-off-by: Yousong Zhou --- v1 -> v2 - Use common option names as suggested by jow and nbd. - Default to using ~/.ssh/id_{rsa,dsa} as the identity file. - Set $HOME to correct value for the current user instead of unset it

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

Re: [OpenWrt-Devel] Implementing DNSSEC

2014-05-13 Thread Yousong Zhou
Hi, Erik. On 14 May 2014 11:35, Erik Rigtorp 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 pick up b

[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 --- 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 --- cli.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/cli.c b/cli.

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

2014-05-18 Thread Yousong Zhou
cript 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 --- v1 -> v2 - Use common option names as suggested by jow and nbd. - Defaul

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

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

2014-05-22 Thread Yousong Zhou
or the public key authentication to proceed. >> - ipaddr, local ip address to be assigned. >> - peeraddr, peer ip address to be assigned. >> - ssh_options, extra ssh client options. >> >>Because the protocol script file ppp.sh will be called with $HOME set to >>&#

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

2014-05-22 Thread Yousong Zhou
Hi, Owen and list. On 23 May 2014 01:22, Owen Kirby wrote: > On 14-05-22 06:01 AM, Yousong Zhou wrote: >> I saw that link too when I found the pvpn project. If I understand >> the theory correctly, the problem is mainly that TCP as a >> connection-oriented protocol is n

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

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

2014-05-26 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- 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(-) diff --git a/pack

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

2014-05-31 Thread Yousong Zhou
Hi, On 31 May 2014 16:39, bjzhougong 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 it not the us

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 wrote: > bjzhougong 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 know that before. Than

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

2014-05-31 Thread Yousong Zhou
On 1 June 2014 10:06, bjzhougong 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 `demand >>

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

2014-06-01 Thread Yousong Zhou
demand option enabled? I ask because the PID of pppd remains the same. The log read that the link was once lost (see the "Connection time ..." line), then reconnected. yousong > > Thanks! > > > bjzhougong > > >

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 wrote: > Enabling this compile time option adds a dependency on libnettle. > > Signed-off-by: Andre Heider > --- > package/network/services/dnsmasq/Config.in | 25 + > package/network/services/dnsmasq/Makefile | 10 +- > 2

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

2014-06-15 Thread Yousong Zhou
On 15 June 2014 17:13, Steven Barth 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. There exists ne

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

<    3   4   5   6   7   8