Re: [OpenWrt-Devel] eglibc 2.17 broken with ar71xx/wr1043nd

2013-03-26 Thread Bastian Bittorf
* Etienne Champetier etienne.champet...@free.fr [26.03.2013 19:42]: I can enter in failsafe mode, so does anyone have an idea how to simulate the normal boot process step by step from the failsafe, so i can determine precisely what break. first try to load the modules, and look where it

Re: [OpenWrt-Devel] LTS Kernel

2013-04-03 Thread Bastian Bittorf
* sylvain roger rieunier sylvain.roger.rieun...@gmail.com [03.04.2013 09:08]: maybe it'is a stupid question, but some one why Openwrt didn't use LTS kernel like in http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git At the moment the version is raised manually. Do you want to

Re: [OpenWrt-Devel] TPLINK WDR4900 failsafe mode not working

2013-04-03 Thread Bastian Bittorf
* Graham Cobb g+open...@cobb.uk.net [03.04.2013 09:08]: discovered that failsafe mode doesn't seem to work. I can enter it, but no interfaces are configured (I have confirmed this using console access). Have you tried the WAN-Interface? On some devices only the WAN-port is reachable via

Re: [OpenWrt-Devel] Embedded Database

2013-04-04 Thread Bastian Bittorf
* Pietro Paolini pulsarpie...@aol.com [04.04.2013 10:03]: 1 - Embedded InnoDB 2 - Empress Embedded Database 3 - Firebird embedded They are the more interesting, I found them from [http://en.wikipedia.org/wiki/Embedded_database], someone have some experience on that and has in mind a

Re: [OpenWrt-Devel] implement modprobe

2013-04-12 Thread Bastian Bittorf
* Thomas Heil h...@terminal-consulting.de [12.04.2013 17:10]: package/base-files/files/sbin/recursive_insmod: recursive_insmod() { local moddir=/lib/modules/$(uname -r) local modname=${1%.ko} [ -f $moddir/$modname.ko ] || echo modprobe: FATAL: Module $moddir/$modname.ko not

Re: [OpenWrt-Devel] OpenWRT downloads susceptible to MITM attacks?

2013-04-12 Thread Bastian Bittorf
* Jonathan Thibault jonat...@navigue.com [12.04.2013 17:10]: Space is still kind of precious on most devices, the fact that it fits doesn't mean that most people would want it as a default option. maybe it is possible to hackup the busybox-wget with polarssl? bye, bastian

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

2013-04-12 Thread Bastian Bittorf
Bump. please apply or describe open problems. - Forwarded message from Bastian Bittorf bitt...@bluebottle.com - Date: Tue, 19 Feb 2013 17:44:00 +0100 From: Bastian Bittorf bitt...@bluebottle.com To: OpenWrt Development List openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel

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

2013-04-12 Thread Bastian Bittorf
* John Crispin j...@phrozen.org [12.04.2013 21:38]: +=== FAILSAFE MODE active + some useful commands: nitpick: what makes them more useful than other commands ? useful seems to be a superfluous adjective failsafe mode is very restricted, so there is not much

Re: [OpenWrt-Devel] [RFC][PATCH] broadcom-wl: read channel using wlc on detect

2013-04-30 Thread Bastian Bittorf
* Rafał Miłecki zaj...@gmail.com [30.04.2013 13:14]: Can you point me to some guidelines or sth? I had no idea about that. Is that documented anywhere? I checked http://wiki.openwrt.org/doc/uci/wireless and it specifies auto as default value for channel, but that's for station mode only.

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

2013-05-07 Thread Bastian Bittorf
* John Crispin j...@phrozen.org [12.04.2013 22:19]: let me fix up the wording a bit and push a slightly different version of the patch ;) anything i can help with this patch? bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH] mac82011: Fix auto channel selection for dual band cards

2013-05-16 Thread Bastian Bittorf
* Sujith Manoharan suj...@msujith.org [16.05.2013 10:42]: From: Sujith Manoharan c_man...@qca.qualcomm.com Use the HW mode to determine which channel to choose when the card is dual-band, otherwise, a channel from the 2GHz band would be chosen when hwmode is set to 11a or 11na. this patch

Re: [OpenWrt-Devel] AA r36608 Batman-adv 2013.2.0

2013-05-16 Thread Bastian Bittorf
* cmsv c...@wirelesspt.net [16.05.2013 10:43]: Usage: batman-adv start|stop|restart [mesh instance] Does not exist with this combination. I tried to find an answer in the docs from both sides but was unable to obtain an answer.

Re: [OpenWrt-Devel] [PATCH] mac82011: Fix auto channel selection for dual band cards

2013-05-16 Thread Bastian Bittorf
* Sujith Manoharan suj...@msujith.org [16.05.2013 10:42]: From: Sujith Manoharan c_man...@qca.qualcomm.com Use the HW mode to determine which channel to choose when the card is dual-band, otherwise, a channel from the 2GHz band would be chosen when hwmode is set to 11a or 11na. this patch

