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.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] 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] 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

[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

[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

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

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

[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] [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] 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

[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:

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

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

[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

[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

Re: [OpenWrt-Devel] openwrt language no change!

2012-12-21 Thread Bastian Bittorf
* . Elvis szx7...@gmail.com [21.12.2012 08:54]: When I select other languages, why not change? Are using LuCI? have you installed the language files? Next time you are better using the user list: https://lists.openwrt.org/mailman/listinfo/openwrt-users also respect this:

Re: [OpenWrt-Devel] openwrt language no change!

2012-12-21 Thread Bastian Bittorf
* . Elvis szx7...@gmail.com [21.12.2012 09:58]: my .config first: this is devel here, so switch to a recent build, yours is ~3 month old. analysis: so you choosed: japanese, english, chinese - correct? bye, bastian ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [PATCH] ddns-scripts: Ensure busybox wget dependency

2012-12-30 Thread Bastian Bittorf
* Jonathan McCrohan jmccro...@gmail.com [30.12.2012 15:57]: ddns-scripts currently fails if GNU Wget is installed. Ensure that why? bye, bastian. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH] ddns-scripts: Ensure busybox wget dependency

2012-12-30 Thread Bastian Bittorf
* Jonathan McCrohan jmccro...@gmail.com [30.12.2012 15:57]: ddns-scripts currently fails if GNU Wget is installed. Ensure that why does it fail? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] should syslog-ng[3] terminate build-in syslog?

2012-12-31 Thread Bastian Bittorf
* Brian J. Murrell br...@interlinx.bc.ca [31.12.2012 14:39]: On 12-12-29 05:23 AM, Daniel A. Nagy wrote: Interesting perspective. The reason it seemed so important here to shut it down was because I had configured it to forward to a syslog server here and then also configured syslog-ng3 to

Re: [OpenWrt-Devel] should syslog-ng[3] terminate build-in syslog?

2012-12-31 Thread Bastian Bittorf
* Brian J. Murrell br...@interlinx.bc.ca [31.12.2012 16:38]: write an startup-script for both and delete it from /etc/init.d/boot so the busybox-logger simply gets overwritten when you install syslog-ng3. So are you proposing that the syslog-ng3 post-install script edit

[OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2012-12-31 Thread Bastian Bittorf
since 2 years we are using zram[0] in our production networks and we love it. i like to kick out the package compcache which is very outdated and just use the mainline implementation. at the moment we are manually go into kernel_menuconfig and switch on: General setup: --- [*] Support for paging

[OpenWrt-Devel] tune kernel commandline for headless/embedded systems / oops=panic panic=10 / panic_on_oom=1

2013-01-03 Thread Bastian Bittorf
oops=panic panic=10 / panic_on_oom=1 Reply-To: X-Editor: vi http://ex-vi.sourceforge.net/ In our production networks we had issues that some device needed a manual restart, because there where hanging/panic/oopsing during boot-time. We added to the kernel-commandline the args: 'oops=panic

Re: [OpenWrt-Devel] tune kernel commandline for headless/embedded systems / oops=panic panic=10 / panic_on_oom=1

2013-01-04 Thread Bastian Bittorf
* Imre Kaloz ka...@openwrt.org [04.01.2013 16:27]: I'm fine with the idea but not the way you did it, because if you're serial attached this gets annoying quite fast. Although we could make this a config option and do all kind of magic to set it based on that, I suggest swapping your

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-04 Thread Bastian Bittorf
* Hauke Mehrtens ha...@hauke-m.de [03.01.2013 21:30]: I would not add it as a global option, but as a module, so it could also be used by someone not building his own image, but using a prebuild image, with kernel 3.6.11 I had a problem building this as a module. The swap utils e.g. from

Re: [OpenWrt-Devel] [PATCH] omap4 / panda / wifi not detected correctly

2013-01-05 Thread Bastian Bittorf
* dvrao dv...@gytechs.com [05.01.2013 09:37]: * default generated wireless config is not working for OMAP4 TIWI-BLE module, after small change of the hwmod it is working. describe these changes (e.g. diff between wifi detect / your wireless-conf) bye, bastian

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-05 Thread Bastian Bittorf
* Damian Kaczkowski damian.kaczkow...@gmail.com [05.01.2013 15:37]: You can't install applets alone. Its one package busybox with enabled or disabled functionality. ofcourse you can package an applet. dont know if the buildsystem can do that, but it is possible. (but bound to the specific

Re: [OpenWrt-Devel] busybox / compile single applet

2013-01-06 Thread Bastian Bittorf
* Hauke Mehrtens ha...@hauke-m.de [06.01.2013 18:34]: if a user on a standard build does 'opkg install zram-swap' it must also install the applets 'busybox-mkswap' and 'busybox-swaponoff' so they must be build separately in the standard-build (so the repo's gets them) busybox contains

Re: [OpenWrt-Devel] compcache / ramzswap / zram / frontswap

2013-01-06 Thread Bastian Bittorf
* Hauke Mehrtens ha...@hauke-m.de [06.01.2013 18:34]: This was committed in a modified version hopefully incorporating all the good comments and the new version of the script in r35025. root@openwrt:~ /etc/init.d/zram -ash: /etc/init.d/zram: Permission denied bye, bastian

Re: [OpenWrt-Devel] tune kernel commandline for headless/embedded systems / oops=panic panic=10 / panic_on_oom=1

2013-01-07 Thread Bastian Bittorf
* Imre Kaloz ka...@openwrt.org [07.01.2013 12:55]: the problem is: most routers are in production and not serial attached - so you have really a problem if a node (rooftop or solar powered) dies during boot. if you are a developer, you can simple build your own image and disable this option,

Re: [OpenWrt-Devel] tune kernel commandline for headless/embedded systems / oops=panic panic=10 / panic_on_oom=1

2013-01-07 Thread Bastian Bittorf
* Oliver oli...@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa [07.01.2013 21:46]: this is not the idea: face the fact, that a kernel can panic seldom during boot, even before preinit, even if the kernel is good. So if the kernel is good, evidently something else isn't... If you're shipping images

Re: [OpenWrt-Devel] zram / support for multiple cpu-cores

2013-01-08 Thread Bastian Bittorf
i have added support for multiple cpu-cores. can please somebody test the new script e.g. on a x86-box with more than 1 core - or on a router with multiple cores? root@openwrt:~ curl --insecure https://raw.github.com/bittorf/kalua/master/openwrt-addons/etc/init.d/zram /etc/init.d/zram

Re: [OpenWrt-Devel] [PATCH] Assign non-default priority to zram swap

2013-01-14 Thread Bastian Bittorf
* Nathan Hintz nlhi...@hotmail.com [14.01.2013 11:05]: - swapon $zram_dev + swapon -p 0 $zram_dev this breaks zram for now, because we compile the busybox-swaponoff without support for p. the patch is OK, but can please somebody switch on the support for p for all

Re: [OpenWrt-Devel] Get to RedBoot prompt in Atheros-based router

2013-01-14 Thread Bastian Bittorf
* Nguyễn Hồng Quân quanngu...@mbm.vn [14.01.2013 11:53]: I'm trying to flash OpenWrt to an old D-Link DIR-300 router. The please use http://wiki.openwrt.org/toh/d-link/dir-300#with.dir300-flash.sh.shell.script the link is dead, but it's in the feed: package/feeds/packages/dir300-flash bye,

Re: [OpenWrt-Devel] [PATCH] Assign non-default priority to zram swap

2013-01-14 Thread Bastian Bittorf
* Nathan Hintz nlhi...@hotmail.com [14.01.2013 11:05]: - swapon $zram_dev + swapon -p 0 $zram_dev i just stumbled over the fact, that target atheros 23xx has no support for swap activated and is still at kernel v3.3.8. CONFIG_SWAP=y make kernel_menuconfig General

Re: [OpenWrt-Devel] [PATCH] Assign non-default priority to zram swap

2013-01-14 Thread Bastian Bittorf
* Nathan Hintz nlhi...@hotmail.com [14.01.2013 11:05]: Insures zram swap is higher priority than any swap added by block-mount; which is not the case if zram swap is restarted for any reason (e.g., /etc/init.d/zram restart). Signed-off-by: Nathan Hintz nlhi...@hotmail.com Index:

Re: [OpenWrt-Devel] Get to RedBoot prompt in Atheros-based router

2013-01-15 Thread Bastian Bittorf
* Nguyễn Hồng Quân quanngu...@mbm.vn [15.01.2013 11:20]: I wonder if the time for RedBoot to wait for telnet was set to 0 by someone before. it should be possible from DD-WRT/openwrt to alter variables from redboot. look out for fconfig: http://wiki.openwrt.org/doc/techref/bootloader/redboot

Re: [OpenWrt-Devel] tune kernel commandline for headless/embedded systems / oops=panic panic=10 / panic_on_oom=1

2013-01-15 Thread Bastian Bittorf
* John Szakmeister j...@szakmeister.net [15.01.2013 12:52]: Just to be clear, there are other reasons why things can go wrong and still have a good kernel. Check out the soft errors page on Wikipedia: http://en.wikipedia.org/wiki/Soft_error thanks for this link John, i want to expose a

Re: [OpenWrt-Devel] Get to RedBoot prompt in Atheros-based router

2013-01-16 Thread Bastian Bittorf
* Nguyễn Hồng Quân quanngu...@mbm.vn [16.01.2013 11:55]: I'm trying the last option: serial port. But what I got in Terminal is all non-printable characters. Do you have experience in this? Maybe one of signal lines is erroneous?

Re: [OpenWrt-Devel] Get to RedBoot prompt in Atheros-based router

2013-01-16 Thread Bastian Bittorf
* Nguyễn Hồng Quân quanngu...@mbm.vn [16.01.2013 13:15]: I determined serial pins based on http://wiki.openwrt.org/toh/d-link/dir-300#serial.port.jp1 here it is working out of the box: screen /dev/ttyS0 9600 the board needs some time to boot the bootloader, really slow 8-) what wondered me:

Re: [OpenWrt-Devel] support for SWAP / paging of anonymous memory

2013-01-16 Thread Bastian Bittorf
* Hauke Mehrtens ha...@hauke-m.de [06.01.2013 18:34]: General setup: --- [*] Support for paging of anonymous memory (swap) again poking for this, i dont know how to check, but e.g. for platform atheros this is not set, so it is not possible to install zram-swap on those devices. the string

Re: [OpenWrt-Devel] Get to RedBoot prompt in Atheros-based router

2013-01-17 Thread Bastian Bittorf
* Nguyễn Hồng Quân quanngu...@mbm.vn [17.01.2013 11:44]: To make the serial connection, I use a TTL-to-RS232 converter circuit, which works well with La Fonera route before. are you really on 9600 baud 8,N,1? if yes, resolder it. bye, bastian ___

Re: [OpenWrt-Devel] Get to RedBoot prompt in Atheros-based router

2013-01-17 Thread Bastian Bittorf
* Nguyễn Hồng Quân quanngu...@mbm.vn [17.01.2013 23:52]: tried increasing the baudrate and found that my router use 115200 good! write a sentence on the wiki: http://wiki.openwrt.org/toh/d-link/dir-300 bye, bastian ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [PATCH] packages/net/olsrd: retry tunnel setup

2013-01-20 Thread Bastian Bittorf
* Daniel Golle dgo...@allnet.de [20.01.2013 22:50]: When started while boot, olsrd quits when SmartGW is enabled with the message olsrd[1395]: Received netlink error code Cannot assign requested address (-126) olsrd[1395]: olsrd exit: Cannot initialize gateway tunnels this is likely a

Re: [OpenWrt-Devel] [brcm63xx] Re: source code / disassembler / decompiler

2013-01-30 Thread Bastian Bittorf
* Daniel Gimpelevich dan...@gimpelevich.san-francisco.ca.us [31.01.2013 08:48]: I don't know whether this will be of much use. Florian, any hope of reusing the binary ADSL modules in 3.x? They're there as unversioned .o, back in the old days we just used disassemblers, now we even have tools

Re: [OpenWrt-Devel] [brcm63xx] Re: source code / disassembler / decompiler

2013-01-31 Thread Bastian Bittorf
* Daniel Gimpelevich dan...@gimpelevich.san-francisco.ca.us [31.01.2013 16:47]: You mean the days before this? http://en.wikipedia.org/wiki/Bowers_v._Baystate_Technologies Any such effort to do this would need to be using the clean-room hmmm, correct me but the drivers are GPL licenced

Re: [OpenWrt-Devel] WRT54g / b43 / mac802.11 BREAKTHROUGH

2013-02-14 Thread Bastian Bittorf
* Bastian Bittorf bitt...@bluebottle.com [18.07.2012 17:43]: hi devs! yesterday we had a breaktrough debugging b43 in our hackspace maschinenraum/m18[1,2] at weimar.freifunk.net[3,4] - since a long time our darling wrt54g suffers from a hanging wifi and bad performance[5

[OpenWrt-Devel] [PATCH] Failsafe-mode: print short help on commandline

2013-02-17 Thread Bastian Bittorf
-a -f /etc/banner.failsafe ] cat /etc/banner.failsafe [ -f /etc/banner ] cat /etc/banner export PATH=/bin:/sbin:/usr/bin:/usr/sbin -- 1.7.2.5 From 3a3a0b5f22e40d5dfcd837f08ed15d25c06b6042 Mon Sep 17 00:00:00 2001 From: Bastian Bittorf bitt...@bluebottle.com Date: Sun, 17 Feb 2013 12:08:53

[OpenWrt-Devel] [PATCH] [base-files] Failsafe-mode: print short help on commandline (signed)

2013-02-17 Thread Bastian Bittorf
, so you cannot use the wiki. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- package/base-files/files/etc/banner.failsafe | 11 +++ package/base-files/files/etc/profile |1 + 2 files changed, 12 insertions(+), 0 deletions(-) create mode 100644 package/base-files

[OpenWrt-Devel] [PATCH] packages: olsrd: use system-logger instead of dumping to stdout

2013-02-17 Thread Bastian Bittorf
packages: olsrd: use system-logger instead of dumping to stdout, which is cleaner and also seen if not interactive called. minor cleanups in some messages, also show function-name in messages. by using 'logger -s' we can see the message on screen and in logs. Signed-off-by: Bastian Bittorf bitt

[OpenWrt-Devel] [PATCH] [packages] olsrd: init: cleanup an expensive/forky call

2013-02-17 Thread Bastian Bittorf
readable 4) check for installed ip-command Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- net/olsrd/files/olsrd.init | 37 +++-- 1 files changed, 35 insertions(+), 2 deletions(-) diff --git a/net/olsrd/files/olsrd.init b/net/olsrd/files/olsrd.init index

Re: [OpenWrt-Devel] [PATCH] [base-files] Failsafe-mode: print short help on commandline (signed)

2013-02-19 Thread Bastian Bittorf
can stay last, as it's usually the last thing you do ;-). Maybe also a short intro line, like Some useful commands:. thanks for feedback - amended patch attached bye, bastian From 142568572a48698eb6d07affbb4cc5d6f73b00da Mon Sep 17 00:00:00 2001 From: Bastian Bittorf bitt...@bluebottle.com Date

Re: [OpenWrt-Devel] [PATCH] b43: Increase number of RX DMA slots

2013-02-19 Thread Bastian Bittorf
* Larry Finger larry.fin...@lwfinger.net [18.02.2013 21:17]: (14e4:4315) units. I think the firmware and DMA can handle it. After all, all the TX rings have 256 slots. There is, however, a question of the memory. TX only acquires the buffers when needed, but RX has to get them in advance,

Re: [OpenWrt-Devel] Init script

2013-02-19 Thread Bastian Bittorf
* Sivateja Patibandla patibandl...@vcu.edu [20.02.2013 01:31]: distribution I'm using is OpenWrt Attitude_Adjustment, and the hardware is Ubiquiti Bullet 5 Ghz modem with AR2313 SoC. Without the init script if I We face similar problems. 1) Have you enabled zram? Those devices only have 16mb

Re: [OpenWrt-Devel] [PATCH] netifd: allow the use of /etc/default/netifd file

2013-02-20 Thread Bastian Bittorf
* Jonh Wendell jonh.wend...@gmail.com [20.02.2013 18:41]: +[ -f $DEFAULT ] . $DEFAULT +service_start /sbin/netifd $OPTION this is not pretty, nifty and simple. (but must be!) use: [ -f $DEFAULT ] read OPTIONS $DEFAULT why should the user need to know your variable name. this passes

Re: [OpenWrt-Devel] Init script

2013-02-27 Thread Bastian Bittorf
* Sivateja Patibandla patibandl...@vcu.edu [27.02.2013 09:55]: Thank you for replying. I don't have zram enabled. Did zram solve the enable zram, than recheck if this solves your problem, but likely it does. Although, I've an init script for watchdog in rc.d directory, it does not show up

Re: [OpenWrt-Devel] [PATCH] mac80211: Fix multi-bss operation issue on rt2800

2013-02-28 Thread Bastian Bittorf
* Petr Štetiar yn...@true.cz [28.02.2013 09:46]: and tried it on my Carambola (rt3350): wlan0 C4:93:00:11:01:88 wlan0-1 C6:93:00:11:01:89 Please note that upper byte C4/C6 which renders the wlan0 bssid unaccessible. Correct and working MAC should start with C4. Thanks.

Re: [OpenWrt-Devel] [PATCH] mac80211: Fix multi-bss operation issue on rt2800

2013-02-28 Thread Bastian Bittorf
* John Crispin j...@phrozen.org [28.02.2013 10:50]: o'rly ? on rt wisoc ? i think not no, other platform - i'am confused, that this a hardware issue?! if so, sorry for the noise... bye, bastian ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] Init script

2013-03-03 Thread Bastian Bittorf
* Sivateja Patibandla patibandl...@vcu.edu [03.03.2013 20:26]: I've tried zram and it still has the same problem. I've enabled it by following the procedure listed in http://patchwork.openwrt.org/patch/1609/. Any other comments or suggestions? Thank you. forget the patch in patchwork, it's

Re: [OpenWrt-Devel] Init script

2013-03-07 Thread Bastian Bittorf
* Sivateja Patibandla patibandl...@vcu.edu [08.03.2013 08:12]: But the system still freezes at least 40% of the times I tested. It freezes we also see freezes on all our atheros nodes, at least once a day, no matter if swap is used or not (we have some 32mb nodes also). problems. Does it

Re: [OpenWrt-Devel] atheros / silent freeze / ar2313/15/17

2013-03-09 Thread Bastian Bittorf
* Sivateja Patibandla patibandl...@vcu.edu [09.03.2013 21:40]: I've added CONFIG_SWAP=y to trunk/target/linux/atheros/config3.3 and I still can't see zram in the base system. Am I missing something? unsure, what the specific problem is, just run 'make kernel_menuconfig' and activate it. bye,

Re: [OpenWrt-Devel] Init Script

2013-03-09 Thread Bastian Bittorf
* Sivateja Patibandla patibandl...@vcu.edu [09.03.2013 21:58]: I've added CONFIG_SWAP=y to trunk/target/linux/atheros/config3.3 and I still can't see zram in the base system. Am I missing something? unsure, what the specific problem is, just run 'make kernel_menuconfig' and activate it. bye,

Re: [OpenWrt-Devel] wireless mesh at 538 mbits/sec with 54G + HT20 possible ?

2013-03-09 Thread Bastian Bittorf
* cmsv c...@wirelesspt.net [09.03.2013 22:37]: from number 10 to number 12 the distance is 200 meters and i get... 538 mbits/sec with iperf. Image and settings bellow: http://wirelesspt.net/wiki/images/b/b8/Ap-diegolopes-iperf.png unsure which iperf test you are using, but make sure that

Re: [OpenWrt-Devel] wireless mesh at 538 mbits/sec with 54G + HT20 possible ?

2013-03-10 Thread Bastian Bittorf
* cmsv c...@wirelesspt.net [09.03.2013 22:37]:

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL)

2013-03-10 Thread Bastian Bittorf
* Daniel Golle daniel.go...@gmail.com [10.03.2013 15:17]: ;; + 430080*) + iw reg set IL + model=TP-Link TL-WDR4300 (IL) + ;; dont do 'iw reg' magic here, the user should decide that in the common way (uci...) bye, bastian

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL)

