Re: [OpenWrt-Devel] [PATCH][AA][packages] siproxd: fix typo in variable name in init script

2013-10-17 Thread Luka Perkov
Hi Jiri, On Thu, Oct 17, 2013 at 03:56:55PM +0200, Jiri Slachta wrote: > > Signed-off-by: Jiri Slachta > --- > net/siproxd/files/siproxd.init |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied in r38443. Thanks. Luka ___ openwrt-deve

Re: [OpenWrt-Devel] [PATCH] build: Set owner root for all files on ubifs creation

2013-10-17 Thread Luka Perkov
Hi Joris, On Wed, Oct 16, 2013 at 09:01:22PM +0200, Joris de Vries wrote: > When creating an image it makes no sense to have files owned by > the uid and gid on the host (and even creates a bug when for > example dropbear authorized_keys is included via env/files). > > Signed-off-by: Joris de Vri

Re: [OpenWrt-Devel] [PATCH] ar71xx: Fix sysupgrades for Allnet and OpenMesh devices

2013-10-17 Thread Daniel Golle
Hi Sven, thank you for addressing that issue! On 10/17/2013 06:42 PM, Sven Eckelmann wrote: > diff --git a/target/linux/ar71xx/base-files/lib/upgrade/allnet.sh > b/target/linux/ar71xx/base-files/lib/upgrade/allnet.sh > index 9a375ff..8076fbd 100644 > --- a/target/linux/ar71xx/base-files/lib/upgr

Re: [OpenWrt-Devel] Quick hack for kernel entropy problem on MIPS

2013-10-17 Thread Weedy
On 17 Oct 2013 13:07, "chrono" wrote: root@OpenWrt:/# cat /proc/sys/kernel/random/entropy_avail 0 >>> >>> Uhh ok? >>> root@OpenWrt:~# cat /proc/sys/kernel/random/entropy_avail >>> 1189 >> >> >> What's your uptime? Entropy is added to the pool e.g. based on network >> activity. T

[OpenWrt-Devel] mac80211.sh & option macaddress

2013-10-17 Thread cmsv
I've noticed that mac80211.sh is not producing the output config as it was before for $dev_id which was adding "option macaddress ..." to the generated wireless config file. Currently the generated wireless config file gets option path '$path' ." Is this a replacement to be in effect or somet

Re: [OpenWrt-Devel] ath9k / set txpower / TP-LINK TL-WR841N/ND v8

2013-10-17 Thread cmsv
I have the exact same issue with some tplink and dlink routers and soon to test on a TL-WR841N/ND v8. Regarding the dlink i found differences and gaining 1dBm when changing the country code to US. Also some time ago as i played with txpower; at moments it would actually go to 20dBm but after restar

Re: [OpenWrt-Devel] Quick hack for kernel entropy problem on MIPS

2013-10-17 Thread chrono
root@OpenWrt:/# cat /proc/sys/kernel/random/entropy_avail 0 Uhh ok? root@OpenWrt:~# cat /proc/sys/kernel/random/entropy_avail 1189 What's your uptime? Entropy is added to the pool e.g. based on network activity. The issue is that the pool is empty right after boot up. Well it's not anymor

Re: [OpenWrt-Devel] Quick hack for kernel entropy problem on MIPS

2013-10-17 Thread Geert Uytterhoeven
On Thu, Oct 17, 2013 at 6:32 PM, Weedy wrote: > On Thu, Oct 17, 2013 at 11:40 AM, chrono wrote: >> Ahoi everyone, >> >> it was requested on IRC that I send my solution to the entropy problem with >> the current >> kernel (e.g. having 0 available entropy): >> >> root@OpenWrt:/# cat /proc/sys/kerne

[OpenWrt-Devel] [PATCH] ar71xx: Fix sysupgrades for Allnet and OpenMesh devices

2013-10-17 Thread Sven Eckelmann
Both Allnet and OpenMesh sysupgrade uses fw_setenv from uboot-envtools to change different settings in the uboot environment. uboot-envtools version 2013.01 introduced a filesystem lock "/var/lock/fw_printenv.lock" to guarantee mutually exclusive access to the uboot environment. But the path /var d

Re: [OpenWrt-Devel] Quick hack for kernel entropy problem on MIPS

2013-10-17 Thread Weedy
On Thu, Oct 17, 2013 at 11:40 AM, chrono wrote: > Ahoi everyone, > > it was requested on IRC that I send my solution to the entropy problem with > the current > kernel (e.g. having 0 available entropy): > > root@OpenWrt:/# cat /proc/sys/kernel/random/entropy_avail > 0 Uhh ok? root@OpenWrt:~# c