Re: [OpenWrt-Devel] Doubts with mac80211.sh and wpa_supplicant.sh scripts

2013-05-16 Thread Bastian Bittorf
* Francisco Cuesta ndarkn...@gmail.com [16.05.2013 12:09]: client, sta option in the case. Why isn't the frequency( $freq ) passed as parameter for wpa_supplicant_setup_vif() function as it is done when configuring adhoc mode? in station mode the master enforces the channel/freq. bye, bastian

Re: [OpenWrt-Devel] Doubts with mac80211.sh and wpa_supplicant.sh scripts

2013-05-16 Thread Bastian Bittorf
* Francisco Cuesta ndarkn...@gmail.com [16.05.2013 18:32]: Thanks for replying Bastian, Do you know the meaning of the ${fixed:+fixed_freq=1} ?? I mean, this fixes the vaule of the frequency but for what value? i can only see: line 335: [ $channel = auto -o $channel = 0 ] || {

Re: [OpenWrt-Devel] [PATCH] mac82011: Fix auto channel selection for dual band cards

2013-05-16 Thread Bastian Bittorf
* Sujith Manoharan suj...@msujith.org [16.05.2013 14:13]: I wasn't aware of this, do you have a link to the earlier patch/discussion ? Since you seem to have a fix already, please go ahead and send your patch. i will send a patch next week... bye, bastian PS:

Re: [OpenWrt-Devel] openwrt-devel Digest, Vol 89, Issue 55

2013-05-21 Thread Bastian Bittorf
* Oguz Ersoz atilla.o.er...@gmail.com [21.05.2013 14:25]: Is it possible to make ar71xx based generic system boots from single file i mean is single file contains vmlinux-lzma.elf + root-filesystem like knoppix mini just check you bootloader variables for e.g. tftpserver bye, bastian

Re: [OpenWrt-Devel] Doubts with mac80211.sh and wpa_supplicant.sh scripts

2013-05-21 Thread Bastian Bittorf
* Francisco Cuesta ndarkn...@gmail.com [21.05.2013 14:25]: Then, according to your explanation, in the script wpa_supplicant.sh line 167, that means the variable fixed will have a value of fixed_freq=1 right? I guess this option is only enabled on the sta this is not true. the variable fixed

Re: [OpenWrt-Devel] WDR3500, unload kernel modules to improve iperf throughput?

2013-05-27 Thread Bastian Bittorf
* Gabriel Tolón gto...@inti.gob.ar [28.05.2013 07:51]: root@OpenWrt:/# rmmod ip_tables rmmod: can't unload 'ip_tables': Resource temporarily unavailable I guess that's because some dependencies, so I tried removing other modules first, without success. Also I searched for a modprobe package

Re: [OpenWrt-Devel] WDR3500, unload kernel modules to improve iperf throughput?

2013-05-28 Thread Bastian Bittorf
* Bastian Bittorf bitt...@bluebottle.com [28.05.2013 07:59]: load_modules() { local file line while [ -n $1 ]; do file=$1 shift line=$( cat $file ) test ${#line} -eq 0 continue while read line; do

Re: [OpenWrt-Devel] Iozone openwrt package

2013-05-31 Thread Bastian Bittorf
* devendra.aaru devendra.a...@gmail.com [31.05.2013 13:44]: The patch i generated spans upto 1M as since it contains the source code of iozone and i bit modified it since it doesn't compile (aio.h and async io operations are missing in the current toolchain base). your patch should be a

Re: [OpenWrt-Devel] failsafe ping works but

2013-06-06 Thread Bastian Bittorf
* Shabbir Ahmed shabbir1...@gmail.com [06.06.2013 12:43]: Hi, my tp-link after upgrade if i assign ip address to vlan it say invalid interface, but it works under failsafe mode i upgraded the os from there. Which model? which OpenWrt-revision? bye, bastian

Re: [OpenWrt-Devel] broken unicast?

2013-06-07 Thread Bastian Bittorf
* Nicolás Echániz nicoecha...@codigosur.org [07.06.2013 07:57]: We recently upgraded QuintanaLibre to r36655 and we started seeing this strange behavior, where some nodes are suddenly inaccesible from others. It seems quite random. A node that's not accesible through one neighbor at some point

Re: [OpenWrt-Devel] How to modify WR703N wlan mac

2013-07-05 Thread Bastian Bittorf
* jinzhcheng bjzhoug...@126.com [05.07.2013 20:58]: I try to modify mach-tl-wr703n.c: static void __init tl_wr703n_setup(void) { u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00); u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000); printk(%s\n, __func__); // set mac test, will be set same

Re: [OpenWrt-Devel] LUCI works extremely slow...

2013-08-02 Thread Bastian Bittorf
* Gabriele Pinzauti gabriele.pinza...@witech.it [02.08.2013 09:27]: 10.03.1? I am able to connect to the shell, via SSH, but I am afraid mtd process will be broken due to the lack of memory. I also would be able to TFTP a new firmware, since boot_wait should be on. if you are unsure, use tftp

Re: [OpenWrt-Devel] [PATCH] [packages] Update Fwknop to 2.5.1

2013-08-02 Thread Bastian Bittorf
* Jonathan Bennett jbscienc...@gmail.com [02.08.2013 15:22]: +# The following line is changed specifically for Openwrt. +# Openwrt defaults to using eth1 as its wan port. If using PPPoE, +# Then this needs to be set to pppoe-wan. + +PCAP_INTF eth1; nobody will

[OpenWrt-Devel] Kernel Panic / mount / jffs2 during early boot

2013-08-07 Thread Bastian Bittorf
today i found something interesting on an old device: jffs2: error: (417) jffs2_link_node_ref: Adding new ref 81afc000 at (0x003e1b18-0x1d581b18) not immediately after previous (0x003e57cc-0x003e1b18) Kernel bug detected[#1]: full log is here:

Re: [OpenWrt-Devel] [PATCH V2] [packages] dropbear: update to version 2013.58 / Patch for X86/32bit

2013-08-28 Thread Bastian Bittorf
* Enrico Mioso mrkiko...@gmail.com [28.08.2013 13:33]: Update dropbear to it's latest stable version, and delete unneeded patches: - IPV6 splitted port notation now supported upstream - if a dbclient invalid option is passed, only a warning is emitted Signed-off-by: Enrico Mioso

Re: [OpenWrt-Devel] [TESTER NEEDED][PATCH] mtd: bcm47xxsflash: add support for SSB bus

2013-09-04 Thread Bastian Bittorf
* Hauke Mehrtens ha...@hauke-m.de [04.09.2013 17:57]: On 09/03/2013 09:01 AM, Rafał Miłecki wrote: --- As you could notice OpenWrt recently switched from old MTD drivers to the mainline ones. Unfortunately it means that serial flash on SSB is no longer supported. I mean to fix this

Re: [OpenWrt-Devel] ramips RT5350F AP+STA mode

2013-09-07 Thread Bastian Bittorf
* Jiapeng Li gaplee...@gmail.com [07.09.2013 09:34]: and found that OpenWrt can't open wifi client and master mode simultaneously. have you tried to establish only one mode of each? does AP work? does STA work? IMHO for client (aka 'station'-mode) you need to include wpa-supplicant... bye,

Re: [OpenWrt-Devel] [PATCH] packages: enable ip on busybox

2013-09-10 Thread Bastian Bittorf
* Luis R. Rodriguez mcg...@qca.qualcomm.com [10.09.2013 09:32]: On Fri, Sep 6, 2013 at 12:39 PM, Luis R. Rodriguez mcg...@qca.qualcomm.com wrote: From: Luis R. Rodriguez mcg...@qca.qualcomm.com iw is to iwconfig as ip is to ifconfig As with iwconfig, ifconfig is deprecated, promote

Re: [OpenWrt-Devel] [PATCH] packages: enable ip on busybox

2013-09-10 Thread Bastian Bittorf
* Patrick patr...@lunatiki.de [11.09.2013 07:57]: so we add ~80k to a standard built. i'am ok with this, because we also add a lot of features and possibilities which are simply not possible with ifconfig/route/netstat. I think you must compare busybox with ip, ifconfig, netstat and route.

Re: [OpenWrt-Devel] [PATCH] packages: enable ip on busybox

2013-09-11 Thread Bastian Bittorf
* Felix Fietkau n...@openwrt.org [11.09.2013 21:51]: a quick 'git grep' show usage of 'ifconfig' in preinit-scripts and '/lib/wifi/hostap.sh' + /lib/wifi/mac80211.sh (see appendix), but all of them can be converted. I don't think they should be converted, I think uses of ip/ifconfig in

Re: [OpenWrt-Devel] Warnung vor Lötwasser beim TL-WDR4900

2013-09-12 Thread Bastian Bittorf
* Alina Friedrichsen x-al...@gmx.net [12.09.2013 09:14]: Könnt ihr bitte einen Warnung im Wiki anbringen, dass der Router extrem empfindlich gegenüber Lötwasser ist? Mir sind dutzende Router abgeraucht, weil ich zu viel Lötwasser aufgetragen habe. Nur ein ganz feiner Strich von unten über die

Re: [OpenWrt-Devel] Warnung vor Lötwasser beim TL-WDR4900

2013-09-12 Thread Bastian Bittorf
* Steffen Hoffmann hoff...@web.de [12.09.2013 12:29]: Thank you for the translation, but 3 doesn't correlate with 'dutzende', or you have another, undisclosed source for your information? 8-) i'am involved in this special case, so i know the real situation. (somebody tends to hype here) this is

Re: [OpenWrt-Devel] Warnung vor Lötwasser beim TL-WDR4900

2013-09-12 Thread Bastian Bittorf
* Gui Iribarren g...@altermundi.net [12.09.2013 18:51]: in that case, you can even build a dumb cable (just pins on each side, no serial-to-usb circuit) and use it to connect two routers (i.e. one bricked, and one alive with package 'screen') , GND - GND / TX - RX / RX - TX i already thought

[OpenWrt-Devel] netifd: problem setting routes for alias-networks

2013-09-15 Thread Bastian Bittorf
when setting an alias network via network.@alias[0]=alias network.@alias[0].interface=lan network.@alias[0].proto=static network.@alias[0].ipaddr=192.168.10.2 network.@alias[0].netmask=255.255.255.0 and adding a route 'myroute' on top of this, the route will not be established on bootup

Re: [OpenWrt-Devel] netifd: problem setting routes for alias-networks

2013-09-15 Thread Bastian Bittorf
* Felix Fietkau n...@openwrt.org [15.09.2013 11:58]: Try network.myroute.interface=alias uci changes looks now like this: network.cfg114d8f=alias network.cfg114d8f.interface=lan network.cfg114d8f.proto=static network.cfg114d8f.ipaddr=192.168.10.2 network.cfg114d8f.netmask=255.255.255.0

Re: [OpenWrt-Devel] netifd: problem setting routes for alias-networks

2013-09-15 Thread Bastian Bittorf
* Felix Fietkau n...@openwrt.org [15.09.2013 12:52]: I probably should have written alias instead of alias. The alias section needs a name (it's considered an interface by netifd), and the route 'interface' option needs to point at that alias section name. thank you. it works like this: uci

Re: [OpenWrt-Devel] netifd: problem setting routes for alias-networks

2013-09-15 Thread Bastian Bittorf
* Felix Fietkau n...@openwrt.org [15.09.2013 13:54]: uci add network alias uci set network.@alias[-1].interface=lan uci set network.@alias[-1].bla=... uci add network route uci set network.@route[-1].interface=cfg164d8f uci set network.@route[-1].bla=... Bad idea. The cfg164d8f

Re: [OpenWrt-Devel] netifd: problem setting routes for alias-networks

2013-09-15 Thread Bastian Bittorf
* Felix Fietkau n...@openwrt.org [15.09.2013 19:50]: which commands should i use for naming the alias section? i tried e.g. uci set network.@alias[-1].name=test can you please write down the commands in the right order? If you run uci without arguments, it'll print a command line

Re: [OpenWrt-Devel] netifd: problem setting routes for alias-networks

2013-09-15 Thread Bastian Bittorf
* Felix Fietkau n...@openwrt.org [15.09.2013 21:59]: maybe i misunderstand uci - IMHO the question is: how can i name an anonymous section? From the command line help: rename config.section[.option]=name 8-) ok, i could believe it - so one can NOT name a section, but must generate

[OpenWrt-Devel] race IPv6 odhcp6c IAID

2013-09-20 Thread Bastian Bittorf
there seems to be a race since r38032, looks like this: http://www.intercity-vpn.de/files/openwrt/race_wan6_netifd.txt (the date is wrong, unset system time) i can be reproduced with 2 openwrt routers connected via wan/lan. this is the wan-side ofcourse bye, bastian

Re: [OpenWrt-Devel] [PATCH] image: mode fixup: fix ssh host key filename wildcard

2013-09-23 Thread Bastian Bittorf
* Catalin Patulea c...@vv.carleton.ca [23.09.2013 09:06]: I guess this was ssh_host* for historical reasons (or maybe for OpenSSH), but dropbear is the more common sshd. This makes preconfigured images (with files in files/ have the right modes on the ssh host keys). please simply do both

Re: [OpenWrt-Devel] Regression: Trunk no longer runs on the WRT54G

2013-09-26 Thread Bastian Bittorf
* Adam Novak ano...@soe.ucsc.edu [26.09.2013 09:31]: Does anyone have a WRT54G and the necessary hardware to debug this over a serial connection? Would anyone want me to mail them one of my routers to work on this? will check today with serial console, thanks for reporting. bye, bastian

Re: [OpenWrt-Devel] Regression: Trunk no longer runs on the WRT54G

2013-09-26 Thread Bastian Bittorf
* Christoph Kottke christoph.kot...@gmx.de [26.09.2013 10:46]: my asus wl-500g also not booting and the watchdog reset the device after today i had a Asus wl500g Premium V1 running with trunk with a serial console and it reboots all the time: - [0.992000] mtd: partition kernel must

Re: [OpenWrt-Devel] Regression: Trunk no longer runs on the WRT54G

2013-09-26 Thread Bastian Bittorf
* Adam Novak ano...@soe.ucsc.edu [26.09.2013 09:31]: Does anyone have a WRT54G and the necessary hardware to debug this over a serial connection? Would anyone want me to mail them one of my routers to work on this? i have flashed a v2.2 a v3.0 and a GL1.1 today and they run fine. will try

Re: [OpenWrt-Devel] Target kernel config changes not triggering rebuild?

2013-09-28 Thread Bastian Bittorf
* Paul Fertser fercer...@gmail.com [28.09.2013 13:48]: Rebuilding the kernel each time a patch changes would really harm the kernel development workflow with OpenWrt, so I would rather stick with this even though this may be confusing. Rebuilding each and every single time a patch is

[OpenWrt-Devel] crashs with recent trunk and 'pppd'

2013-10-01 Thread Bastian Bittorf
i can see crashs with recent trunk r38259 and pppd. i cannot say why it happens, and the log is somehow quiet. it's a normal german pppoe-connection: http://www.intercity-vpn.de/crashlog/?id=1380588062 http://www.intercity-vpn.de/crashlog/?id=1380586302

[OpenWrt-Devel] ar71xx / hang during early boot in kernel loader

2013-10-08 Thread Bastian Bittorf
nearly every day we see a hanging router after reboot. today we could nail it down via serial console: (see also attached the full log) ### Autobooting in 1 seconds## Booting image at bf02 ... Uncompressing Kernel Image ... OK Starting kernel ... OpenWrt kernel loader for

[OpenWrt-Devel] [PATCH] build: generate_package_index: use 'sha256sum' in favor of 'openssl sha256'

2013-10-08 Thread Bastian Bittorf
build: generate_package_index: use 'sha256sum' in favor of 'openssl sha256' openssl is not available on all systems (or maybe not the implementation of sha256), but maybe sha256sum. use openssl if 'sha256sum' is not installed. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com --- scripts

Re: [OpenWrt-Devel] [PATCH] build: generate_package_index: use 'sha256sum' in favor of 'openssl sha256'

2013-10-09 Thread Bastian Bittorf
* Etienne Champetier etienne.champet...@free.fr [09.10.2013 09:09]: I've read here http://stackoverflow.com/questions/592620/check-if-a-program-exists-from-a-bash-script that it's better to use command -v or hash instead of which interesting, but

Re: [OpenWrt-Devel] [PATCH] build: generate_package_index: use 'sha256sum' in favor of 'openssl sha256'

2013-10-09 Thread Bastian Bittorf
* Steven Barth cy...@openwrt.org [09.10.2013 09:45]: I recently added openssl as a generic build dependency for OpenWrt as part of the new package signing infrastructure thus I don't think using openssl sha256 is problematic. it's not 'openssl' itself in my case, but the ability to handle

Re: [OpenWrt-Devel] [PATCH] build: generate_package_index: use 'sha256sum' in favor of 'openssl sha256'

2013-10-09 Thread Bastian Bittorf
* Felix Fietkau n...@openwrt.org [09.10.2013 19:54]: it's not 'openssl' itself in my case, but the ability to handle 'sha256': I think we should probably just put a self-contained utility in tools/ and use that instead of relying on different kinds of host tools. So selfcompiling a small tool

Re: [OpenWrt-Devel] ar71xx / hang during early boot in kernel loader

2013-10-10 Thread Bastian Bittorf
* Bastian Bittorf bitt...@bluebottle.com [08.10.2013 09:24]: Decompressing kernel... failed, data error! System halted! it's clear, that in this stage we cannot make use of kernel features (e.g. panic_on_oops), because there is no kernel yet 8-) IMHO we should enforce

Re: [OpenWrt-Devel] Best approach for reporting apparent throughput regression in mac80211 / atheros platform?

2013-10-12 Thread Bastian Bittorf
* Ben West b...@gowasabi.net [12.10.2013 18:27]: On a small test network comprised of three atheros nodes, which I use for proving out new firmware, I noticed that AA r38346 demonstrates dramatically worse throughput between nodes than the same firmware compiled from r36669, with the nodes at

Re: [OpenWrt-Devel] ar71xx / hang during early boot in kernel loader

2013-10-13 Thread Bastian Bittorf
* Sergey Ryazanov ryazanov@gmail.com [13.10.2013 12:29]: If you would a full reboot, then try to set AR71XX_RESET_FULL_CHIP bit in register AR71XX_RESET_REG_RESET_MODULE or [...] thank you for this information, very useful! Can be easier to replace the hanging board instead of inventing

Re: [OpenWrt-Devel] ar71xx / hang during early boot in kernel loader

2013-10-13 Thread Bastian Bittorf
the board is ok, no need for replacing it. we have several 1000 boards, and we see that everyday some of them are hanging in this situation (right after nightly reboot). statistically that means: if you reboot a board ever night, than it will 'hang' once a year. also read

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

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

[OpenWrt-Devel] Trac / Tickets always looks like SPAM to 'TypePad'

2013-10-20 Thread Bastian Bittorf
Today i tried to open a new ticket, but it refuses to accept it, because it's SPAM and i have not solved the captcha (which is'nt there). This was the Tickets, first line ist subject line: opkg loops forever with high load / r38427 / opkg v0.1.8 / ar71xx Today we detected some issues: in our

[OpenWrt-Devel] iptables / missing libip4tc.so.0

2011-03-29 Thread Bastian Bittorf
I build from trunk for ar71xx. I already tried make clean/distclean. After flashing the router i get: root@openwrt:~ iptables -h iptables: can't load library 'libip4tc.so.0' the file belongs to iptables and is defined here: package/iptables/Makefile but it is not build?: build@box:$ grep

Re: [OpenWrt-Devel] iptables / missing libip4tc.so.0

2011-03-31 Thread Bastian Bittorf
Did you forget to run make oldconfig after updating? Yes, again I have learned something. Is it safe, to always do make oldconfig when going with trunk, instead of a simple make? Every morning i do: cd ../packages git pull cd ../openwrt git pull get_coffee make V=99 Does this error happen

Re: [OpenWrt-Devel] [PATCH 2/5] base-files: load_kernelmodules()

2011-09-19 Thread Bastian Bittorf
Subject: [PATCH 2/5] cleanup: use -ash builtins to iterate through list of files and insmod the content. we don't need to check, if the dir exists or is filled, if there are no files it simply does not nothing. my internal benchmarks has shown, that there is a speed-difference for old and

Re: [OpenWrt-Devel] [PATCH 3/5] base-files: load_kernelmodules()

2011-09-19 Thread Bastian Bittorf
Subject: [PATCH 3/5] logging: if insmod'ing fails we push this to syslog. this is far better, than the oldstyle where we had no feedback at all --- package/base-files/files/etc/functions.sh |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [OpenWrt-Devel] [PATCH 4/5] base-files: load_kernelmodules()

2011-09-19 Thread Bastian Bittorf
Subject: [PATCH 4/5] cleanup: it's shorter and maybe better readable, but relies on the fact, that kernel-modules (name) begin with a letter --- package/base-files/files/etc/functions.sh |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git

Re: [OpenWrt-Devel] [PATCH 5/5] base-files: load_kernelmodules()

2011-09-19 Thread Bastian Bittorf
Subject: [PATCH 5/5] cleanup: rename the function to make it clear, that we attempt to load kernel_modules and not just another port or openwrt --- package/base-files/files/etc/functions.sh |2 +- package/base-files/files/etc/init.d/boot |2 +- 2 files changed, 2 insertions(+), 2

Re: [OpenWrt-Devel] [PATCH] configureable path

2011-09-19 Thread Bastian Bittorf
I'am unsure if this is needed, but it cold look like this... From 386cc0ec4a81b40234a799056c7c391f3b419916 Mon Sep 17 00:00:00 2001 From: Bastian Bittorf bitt...@bluebottle.com Date: Mon, 19 Sep 2011 18:27:45 +0200 Subject: [PATCH 6/6] configureable path --- package/base-files/files/etc

Re: [OpenWrt-Devel] [PATCH] base-files: load_kernelmodules()

2011-09-20 Thread Bastian Bittorf
I would rather let it accept an argument so the day we change the path we don't have to change the function and just replace occurences of the script instead. Are you agree with patch6, which implements this? As far I can see, only one script (/etc/init.d/boot) uses this function. Will

Re: [OpenWrt-Devel] [PATCH] base-files: load_kernelmodules()

2011-09-20 Thread Bastian Bittorf
I think patch 6 proposes too much configurability, so let's just do it that way instead: function load_modules() { local dir=${1:-/etc/modules.d} ... } This is the same like proposed, ist'nt it? Where is the difference? bye, Bastian

Re: [OpenWrt-Devel] OpenWrt GPL compliance

2011-09-20 Thread Bastian Bittorf
I don't think you understood. I know how to build *a* version of OpenWrt. I don't know how to build *the* version that created a snapshot. If you simply want to be GPL-compliant, you can build your image and _then_ make an archiv of the hole builddir. so you have all downloaded sources for

Re: [OpenWrt-Devel] OpenWrt GPL compliance

2011-09-20 Thread Bastian Bittorf
I don't think you understood. I know how to build *a* version of OpenWrt. I don't know how to build *the* version that created a snapshot. If you simply want to be GPL-compliant, you can build your image and _then_ make an archiv of the hole builddir. so you have all downloaded sources for

[OpenWrt-Devel] [PATCH] activate zram-swap if possible during early boot

2011-11-22 Thread Bastian Bittorf
(or lower) are then useable again, which is really a pity at the moment, e.g. we cannot use 'opkg list | grep foo' at time of writing on these devices without triggering the oom-killer. Next step will be a uci-configureable disksize. Signed-off-by: Bastian Bittorf bitt...@bluebottle.com From

Re: [OpenWrt-Devel] /dev/watchdog from shell script

2011-12-28 Thread Bastian Bittorf
I think jow wrote something like this already, see: http://luci.subsignal.org/trac/browser/luci/trunk/contrib/package/freifunk-watchdog Interesting, but has the same design-issue like already mentioned: if the oom-killer is working it will likely kill the freifunk-watchdog and crond, so to

Re: [OpenWrt-Devel] /dev/watchdog from shell script

2011-12-28 Thread Bastian Bittorf
A better way would be IMHO to use a cron.minutely which fire's an ioctl to /dev/watchdog. if crond is removed, the device should reboot. so i need a way to invoke an ioctl from shellscript. I think this doesn't work. in our special case it would work, because all daemon-checking is done

Re: [OpenWrt-Devel] /dev/watchdog from shell script

2012-01-05 Thread Bastian Bittorf
would'nt it be senseful to adjust START=01 to /etc/init.d/watchdog and place something like this? pid=$( pidof watchdog ) echo 1000 /proc/$pid/oom_score_adj yeah, could do this. I did this on my boxes, but it does not help. Again a device is _pingable_, but all daemons are not

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

[OpenWrt-Devel] [EMAIL PROTECTED]: [PATCH] refactoring base-files for using ip instead of ifconfig/route...]

2008-05-17 Thread Bastian Bittorf
hello hackers, here are some patches to let the user decide wether to use ifconfig/route... or the nice command ip, which is much more cleaner IMHO. This is not complete yet, but let me first know, if the used fallback-method or elegant or if I have to rewrite the code. Bastian Bittorf [EMAIL

Re: [OpenWrt-Devel] [EMAIL PROTECTED]: [PATCH] refactoring base-files for using ip instead of ifconfig/route...]

2008-05-17 Thread Bastian Bittorf
* Brian J. Murrell [EMAIL PROTECTED] [17.05.2008 15:45]: + local BROADCAST=192.168.1.255 # maybe calculate from IP/NETMASK? + local NETMASK=255.255.255.0 + local CIDR_MASK=24# which must be NETMASK in other notation (maybe calculate?)

Re: [OpenWrt-Devel] [EMAIL PROTECTED]: [PATCH] refactoring base-files for using ip instead of ifconfig/route...]

