[OpenWrt-Devel] RFC: adding 'traceroute6' to busybox / base

2015-08-01 Thread Bastian Bittorf
i build it for ar71xx, and these are the numbers [bytes]:

before:
359736 build_dir/target-mips_34kc_musl-1.1.10/busybox-1.23.2/busybox
208071 bin/ar71xx/packages/base/busybox_1.23.2-1_ar71xx.ipk

after:
359884 build_dir/target-mips_34kc_musl-1.1.10/busybox-1.23.2/busybox
209115 bin/ar71xx/packages/base/busybox_1.23.2-1_ar71xx.ipk

so it adds ~1k to the image. (strange that uncompressed ~148 bytes)
it's as simple as adding CONFIG_BUSYBOX_CONFIG_TRACEROUTE6=y
what do you think?

bye, bastian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [OpenWrt] 2.4Ghz limited to 50mW in DFS-ETSI

2015-08-01 Thread Nicola von Thadden
Hi,

my main problem isn't the 17dBm on the lower 5ghz channels. I can
happily use a higher channel with DFS and 250mW (which seems to be the
hardware limit).
My main problem is the DFS implementation which seems to limit 2.4ghz to
a lower value:
I have two similar regulatory entries:
country DF: DFS-FCC
(2402 - 2472 @ 40), (30)
(5170 - 5250 @ 80), (17), AUTO-BW
(5250 - 5330 @ 80), (23), DFS, AUTO-BW
(5490 - 5730 @ 160), (23), DFS
(5735 - 5835 @ 80), (30)
country DG: DFS-ETSI
(2402 - 2472 @ 40), (30)
(5170 - 5250 @ 80), (17), AUTO-BW
(5250 - 5330 @ 80), (23), DFS, AUTO-BW
(5490 - 5730 @ 160), (23), DFS
(5735 - 5835 @ 80), (30)

root@ap02:~# iw reg set DF
root@ap02:~# iwinfo wlan0 txp
   0 dBm (   1 mW)
   1 dBm (   1 mW)
   2 dBm (   1 mW)
   3 dBm (   1 mW)
   4 dBm (   2 mW)
   5 dBm (   3 mW)
   6 dBm (   3 mW)
   7 dBm (   5 mW)
   8 dBm (   6 mW)
   9 dBm (   7 mW)
  10 dBm (  10 mW)
  11 dBm (  12 mW)
  12 dBm (  15 mW)
  13 dBm (  19 mW)
  14 dBm (  25 mW)
  15 dBm (  31 mW)
  16 dBm (  39 mW)
  17 dBm (  50 mW)
  18 dBm (  63 mW)
  19 dBm (  79 mW)
  20 dBm ( 100 mW)
  21 dBm ( 125 mW)
  22 dBm ( 158 mW)
  23 dBm ( 199 mW)
  24 dBm ( 251 mW)
  25 dBm ( 316 mW)
  26 dBm ( 398 mW)
  27 dBm ( 501 mW)
* 28 dBm ( 630 mW)
  29 dBm ( 794 mW)
root@ap02:~# iw reg set DG
root@ap02:~# iw phy phy0 set txpower fixed 2000
root@ap02:~# iwinfo wlan0 txp
   0 dBm (   1 mW)
   1 dBm (   1 mW)
   2 dBm (   1 mW)
   3 dBm (   1 mW)
   4 dBm (   2 mW)
   5 dBm (   3 mW)
   6 dBm (   3 mW)
   7 dBm (   5 mW)
   8 dBm (   6 mW)
   9 dBm (   7 mW)
  10 dBm (  10 mW)
  11 dBm (  12 mW)
  12 dBm (  15 mW)
  13 dBm (  19 mW)
  14 dBm (  25 mW)
  15 dBm (  31 mW)
  16 dBm (  39 mW)
* 17 dBm (  50 mW)
  18 dBm (  63 mW)
  19 dBm (  79 mW)
  20 dBm ( 100 mW)
  21 dBm ( 125 mW)
  22 dBm ( 158 mW)
  23 dBm ( 199 mW)
  24 dBm ( 251 mW)
  25 dBm ( 316 mW)
  26 dBm ( 398 mW)
  27 dBm ( 501 mW)
  28 dBm ( 630 mW)
  29 dBm ( 794 mW)
root@ap02:~#


You see what I mean? The problem is not the power level in the
regulatory database. The problem is that the software thinks it's right
to limit it to 17dBm. It also does not depend which antenna gain is set
via iw of what power levels are defined in the regulatory database.
Everything higher than 17dBm is ignored and set to 17dBm, on 2.4Ghz.

Since the only difference is the DFS regulatory information, I think the
part parsing those information from the database is faulty. Maybe it
thinks that it's okay to limit it to 17dBm because DFS is not used on
2.4Ghz, which is sonsense.

I don't think that any part in hardware is causing the problem. I can
use higher power levels on 2.4Ghz when using DFS-FCC or no regulatory
limitations at all.

