Re: [OpenWrt-Devel] can netifd automatically restart a service?

2015-06-10 Thread Yousong Zhou
On 11 June 2015 at 14:32, Nikos Mavrogiannopoulos wrote: > In issue 574 [0] there is a big discussion of the behavior of > transmission in openwrt. To summarize it: > * By default when transmission downloads, it may crash the router due to > high memory consumption and OOB. That crash may lead to

[OpenWrt-Devel] can netifd automatically restart a service?

2015-06-10 Thread Nikos Mavrogiannopoulos
In issue 574 [0] there is a big discussion of the behavior of transmission in openwrt. To summarize it: * By default when transmission downloads, it may crash the router due to high memory consumption and OOB. That crash may lead to reboot or not. * To avoid that, some memory limitations can be set

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Bruno Randolf
On 06/10/2015 07:46 PM, Bastian Bittorf wrote: > * Yousong Zhou [10.06.2015 20:38]: >>> distributions. This allows packages to install their own scripts into >>> /etc/profile.d/. >> >> IMO, OpenWrt is not like most of other Linux distributions. So what are >> those other packages that need this a

Re: [OpenWrt-Devel] [PATCH 3/3] ppp: Unnumbered support

2015-06-10 Thread Hans Dedecker
On Wed, Jun 10, 2015 at 8:42 PM, Steven Barth wrote: > I just pushed > http://git.openwrt.org/?p=project/netifd.git;a=commit;h=5cf30b59baa03db2448570c78e7e92873555d2ec > (not yet bumped in trunk) which allows generic dependencies to > interfaces by using an empty address, with that you can add a h

Re: [OpenWrt-Devel] [PATCH 3/3] ppp: Unnumbered support

2015-06-10 Thread Steven Barth
I just pushed http://git.openwrt.org/?p=project/netifd.git;a=commit;h=5cf30b59baa03db2448570c78e7e92873555d2ec (not yet bumped in trunk) which allows generic dependencies to interfaces by using an empty address, with that you can add a host dependency and once fulfilled use network_* to get the add

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Bastian Bittorf
* Yousong Zhou [10.06.2015 20:38]: > > distributions. This allows packages to install their own scripts into > > /etc/profile.d/. > > IMO, OpenWrt is not like most of other Linux distributions. So what are > those other packages that need this and the current specific use cases? I agree, that O

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Bastian Bittorf
* Hendrik Lüth [10.06.2015 20:38]: > Weather a script needs to get called in failsafe mode or not depends > on the script, so I'd like to not skip it. no, failsafe is failsafe is failsafe and should do mostly nothing. bye, bastian ___ openwrt-devel mai

Re: [OpenWrt-Devel] x86_64 packages missing

2015-06-10 Thread Jo-Philipp Wich
Hi, the 64 target is now a subtarget of x86, so you can find those packages here: https://downloads.openwrt.org/snapshots/trunk/x86/64/packages/ Basically replace "x86_64" with "x86/64" in your opkg.conf HTH, Jow ___ openwrt-devel mailing list openwr

[OpenWrt-Devel] x86_64 packages missing

2015-06-10 Thread William Haynes
Currently, there is no x86_64 trunk available under downloads.openwrt.org/snapshots/trunk but it was there a few weeks ago. Could those packages be regenerated and put there, so that opkg update works? Thanks!, *William Haynes* ___ openwrt-devel mailing

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Yousong Zhou
On Jun 10, 2015 6:30 PM, "Hendrik Lüth" wrote: > > OpenWrt should support an optinal /etc/profile.d directory like most other Linux > distributions. This allows packages to install their own scripts into > /etc/profile.d/. IMO, OpenWrt is not like most of other Linux distributions. So what are t

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Matthias Schiffer
On 06/10/2015 04:27 PM, Hendrik Lüth wrote: > Am 10.06.2015 um 14:31 schrieb Bastian Bittorf: >> * Matthias Schiffer [10.06.2015 14:26]: >>> Why should errors in these files cause login issues? This is shell and >>> there's no -e, problematic lines will print an error and be skipped. >> i have see

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Hendrik Lüth
Am 10.06.2015 um 14:31 schrieb Bastian Bittorf: * Matthias Schiffer [10.06.2015 14:26]: Why should errors in these files cause login issues? This is shell and there's no -e, problematic lines will print an error and be skipped. i have seen a lot of strange things. think about flash readerrors

Re: [OpenWrt-Devel] [PATCH 3/3] ppp: Unnumbered support

