Re: WDS stopped working in 21.02, looking for bug in netifd

2021-09-22 Thread Bastian Bittorf
On Wed, Sep 22, 2021 at 06:12:13PM +0200, Daniel Haid wrote: > Another update: can you please add this function ontop of /lib/netifd/wireless/mac80211.sh #!/bin/sh iw() { local rc; command iw "$@"; rc=$?; echo "rc:$rc | iw $*" >>/tmp/foo; test $rc -eq 0 || command iw "$@" 2>>/tmp/foo; return

Re: mt7915e in mt7621 - Failed to get patch semaphore

2021-12-19 Thread Bastian Bittorf
On Sat, Dec 18, 2021 at 01:21:21PM +0100, Janusz Dziedzic wrote: > Hello, > > Have mt7915e in my mt7621 router (pandora box/ramips). the same here with 'TP-LINK Archer C6U' (also ramips) (but since a long time and maybe forever). bye, Bastian ___

ath79 / TP-Link CPE510 / tftp: recovery.bin

2021-11-12 Thread Bastian Bittorf
After flashing trunk to some devices, i'am affected from the lzma-loader/GCC11 issue. It was possible in the past to use the standard recovery procedure, but it seems NOT possible anymore, maybe because of the changed partition layout? The bootloader says: Incorrect File. Writting error. Anyway:

Re: ath79 / TP-Link CPE510 / tftp: recovery.bin

2021-11-12 Thread Bastian Bittorf
On Fri, Nov 12, 2021 at 11:12:03AM +0100, Vincent Wiemann wrote: > > Press CTRL+B to enter SafeLoader: 1 > > Have you tried that? yes, after this it asks for a password, which is not 'admin' or 'Admin' or 'tpl'... ___ openwrt-devel mailing list

Problem: dnsmasq.init / dhcp-user-script not executed

2021-11-10 Thread Bastian Bittorf
Introduced with: --- commit 8b486ec2b52056b737a4ce64a2040a9a27a6bd60 Author: Hans Dedecker Date: Fri Jun 9 16:24:12 2017 +0200 dnsmasq: add dhcp-script hook conditionally --- breaks parsing of user provided dhcp-script for me: uci set

wget: limit downloaded bytes problem

2021-11-05 Thread Bastian Bittorf
With OpenWRT master and busybox v1.34.1 (musl-1.2.2), but also with older busybox v1.26.2 (musl-1.1.16), I see these issues with wget: # on server: dd if=/dev/urandom of=/var/www/random.bin bs=513 count=1 # on OpenWRT/client: limit downloaded bytes: wget -O - http://intercity-vpn.de/random.bin |

Re: warning about which deprecated

2021-11-07 Thread Bastian Bittorf
On Sun, Nov 07, 2021 at 10:25:48PM -0800, Rosen Penev wrote: > > > Should we consider building it as a toolchain tool or should we migrate to > > > command -v ? > > https://github.com/openwrt/openwrt/commit/1f5e7224868109a170a9248d18f8d2b6124e9c5a > Wonder if switching command -v to type -a -p

Re: [RFC] Stop providing binary package updates for release builds?

2021-12-13 Thread Bastian Bittorf
On Sun, Dec 12, 2021 at 08:42:52PM +0100, Jo-Philipp Wich wrote: > - Stop providing binary package updates; build release images and associated >repositories once only, archive the artifacts and redelegate build >resources back to master snapshots This! If people are interested in

Re: howto support ramoops (former crashlog.o)

2022-08-24 Thread Bastian Bittorf
On Tue, Aug 23, 2022 at 07:53:53PM +0200, Daniel Golle wrote: > pstore/ramoops can only work on platforms which do NOT clear DRAM > content on (re-)boot. Many of the $vendor loaders unfortunately do that. > Archer C6U being an MT7621-based unit will probably need a replacement > bootloader in

howto support ramoops (former crashlog.o)

2022-08-23 Thread Bastian Bittorf
I'am trying to add ramoops support for a specific mediatek model. There are alreay a few commit regarding this, but i'am not apply to harvest a crashlog after a crash-reboot. # openwrt$ git grep "ramoops@" package/boot/uboot-mediatek/patches/050-mt7622-enable-pstore.patch:+ ramoops@42ff {