2013-03-10 Thread Bastian Bittorf
* Daniel Golle daniel.go...@gmail.com [10.03.2013 16:24]: However, the law over here says that it should not be up to the user to decide that. i understand your thoughts, but linux/openwrt is not responsible for fight with the law. otherwise we must e.g. built it without SSL for several

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL)

2013-03-10 Thread Bastian Bittorf
* Daniel Golle daniel.go...@gmail.com [10.03.2013 16:24]: The idea of doing iw reg set IL when the board is detected was to simulate that behaviour and achieve the same result as if it was done properly in the EEPROM (i.e. the user can then only further limit herself) it will be resetted

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-10 Thread Bastian Bittorf
* Daniel Golle daniel.go...@gmail.com [10.03.2013 18:00]: maybe you can set it via uci (without commiting it), so it survives any wifi action _and_ can be overidden... technically that's not that easy, because tplink_board_detect is called before wifi detect during firstboot. Therefore

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL)

2013-03-10 Thread Bastian Bittorf
* Daniel Golle daniel.go...@gmail.com [10.03.2013 19:57]: So by default, this just *prevents* you from using channels you are legally allowed to use in your country. Using the binary from downloads.openwrt.org won't give you access to bands which are restricted by law, right? Not that this is

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-10 Thread Bastian Bittorf
* Daniel Golle daniel.go...@gmail.com [10.03.2013 19:57]: On 03/10/2013 07:52 PM, Bastian Bittorf wrote: thats not true. OpenWrt defaults to regdomain US (hardcoded in the builts, because the regdomain is choosen during compiletime). so NACK. no such a thing as a hardcoded country code

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-10 Thread Bastian Bittorf
* Daniel Dickinson dan...@cshore.neomailbox.net [10.03.2013 19:57]: Actually, the default in the code is to use the EEPROM values if present, but if the EEPROM doesn't set a country code or to be clear: during compile-time, a description is loaded which values are allowed for each country:

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-11 Thread Bastian Bittorf
* Daniel Dickinson dan...@powercloudsystems.com [11.03.2013 09:27]: you posted some screenshots of the original tplink-firmware for Israel: they made nearly everything wrong for the user. I'm afraid you've confused me with someone else. I posted no such thing. Also I looked at the forum