[OpenWrt-Devel] Quick hack for kernel entropy problem on MIPS

2013-10-17 Thread chrono
Ahoi everyone, it was requested on IRC that I send my solution to the entropy problem with the current kernel (e.g. having 0 available entropy): root@OpenWrt:/# cat /proc/sys/kernel/random/entropy_avail 0 In the build root I've patched build_dir/linux-ar71xx_nand/linux-3.3.8/arch/mips/includ

Re: [OpenWrt-Devel] [RFC] netifd: Avoid concurrent calls to "wifi up/down"

2013-10-17 Thread Helmut Schaa
On Thu, Oct 17, 2013 at 4:11 PM, Felix Fietkau wrote: > On 2013-10-11 10:33 AM, Helmut Schaa wrote: >> Multiple "wifi up/down" invocations can conflict badly with each other >> resulting in a somehow broken wifi setup. >> >> This can be triggered by calling "/etc/init.d/network reload" quickly >>

[OpenWrt-Devel] [PATCH 3/3] isc-dhcp: dhcrelay: Add RFC3527 link selection sub-option

2013-10-17 Thread Bruno Randolf
RFC3527 link selection sub-option is used to select the "uplink" interface of dhcrelay in cases where the DHCP server does not know how to reach the dhcrelay based on the DHCP range. This can happen in weird network configurations like Mesh networks. Signed-off-by: Bruno Randolf --- net/isc-dhcp

[OpenWrt-Devel] [PATCH 1/3] pptpd: Add uci configuration for PPTPD.

2013-10-17 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- net/pptpd/Makefile | 5 - net/pptpd/files/pptpd.config | 8 net/pptpd/files/pptpd.init | 46 +++- 3 files changed, 53 insertions(+), 6 deletions(-) create mode 100644 net/pptpd/files/pptpd.config

[OpenWrt-Devel] [PATCH 2/3] isc-dhcp: dhcrelay: Add more UCI options

2013-10-17 Thread Bruno Randolf
Add more options to dhcrelay UCI and init script: - enabled - interfaces: Listen interfaces - relay_mode: What to do about packets that already have a relay option Also mark /etc/config/dhcrelay as conffile Signed-off-by: Bruno Randolf --- net/isc-dhcp/Makefile | 8

[OpenWrt-Devel] [PATCH 0/3] trunk packages resend

2013-10-17 Thread Bruno Randolf
Hi! Here I resend the PPTPD and dhcrelay patches for trunk packages. I tried to address all issues jow has mentioned before. Bruno Randolf (3): pptpd: Add uci configuration for PPTPD. isc-dhcp: dhcrelay: Add more UCI options isc-dhcp: dhcrelay: Add RFC3527 link selection sub-option net/is

Re: [OpenWrt-Devel] [RFC] netifd: Avoid concurrent calls to "wifi up/down"

2013-10-17 Thread Felix Fietkau
On 2013-10-11 10:33 AM, Helmut Schaa wrote: > Multiple "wifi up/down" invocations can conflict badly with each other > resulting in a somehow broken wifi setup. > > This can be triggered by calling "/etc/init.d/network reload" quickly > after netifd started up (before the sleep 5 has finished). >

Re: [OpenWrt-Devel] [PATCH] Update kernel for alix2 to 3.10.15

2013-10-17 Thread Felix Fietkau
On 2013-10-17 3:45 PM, tobias.steini...@net.t-labs.tu-berlin.de wrote: > From: Tobias Steinicke > > Without this patch, the patch > target/linux/generic/patches-3.10/770-bgmac-backport.patch > would not apply. > > Tobias > > Signed-off-by: Tobias Steinicke Committed in r38438, thanks. - Felix

Re: [OpenWrt-Devel] ath9k / set txpower / TP-LINK TL-WR841N/ND v8

2013-10-17 Thread Weedy
On 17 Oct 2013 08:25, "Bastian Bittorf" wrote: > > we are facing a strange issue on 2 routers with identical > hardware: TP-LINK TL-WR841N/ND v8 - i cannot set txpower >18 dBm > according to 'iwconfig'/'iwinfo' on ONE router. the > other (different location, same openwrt-revision r38432) can do th

[OpenWrt-Devel] [PATCH][AA][packages] siproxd: fix typo in variable name in init script

2013-10-17 Thread Jiri Slachta
Signed-off-by: Jiri Slachta --- net/siproxd/files/siproxd.init |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/siproxd/files/siproxd.init b/net/siproxd/files/siproxd.init index 4ecdfbb..1ad6e0f 100644 --- a/net/siproxd/files/siproxd.init +++ b/net/siproxd/files/siproxd