2015-06-10 Thread Steven Barth
> UCI is read as network_get_subnets only returns info for active > interfaces; e.g. if the referred interface in the unnumbered parameter > is down it's not possible to install the host dependency based on the > IP address for the PPP interface. > Did not (yet) find a way to circumvent this iss

Re: [OpenWrt-Devel] [PATCH 3/3] ppp: Unnumbered support

2015-06-10 Thread Hans Dedecker
On Wed, Jun 10, 2015 at 2:03 PM, Steven Barth wrote: > Thanks, I already applied the other two. > > > On 10.06.2015 10:39, Hans Dedecker wrote: >> +ppp_select_ipaddr() >> +{ >> + local interface="$1" >> + local addrs=$(uci_get "network.${interface}.ipaddr") >> + local netmask=$(uci_get

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Bastian Bittorf
* Matthias Schiffer [10.06.2015 14:26]: > Why should errors in these files cause login issues? This is shell and > there's no -e, problematic lines will print an error and be skipped. i have seen a lot of strange things. think about flash readerrors or stack corruption or $youridea 8-) i think w

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Matthias Schiffer
On 06/10/2015 02:01 PM, Bastian Bittorf wrote: > * thomas.lan...@lantiq.com [10.06.2015 13:59]: >> I think this will not work, as /etc/profile (and these additional files) is >> expected to be executed in the current shell context. >> Otherwise adding shell variables or extending $PATH will not w

Re: [OpenWrt-Devel] [PATCH 3/3] ppp: Unnumbered support

2015-06-10 Thread Steven Barth
Thanks, I already applied the other two. On 10.06.2015 10:39, Hans Dedecker wrote: > +ppp_select_ipaddr() > +{ > + local interface="$1" > + local addrs=$(uci_get "network.${interface}.ipaddr") > + local netmask=$(uci_get "network.${interface}.netmask") Any particular reason you are re

Re: [OpenWrt-Devel] Openwrt on RB850gx2

2015-06-10 Thread ravin goyal
I mean to say that openwrt supported hardware list don't have rb850gx2 ,I wonder will I be able to run openwrt on RB850gx2 or not. On 10 June 2015 at 17:22, Varka Bhadram wrote: > On 06/10/2015 05:11 PM, Varka Bhadram wrote: >> >> On 06/10/2015 04:57 PM, ravin goyal wrote: >> >>> Hi >>> >>> I nee

Re: [OpenWrt-Devel] Openwrt on RB850gx2

2015-06-10 Thread Varka Bhadram
On 06/10/2015 05:11 PM, Varka Bhadram wrote: On 06/10/2015 04:57 PM, ravin goyal wrote: Hi I need information regarding rb850gx2 which i unable to find online. I am trying to find out whether rb850gx2 supports openwrt platform or not. I checked openwrt website to know about the same but it loo

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Bastian Bittorf
* thomas.lan...@lantiq.com [10.06.2015 13:59]: > I think this will not work, as /etc/profile (and these additional files) is > expected to be executed in the current shell context. > Otherwise adding shell variables or extending $PATH will not work. So you > cannot execute them in a subshell. o

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread thomas.langer
Hello Bastian, > > i like the idea, but please use at least: > > command . $i > or > ( . $i ) I think this will not work, as /etc/profile (and these additional files) is expected to be executed in the current shell context. Otherwise adding shell variables or extending $PATH will not work. So

Re: [OpenWrt-Devel] strongswan CVE-2015-3991 CVE-2015-4171

2015-06-10 Thread Steven Barth
Thanks for the hint, I updated the package-definitions. Cheers, Steven ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] Openwrt on RB850gx2

2015-06-10 Thread Varka Bhadram
On 06/10/2015 04:57 PM, ravin goyal wrote: Hi I need information regarding rb850gx2 which i unable to find online. I am trying to find out whether rb850gx2 supports openwrt platform or not. I checked openwrt website to know about the same but it looks like they have not updated regarding the de

Re: [OpenWrt-Devel] [PATCH 2/3] 6to4: Remove sourcerouting parameter registration

2015-06-10 Thread Steven Barth
It's fine, he's just cleaning up after me *ducks and hides*. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Openwrt on RB850gx2

2015-06-10 Thread ravin goyal
Hi I need information regarding rb850gx2 which i unable to find online. I am trying to find out whether rb850gx2 supports openwrt platform or not. I checked openwrt website to know about the same but it looks like they have not updated regarding the device yet. Can anybody provide the required inf

[OpenWrt-Devel] [PATCHv2] 6to4: Remove sourcerouting parameter registration

2015-06-10 Thread Hans Dedecker
Commit 31214c38c8dd0f70366b523f9b0335145b9386bd removes IPv6 unneeded source-dest-routing workarounds; as a result sourcerouting parameter is unused and can be removed. Signed-off-by: Hans Dedecker --- package/network/ipv6/6to4/files/6to4.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pa

[OpenWrt-Devel] [PATCHv2] 6rd: Remove sourcerouting parameter registration

2015-06-10 Thread Hans Dedecker
Commit 31214c38c8dd0f70366b523f9b0335145b9386bd removes IPv6 unneeded source-dest-routing workarounds; as a result sourcerouting parameter is unused and can be removed. Signed-off-by: Hans Dedecker --- package/network/ipv6/6rd/files/6rd.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/pack

Re: [OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Bastian Bittorf
* Hendrik Lüth [10.06.2015 12:58]: > + for i in /etc/profile.d/* ; do > +if [ -r $i ]; then > + . $i > +fi > + done > + unset i > +fi i like the idea, but please use at least: command . $i or ( . $i ) otherwise a syntax error / file error will prevent a login. also use the unof

[OpenWrt-Devel] [PATCH] base-files: add /etc/profile.d support

2015-06-10 Thread Hendrik Lüth
OpenWrt should support an optinal /etc/profile.d directory like most other Linux distributions. This allows packages to install their own scripts into /etc/profile.d/. --- package/base-files/files/etc/profile | 9 + 1 file changed, 9 insertions(+) diff --git a/package/base-files/files/etc

Re: [OpenWrt-Devel] [PATCH] grub2: disable stack-protector

2015-06-10 Thread Jonas Gorski
Hi, On Tue, Jun 9, 2015 at 12:14 PM, Dirk Neukirchen wrote: > - enabling "-fstack-protector" results in build errors > - Upstream explicitly tests & disables it > > reference: upstream commit baa2a121e004a95a12e2bb7f2419de6625a30c2d > > Signed-off-by: Dirk Neukirchen > --- > package/boot/grub2/

Re: [OpenWrt-Devel] [PATCH 1/3] 6rd: Remove sourcerouting parameter registration

2015-06-10 Thread Jonas Gorski
Hi, On Wed, Jun 10, 2015 at 10:39 AM, Hans Dedecker wrote: > > Signed-off-by: Hans Dedecker Please don't submit patches with empty commit logs. Why is it okay to remove it? Regards Jonas ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.or

Re: [OpenWrt-Devel] [PATCH 2/3] 6to4: Remove sourcerouting parameter registration

2015-06-10 Thread Jonas Gorski
Hi, On Wed, Jun 10, 2015 at 10:39 AM, Hans Dedecker wrote: > Signed-off-by: Hans Dedecker Please don't submit patches with empty commit logs. Why is it okay to remove it? Regards Jonas ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] Automatically update CRC on TG582N board when rootfs changes.

2015-06-10 Thread Jonas Gorski
Hi, On Thu, Jun 4, 2015 at 11:06 AM, Kejia Hu (Terry) wrote: > > > Signed-off-by: kejia Hu The signed-off-by needs to be in the actual patch description. Also don't send cover letters (is this one?) for single patches. Regards Jonas ___ openwrt-deve

Re: [OpenWrt-Devel] [PATCH] Add tg582n to the list of do_fixtrx.

2015-06-10 Thread Jonas Gorski
Hi, On Thu, Jun 4, 2015 at 11:06 AM, Kejia Hu (Terry) wrote: > From: Kejia Hu > > This will update CRC after rootfs has been changed, thus aovid > bootloader's CRC verification failure. This would also require a sign-off-by. Just merge this patch into your patch 2/3 of your tg582n patch series

Re: [OpenWrt-Devel] [PATCH 2/3] Add support for TG582n DANT-1 board.

2015-06-10 Thread Jonas Gorski
Hi On Wed, Jun 3, 2015 at 2:28 PM, Kejia Hu (Terry) wrote: > From: Kejia Hu > > The other variant board (DANT-T) of the router may be supported after these > patches, but > these patches have only been tested on DANT-1 board. This patch breaks the build: CC arch/mips/bcm63xx/boards/boa

Re: [OpenWrt-Devel] [PATCH 1/3] Add support for EON EN25Q128 flash chip.

2015-06-10 Thread Jonas Gorski
Hi, please prefix your patch subjects with an appropriate subject, e.g. "kernel:", or "brcm63xx:". On Wed, Jun 3, 2015 at 2:28 PM, Kejia Hu (Terry) wrote: > From: Kejia Hu > > This is part of the work to add support for Thomson TG582n router. You don't need to state this, the patch numbering a

Re: [OpenWrt-Devel] [PATCH 0/3] Add support for Thomson TG582n DANT-1 board

2015-06-10 Thread Jonas Gorski
Hi, On Wed, Jun 3, 2015 at 2:28 PM, Kejia Hu (Terry) wrote: > From: Kejia Hu > > This set of patches added support for Thomson TG582n DANT-1 board. > > They have been tested by building a CFE image, and loaded to the board using > a customised CFE. > > support for DANT-T board may be possible wi

Re: [OpenWrt-Devel] [PATCH] b53 kernel memory corruption fix

2015-06-10 Thread Jonas Gorski
Hi, On Tue, Jun 9, 2015 at 11:57 AM, blmink wrote: You should fix your email client to have your full name here, or add a proper From: <> line into the description. This isn't important for svn, but any git requires it for proper patch ownership. > Hi, > > this patch fixes kernel memory corrupt

Re: [OpenWrt-Devel] [PATCH] b53 kernel memory corruption fix

2015-06-10 Thread Rafał Miłecki
On 9 June 2015 at 11:57, blmink wrote: > Hi, We usually don't want "hi" and "hello" it commit messages ;) > this patch fixes kernel memory corruption in b53 driver during device global > reset, which causes kernel panic especially on 64bit platforms. There is sth wrong with patch format I gues

[OpenWrt-Devel] [PATCH 2/3] 6to4: Remove sourcerouting parameter registration

2015-06-10 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- package/network/ipv6/6to4/files/6to4.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/package/network/ipv6/6to4/files/6to4.sh b/package/network/ipv6/6to4/files/6to4.sh index 57efc52..a5d0567 100755 --- a/package/network/ipv6/6to4/files/6to4.sh +++ b/package/

[OpenWrt-Devel] [PATCH 1/3] 6rd: Remove sourcerouting parameter registration

2015-06-10 Thread Hans Dedecker
Signed-off-by: Hans Dedecker --- package/network/ipv6/6rd/files/6rd.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/package/network/ipv6/6rd/files/6rd.sh b/package/network/ipv6/6rd/files/6rd.sh index 6c68b3b..62d35b6 100644 --- a/package/network/ipv6/6rd/files/6rd.sh +++ b/package/network/

[OpenWrt-Devel] [PATCH 3/3] ppp: Unnumbered support

2015-06-10 Thread Hans Dedecker
Adds PPP unnumbered support via the parameter unnumbered which points to a logical OpenWRT interface. The PPP proto shell handler will "borrow" an IP address from the unnumbered interface (if multiple IP addresses are present the longest prefix different from 32 will be "borrowed") for which a h

Re: [OpenWrt-Devel] Linux 4.x

2015-06-10 Thread Baptiste Clenet
2015-06-10 9:09 GMT+02:00 Varka Bhadram : > On 06/10/2015 12:35 PM, Baptiste Clenet wrote: > >> 2015-06-09 6:05 GMT+02:00 Varka Bhadram : >>> >>> On 06/08/2015 07:32 PM, Baptiste Clenet wrote: >>> 2015-06-08 15:23 GMT+02:00 Varka Bhadram : > > >>> (...) >>> Thanks Varka for your h

Re: [OpenWrt-Devel] Linux 4.x

2015-06-10 Thread Varka Bhadram
On 06/10/2015 12:35 PM, Baptiste Clenet wrote: 2015-06-09 6:05 GMT+02:00 Varka Bhadram : On 06/08/2015 07:32 PM, Baptiste Clenet wrote: 2015-06-08 15:23 GMT+02:00 Varka Bhadram : (...) Thanks Varka for your help! It compiles now without those module: - kmod-bluetooth - kmod-bluetooth_6l

Re: [OpenWrt-Devel] Linux 4.x

2015-06-10 Thread Baptiste Clenet
2015-06-09 6:05 GMT+02:00 Varka Bhadram : > On 06/08/2015 07:32 PM, Baptiste Clenet wrote: > >> 2015-06-08 15:23 GMT+02:00 Varka Bhadram : >>> >>> > (...) > >> >> Thanks Varka for your help! >> >> It compiles now without those module: >> - kmod-bluetooth >> - kmod-bluetooth_6lowpan >> - kmod-6lowpa