Re: [LEDE-DEV] Speedport W504V | ARV8539PW22 - gets very hot !

2016-10-01 Thread Dennis Schneck
  thanks a lot, i will get a thermometer and measure it       Gesendet: Samstag, 01. Oktober 2016 um 20:33 Uhr Von: "Sebastian Moeller" An: "Dennis Schneck" , "Oswald Buddenhagen" Cc: lede-dev@lists.infradead.org Betreff: Re: [LEDE-DEV] Speedport W504V | ARV8539PW22 - gets very hot ! Hi All,

Re: [LEDE-DEV] [patch master 10/15] quote literal {

2016-10-01 Thread Jan-Tarek Butt
Hi On 10/01/16 10:57, Oswald Buddenhagen wrote: > On Sat, Oct 01, 2016 at 12:30:22AM +0200, Lars Kruse wrote: >> Am Fri, 30 Sep 2016 22:02:24 +0200 schrieb Jan-Tarek Butt : >> >>> --- >>> scripts/getver.sh | 4 ++-- >>> 1 file changed, 2 insertions(+), 2 deletions(-) >>> >>> diff --git a/scripts/

[LEDE-DEV] [PATCH v2] Use $(..) instead of legacy `..`

2016-10-01 Thread Jan-Tarek Butt
--- scripts/deptest.sh | 4 ++-- scripts/gen-dependencies.sh | 4 ++-- scripts/ipkg-make-index.sh | 4 ++-- scripts/mkits.sh| 4 ++-- scripts/patch-kernel.sh | 2 +- scripts/strip-kmod.sh | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/scrip

Re: [LEDE-DEV] Patches to web

2016-10-01 Thread Marvin Arnold
Thanks, done FYI. https://github.com/lede-project/web/pull/37 On 09/29/2016 04:14 AM, Mathias Kresin wrote: > 2016-09-29 4:26 GMT+02:00 Marvin Arnold : >> I'd like to make a small pull-request to the `web` repo. But I don't >> quite understand the instructions online. >> >> From what I can tell,

[LEDE-DEV] [PATCH v2] Quote to prevent word splitting

2016-10-01 Thread Jan-Tarek Butt
--- scripts/combined-ext-image.sh | 2 +- scripts/combined-image.sh | 2 +- scripts/ext-toolchain.sh | 8 scripts/strip-kmod.sh | 1 + 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/scripts/combined-ext-image.sh b/scripts/combined-ext-image.sh index 0d7fde

[LEDE-DEV] [PATCH v2] redirect matters, the 2>&1 has to be last.

2016-10-01 Thread Jan-Tarek Butt
--- scripts/make-ipkg-dir.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/make-ipkg-dir.sh b/scripts/make-ipkg-dir.sh index 529e430..ba1a8df 100755 --- a/scripts/make-ipkg-dir.sh +++ b/scripts/make-ipkg-dir.sh @@ -8,10 +8,10 @@ ARCH=$4 WD=$(pwd) mkdir -p "$

[LEDE-DEV] [PATCH v2] Use cd ... || exit in case cd fails

2016-10-01 Thread Jan-Tarek Butt
--- scripts/clean-package.sh | 1 + scripts/deptest.sh | 4 ++-- scripts/ext-toolchain.sh | 12 ++-- scripts/get_source_date_epoch.sh | 4 +++- scripts/getver.sh| 4 +++- scripts/patch-specs.sh | 2 +- scripts/sysupgrade-tar.sh

Re: [LEDE-DEV] [patch master 05/15] Use cd ... || exit in case cd fails

2016-10-01 Thread Alberto Bursi
On 10/01/2016 09:43 PM, Jan-Tarek Butt wrote: > Hi, > > On 10/01/16 10:54, Felix Fietkau wrote: >> On 2016-10-01 09:44, Oswald Buddenhagen wrote: >>> On Fri, Sep 30, 2016 at 10:02:19PM +0200, Jan-Tarek Butt wrote: diff --git a/scripts/get_source_date_epoch.sh b/scripts/get_source_date_

Re: [LEDE-DEV] [LEDE DEV][wiki] Login with github

2016-10-01 Thread Martin Tippmann
On Sat, Oct 1, 2016 at 5:25 PM, Thomas Endt wrote: > IIRC it was Martin who proposed to use oAuth to log in to the wiki with > github credentials. > > I installed the oAuth plugin (https://www.dokuwiki.org/plugin:oauth) for > this purpose and created an oAuth application with my github account for

Re: [LEDE-DEV] [patch master 05/15] Use cd ... || exit in case cd fails

2016-10-01 Thread Jan-Tarek Butt
Hi, On 10/01/16 10:54, Felix Fietkau wrote: > On 2016-10-01 09:44, Oswald Buddenhagen wrote: >> On Fri, Sep 30, 2016 at 10:02:19PM +0200, Jan-Tarek Butt wrote: >>> diff --git a/scripts/get_source_date_epoch.sh >>> b/scripts/get_source_date_epoch.sh >>> -[ -n "$TOPDIR" ] && cd "$TOPDIR" >>> +[ -n

Re: [LEDE-DEV] [patch master 05/15] Use cd ... || exit in case cd fails

2016-10-01 Thread Jan-Tarek Butt
On 10/01/16 00:05, Lars Kruse wrote: > Hi, > > > Am Fri, 30 Sep 2016 22:02:19 +0200 > schrieb Jan-Tarek Butt : > > >> diff --git a/scripts/clean-package.sh b/scripts/clean-package.sh >> index 5cae341..9efcac5 100755 >> --- a/scripts/clean-package.sh >> +++ b/scripts/clean-package.sh >> @@ -8,

[LEDE-DEV] Lantiq XRX200, BtHomeHub5a unreliable NAND/UBIFS

2016-10-01 Thread Jonathan McHugh
Hi all, Having lots of issues with UBIFS corruption on this router when writing files to the internal NAND. Its works very well and is very reliable until you try writing to the filesystem. [ 394.475650] UBIFS error (ubi0:1 pid 2444): do_readpage: cannot read page 0 of inode 321, error -22 [

[LEDE-DEV] mailman force using ssl

2016-10-01 Thread Jan-Tarek Butt
Hi, I reconize that mailman does not redirect automaticaly to ssl Maybe we can change it? Also the default settings sends a password remembering every month. cheers Tarek signature.asc Description: OpenPGP digital signature ___ Lede-dev mailing list

[LEDE-DEV] [PATCH 2/2] ar71xx: add support for the Airtight C-60

2016-10-01 Thread Christian Lamparter
This patch adds support for the Airtight C-60. SOC:Atheros AR9344 rev 2 (CPU:560.000MHz) RAM:128 MiB NOR:MX25L3205D 4MiB NAND: ST Micro NAND 32MiB 3,3V 8-bit SW-NET: AR8327N (2 Ports) WLAN1: Dual-Band AR9340 Rev:2 (built-in SoC) WLAN2: Dual-Band AR9300 Rev:4 PCIe Chip The switch i

[LEDE-DEV] [PATCH 1/2] generic: ar8216: fix ar8xxx_is_possible check

2016-10-01 Thread Christian Lamparter
The commit "generic: ar8216: add sanity check to ar8216_probe" (774da6c7a40320a320b28d71291c0e61fcf7bc8a) stated that PHY IDs should be checked at address 0-4. However, the PHY 4 was never check by the for loop... And I can't find any documents about why this check should be performed the way it is

Re: [LEDE-DEV] Build ar71xx / 4MB with IPv6, Luci, OpenVPN (PolarSSL), Command, Watchcat, relay and printk without debug ?

2016-10-01 Thread Daniel Petre
On 10/01/2016 02:06 AM, Lars Kruse wrote: Hello Daniel, Am Fri, 30 Sep 2016 18:39:39 +0300 schrieb Daniel Petre : CONFIG_TARGET_ROOTFS_SQUASHFS=y CONFIG_TARGET_SQUASHFS_BLOCK_SIZE=256 You could try setting the blocksize to 1024 - this should make a noticeable difference as squashfs can compr

[LEDE-DEV] [LEDE DEV][wiki] Login with github

2016-10-01 Thread Thomas Endt
IIRC it was Martin who proposed to use oAuth to log in to the wiki with github credentials. I installed the oAuth plugin (https://www.dokuwiki.org/plugin:oauth) for this purpose and created an oAuth application with my github account for testing purposes. Since the owner of the application is sho

[LEDE-DEV] [patch master 01/15 v2] Double quote to prevent globbing and word splitting

2016-10-01 Thread Jan-Tarek Butt
--- scripts/arm-magic.sh | 11 ++- scripts/clean-package.sh | 2 +- scripts/combined-ext-image.sh| 10 +- scripts/combined-image.sh| 2 +- scripts/deptest.sh | 12 ++-- scripts/ext-toolchain.sh | 15 --- sc

Re: [LEDE-DEV] Speedport W504V | ARV8539PW22 - gets very hot !

2016-10-01 Thread Dennis Schneck
  >define "very hot".   i can not measure it i feels more than 50 degrees     Gesendet: Samstag, 01. Oktober 2016 um 14:24 Uhr Von: "Oswald Buddenhagen" An: lede-dev@lists.infradead.org Betreff: Re: [LEDE-DEV] Speedport W504V | ARV8539PW22 - gets very hot ! On Sat, Oct 01, 2016 at 12:49:49PM +0

Re: [LEDE-DEV] [wiki]Wiki structure proposals and some questions

2016-10-01 Thread Rich Brown
I posted some thoughts about how the wiki navigation might work on the ToDo page at: https://wiki.lede-project.org/talk:to_do_list Comments please! Rich ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinf

Re: [LEDE-DEV] Speedport W504V | ARV8539PW22 - gets very hot !

2016-10-01 Thread Oswald Buddenhagen
On Sat, Oct 01, 2016 at 12:49:49PM +0200, Dennis Schneck wrote: > I have a Speedport W504V | ARV8539PW22, but i gets very hot (without > doing anything, only power on some minutes). > define "very hot". the box has a power consumption of around 5w when the dsl connection is down, and goes up to alm

Re: [LEDE-DEV] Speedport W504V | ARV8539PW22 - How to Configure vDSL2 with VLANID ?

2016-10-01 Thread Martin Blumenstingl
On Sat, Oct 1, 2016 at 12:38 PM, Dennis Schneck wrote: > > Hello, > i have a Speedport W504V | ARV8539PW22 with LEDE. the subject says VDSL2 - that device however only has an ADSL modem (instead of a VDSL modem) AFAIK. On Sat, Oct 1, 2016 at 12:38 PM, Dennis Schneck wrote: > > Hello, > i have a

[LEDE-DEV] Speedport W504V | ARV8539PW22 - gets very hot !

2016-10-01 Thread Dennis Schneck
Hi, I have a Speedport W504V | ARV8539PW22, but i gets very hot (without doing anything, only power on some minutes). Using LEDE Firmware and the original Power Supply. How to detect the problem ? Thanks   ___ Lede-dev mailing list Lede-dev@lists.infra

[LEDE-DEV] Speedport W504V | ARV8539PW22 - How to Configure vDSL2 with VLANID ?

2016-10-01 Thread Dennis Schneck
  Hello, i have a Speedport W504V | ARV8539PW22 with LEDE.   I need to configure VLANID 135 and DHCP to get IP from my Provider.     For a o2 box 6431 it works like this:   /etc/config/network   config interface 'wan' option ifname 'ptm0.135' option proto 'dhcp' option dele

[LEDE-DEV] [wiki] Creation of discussion pages simplified

2016-10-01 Thread Thomas Endt
To make it easier to create discussion pages and post comments on wiki pages, I implemented a namespace template for the talk: namespace. To create a new discussion regarding a wiki page * just click on "discussion" * then "create this page" * then save it without any edits. A nice discussi

Re: [LEDE-DEV] [patch master 15/15] read without -r will mangle backslashes

2016-10-01 Thread Oswald Buddenhagen
re subject: many of your commit message summaries don't comply with the imperative style generally expected. in the descriptions, you should mention what "terrible" things the patches prevent in practice, including when the answer is "nothing" and thus the change is just a clarification. ___

Re: [LEDE-DEV] [patch master 11/15] Consider using { cmd1; cmd2; } >> file instead of individual redirects

2016-10-01 Thread Oswald Buddenhagen
On Fri, Sep 30, 2016 at 10:02:25PM +0200, Jan-Tarek Butt wrote: > diff --git a/scripts/config/lxdialog/check-lxdialog.sh > b/scripts/config/lxdialog/check-lxdialog.sh > - echo " *** Unable to find the ncurses libraries or the" 1>&2 > - echo " *** required header files."

Re: [LEDE-DEV] Automated shell code debugging

2016-10-01 Thread Jan-Tarek Butt
Hi, On 10/01/16 01:00, Lars Kruse wrote: > Am Sat, 1 Oct 2016 00:11:23 +0200 > schrieb Martin Tippmann : > >> [..] >> I'm not a shell pro but I found it very difficult to impossible to >> write something that passes without any hints/errors. >> >> There is a way to avoid this by using special com

Re: [LEDE-DEV] [patch master 14/15] Expressions don't expand in single quotes, use double quotes for that

2016-10-01 Thread Oswald Buddenhagen
On Sat, Oct 01, 2016 at 12:49:23AM +0200, Lars Kruse wrote: > I think, this is just a change based on style preferences, or? > Using single quotes specifically for situation where expansion is not intended > feels quite explicite and clear to me - thus personally I would prefer to > stick > with s

Re: [LEDE-DEV] [patch master 13/15] To read lines rather than words, pipe/redirect to a 'while read' loop

2016-10-01 Thread Oswald Buddenhagen
On Sat, Oct 01, 2016 at 12:44:36AM +0200, Lars Kruse wrote: > Am Fri, 30 Sep 2016 22:02:27 +0200 schrieb Jan-Tarek Butt : > > > --- > > scripts/deptest.sh | 8 > > 1 file changed, 4 insertions(+), 4 deletions(-) > > > > diff --git a/scripts/deptest.sh b/scripts/deptest.sh > > index 8c85

Re: [LEDE-DEV] [patch master 00/15] shell code improvement for /scripts

2016-10-01 Thread Jan-Tarek Butt
Hi Alberto, On 09/30/16 23:02, Alberto Bursi wrote: > I'm suspecting he did use shellcheck.net (or its local version, > shellcheck) to find the errors. > > That's a great tool to find all dumb mistakes and bad practices in scripts. > > It's also opensource: > > https://github.com/koalaman/shel

Re: [LEDE-DEV] [patch master 12/15] use * instead of @ to concatenate

2016-10-01 Thread Oswald Buddenhagen
On Sat, Oct 01, 2016 at 12:37:24AM +0200, Lars Kruse wrote: > Am Fri, 30 Sep 2016 22:02:26 +0200 schrieb Jan-Tarek Butt : > > > - cc="$@" > > + cc="$*" > > as far as I understand $* and $@, there should be no difference in this > context, or? > which is exactly the reason to

Re: [LEDE-DEV] [patch master 10/15] quote literal {

2016-10-01 Thread Oswald Buddenhagen
On Sat, Oct 01, 2016 at 12:30:22AM +0200, Lars Kruse wrote: > Am Fri, 30 Sep 2016 22:02:24 +0200 schrieb Jan-Tarek Butt : > > > --- > > scripts/getver.sh | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/scripts/getver.sh b/scripts/getver.sh > > index f8b4ed3..27

Re: [LEDE-DEV] [patch master 08/15] Use $(..) instead of legacy `..`

2016-10-01 Thread Oswald Buddenhagen
On Fri, Sep 30, 2016 at 10:02:22PM +0200, Jan-Tarek Butt wrote: > diff --git a/scripts/deptest.sh b/scripts/deptest.sh > - for pkg in `cat tmp/.packagedeps | grep CONFIG_PACKAGE | grep -v > curdir | sed -e 's,.*[/=]\s*,,' | sort -u`; do > + for pkg in $(cat tmp/.packagedeps | grep CONFIG

Re: [LEDE-DEV] [patch master 05/15] Use cd ... || exit in case cd fails

2016-10-01 Thread Felix Fietkau
On 2016-10-01 09:44, Oswald Buddenhagen wrote: > On Fri, Sep 30, 2016 at 10:02:19PM +0200, Jan-Tarek Butt wrote: >> diff --git a/scripts/get_source_date_epoch.sh >> b/scripts/get_source_date_epoch.sh >> -[ -n "$TOPDIR" ] && cd "$TOPDIR" >> +[ -n "$TOPDIR" ] && cd "$TOPDIR" || exit >> diff --git a/

Re: [LEDE-DEV] [patch master 05/15] Use cd ... || exit in case cd fails

2016-10-01 Thread Oswald Buddenhagen
On Sat, Oct 01, 2016 at 12:05:16AM +0200, Lars Kruse wrote: > Am Fri, 30 Sep 2016 22:02:19 +0200 schrieb Jan-Tarek Butt : > > - libdirs="$libdirs $(cd "$libdir"; pwd)/" > > + libdirs="$libdirs $(cd "$libdir" || exit; > > pwd)/" fi > > I am not su

Re: [LEDE-DEV] [patch master 05/15] Use cd ... || exit in case cd fails

2016-10-01 Thread Oswald Buddenhagen
On Fri, Sep 30, 2016 at 10:02:19PM +0200, Jan-Tarek Butt wrote: > diff --git a/scripts/get_source_date_epoch.sh > b/scripts/get_source_date_epoch.sh > -[ -n "$TOPDIR" ] && cd "$TOPDIR" > +[ -n "$TOPDIR" ] && cd "$TOPDIR" || exit > diff --git a/scripts/getver.sh b/scripts/getver.sh > -[ -n "$TOPDIR

Re: [LEDE-DEV] [patch master 01/15] Double quote to prevent globbing and word splitting

2016-10-01 Thread Oswald Buddenhagen
On Fri, Sep 30, 2016 at 11:50:09PM +0200, Lars Kruse wrote: > Am Fri, 30 Sep 2016 22:02:15 +0200 schrieb Jan-Tarek Butt : > > - for pattern in $(eval echo $spec); do > > - find $libdirs -name "$pattern.so*" | sort -u > > + for pattern in $(eval echo "$spec"); d