2008-05-17 Thread Bastian Bittorf
* Peter Denison [EMAIL PROTECTED] [17.05.2008 15:00]: I would far rather see 'ip' tried first, and then fall back to ifconfig (which is almost guaranteed to be present) than the other way round. Ofcourse this is my goal, but let it us do slow and safe I think... bye, Bastian.

Re: [OpenWrt-Devel] [EMAIL PROTECTED]: [PATCH] refactoring base-files for using ip instead of ifconfig/route...]

2008-05-17 Thread Bastian Bittorf
* Ondrej Zajicek [EMAIL PROTECTED] [17.05.2008 15:45]: You can use broadcast + to let program compute proper broadcast address. ok, will do so... + ip link set dev $DEVICE arp on This is unnecessry, isn't it? Maybe, but it doesn hurt. See the examples at:

[OpenWrt-Devel] [PATCH] refactoring ifconfig-ip , cleanups, /etc/preinit

2008-05-17 Thread Bastian Bittorf
first base-file which now can work with ip and ifconfig some cleanups for better reading. can anyone explain, what the size-awk thing makes really? bye, Bastian [EMAIL PROTECTED] Index: package/base-files/files/etc/preinit === ---

[OpenWrt-Devel] [PATCH] refactoring ifconfig-ip, /sbin/ifdown