Thanks
Nico



On 07/30/2015 06:08 PM, Gerald Matzka wrote:
 Ben is right, take a look at 
 https://forum.openwrt.org/viewtopic.php?id=42197
 
 In newer Openwrt versions the kernel modules are compiled to respect the
 reg-domain settings programmed in hardware.
 
 Kind regards
 
 ... sent from my iPhone
 
 Am 30.07.2015 um 17:11 schrieb Ben West b...@gowasabi.net
 mailto:b...@gowasabi.net:
 
 You can look up your respective country's spectrum regulations.  It is
 possible prior versions OpenWRT didn't fully conform to each
 regulatory domain and were fixed in more recent versions (just as the
 converse is possible).

 For example, for the USA, here is a table of power limits for the
 2.4GHz and 5GHz bands.  Channels 36-48 are limited to 16dBm
 transmitter power.
 http://www.air802.com/fcc-rules-and-regulations.html

 On Thu, Jul 30, 2015 at 3:32 AM, Nicola von Thadden n...@vthadden.de
 mailto:n...@vthadden.de wrote:

 Hi,

 I also thought to have used 20dBm or 23dBm in earlier releases (AA).
 Is there a way to find out to which txpower levels the 5Ghz
 transceiver
 is limited? I think the driver reads them out, maybe there is a way to
 print them on the cmd?

 But my main problem is the 17dBm on 2.4Ghz when setting DFS-ETSI
 countries. I don't think that it is a problem of the hardware but
 of the
 software parsing the regdom. Maybe there is a fixed limit of 17dBm on
 non-DFS channels, even when DFS is not required, which is not very
 useful. Does anyone have an idea where that could be set? My search in
 the source code had no results until now, where it could be.

 Thanks
 Nico

 On 07/29/2015 06:21 PM, Atanas Vladimirov wrote:
  https://dev.openwrt.org/ticket/20201
 
  On BB I used 20dBm for both 2.4 and 5GHz on the same router.
 
  Sent with AquaMail for Android
  http://www.aqua-mail.com
 
  On 29 юли 2015 г. 18:40:10 Ben West b...@gowasabi.net 
 mailto:b...@gowasabi.net wrote:
 
  This is what I observe running Barrier Breaker on UBNT M5 products,
  too.  I believe the 17dBm limit is intentional, i.e. per regulation.
  The 30dBm tx power limit applies to channels 

Re: [OpenWrt-Devel] RFC: adding 'traceroute6' to busybox / base

2015-08-01 Thread Felix Fietkau
On 2015-08-01 13:04, Bastian Bittorf wrote:
 i build it for ar71xx, and these are the numbers [bytes]:
 
 before:
 359736 build_dir/target-mips_34kc_musl-1.1.10/busybox-1.23.2/busybox
 208071 bin/ar71xx/packages/base/busybox_1.23.2-1_ar71xx.ipk
 
 after:
 359884 build_dir/target-mips_34kc_musl-1.1.10/busybox-1.23.2/busybox
 209115 bin/ar71xx/packages/base/busybox_1.23.2-1_ar71xx.ipk
 
 so it adds ~1k to the image. (strange that uncompressed ~148 bytes)
 it's as simple as adding CONFIG_BUSYBOX_CONFIG_TRACEROUTE6=y
 what do you think?
Feel free to send a patch.

- Felix
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Change OpenWrt Wifi default settings

2015-08-01 Thread N.Leiten
You can also use uci-defaults mechanism for your purpose. Just put
script in base-files/etc/uci-defaults and set your preferrable
parameters with uci and don't forget to 'exit 0' at the end of script,
in elsecase it'll be run every time at boot ruining changes.

2015-07-31 12:08 GMT+03:00 John kerry kerry9...@gmail.com:
 Hi,

 I am working on Ar71xx openWRT Luci project. By default the Wi-Fi is
 disabled and SSID is OpenWrt. I need to change the default settings.
 Could anyone help me to change the default settings.


 Best Regards,
 John

 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] dnsmasq: Bump to dnsmasq2.75

2015-08-01 Thread Kevin Darbyshire-Bryant
Fixes a 100% cpu usage issue if using dhcp-script.

Signed-off-by: Kevin Darbyshire-Bryant ke...@darbyshire-bryant.me.uk
---
 package/network/services/dnsmasq/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/network/services/dnsmasq/Makefile 
b/package/network/services/dnsmasq/Makefile
index 9b0ecc5..59b 100644
--- a/package/network/services/dnsmasq/Makefile
+++ b/package/network/services/dnsmasq/Makefile
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dnsmasq
-PKG_VERSION:=2.74
+PKG_VERSION:=2.75
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
-PKG_MD5SUM:=f48cd0fe26a55617a375ffc95b71e3c3
+PKG_MD5SUM:=887236f1ddde6eb57cdb9d01916c9f72
 
 PKG_LICENSE:=GPL-2.0
 PKG_LICENSE_FILES:=COPYING
-- 
1.9.1
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel