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

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

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

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

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

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] 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] milliseconds time measurements

2012-11-23 Thread Bastian Bittorf
not possible to get more resolution than 1 second, at least with the date command. I'd like to know if there's a way to get a resolution you can start with 'date +%s' the tic() toc() approach is nice, here is what we do to measure exact time between 2 events: read t1 trash /proc/uptime

Re: [OpenWrt-Devel] milliseconds time measurements

2012-11-23 Thread Bastian Bittorf
/proc/uptime is much simplier :-) and it's even monotonic...and...fast. (date +%s can jump into future and past) read t1 trash /proc/uptime do_something() read t2 trash /proc/uptime ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] dev.openwrt.org is down for me

2012-11-13 Thread Bastian Bittorf
Is down for me too nginx 502 bad gateway it's mostly down since _several_ weeks: there is also one (or more) ticket which complains about that, but ignored...wtf? questions in IRC about that are also ignored. its not a problem to have a faulty server, but then: delegate to work to somebody

Re: [OpenWrt-Devel] wlan interface becomes unresponsive

2012-11-04 Thread Bastian Bittorf
of them under backfire) use 12.09-beta or trunk. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] package olsr / compiler bug on ARM / MIPS when using -Os

2012-09-23 Thread Bastian Bittorf
i tested a fresh build of openwrt r33502. this changed nothing 8-( i will now build an image without -Os ... If you can get me a very simple test case that I can use to reproduce this issue, I will look into it. sorry, no simple testcase. It works without any problems when i simply

Re: [OpenWrt-Devel] package olsr / compiler bug on ARM / MIPS when using -Os

2012-09-23 Thread Bastian Bittorf
First of all: what's the fastest possible way to see if 'it works' 1) standard build of package olsr must run on a affected router with BCM4702/4710 CPU (e.g. Dell Truemobile 2300 or Asus WL-500G). 2) Add a 2nd router (arch does not matter) via Ethernet (we need a second, the problem is that

Re: [OpenWrt-Devel] package olsr / compiler bug on ARM / MIPS when using -Os

2012-09-21 Thread Bastian Bittorf
sorry for late reply and breaking the ml-thread: You can add '-mno-branch-likely' option to CFLAGS. The option ensures that such instructions will not be emitted by the toolchain. Can you test again after r33328? This will need a complete toolchain rebuild. i tested a fresh build of

Re: [OpenWrt-Devel] package olsr / compiler bug on ARM / MIPS when using -Os

2012-08-31 Thread Bastian Bittorf
Only the Truemobile 2300 and the the Asus WL-500G was mentioned in the thread and both of them is based on BCM4702/4710. An old post [1] on the linux-mips list indicates that those SoCs may have problems with the 'branch-likely' instructions, so this might not be a compiler bug at all.

[OpenWrt-Devel] package olsr / compiler bug on ARM / MIPS when using -Os

2012-08-29 Thread Bastian Bittorf
[copy to olsr-dev list] can we please switch off compiler-optimizations for all ARM and MIPS-platforms, till the compiler-bug is filed [lars?] and fixed? Simply omit -Os does the trick. https://lists.olsr.org/pipermail/olsr-dev/2012-August/006046.html bye, bastian

Re: [OpenWrt-Devel] package olsr / compiler bug on ARM / MIPS when using -Os

2012-08-29 Thread Bastian Bittorf
Disabling all optimization sounds like a horrible idea to me. How about identifying which specific optimization is causing this issue? If if you follow the thread, you can see it: https://lists.olsr.org/pipermail/olsr-dev/2012-August/006056.html problem1: for filing a bug-report we need to

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

2012-08-24 Thread Bastian Bittorf
Do you have any info whether the failure occurs with the change from OFDM to CCK, or vice versa? I am wondering if the radio needs a dummy i cannot answer this question - interesting idea. i like to test your patch, simply do a dummy tx in both cases. bye, bastian

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

2012-08-24 Thread Bastian Bittorf
How do I monitor this particular channel with an other wifi card to get most of the packages, with aircrack I am unable to set the channel? the simple approach is installing horst on another router or your pc. ofcourse you get a full dump with wireshark sniffing on your monitor-interface.

Re: [OpenWrt-Devel] change Kernel-commandline / add panic=10 [SOLVED]

2012-08-16 Thread Bastian Bittorf
the cmdline is patched inside target/linux/ar71xx/image/Makefile yes, it works! just for the record: i changed 2 lines in the makefile for my special options: user@buildbox:~/openwrt$ grep KERNEL_CMDLINE target/linux/ar71xx/image/Makefile $(LOADER_MAKE) LOADER=loader-$(1).$(2)

[OpenWrt-Devel] change Kernel-commandline / add panic=10

2012-08-15 Thread Bastian Bittorf
we have sometimes the problem that a board will not come up after a remote reboot. we already switched on during early boot in /etc/init.d/00... these sysctl flags: vm.panic_on_oom=1 kernel.panic_on_oops=1 kernel.panic=10 but this is sometimes not enough. i'am unsure what happens, but if a board

Re: [OpenWrt-Devel] change Kernel-commandline / add panic=10

2012-08-15 Thread Bastian Bittorf
CONFIG_CMDLINE is used. Maybe do the change to config-3.3 and do a make target/linux/clean make Now your kernel should be called with the CMDLINE. no, does not work: user@buildbox:~/openwrt$ grep ^CONFIG_CMDLINE= target/linux/ar71xx/config-3.3

Re: [OpenWrt-Devel] Attitude Adjustment (12.08)

2012-08-15 Thread Bastian Bittorf
Can't stuff done in the bleeding-edge be backported to the stable? there is nobody, who can do that. think about this: there are more than 400 open patches. it's a matter of time to fiddle them into trunk, not to mention backporting... bye, bastian

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

2012-07-20 Thread Bastian Bittorf
1) why does a band change (can be seen through minstrel) is a problem? Because IIRC b43 doesn't support anything other than 2.4GHz at all. 8-) sorry, i used the wrong term band: (fast) changing between b and g rates are the problem. you can easily reproduce, when you force this by: iw

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

