[OpenWrt-Devel] mac80211/DFS-support default since r42431

2014-09-08 Thread Bastian Bittorf
with r42431 DFS is enabled by default[1]: mac80211: enable DFS support for ath9k/10k by default The DFS pattern detector now supports all three regions; ETSI, FCC and JP, so there is no reason to not have it enabled anymore. there was a long discussion on battlemesh/Leipzig[2] that this is from

Re: [OpenWrt-Devel] mac80211/DFS-support default since r42431

2014-09-08 Thread Bastian Bittorf
* Felix Fietkau n...@openwrt.org [08.09.2014 10:36]: is from a security point of view a difficult thing - because everybody can take down a complete city-network. I've never heard this claim before. How does enabling this option allow people to take down a network? the theory is here:

Re: [OpenWrt-Devel] mac80211/DFS-support default since r42431

2014-09-08 Thread Bastian Bittorf
* Jonas Gorski j...@openwrt.org [08.09.2014 11:54]: detection support in ath9k/ath10k. So if CSAs are an issue, it was already an issue before. thanks for pointing that, it was not clear to me. somebody can just mark all channels as unavailable. How would they do that? Especially with

Re: [OpenWrt-Devel] [PATCH] [scripts] Fix typo, replace quotes in comments

2014-09-04 Thread Bastian Bittorf
* Robert P. J. Day rpj...@crashcourse.ca [04.09.2014 10:54]: -# Example: `scripts/update-package-md5sum feeds/packages/python` +# Example: $ scripts/update-package-md5sum feeds/packages/python if you use '$' instead of '`', you must use e.g. $(...) so `shell_command` or $(shell_command) bye,

Re: [OpenWrt-Devel] [Bug: Busybox 1.22.1] false return 0 instead of 1 with '--help' switch.

2014-08-30 Thread Bastian Bittorf
* Alive4ever alive4e...@live.com [29.08.2014 14:03]: I'm using an embedded system with busybox v1.22.1, running Openwrt Chaos Chalmer r42321, mips24k AR9330 When I call 'busybox false --help', the return status is zero. I think it has nothing todo with openwrt, because it's the output of

Re: [OpenWrt-Devel] gigabit router !

2014-08-30 Thread Bastian Bittorf
* Daniel Petre daniel.pe...@gmail.com [30.08.2014 07:42]: is there any OpenWrt compatible gigabit router that can do more than 400 Mbit/s WAN to LAN except linksys wrt1900ac ? I know netgear wndr3700/wndr3800 and tp-link wr1043nd do around 380-400 Mbit/s but is there any other hardware more

[OpenWrt-Devel] platform name 'ramips' VS 'ramips_24kec'

2014-08-27 Thread Bastian Bittorf
i stumbled in a custom script over this problem: root@fonera2n:~ opkg status kernel Package: kernel Version: 3.10.34-1-9ab8a27dee25ed0e5197bf83aebd96c3 Depends: libc Status: install hold installed Architecture: ramips_24kec Installed-Time: 1396519878 # so the platform/architacture name is

Re: [OpenWrt-Devel] platform name 'ramips' VS 'ramips_24kec'

2014-08-27 Thread Bastian Bittorf
* Weimarnetz e.V., Vorstand/Vereinsvorsitzender: Bastian Bittorf bitt...@bluebottle.com [27.08.2014 09:42]: can somebody explain this? bye, bastian digging through 'target/linux/ramips' i can see, that all boards are CPU_TYPE:=24kec but only 1 board 'rt288x' is CPU_TYPE:=mips32r2 (so '24kec

Re: [OpenWrt-Devel] [PATCH] [boot] /init: allow easier customisation of ramfs boot.

2014-08-24 Thread Bastian Bittorf
* Stephen Parry sgpa...@mainscreen.com [24.08.2014 08:28]: +if [ -e /bin/ramfsinit ]; then + exec /bin/ramfsinit +fi better use: elif [ -e /sbin/ramfsinit ]; then +if [ -e /sbin/ramfsinit ]; then + exec /sbin/ramfsinit +fi bye, bastian

[OpenWrt-Devel] procd / hang during shutdown/startup / regression?

2014-08-22 Thread Bastian Bittorf
i while ago, procd implemented a timeout (15 sec) for hanging tasks during startup/init. this works and can be easily checked with placing this snippet in any startup-script: start() { local i=300 while let i-=1; do echo still running: $i /tmp/CHECK

Re: [OpenWrt-Devel] [BB-rc3] Disabling DHCPv6 also disables IPv6 SLAAC

2014-08-22 Thread Bastian Bittorf
* Baptiste Jonglez bjong...@illyse.org [22.08.2014 22:34]: What is the default value, then? Is it none or disabled? What is the difference? internally it's a bool/switch, which can have: 0|off|false|no|disabled or 1|on|true|yes|enabled adding 'none' is possible, but... bye, bastian

Re: [OpenWrt-Devel] kirkwood / missing kernel-module?

2014-08-21 Thread Bastian Bittorf
* Felix Kaechele fe...@fetzig.org [21.08.2014 08:05]: during boot i see in a long loop these messages, which kernel module is missing or which symbol must be active? (kernel 3.14.17) That is very strange. I ran a make dirclean and built r42230 today for my Pogoplug E02. Both u-boot and

[OpenWrt-Devel] kirkwood not booting / goflex net / goflex home

2014-08-20 Thread Bastian Bittorf
while investigating the hanging boot/kernel on goflex home i see commit r38279 / d8eb02a921fa2c06118347231f3fd69285b8a5c7 kirkwood: prepare for 3.10 which removed target/linux/kirkwood/files-3.3/arch/arm/mach-kirkwood/goflexhome-setup.c is'nt it need for 3.10+ or what was the reason for

[OpenWrt-Devel] kirkwood / missing kernel-module?

2014-08-20 Thread Bastian Bittorf
during boot i see in a long loop these messages, which kernel module is missing or which symbol must be active? (kernel 3.14.17) [ 86.817858] act_ipt: Unknown symbol tcf_hash_check (err 0) [ 86.823424] act_ipt: Unknown symbol tcf_hash_create (err 0) [ 86.829162] act_ipt: Unknown symbol

Re: [OpenWrt-Devel] Lots of missing packages!

2014-08-20 Thread Bastian Bittorf
* Steven Barth cy...@openwrt.org [13.08.2014 10:48]: The current status of oldpackages is this: If you are using trunk and want to use the possibly outdated packages you have to enable the oldpackages feed and build them manually. how is this done? till some weeks it was: make

[OpenWrt-Devel] [PATCH] [base-files] remove useless explicit set of function returncode

2014-08-20 Thread Bastian Bittorf
safely remove the command 'return $?'. reference: http://tldp.org/LDP/abs/html/exit-status.html The last command executed in the function or script determines the exit status. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/base-files/files/etc/init.d/system |2

[OpenWrt-Devel] dnsmasq 2.71 dies silently (hangs) / how to debug

2014-08-19 Thread Bastian Bittorf
sometimes dnsmasq 2.71 (trunk) dies silently but the process is still running. when sending: kill -SIGSEGV $PID there is no coredump but the daemon gets restarted (via procd?) normally inserting 'ulimit -c unlimited' just before starting the daemon should be enough, but i'am unsure how to apply,

[OpenWrt-Devel] kirkwood / howto make bootloader

2014-08-19 Thread Bastian Bittorf
under http://downloads.openwrt.org/barrier_breaker/14.07-rc3/kirkwood/generic/uboot-kirkwood-goflexhome/ i can see the kwb-files, but how can i build them? (when building generic or a subtarget they will not show up) bye, bastian ___ openwrt-devel

Re: [OpenWrt-Devel] dnsmasq 2.71 dies silently (hangs) / how to debug

2014-08-19 Thread Bastian Bittorf
* Steven Barth cy...@openwrt.org [19.08.2014 12:49]: procd_set_param limits core=unlimited thanks, this works fine here when the 'root' part of dnsmasq gets a -SIGSEGV (or during a real crash) and produces coredumps. i will keep the list updated, when i catch a real hang. bye, bastian

Re: [OpenWrt-Devel] Q: curl: IPv6 zone identifiers / RFC6874 / OpenWrt

2014-08-14 Thread Bastian Bittorf
by accident i mixed curl 7.37.1 with libcurl 7.36. after upgrading libcurl everything is working: root@box:~ curl http://[fe80::6670:2ff:fe8b:221e%25wlan0]/robots.txt User-agent: * Disallow: /cgi-bin/ root@box:~ curl http://[fe80::6670:2ff:fe8b:221e%wlan0]/robots.txt User-agent: * Disallow:

[OpenWrt-Devel] Q: curl: IPv6 zone identifiers / RFC6874 / OpenWrt

2014-08-13 Thread Bastian Bittorf
dear devs, i build 7.37.1 from 2014 jul 16 for OpenWrt on arch ar71xx: (the feature was at added at 9317eced9840 / 2014 Mar 15) root@box:~ curl --version curl 7.37.1 (mips-openwrt-linux-gnu) libcurl/7.36.0 PolarSSL/1.3.8 Protocols: file ftp ftps http https Features: IPv6 Largefile SSL when

Re: [OpenWrt-Devel] USB crash when USB WiFi dongle is used (RTL8192CU) - WDR4300

2014-08-12 Thread Bastian Bittorf
* Łukasz Baj l@radytek.com [11.08.2014 16:56]: 3.14.12. When I connect this dongle to USB and then disconnect it I see following crash and USB stops working. Any ideas how to fix this problem? does it also happen, when you force a 'wifi down' before unplugging? (please check with 'iw dev

[OpenWrt-Devel] IPv6-question / fe80 / linklocal / uniq?

2014-07-22 Thread Bastian Bittorf
when reading http://en.wikipedia.org/wiki/IPv6#Link_local_address it seems to me, that the linklocal-address should be uniq, but here: root@box:~ ip neigh | grep ^'fe80::' | grep lladdr $mac fe80::1cfc:fe65:769:3784 dev wlan0 lladdr 84:b1:53:b2:b8:b3 STALE fe80::cea:3b47:5812:96be dev wlan0

Re: [OpenWrt-Devel] IPv6-question / fe80 / linklocal / uniq?

2014-07-22 Thread Bastian Bittorf
* Baptiste Jonglez bjong...@illyse.org [22.07.2014 13:21]: On Tue, Jul 22, 2014 at 11:50:55AM +0200, Bastian Bittorf wrote: when reading http://en.wikipedia.org/wiki/IPv6#Link_local_address it seems to me, that the linklocal-address should be uniq, unique is ambiguous: do you mean

Re: [OpenWrt-Devel] IPv6-question / fe80 / linklocal / uniq?

2014-07-22 Thread Bastian Bittorf
* Gui Iribarren g...@altermundi.net [22.07.2014 13:21]: fe80::1cfc:fe65:769:3784 dev wlan0 lladdr 84:b1:53:b2:b8:b3 STALE fe80::cea:3b47:5812:96be dev wlan0 lladdr 84:b1:53:b2:b8:b3 STALE different link-local addresses, same MAC address. nothing wrong about that any idea which part of

Re: [OpenWrt-Devel] IPv6-question / fe80 / linklocal / uniq?

2014-07-22 Thread Bastian Bittorf
* Baptiste Jonglez bjong...@illyse.org [22.07.2014 13:21]: root@box:~ ip neigh | grep ^'fe80::' | grep lladdr $mac fe80::1cfc:fe65:769:3784 dev wlan0 lladdr 84:b1:53:b2:b8:b3 STALE fe80::cea:3b47:5812:96be dev wlan0 lladdr 84:b1:53:b2:b8:b3 STALE # ip -6 addr add

Re: [OpenWrt-Devel] trac/rss-feed has changed?

2014-07-21 Thread Bastian Bittorf
* Mathias Kresin open...@kresin.me [18.07.2014 19:36]: i'm using the rss feed from gitweb http://git.openwrt.org/?p=openwrt.git;a=atom;opt=--no-merges which works quite nice. works, thank you! - bye, bastian ___ openwrt-devel mailing list

[OpenWrt-Devel] trac/rss-feed has changed?

2014-07-16 Thread Bastian Bittorf
my feedreader was used to fetch https://dev.openwrt.org/log/trunk?limit=100mode=stop_on_copyformat=rss but this stopped working around 13. july 13:00 why? what should i use now? bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH 2/2] busybox: use ntp enabled config option

2014-06-26 Thread Bastian Bittorf
* Luka Perkov l...@openwrt.org [26.06.2014 14:24]: + [ $enabled = 0 ] return This can also be 'true' or 'false' or 'disabled'. I see, that other packages are also doing it like this, but i remeber there was an uci-thingy() doing that, wasn't it? bye, bastian

Re: [OpenWrt-Devel] hotplug / micro-optimization

2014-06-09 Thread Bastian Bittorf
* Felix Fietkau n...@openwrt.org [09.06.2014 21:23]: [...] For this trigger we can add a time delay, which will aggregate events. Once that is implemented correctly, 400 ifup events in rapid succession will lead to only one series of init script calls instead of 400. With that approach, such

[OpenWrt-Devel] hotplug / micro-optimization

2014-06-05 Thread Bastian Bittorf
i have a router here with 400 vlan-interfaces. i'am still not happy, that an hotplug-event triggers a lot of unneccesary action. i see at least 3 possibilities reduce the load: (beside the upcoming procd-interface job) 1) each script implements something like: #!/bin/sh /etc/init.d/$daemon

[OpenWrt-Devel] Q: hotplug-issue / var INTERFACE

2014-06-04 Thread Bastian Bittorf
while writing the hotplug-thingy for OLSRd2, i have issues: according to http://wiki.openwrt.org/doc/techref/hotplug the var $INTERFACE is the name (given by user, e.g. 'mylan') and $DEVICE is the real physical one (e.g. 'eth0.1'). but i can see 'ifup'-events with INTERFACE = 'cfg0f4d8f'. this

Re: [OpenWrt-Devel] SoC RT5350F based wireless socket / power plug

2014-06-04 Thread Bastian Bittorf
i made some better pictures, but still no progess: http://intercity-vpn.de/files/edimax-1101w/DSC_3729.JPG http://intercity-vpn.de/files/edimax-1101w/DSC_3730.JPG http://intercity-vpn.de/files/edimax-1101w/DSC_3731.JPG http://intercity-vpn.de/files/edimax-1101w/DSC_3732.JPG bye, bastian

[OpenWrt-Devel] SoC RT5350F based wireless socket / power plug

2014-06-02 Thread Bastian Bittorf
I found an interesting product for ~25 Euro which is build around a RT5350F but it useless / has a bad software design 8-) so it makes so sense to install OpenWrt on it: Edimax SP-1101W (EU) FCC ID: QBL-RTSPO120-0 maybe this or next week i will play with it and fill a wiki-page. bye, bastian

Re: [OpenWrt-Devel] SoC RT5350F based wireless socket / power plug

2014-06-02 Thread Bastian Bittorf
because i was getting a lot of private mails regarding the inside, here are some pictures. i will get better ones, if the photograph next to me is in the office again 8-) http://www.intercity-vpn.de/files/edimax-1101w/ (upload is in progress) bye, bastian

Re: [OpenWrt-Devel] ideal battery for solar nodes?

2014-05-23 Thread Bastian Bittorf
* valent.turko...@gmail.com valent.turko...@gmail.com [23.05.2014 11:22]: So 92Ah is much too big, but is 7Ah too small? Does anybody have experience with batteries and solar power? i have and: it depends (TM) look out for you _local_ Solar Radiation and Temperature. here in Germany during

Re: [OpenWrt-Devel] [PATCH] [packages] iptables: Makefile: only build ip6tc, if IPv6 is enabled

2014-05-21 Thread Bastian Bittorf
* Bastian Bittorf bitt...@bluebottle.com [25.04.2014 15:51]: without this patch the build breaks at iptables to make it a bit cleaer: when trying to build without IPv6: # CONFIG_IPV6 is not set # CONFIG_PACKAGE_6relayd is not set # CONFIG_PACKAGE_odhcp6c is not set # CONFIG_PACKAGE_odhcpd

[OpenWrt-Devel] [PATCH] [packages] iptables: Makefile: only build ip6tc, if IPv6 is enabled

2014-04-25 Thread Bastian Bittorf
without this patch the build breaks at iptables Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/network/utils/iptables/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/utils/iptables/Makefile b/package/network/utils/iptables

[OpenWrt-Devel] [PATCH] [base-files] target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC

2014-04-25 Thread Bastian Bittorf
/lib/functions.sh ] . /lib/functions.sh root@box:~ . /lib/upgrade/platform.sh root@box:~ . /lib/upgrade/common.sh root@box:~ platform_check_image /tmp/myfirmware.bin ash: bad number root@box:~ echo $? 0 Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- target/linux/adm5120/base-files/lib