[OpenWrt-Devel] [PATCH 1/2] [packages] olsrd: init: for better reuse, make a function out of a procedure get_value_for_entry()

2013-03-11 Thread Bastian Bittorf
better readable. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- net/olsrd/files/olsrd.init | 26 +++--- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/net/olsrd/files/olsrd.init b/net/olsrd/files/olsrd.init index 18cd42f..6ed369f 100644 --- a/net

[OpenWrt-Devel] [PATCH 3/3] [packages] olsrd: init: reduce code duplication by reusing already_in_schema()

2013-03-11 Thread Bastian Bittorf
[packages] olsrd: init: reduce code duplication by reusing already_in_schema() changed scope/position of this function, and reuse it. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- net/olsrd/files/olsrd.init | 48 +--- 1 file changed, 23

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-11 Thread Bastian Bittorf
* Daniel Golle daniel.go...@gmail.com [11.03.2013 13:23]: For now, I guess the work-around I suggested does the trick (anyone got a better *practical* idea) -- it detects the hwid of the board and (ab)uses it as a regulatory hint. That's not very elegant, but until there is a better

[OpenWrt-Devel] [packages] olsrd: init: patchset for download

2013-03-11 Thread Bastian Bittorf
these inline patches are also here for download them: https://github.com/bittorf/kalua/blob/master/openwrt-patches/0001-packages-olsrd-init-for-better-reuse-make-a-function.patch

Re: [OpenWrt-Devel] [PATCH/RFC v2] add hardware id for TL-WDR4300v1 (IL) / regdomain issue

2013-03-11 Thread Bastian Bittorf
* Daniel Golle daniel.go...@gmail.com [11.03.2013 14:14]: This won't work during firstboot, because /etc/config/wireless will be created by 'wifi detect' only after tplink_board_detect already run. but if wifi-detect runs, the wifi is off anyway so the setting is not needed: only during first

Re: [OpenWrt-Devel] OpenVPN in Backfire not start

2013-03-12 Thread Bastian Bittorf
* Nguyễn Hồng Quân quanngu...@mbm.vn [12.03.2013 08:47]: option 'management' '127.0.0.1 31194' maybe '127.0.0.1:31194' ? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

[OpenWrt-Devel] Trac: SPAM and no captch-shown?

2013-03-12 Thread Bastian Bittorf
often i see the message: Trac wertet Ihre Übertragung als Spam. Um das Gegenteil zu beweisen, geben Sie bitte Antwort auf folgendes. but, there is nothing i can enter to proove, that i'am not a bot. bye, bastian ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [packages] olsrd: init: patchset for download

2013-03-12 Thread Bastian Bittorf
* Saverio Proto ziopr...@gmail.com [12.03.2013 20:08]: I successfully imported the patches in my tree. Give me a little time for testing. a simple test is to make such a configuration: config olsrd option MainIp . ... config Interface list interface 'lan wan'