2008-05-17 Thread Bastian Bittorf
another base-file: Index: package/base-files/files/sbin/ifdown === --- package/base-files/files/sbin/ifdown(Revision 11157) +++ package/base-files/files/sbin/ifdown(Arbeitskopie) @@ -59,6 +59,11 @@ [ .$device !=

[OpenWrt-Devel] [PATCH] refactoring ifconfig-ip, fix for previous patch /etc/preinit

2008-05-17 Thread Bastian Bittorf
missspelled something. string must be PREFIX not only PRE bye, Bastian [EMAIL PROTECTED] Index: package/base-files/files/etc/preinit === --- package/base-files/files/etc/preinit(Revision 11157) +++

[OpenWrt-Devel] [PATCH] refactoring ifconfig-ip, /usr/share/udhcpc/default.script

2008-05-17 Thread Bastian Bittorf
this is a bit more, integrating fallback for ifconfig AND route...this script needs some rewrite, because it was and is ugly in some sections bye, Bastian [EMAIL PROTECTED] Index: package/base-files/files/usr/share/udhcpc/default.script

[OpenWrt-Devel] [PATCH 0/5] BASEFILES, refactoring ifconfig/route - ip , explanation

2008-05-18 Thread Bastian Bittorf
./package/base-files/files/usr/share/udhcpc/default.script (i've just grep'ed all basefiles for ifconfig and route ) Signed-off-by: Bastian Bittorf [EMAIL PROTECTED] signature.asc Description: Digital signature ___ openwrt-devel mailing list openwrt-devel

[OpenWrt-Devel] [PATCH 2/5] BASEFILES, refactoring ifconfig/route - ip , /etc/preinit

2008-05-18 Thread Bastian Bittorf
I've also added one more netmsg and moved the netmsg direct into the function, for not having two different places for the broadcast-address. Signed-off-by: Bastian Bittorf [EMAIL PROTECTED] --- Index: package/base-files/files/etc/preinit

[OpenWrt-Devel] [PATCH 1/5] BASEFILES, refactoring ifconfig/route - ip , /etc/hotplug.d/iface/10-routes

2008-05-18 Thread Bastian Bittorf
maybe we should define variables for some things, so we must not double-generate things... Is it correct to use absolut path: /usb/sbin/ip ? Signed-off-by: Bastian Bittorf [EMAIL PROTECTED] --- Index: package/base-files/files/etc/hotplug.d/iface/10-routes

Re: [OpenWrt-Devel] [PATCH 0/5] BASEFILES, refactoring ifconfig/route - ip , explanation

2008-05-18 Thread Bastian Bittorf
* Felix Fietkau [EMAIL PROTECTED] [18.05.2008 15:23]: The problem with this approach is that it relies only on the return type of the ifconfig/route calls. I'd suggest the following approach: In a central include file, check for presence of the ip applet or executable and if it is not

[OpenWrt-Devel] watchdog/crondog : (was Re: [PATCH 7/7] atheros: ar531x watchdog support)

2008-05-21 Thread Bastian Bittorf
* Axel Gembe [EMAIL PROTECTED] [20.05.2008 20:30]: Good to hear that. I really dislike targets without proper watchdog so I I forgot that to mention on wcw2008/berlin, but IMHO those hardware-watchdog are a nice-to-have but not really necessary. Practically i have never seen an router which

Re: [OpenWrt-Devel] watchdog/crondog

2008-05-21 Thread Bastian Bittorf
* Axel Gembe [EMAIL PROTECTED] [21.05.2008 14:00]: First, you can't guarantee which processes are killed by the oom-killer, so you might end up with dropbear killed and cron still running. I think what you need is softdog. It is in the current kernels and does just that. Just configure

Re: [OpenWrt-Devel] How to check the status of wan connection

2008-08-18 Thread Bastian Bittorf
* Gary Li [EMAIL PROTECTED] [18.08.2008 13:30]: In my application, I want to check the status of WAN connection. I think you want to know, if there is a working internet- connectivity, if so - check the freifunk-firmware at /usr/sbin/cron.minutely :

Re: [OpenWrt-Devel] 2.6.25.7 and b43 driver oops

2008-10-24 Thread Bastian Bittorf
The difference is that I use the kernel 2.6.25.15 seems to be fixed with r13025, and works in 'sta' and 'ap'-mode, but not in 'adhoc' - needs some testing. Bastian Bittorf signature.asc Description: Digital signature ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] Atheros ar9102/ar9103 madwifi or ath9k support