[OpenWrt-Devel] Q: ntpd / DCF77-refclock / configure-options

2014-04-25 Thread Bastian Bittorf
i'am trying to change the ntpd-makefile via vi ../packages/net/ntpd/Makefile and adding the needing tweaks: --enable-LOCAL-CLOCK --enable-RAWDCF but no matter, when recompiling: make package/ntpd/{clean,compile} V=s i cannot see that 'config.h' has changed:

[OpenWrt-Devel] high load without reason

2014-04-24 Thread Bastian Bittorf
on some boxes we can see a high load, but i have no idea, what the cause of this: Mem: 27740K used, 1264K free, 0K shrd, 2160K buff, 9592K cached CPU: 0% usr 0% sys 0% nic 97% idle 0% io 0% irq 1% sirq Load average: 1.03 1.02 1.05 1/40 9974 PID PPID USER STAT VSZ %VSZ %CPU

Re: [OpenWrt-Devel] high load without reason

2014-04-24 Thread Bastian Bittorf
* Bastian Bittorf bitt...@bluebottle.com [24.04.2014 09:07]: thank you 'Luiz Angelo Daros de Luca', the reason was khubd / a USB-issue. i did nothing, just waited and it was repaired automatically. according to dmesg, there was something USB-related, but without user-action: http://www.intercity

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