Re: [OpenWrt-Devel] Ubiquiti Bullet M2

2013-03-15 Thread Bastian Bittorf
* Andreas Hubel a...@muc.ccc.de [15.03.2013 20:23]: Might you integrate this patch also in the openwrt building workflow, so that the images at http://downloads.openwrt.org/ also work? is integrated in trunk, so these images are working: http://downloads.openwrt.org/snapshots/trunk/ar71xx/

Re: [OpenWrt-Devel] Graph packet path inside kernel

2013-03-18 Thread Bastian Bittorf
* Pietro Paolini pulsarpie...@aol.com [18.03.2013 15:14]: I remember an internet picture which shows all the function called inside the kernel on a packet transmission (a graph), do you know where I can find it ? https://google.de/search?q=netfilter+packet+flow bye, bastian

Re: [OpenWrt-Devel] install on TD-W8960N - V4

2013-03-18 Thread Bastian Bittorf
* Beeblebrox zap...@berentweb.com [18.03.2013 17:26]: BCM96345 / Chip ID: BCM6328B0, MIPS: 320MHz, DDR: 320MHz, Bus: 160MHz / Radio - BCM43227. cpu - looks good: http://wiki.openwrt.org/toh/d-link/dsl-2741b radio - no: http://linuxwireless.org/en/users/Drivers/brcm80211 bye, bastian