FS#4118 - "logread" crashes sometimes #9100

2022-08-16 Thread Bastian Bittorf
I just want to mention a longstanding segfault-issue, which one can now reproduce with an x86-snapshot-image. Maybe somebody has time to look into this core building block: https://github.com/openwrt/openwrt/issues/9100 thanks && bye, bastian ___

new musl libc release 1.2.4 (2023-05-01) (was Re: [musl] busybox problem on powerpc PPC/32bit (hardware TP-Link-WDR-4900-v1))

2023-05-02 Thread Bastian Bittorf
On Sun, Feb 12, 2023 at 05:34:43PM -0500, Rich Felker wrote: > On Sun, Feb 12, 2023 at 08:17:04AM +0000, Bastian Bittorf wrote: > > On Sat, Feb 11, 2023 at 02:30:44PM -0500, Rich Felker wrote: > > > > > .hidden __hwcap > > > > >

strange errors on mpc85xx-p1010-tplink_tl-wdr4900-v1

2023-02-05 Thread Bastian Bittorf
I build r21997 for the wdr4900, flashed with 'sysupgrade -n /tmp/factory.bin' and recognized strange errors with custom scripts. It can be reduced to: $ test A -gt 5 && echo OK ash: A: out of range OK I will try to run busybox-1.36.0 with QEMU for investigating further... bye, Bastian

Re: [musl] busybox problem on powerpc PPC/32bit (hardware TP-Link-WDR-4900-v1)

2023-02-11 Thread Bastian Bittorf
On Sat, Feb 11, 2023 at 12:51:47PM +, Bastian Bittorf wrote: > With OpenWRT i recognized a strange behavior of ash-shell scripts. > It happens only on target PowerPC, e.g. m68k, arm, mips, x86 are > unaffected. to be more clear: it seems to affect musl, but not glibc build. bye

busybox problem on powerpc PPC/32bit (hardware TP-Link-WDR-4900-v1)

2023-02-11 Thread Bastian Bittorf
char *p; errno = 0; r = strtol(s, , 10); if (errno != 0) syntax(s, "out of range"); return r; } Best Greetings, Bastian Bittorf ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [musl] busybox problem on powerpc PPC/32bit (hardware TP-Link-WDR-4900-v1)

2023-02-12 Thread Bastian Bittorf
On Sat, Feb 11, 2023 at 02:30:44PM -0500, Rich Felker wrote: > > > .hidden __hwcap > > > .long __hwcap-. > > > -1: mflr 4 > > > - lwz 5, 0(4) > > > - lwzx 4, 4, 5 > > > - andis. 4, 4, 0x80 > > > +1: mflr 6 > > > + lwz 5, 0(6) > > > + lwzx 6, 6, 5 > > > + andis. 6, 6, 0x80 > > >

Re: [musl] busybox problem on powerpc PPC/32bit (hardware TP-Link-WDR-4900-v1)

2023-02-11 Thread Bastian Bittorf
On Sat, Feb 11, 2023 at 09:01:03AM -0500, Rich Felker wrote: > It looks like the powerpc spe longjmp code is clobbering the value > argument. Try the attached patch. > diff --git a/src/setjmp/powerpc/longjmp.S b/src/setjmp/powerpc/longjmp.S > index 611389fe..465e4cd7 100644 > ---

Re: strange errors on mpc85xx-p1010-tplink_tl-wdr4900-v1

2023-02-07 Thread Bastian Bittorf
On Sun, Feb 05, 2023 at 03:47:46PM +, Bastian Bittorf wrote: > I build r21997 for the wdr4900, flashed with > 'sysupgrade -n /tmp/factory.bin' and recognized strange > errors with custom scripts. It can be reduced to: > > $ test A -gt 5 && echo OK > ash: A: out

Re: Best practice for resetting (iptables) firewall state

2023-07-19 Thread Bastian Bittorf
On Tue, Jul 11, 2023 at 11:25:55PM -0600, Philip Prindeville wrote: > I'm working on a wrapper for using xt_asn and xt_geoip in xtables-addons, and > was wondering about how best to solve certain problems. > maybe the mechanism for stop/start/update used here is useful:

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

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

<    3   4   5   6   7   8