2014-04-23 Thread Bastian Bittorf
* Yousong Zhou yszhou4t...@gmail.com [23.04.2014 14:53]: once upon a time 36ea10375db186bf10c13d89bbdc4cfb62bf5fcc, the idea was NOT to abort because e.g. the user builts for a whole arch and only some images are too big. (see the warnings) bye, bastian

[OpenWrt-Devel] [PATCH] [libubox] sh/jshn.sh - json_cleanup() dont pollute env with local vars

2014-04-20 Thread Bastian Bittorf
this script is mostly sourced, so we should try to keep the pollution of the users environment as low as possible. make the var 'tmp' local Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- sh/jshn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/jshn.sh b/sh

Re: [OpenWrt-Devel] procd crash

2014-04-16 Thread Bastian Bittorf
* Nuno Gonçalves nuno...@gmail.com [16.04.2014 09:34]: Crash happens always after a dvb_usb_rtl28xxu stick is inserted for the 2nd time. please run procd in debug-mode (hitting key '4') during bootup bye, bastian ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] target rb532 / routerboard / PCI issues

2014-04-16 Thread Bastian Bittorf
* Roman Yeryomin leroi.li...@gmail.com [16.04.2014 09:34]: Also pci seems to be broken as neither miniPCI slots nor VIA ethernet ports are not working: can you please try to fiddle in: http://patchwork.linux-mips.org/patch/4087/ bye, bastian ___

[OpenWrt-Devel] removed function jffs2_ready() in r40402

2014-04-16 Thread Bastian Bittorf
till r40402 we where probing jffs2_ready() before writing to disc (e.g. new config-files). what is the supposed way the handle that now? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] target rb532 / routerboard

2014-04-11 Thread Bastian Bittorf
* Roman Yeryomin leroi.li...@gmail.com [11.04.2014 10:45]: I would even use it if it really works... For now, it boots fine via ethernet and/or Compact-flash but only 1 ethernet-port is working. my two ath5k-cards (R52) are not detected and it seems to be somehow like this:

Re: [OpenWrt-Devel] target rb532 / routerboard

2014-04-11 Thread Bastian Bittorf
* Roman Yeryomin leroi.li...@gmail.com [11.04.2014 16:48]: at the moment i dont have time for this, but if somebody like, SSH-access and SSH to serial-line is possible (screen-session). Did you fix anything to boot it? no, i just removed the broken-flag and started the build. Mine says

Re: [OpenWrt-Devel] target rb532 / routerboard

2014-04-11 Thread Bastian Bittorf
* Roman Yeryomin leroi.li...@gmail.com [11.04.2014 17:56]: Tried jffs2 image - same result. Could it be because I have 532A version? That one was with bigger RAM (64M) with no other differences (as far as I know). Images here:

Re: [OpenWrt-Devel] target rb532 / routerboard

2014-04-11 Thread Bastian Bittorf
* Roman Yeryomin leroi.li...@gmail.com [11.04.2014 20:18]: .and panicked about 10 minutes later: http://pastebin.com/vuABEvPE we should made this discussion offlist via PM! this crash is enforced from a special script, read the log carefully: system_crashreboot() reason: olsrd missing so

Re: [OpenWrt-Devel] target rb532 / routerboard