2012-07-20 Thread Bastian Bittorf
What chip is in your WRT54G? We tested both: 4318 (Buffalo HP54G) and 4306 (Linksys WRT54GL) bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

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

2012-07-18 Thread Bastian Bittorf
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], but the workaround is easy: now it's up to you to fix the rootcause. our

Re: [OpenWrt-Devel] full tmpfs, but not much / nothing inside, syslogd

2012-07-16 Thread Bastian Bittorf
there is one known issue on Unix like systems which may lead to the case where a file system without file entries may report no available space. I do not know if this is the reason for your trouble, but it it's better to tell about, as this is not known to all Unix users. On Unix like

[OpenWrt-Devel] Seagate FreeAgent GoFlex Home / SATA not working

2012-06-29 Thread Bastian Bittorf
today i installed via serial openwrt trunk r32520 on this device, images are from: http://downloads.openwrt.org/snapshots/trunk/kirkwood openwrt-kirkwood-uImage openwrt-kirkwood--jffs2-128k.img picture: http://i32.tinypic.com/2ntiqkj.jpg installing via uboot / nandwrite:

Re: [OpenWrt-Devel] Captive Portal with OAuth support?

2012-06-29 Thread Bastian Bittorf
Is there anyone in this mailing list tried with this idea? Which should I start from? we have this included since a long time: https://github.com/bittorf/kalua a good starting point is: https://github.com/livibetter/bash-oauth/blob/master/OAuth.sh bye, bastian.

Re: [OpenWrt-Devel] Seagate FreeAgent GoFlex Home / SATA not working / Bootloader

2012-06-29 Thread Bastian Bittorf
http://downloads.openwrt.org/snapshots/trunk/kirkwood openwrt-kirkwood-uImage openwrt-kirkwood--jffs2-128k.img just for documentation: bootloader is from here: http://www.cyrius.com/debian/kirkwood/sheevaplug/uboot-upgrade.html http://people.debian.org/~tbm/u-boot/2011.12-3/dockstar/u-boot.kwb

Re: [OpenWrt-Devel] Seagate FreeAgent GoFlex Home / klog-line missing / Dockstart VS GoFlex

2012-06-29 Thread Bastian Bittorf
dmesg: [0.00] Booting Linux on physical CPU 0 [0.00] Linux version 3.3.8 (fnord@tschunk) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Fri Jun 29 03:26:51 UTC 2012 [0.00] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 [

Re: [OpenWrt-Devel] Seagate FreeAgent GoFlex Home / SATA not working / patch missing?

2012-06-29 Thread Bastian Bittorf
Is this patch from february still missing? http://patchwork.openwrt.org/patch/734/ bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] sysupgrade: try harder during an error

2012-02-25 Thread Bastian Bittorf
: this is not a brick, was just a random mtd-error) Some things to discuss: * built 'verify'-option into mtd for fearful poeple * does mtd really throws an exitcode != 0 in case of an error? Signed-off-by: Bastian Bittorf bitt...@bluebottle.com From c9d4e7a8c4f6befcc13e4dc329adb7c5646fee76 Mon Sep 17 00:00:00

Re: [OpenWrt-Devel] [PATCH] sysupgrade: try harder during an error

2012-02-25 Thread Bastian Bittorf
It also means that sysupgrade would loop forever in case of a really fatal issue, like when the image is too large for the given mtd partition. maybe we should limit the loop to X times? I'd say the mtd util should perform 3-5 consecutive tries in case of a block erase problem and then

Re: [OpenWrt-Devel] [PATCH] sysupgrade: try harder during an error

2012-02-25 Thread Bastian Bittorf
My machine too has significant free memory, but I suspect the memory relates to some kernel memory issues, rather than megabytes of free user space memory. Chill. And I recommend use of your shift key ;-) Thanks for your feedback. I'am fine with shift 8-) and just misunderstood you...

<    1   2   3   4   5   6   7   8   >