2008-12-19 Thread Bastian Bittorf
* Stephen Gutknecht (hilltx) step...@hilltx.com [19.12.2008 16:45]: r...@openwrt:/# lspci -G Trying method 1..using /sys/bus/pci...OK Decided to use linux-sysfs don't be shy: cat /proc/pci ? bye, Bastian signature.asc Description: Digital signature

Re: [OpenWrt-Devel] HOME set in /etc/profile

2009-01-17 Thread Bastian Bittorf
* Stefan Monnier monn...@iro.umontreal.ca [17.01.2009 05:00]: When is the following line from /etc/profile export HOME=$(grep -e ^${USER:-root}: /etc/passwd | cut -d : -f 6) ever useful? if $USER != 'root' ? or $USER is unset - is this possible at this stage? bye, Bastian

Re: [OpenWrt-Devel] rebooting from a kernel on external storage

2009-01-21 Thread Bastian Bittorf
* Brian J. Murrell br...@interlinx.bc.ca [21.01.2009 15:30]: restore process? This is _exactly_ the kind of rigmarole I am talking KISS! Just write an script which tar-gzip-uuencode's your prefered config-files into nvram-partition (if your hardware has one), which is (if existent) restored

Re: [OpenWrt-Devel] rebooting from a kernel on external storage

2009-01-22 Thread Bastian Bittorf
* Brian J. Murrell br...@interlinx.bc.ca [21.01.2009 16:15]: On Wed, 2009-01-21 at 15:41 +0100, Bastian Bittorf wrote: KISS! Heh. KISS would have been leaving the config in the NVRAM as it was intended. :-) only very few computersystems have NVRAM - thats why UCI was invented Maybe

Re: [OpenWrt-Devel] tar -xjvf kamikaze_8.09_rc2_source.tar.bz2 failed

2009-01-30 Thread Bastian Bittorf
, Bastian Bittorf signature.asc Description: Digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] [hostap-driver] Major enhancement to hostap.sh script

2009-05-21 Thread Bastian Bittorf
* Vasilis Tsiligiannis b_tsiligian...@silverton.gr [21.05.2009 00:00]: + for dev in $(awk '{ print $1 }' /proc/net/hostap/$device/wds); do + [ -f /var/run/wifi-${dev}.pid ] + kill $(cat /var/run/wifi-${dev}.pid) + ifconfig $dev down +

<    1   2   3   4   5   6   7   8   >