2014-04-11 Thread Bastian Bittorf
* Roman Yeryomin leroi.li...@gmail.com [11.04.2014 20:18]: seems generating the rootfs is broken for you somehow. ptgen fault? I have 64bit environment if that matters... please go into 'target/linux/rb532/image/gen_image.sh' and before ptgen, insert this: echo /tmp/BLA OUTPUT=$OUTPUT

[OpenWrt-Devel] target rb532 / routerboard

2014-04-09 Thread Bastian Bittorf
why is it marked as 'broken'? i just compiled it with trunk r40422/kernel 3.10.34 and it boots fine. bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] target rb532 / routerboard

2014-04-09 Thread Bastian Bittorf
* Imre Kaloz ka...@openwrt.org [09.04.2014 14:53]: Because no one tested it since the kernel has been upgraded, and we don't have a board to do anymore ;) ok, will do some more tests and send a patch with re-enables it. (board will run in our testnet) bye, bastian

[OpenWrt-Devel] WiFi / interface-combinations e.g. IBSS + AP

2014-04-08 Thread Bastian Bittorf
while working with different routers, i recognized that e.g. using adhoc/IBSS + AP on 1 radio is generally supported with mac80211 but limited by driver. e.g. ath9k works, rt2800/rt2x00 does not work (r40352/fonera2.0n). because we have some presets in our community-firmware, it would be good to

Re: [OpenWrt-Devel] Patch submission release based on OpenWRT trunk

2014-04-04 Thread Bastian Bittorf
* Matthew Fatheree matthew.fathe...@belkin.com [04.04.2014 08:39]: the wireless driver, but our intention was to get this process started, so we could address any issues as soon as possible. I wrote 2 times to your press-releationship person, asking for sponsoring 50 of the devices for the next

Re: [OpenWrt-Devel] Fwd: hub-ctrl

2014-03-30 Thread Bastian Bittorf
* probono prob...@ghs.l.google.com [30.03.2014 21:01]: Add hub-ctrl app to switch off/on power to ports which support it on a USB host/hub http://trac.gateworks.com/export/216/openwrt/trunk/packages/hub-ctrl/Makefile I have 2 USB-hubs which are working with this tool. I will make a proper

Re: [OpenWrt-Devel] omap4 / Pandaboard / Pandaboard-ES / Kernel 3.14-rc8

2014-03-27 Thread Bastian Bittorf
* Bastian Bittorf bitt...@bluebottle.com [24.03.2014 10:35]: which file i have to edit for enforcing the build of uboot-MLO for panda-es? i changed my local u-boot version to 2014.04-rc2 and this build a working 'u-boot.img' + 'MLO' (2nd stage bootloader) - but even with kernel 3.13 or 3.14-rc8

Re: [OpenWrt-Devel] [PATCHv2 2/2] odhcp6c: Add renew handler for proto dhcpv6

2014-03-26 Thread Bastian Bittorf
* Jonas Gorski j...@openwrt.org [26.03.2014 20:18]: +proto_dhcpv6_renew() { + local interface=$1 + # SIGUSR1 forces odhcp6c to renew its lease + proto_kill_command $interface 16 SIGUSR1 is 16 only for mips; other arches use different values (see e.g.

Re: [OpenWrt-Devel] omap4 / Pandaboard / Pandaboard-ES / Kernel 3.13.7

2014-03-24 Thread Bastian Bittorf
* Bastian Bittorf bitt...@bluebottle.com [21.03.2014 20:13]: on the Panda-ES the boot stops here: http://intercity-vpn.de/files/openwrt/pandaboard_dmesg_booterror.txt the error is the same with 3.13.7 (was 3.13.3): http://intercity-vpn.de/files/openwrt/pandaboard_dmesg_booterror-kernel_3.13.7

[OpenWrt-Devel] omap4 / Pandaboard / Pandaboard-ES

2014-03-22 Thread Bastian Bittorf
with the help of Kaloz i managed it to boot a little bit a Pandaboard-ES with kernel 3.13 preparations (for the record): SD-card with 10 mb FAT16 bootable partition and 512 mb EXT4 partition. put 'u-boot.img' and 'MLO' on FAT16 and untar the rootfs to EXT4. mkdir 'boot' on the EXT4-partition

Re: [OpenWrt-Devel] [PATCH] [routing] olsrd: bump version to 0.6.6.1, remove redundant patch

2014-03-15 Thread Bastian Bittorf
* Russell Senior russ...@personaltelco.net [15.03.2014 20:21]: thank you. Applied in 654615db01d29e658c42ba9f0922177849e48dce of openwrt-routing feed: https://github.com/openwrt-routing/packages/commit/654615db01d29e658c42ba9f0922177849e48dce bye, bastian

[OpenWrt-Devel] TP-LINK TL-WR1043ND / switch: rtl8366rb / dead because of lightning

2014-02-25 Thread Bastian Bittorf
just for reference i want to share the relevant parts of klog from a working router TP-LINK TL-WR1043ND which was hit from lightning via DSL-line. The log shows: [0.62] Realtek RTL8366RB ethernet switch driver version 0.2.4 [0.74] rtl8366rb rtl8366rb: using GPIO pins 18 (SDA) and

Re: [OpenWrt-Devel] [PATCH 5/5] base-files: hotplug-call: minor cleanup: make it more visible, that braces are used for sourcing (protection against misbehaving external script, e.g. exit-call)

2014-02-24 Thread Bastian Bittorf
* Felix Fietkau n...@openwrt.org [24.11.2013 09:08]: thanks for feedback - i understand your argument and agree. beside that: anything against patch 1-5? No objections from me, except that I think 1 and 2 should be merged into one patch. ping - should i resend the (simple) patch?

Re: [OpenWrt-Devel] [RFC] menuconfig policy?

2014-02-21 Thread Bastian Bittorf
* Russell Senior russ...@personaltelco.net [19.02.2014 10:01]: That's possible. But it still means a substantial change in behavior for users. Previously, selecting kmod-batman-adv alone gave you batctl (similar to the userspace parts of madwifi, iirc). I'm afraid users are going to miss

Re: [OpenWrt-Devel] how do I troubleshoot Kernel Panic

2014-02-21 Thread Bastian Bittorf
* Alan.Hoo huqings...@ycmedia.cn [21.02.2014 19:23]: reboot suddenly. how do I troubleshoot ? Thank you in Advance. you can see the crash in '/sys/kernel/debug/crashlog' if your arch is supported. make sure you have debugging symbols enabled in your kernel. bye, bastian

Re: [OpenWrt-Devel] Backport of zram to AA

2014-02-14 Thread Bastian Bittorf
* Fernando Frediani fhfredi...@gmail.com [14.02.2014 09:35]: When will someone backport it from the trunk to Attitude Adjustment someone is you. there are some howto's out there to apply the needed changes to your local branch, use them. zram has changed a little but over the time, if you

Re: [OpenWrt-Devel] PowerPC / mpc85xx: change kernel-commandline

2014-02-05 Thread Bastian Bittorf
this patch changes 'arch/powerpc/boot/dts/tl-wdr4900-v1.dts' so, if i want to change (for me) the line i can make a 150-xxx on top of that? mit drahtlosen Grüßen, Bastian Bittorf -- bittorf wireless )) Verantwortlicher Entwicklung Telefon: +49 3643 4965 235 Mobil: +49 176 242 234 19 Inhaber: Bastian