Re: [OpenWrt-Devel] [packages] olsrd: init: patchset for download

2013-03-20 Thread Bastian Bittorf
* Saverio Proto ziopr...@gmail.com [12.03.2013 20:08]: I successfully imported the patches in my tree. Give me a little time for testing. Anything i can do to speedup things? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

[OpenWrt-Devel] OpenWrt / parsing JSON with jshn

2013-03-20 Thread Bastian Bittorf
with is the supposed way to do this, could'nt find any documentation, so we tried this: #!/bin/sh . /usr/share/libubox/jshn.sh JSON=$( wget -qO - $URL ) eval $( jshn -r $JSON ) echo Status is $JSON_VAR_status echo Number is: $JSON_TABLE1_number Or is this too naiv? This is the JSON which

Re: [OpenWrt-Devel] [packages] olsrd: init: patchset for download

2013-03-21 Thread Bastian Bittorf
* Saverio Proto ziopr...@gmail.com [21.03.2013 20:35]: I have to find some free time for the testing :( no problem, take your time. i want it at battlemesh v6 8-) bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH] [base-files] Failsafe-mode: print short help on commandline (signed)

2013-03-22 Thread Bastian Bittorf
* Bastian Bittorf bitt...@bluebottle.com [19.02.2013 17:44]: thanks for feedback - amended patch attached bump. any problems regarding the patch? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org

<    1   2   3   4   5   6   7   8   >