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 CONFIG_CMDLINE="rootfstype=squashf

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] 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) KERNEL_C

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

2012-08-16 Thread Bastian Bittorf
> am on a WRT54GS. > > I tried: > iw dev wlan0 set bitrates legacy-2.4 6 9 12 18 24 36 48 54 are you in adhoc or ap-mode? > Should I be making the equivalent "iw set bitrates" on the client > machine as well (I have a laptop connected to the router)? yes, ofcourse. otherwise it doesnt make sens

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.

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

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

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 s

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 th

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

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 https://lists.op

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 > do_something() > > read t2 trash https://lists.openwrt.org/mailman/listinfo/openwrt-devel

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

2012-12-21 Thread Bastian Bittorf
* . Elvis [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: http://www.catb.org/esr/faqs/

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

2012-12-21 Thread Bastian Bittorf
* . Elvis [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 openwrt-devel@lists.o

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

2012-12-30 Thread Bastian Bittorf
* Jonathan McCrohan [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 https://lists.openwrt.org/mailman/listinfo/openwrt-devel

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

2012-12-30 Thread Bastian Bittorf
* Jonathan McCrohan [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 https://lists.openwrt.org/mailman/listinfo/openwr

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

2012-12-31 Thread Bastian Bittorf
* Jonathan McCrohan [31.12.2012 14:40]: > > why does it fail? > > It fails because they behave differently. ddns-scripts was written with [...] > As SSL dynamic DNS updates use cURL, there should be *no* reason for GNU > Wget to be used in preference to BusyBox Wget. BusyBox Wget is > default

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

2012-12-31 Thread Bastian Bittorf
* Brian J. Murrell [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 do the same. Of

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

2012-12-31 Thread Bastian Bittorf
* Brian J. Murrell [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 > /etc/init.d/boot? IMHO

[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 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 [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 idea: change th

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

2013-01-04 Thread Bastian Bittorf
* Hauke Mehrtens [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 busybox are al

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

2013-01-05 Thread Bastian Bittorf
* dvrao [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 ___ op

Re: [OpenWrt-Devel] zram / deps & usecases

2013-01-05 Thread Bastian Bittorf
* Damian Kaczkowski [05.01.2013 09:37]: > > btw. Do we really need dependency for mkswap / swaponoff ? You can use any > fs on zram disk not only swap (also your init script already checks for you are right, zram-discs can be much more, e.g. /tmpfs replacement, i already tinkered a bit with this

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

2013-01-05 Thread Bastian Bittorf
* Damian Kaczkowski [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 busybox-version) e.g. htt

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

2013-01-06 Thread Bastian Bittorf
* Hauke Mehrtens [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 of one

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

2013-01-06 Thread Bastian Bittorf
* Hauke Mehrtens [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 [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, al

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 [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 where things are so messed up

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 root@ope

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

2013-01-14 Thread Bastian Bittorf
* Nathan Hintz [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 images? bye,

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

2013-01-14 Thread Bastian Bittorf
* Nguyễn Hồng Quân [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, bastian _

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

2013-01-14 Thread Bastian Bittorf
* Nathan Hintz [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 setup ---> [*] Sup

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

2013-01-14 Thread Bastian Bittorf
* Nathan Hintz [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 > > Index: package/zram-swap/files/zram.init > =

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

2013-01-15 Thread Bastian Bittorf
* Nathan Hintz [15.01.2013 11:20]: > - swapon "$zram_dev" > + swapon -p 0 "$zram_dev" please include the fallback variant, it doesnt hurt: swapon -p 0 "$zram_dev" || swapon "$zram_dev" bye, bastian ___ openwrt-devel mailing li

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

2013-01-15 Thread Bastian Bittorf
* Nguyễn Hồng Quân [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 bye, bastian

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 [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: > thanks for this link John, i want to expose a snippet: "In

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

2013-01-16 Thread Bastian Bittorf
* Nguyễn Hồng Quân [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? http://wiki.openwrt.org/doc/hardware/port.serial#finding.serial.console you a

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

2013-01-16 Thread Bastian Bittorf
* Nguyễn Hồng Quân [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: if a DHCP is ru

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

2013-01-16 Thread Bastian Bittorf
* Hauke Mehrtens [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 for the

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

2013-01-17 Thread Bastian Bittorf
* Nguyễn Hồng Quân [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 ___ openwrt-devel maili

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

2013-01-17 Thread Bastian Bittorf
* Nguyễn Hồng Quân [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 openwrt-devel@lists.o

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

2013-01-20 Thread Bastian Bittorf
* Daniel Golle [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 netifd race whic

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

2013-01-30 Thread Bastian Bittorf
* Daniel Gimpelevich [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 which make c-code out of an .o - ha

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

2013-01-31 Thread Bastian Bittorf
* Daniel Gimpelevich [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 (automatically) because they are ship

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

2013-02-14 Thread Bastian Bittorf
* Bastian Bittorf [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], but t

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

2013-02-17 Thread Bastian Bittorf
lsafe -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 Date: Sun, 17 Feb 201

[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 --- 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/files/etc

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

[OpenWrt-Devel] [PATCH] [packages] olsrd: don't try to start smartgw if not all deps are installed

2013-02-17 Thread Bastian Bittorf
[packages] olsrd: don't try to start smartgw if not all deps are installed if kmod-ipip is missing, there is no need to invoke an expensive operation. Signed-off-by: Bastian Bittorf --- net/olsrd/files/olsrd.init |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[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 --- 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 0656247..725f149

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

2013-12-05 Thread Bastian Bittorf
* Manuel Munz [05.12.2013 08:43]: > For that reason i started playing with a router database using web2py as > framework. A somehow working demo version can be found here: > > http://meshkit.freifunk.net/routerdb this is interesting, we also did something like that, but manually: bastian@gcc20:

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

2013-12-05 Thread Bastian Bittorf
* James Hilliard [05.12.2013 08:43]: > Well, some information can likely be pulled directly from version control, > such as model/chipset/broken status/supported etc. That information could > then be tied into a wiki templating system to autogenerate pages which > could have additional model speci

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

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

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

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

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

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

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

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

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

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

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

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

Re: [OpenWrt-Devel] ubus hostapd del_client problem

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2014-03-26 Thread Bastian Bittorf
* Jonas Gorski [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 [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-

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

2014-03-30 Thread Bastian Bittorf
* probono [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 patch and send to the M

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

2014-04-03 Thread Bastian Bittorf
* Matthew Fatheree [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-developer meeting

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

<    1   2   3   4   5   6   7   8   >