Re: [OpenWrt-Devel] [PATCHv2 1/2] wifi: Introduce 802.11ac support

2014-01-31 Thread Bastian Bittorf
* Rafał Miłecki zaj...@gmail.com [31.01.2014 18:20]: On the other way, it doesn't make much sense to switch into 5GHz and 2GHz, as this can be determined using just a channel number... not really. some channels are available in 2 and 5 GHz band. (e.g. channel 7,8,9,11,12) bye, bastian

Re: [OpenWrt-Devel] trunk: firstboot forever on tp-link tl-wr740n v4.21

2014-01-25 Thread Bastian Bittorf
* Jiri Pirko j...@resnulli.us [25.01.2014 20:32]: Any idea what might be wrong? yes, your image is too big and jffs2 has not enough space / erase blocks for a working writeable partition, so everything is done in ramdisc-overlay only. check dmesg. bye, bastian

Re: [OpenWrt-Devel] trunk: firstboot forever on tp-link tl-wr740n v4.21

2014-01-25 Thread Bastian Bittorf
* Jiri Pirko j...@resnulli.us [25.01.2014 20:32]: Any idea what might be wrong? thanks to Gabor Juhos - since r39397 there is a mechanism for ar71xx, which actively prevents such situations during buildtime. bye, bastian ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [PATCH] busybox: enable CONFIG_HOSTNAME

2014-01-21 Thread Bastian Bittorf
* Stefan Hellermann ste...@the2masters.de [21.01.2014 10:09]: What do the maintainers of openwrt/busybox think? Is it useful to have a hostname binary on a router/access point? Maybe for shell scripts or some web-interface? If yes, can you add it? is the applet 'hostname' really just needed

Re: [OpenWrt-Devel] [PATCH:kernel] OpenWRT for Raspberry PI - _fixed_ second version.

2014-01-20 Thread Bastian Bittorf
* Oskari Rauta oskari.ra...@gmail.com [20.01.2014 08:19]: Since the current raspberry pi target BCM2708 will never be accepted just an idea: maybe it should not be a subtarget of BCM2708 but a standalone one? than the special patches are not a problem anymore got the other BCM2708 ones... i

[OpenWrt-Devel] PowerPC / mpc85xx: change kernel-commandline

2014-01-16 Thread Bastian Bittorf
we are used to apply 'oops=panic panic=10' to our kernel-cmdline, but doing this with mpc85xx seems not to work: user@build:~/openwrt$ grep 'CONFIG_CMDLINE=' target/linux/mpc85xx/config-3.10 CONFIG_CMDLINE=console=ttyS0,115200 oops=panic panic=10 root@box$ cat /proc/cmdline

Re: [OpenWrt-Devel] [PATCH] busybox: enable CONFIG_FEATURE_WGET_TIMEOUT

2014-01-16 Thread Bastian Bittorf
* Alexander Couzens lyn...@fe80.eu [16.01.2014 11:48]: This enables wget argument -T TIMEOUT. Otherwise a wget will timeout after ~2 minutes. but to make it clear, the timeout does not work always. the busybox-people are aware of this, but there is no fix yet. this means: if you script

Re: [OpenWrt-Devel] PowerPC / mpc85xx: change kernel-commandline

2014-01-16 Thread Bastian Bittorf
* John Crispin j...@phrozen.org [16.01.2014 12:16]: what cmdline is shown in the bootlog ? the same like in '/proc/cmdline': [0.00] Kernel command line: console=ttyS0,115200 bye, bastian ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [PATCH] dnsmasq: add reload to init script and use it by dhcp client