[OpenWrt-Devel] [PATCH] Update kernel for alix2 to 3.10.15

2013-10-17 Thread tobias . steinicke
From: Tobias Steinicke Without this patch, the patch target/linux/generic/patches-3.10/770-bgmac-backport.patch would not apply. Tobias Signed-off-by: Tobias Steinicke --- target/linux/x86/alix2/target.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/x86/ali

Re: [OpenWrt-Devel] sysupgrade support for OM2P working in AA?

2013-10-17 Thread Ben West
Hi Marek, This is the wiki page in question: http://wiki.openwrt.org/toh/openmesh/om2p#upgrading.openwrt Thank you for clarifying that sysupgrade does work! On Thu, Oct 17, 2013 at 6:17 AM, Marek Lindner wrote: > On Wednesday 16 October 2013 09:48:33 Ben West wrote: > > I noticed that my buil

[OpenWrt-Devel] ath9k / set txpower / TP-LINK TL-WR841N/ND v8

2013-10-17 Thread Bastian Bittorf
we are facing a strange issue on 2 routers with identical hardware: TP-LINK TL-WR841N/ND v8 - i cannot set txpower >18 dBm according to 'iwconfig'/'iwinfo' on ONE router. the other (different location, same openwrt-revision r38432) can do that: root@BerkaerBahnhof-Knoten59:~ uci set wireless.radio

Re: [OpenWrt-Devel] OpenWRT on Ubicom Chipsets

2013-10-17 Thread James Hilliard
So, I think i more or less got the boot processes down, however I don't have hardware with me right now. Boot goes from ultra>uboot>linux more or less. From the looks of it getting a console on uboot should be fairly straight forward. I'm going to attempt to compile an oem build with the uboot cons

Re: [OpenWrt-Devel] Add a new Amazon-SE board

2013-10-17 Thread Tomislav Požega
thomson usually sticks with crappy broadcom so don't give much hope for AR9271.. On 17 October 2013 09:33, Jacek Kikiewicz wrote: > Hi, > > First start with gainig console access... > > Then you need to check what boot loader is there. > Depending on what it is your next steps will vary, let's

Re: [OpenWrt-Devel] sysupgrade support for OM2P working in AA?

2013-10-17 Thread Marek Lindner
On Wednesday 16 October 2013 09:48:33 Ben West wrote: > I noticed that my build tree for AA r38347 only produces the > openwrt-ar71xx-generic-om2p-squashfs-factory.bin image for Open Mesh OM2P, > not the sysupgrade image. > > The wiki page suggests these images are to be manually flashed to the >

Re: [OpenWrt-Devel] [PATCH 6/6] isc-dhcp: dhcrelay: Add RFC3527 link selection sub-option

2013-10-17 Thread Bruno Randolf
On 10/15/2013 02:52 PM, Jo-Philipp Wich wrote: +++ b/net/isc-dhcp/patches/100-relay-rfc3527-link-selection.patch Can you elaborate on the origin of this patch? Was it written by you? Yes, this patch was written by me, and I have sent it for inclusion to the "upstream" ISC "dhcp-hackers" mail

Re: [OpenWrt-Devel] [PATCH 3/6] pptpd: Add uci configuration for PPTPD.

2013-10-17 Thread Bruno Randolf
On 10/15/2013 02:45 PM, Jo-Philipp Wich wrote: comments inline. Hi, Thanks, will address the issues and resend. bruno On 11.10.2013 12:30, Bruno Randolf wrote: Signed-off-by: Bruno Randolf --- net/pptpd/Makefile| 3 +++ net/pptpd/files/pptpd.init| 40 +++

Re: [OpenWrt-Devel] Add a new Amazon-SE board

2013-10-17 Thread Jacek Kikiewicz
Hi, First start with gainig console access... Then you need to check what boot loader is there. Depending on what it is your next steps will vary, let's hope it's supported one :) On 17.10.2013 11:16, Marco Antonio Mauro wrote: Hi everyone, I have a Thomson TG585v8 Amazon-SE device. The de

[OpenWrt-Devel] Add a new Amazon-SE board

2013-10-17 Thread Marco Antonio Mauro
Hi everyone, I have a Thomson TG585v8 Amazon-SE device. The device seems almost identical to the Netgear DGN1000B already in openwrt, and I'd like to add support for the specific board. But can't seem to figure out how to do it. I previously added support for a ralink device but the process seems