2014-01-15 Thread Bastian Bittorf
* Ulrich Weber uweber.li...@gmail.com [15.01.2014 20:05]: avoids nasty race condition between manual dnsmasq restart and killall -HUP dnsmasq by dhcp client, killing the init script accidentially +reload_service() { + DNSMASQ_PID=$(cat /var/run/dnsmasq.pid) + + if [ $DNSMASQ_PID !=

Re: [OpenWrt-Devel] procd: reboot sometimes hangs

2014-01-14 Thread Bastian Bittorf
* John Crispin j...@phrozen.org [14.01.2014 19:55]: sometimes I experience hangs when rebooting. there are already some bugs on tra open regarding this. As far as I can see procd does not try to kill any started services but relies on them to exit gracefully. Would it make sense to

Re: [OpenWrt-Devel] [PATCHv2][packages] add libnetconf package

2014-01-06 Thread Bastian Bittorf
* Luka Perkov l...@openwrt.org [06.01.2014 08:49]: I wanted to create a new feed for management tools (called i like the idea... bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] r38914 breaks multiple WiFi interfaces

2014-01-05 Thread Bastian Bittorf
* Nuno Gonçalves nuno...@gmail.com [06.01.2014 08:48]: On Fri, Jan 3, 2014 at 1:43 PM, Bastian Bittorf bitt...@bluebottle.com wrote: please reopen https://dev.openwrt.org/ticket/14590 and submit your config and experience there... bye, bastian Thanks for pointing me to the ticket

Re: [OpenWrt-Devel] [PATCH v3] Add sysfixtime init script, replacement of luci_fixtime

2014-01-05 Thread Bastian Bittorf
* Etienne CHAMPETIER etienne.champet...@free.fr [06.01.2014 08:48]: +#!/bin/sh /etc/rc.common +# Copyright (C) 2013-2014 OpenWrt.org + +START=00 + +boot() { + CURTIME=`date +%s` + MAXTIME=`find /etc -type f -exec date +%s -r {} \; | sort | tail -n1` + [[ $CURTIME -lt $MAXTIME

Re: [OpenWrt-Devel] [PATCH] Add sysfixtime init script, replacement of luci_fixtime

2014-01-03 Thread Bastian Bittorf
* etienne.champet...@free.fr etienne.champet...@free.fr [02.01.2014 21:10]: so simply set the system-time to the filedate of your cert + X seconds. It seems much more complicated (where is the cert, also it need openssl-util to decode the cert, ...) and would only work for openvpn.

Re: [OpenWrt-Devel] r38914 breaks multiple WiFi interfaces

2014-01-03 Thread Bastian Bittorf
* Nuno Gonçalves nuno...@gmail.com [03.01.2014 13:32]: Since r38914 I can no longer have a AP and STA interface simultaneously on a WRT160NL. The STA will work fine but the AP SSID is not broadcasted. already fixed, try trunk = r39139 bye, bastian

Re: [OpenWrt-Devel] r38914 breaks multiple WiFi interfaces

2014-01-03 Thread Bastian Bittorf
* Nuno Gonçalves nuno...@gmail.com [03.01.2014 14:40]: On Fri, Jan 3, 2014 at 1:38 PM, Bastian Bittorf bitt...@bluebottle.com wrote: already fixed, try trunk = r39139 I found the issue on r39183 and backtracked it to r38914, so the issue is not fixed or at least is happening again

Re: [OpenWrt-Devel] [PATCH] Add sysfixtime init script, replacement of luci_fixtime

2014-01-02 Thread Bastian Bittorf
* etienne.champet...@free.fr etienne.champet...@free.fr [02.01.2014 10:25]: When you do a fresh (re)start, openvpn complains because certificate is not yet valid. so simply set the system-time to the filedate of your cert + X seconds. bye, bastian

Re: [OpenWrt-Devel] [PATCH] Add sysfixtime init script, replacement of luci_fixtime

2013-12-29 Thread Bastian Bittorf
* Etienne CHAMPETIER etienne.champet...@free.fr [29.12.2013 22:09]: Save time by touching /etc/config/sysfixtime, so it's included in backups Introduce save_time_interval config (in days) to choose how often time is saved to flash (default 30) Use busybox ntpd -S option so time is saved

Re: [OpenWrt-Devel] [PATCH 5/5] base-files: hotplug-call: minor cleanup: make it more visible, that braces are used for sourcing (protection against misbehaving external script, e.g. exit-call)

2013-12-25 Thread Bastian Bittorf
* Bastian Bittorf bitt...@bluebottle.com [23.11.2013 22:49]: * Felix Fietkau n...@openwrt.org [23.11.2013 22:47]: I disagree with the proposal to get rid of subshells here. I don't want one hotplug script to accidentally pick up variables of another one, because such issues can be annoying

Re: [OpenWrt-Devel] ubus hostapd del_client problem

2013-12-21 Thread Bastian Bittorf
* Alexander Klosch klos...@subsignal.org [21.12.2013 10:11]: root@nh2:~# ubus call hostapd.wlan0 del_client '{addr: 00:00:ca:ff:ee:00, reason: 5, deauth: True, ban_time: 60}' root@nh2:~# ubus call hostapd.wlan0 list_bans { clients: [ ] } ban_time is 'milliseconds' IMHO.

[OpenWrt-Devel] Q: hotplug / button / reset

2013-12-18 Thread Bastian Bittorf
on a 'TP-LINK TL-WDR4900 v1' there is a button labeled 'WPS/reset'. when i press it, i get a hotplug call with $BUTTON = reset and $ACTION = pressed / released after this the router restarts. who does this? procd? do i have a chance to relabel this button to e.g. 'wps' without recompiling?

Re: [OpenWrt-Devel] tl-wr1043nd-v2

2013-12-16 Thread Bastian Bittorf
* Daniel A. Nagy nagyd...@epointsystem.org [16.12.2013 10:11]: I have noticed that the trunk already supports v2 hardware of TP-Link's TL WR-1043ND router, but attitude adjustment does not. My question is which patches are the ones responsible for it and whether it is possible/reasonable to

Re: [OpenWrt-Devel] [PATCH v2 1/3] sysupgrade: let force be more forceful with multiple --force/-F options

2013-12-15 Thread Bastian Bittorf
* Andreas Mohr a...@lisas.de [15.12.2013 17:09]: I'm feeling a bit uneasy about changing that assignment into an increment of a variable that thereby loses its initialization (or is it already initialized elsewhere?). yes, it gets an init at scriptstart. - bye, bastian

Re: [OpenWrt-Devel] Interest in a openwrt router database to partially replace TOH?

2013-12-09 Thread bittorf wireless )) Bastian Bittorf
* Joris de Vries j.s.de.vr...@gmail.com [09.12.2013 09:52]: the hardware is known to be out of production. Looking for hardware to buy to run OpenWRT is... less than straightforward. This is so absolutely true. I have gone as far as to create a snippet (link included, please don't click,

Re: [OpenWrt-Devel] Interest in a openwrt router database to partially replace TOH?

2013-12-09 Thread Bastian Bittorf
* Manuel Munz freif...@somakoma.de [09.12.2013 14:16]: * Integrating more information directly into the build system also sounds like a good idea, though i'm not really sure how that would be done on a per model basis. And then the question is how much information would we want to add there

Re: [OpenWrt-Devel] Interest in a openwrt router database to partially replace TOH?

2013-12-09 Thread Bastian Bittorf
* Daniel Golle dgo...@allnet.de [09.12.2013 14:35]: VENDOR - e.g. 'TP-LINK' MODEL - e.g. 'TL-WR1043ND' VERSION - e.g. empty or 'v2' ? SALE_START - e.g. '2013-05' SALE_STOP - e.g. empty or '2014-08' STATUS - e.g. 'broken' or 'r12345' or 'WIP' what about devices which work in old

Re: [OpenWrt-Devel] Interest in a openwrt router database to partially replace TOH?

2013-12-08 Thread Bastian Bittorf
* Joshua Judson Rosen jro...@harvestai.com [09.12.2013 08:38]: what is missing then is the router name, e.g. VENDOR and MODEL - e.g. 'TP-LINK TL-WR1043ND' What I really wish the TOH listing had is some indication of whether the hardware is known to be out of production. Looking for hardware

Re: [OpenWrt-Devel] [PATCH 5/5] base-files: hotplug-call: minor cleanup: make it more visible, that braces are used for sourcing (protection against misbehaving external script, e.g. exit-call)

2013-11-23 Thread Bastian Bittorf
* Yousong Zhou yszhou4t...@gmail.com [23.11.2013 09:40]: That is a really long Subject line I guess. yes, i should change the way like i write git-commit-messages. (emails are automatically written with 'git format-patch -s' -for script in /etc/hotplug.d/$1/* ; do ( - [ -f $script ] .

Re: [OpenWrt-Devel] [PATCH 5/5] base-files: hotplug-call: minor cleanup: make it more visible, that braces are used for sourcing (protection against misbehaving external script, e.g. exit-call)

2013-11-23 Thread Bastian Bittorf
* Yousong Zhou yszhou4t...@gmail.com [23.11.2013 10:58]: Looks like most of them `exit` for a reason. Maybe we could instead just document explicitly the way hotplug scripts are run and let scripts take the shortcut `exit` at appropriate time. i think there is no change needed. i

Re: [OpenWrt-Devel] [PATCH 5/5] base-files: hotplug-call: minor cleanup: make it more visible, that braces are used for sourcing (protection against misbehaving external script, e.g. exit-call)

2013-11-23 Thread Bastian Bittorf
* Yousong Zhou yszhou4t...@gmail.com [23.11.2013 17:01]: was puzzles me: the PID_inside is the same like from the main-script. should'nt it change? It's weird. I found the following description from bash manual [1] that `$$`: Expands to the process ID of the shell. In a ()

Re: [OpenWrt-Devel] [PATCH 5/5] base-files: hotplug-call: minor cleanup: make it more visible, that braces are used for sourcing (protection against misbehaving external script, e.g. exit-call)

2013-11-23 Thread Bastian Bittorf
* Felix Fietkau n...@openwrt.org [23.11.2013 22:47]: first update all hotplug-scripts to work without 'exit', then change the /sbin/hotplug-call to '. $script' instead of ( . $script ) I disagree with the proposal to get rid of subshells here. I don't want one hotplug script to accidentally

Re: [OpenWrt-Devel] Q: basefiles: server_check() / start-stop-daemon

2013-11-22 Thread Bastian Bittorf
* Bastian Bittorf bitt...@bluebottle.com [22.11.2013 08:50]: and often we see an 'error' on log, but the daemon runs fine. when checking what service_check() does, i can see that it calls: start-stop-daemon -K -t -- /usr/sbin/olsrd i read my debugging wrong, and it really calls: start-stop

<    1   2   3   4   5   6   7   8   >