Re: [PATCH v2 03/10] base-files: upgrade: add get_image_dd()

2020-11-09 Thread Philip Prindeville
Comments… > On Nov 9, 2020, at 7:22 PM, Yousong Zhou wrote: > > This is mainly to handle stderr message "Broken pipe", "F+P records > in/out" by common pattern "xcat | dd .." > > Ref: https://bugs.openwrt.org/index.php?do=details&task_id=314

Re: [PATCH v3 06/11] base-files: upgrade: fwtool.sh: rewording logs

2020-11-10 Thread Philip Prindeville
Reviewed-By: Philip Prindeville > On Nov 10, 2020, at 6:45 AM, Yousong Zhou wrote: > > The intent is to make it sound more like info level message, not some > error like "404 not found". x86 target at the moment makes image with > only signature but no metadata

Re: [PATCH v3 04/11] base-files: upgrade: add get_image_dd()

2020-11-10 Thread Philip Prindeville
Reviewed-By: Philip Prindeville > On Nov 10, 2020, at 6:45 AM, Yousong Zhou wrote: > > This is mainly to handle stderr message "Broken pipe", "F+P records > in/out" by common pattern "xcat | dd .." > > Ref: https://bugs.openwrt.org/index.p

Re: [PATCH v3 10/11] x86: upgrade: use get_image_dd

2020-11-10 Thread Philip Prindeville
Reviewed-By: Philip Prindeville > On Nov 10, 2020, at 6:45 AM, Yousong Zhou wrote: > > Ref: https://bugs.openwrt.org/index.php?do=details&task_id=3140 > Reported-by: Philip Prindeville > Signed-off-by: Yousong Zhou > --- > target/linux/x86/base-files/lib

Re: [PATCH] busybox: enable whois by default

2020-11-17 Thread Philip Prindeville
I liked the idea of including whois. I think it should be one of those things that gets enabled if we’re not doing a super-skinny-build. And if I’m at a remote location and OpenWRT isn’t coming up enough for me to run “whois” on a laptop behind it, then having it on OpenWRT itself makes it tha

Re: perl/host/compile: fails on macOS 11 Big Sur, workaround

2020-11-24 Thread Philip Prindeville
> On Nov 23, 2020, at 2:52 PM, Rosen Penev wrote: > > On Mon, Nov 23, 2020 at 10:39 AM Georgi Valkov wrote: >> >> Dear Rosen, >> >> Thanks to your help I discovered the feeds/packages repository, however I >> was not able to resolve the race condition during build and discover why >> Errno

IPsec (Strongswan) testing... help needed urgently

2020-11-27 Thread Philip Prindeville
Hi, I’m working on a PR to add X.509 certificates to Strongswan for authentication and that all seems to be working fine: https://github.com/openwrt/packages/pull/14028 But I can’t figure out why my traffic isn’t being passed, even though the tunnel comes up: root@OpenWrt2:~# ip xfrm state s

Lightweight policy-based routing

2020-12-04 Thread Philip Prindeville
Hi. I’m currently manually doing the following in a script but was wondering if there was an easy way to do this in UCI, such as in /etc/config/network: #!/bin/sh INTF=xfrm0 STB=192.168.3.6/24 TABLE=stb GW2=192.168.1.252 NETS="151.101.0.0/16" eval `ipcalc -n -p $STB` if ! grep -q "^200 $TABLE

Re: Lightweight policy-based routing

2020-12-04 Thread Philip Prindeville
But I’m trying: config rule option src '192.168.3.6' option lookup 200 Per the cheatsheet and it’s resulting in: root@OpenWrt2:~# ip rule ls 0: from all lookup local 1: from all lookup 200 32766: from all lookup main 32767: from all lookup default i.e. the ’src’ is b

Re: [RFC] remove x86 qemu images

2020-12-07 Thread Philip Prindeville
> On Dec 7, 2020, at 1:28 AM, Florian Eckert wrote: > > Hi, > >> openwrt.git includes an old version of QEMU (0.14 vs 5.1.0 in >> packages.git) only to convert x86 images to vdi and vmdk. Is there >> anyone actively using the vanilla x86 QEMU images from the upstream >> servers or can can we r

Bind + ISC dhcpd integration (for intranet split-horizon, etc)

2020-12-14 Thread Philip Prindeville
Hi, I’m the maintainer of ISC-DHCP. I’m trying to do the integration “glue” to allow one to operate a DNS private zone inside your intranet (aka “split horizon”) and prime it with both static data as well as DHCP lease information. Ideally this could be done with a minimum of UCI configuration

Re: Bind + ISC dhcpd integration (for intranet split-horizon, etc)

2020-12-15 Thread Philip Prindeville
> On Dec 15, 2020, at 1:22 AM, Bjørn Mork wrote: > > Philip Prindeville writes: > >> I’m trying to do the integration “glue” to allow one to operate a DNS >> private zone inside your intranet (aka “split horizon”) and prime it >> with both static data as

Re: Bind + ISC dhcpd integration (for intranet split-horizon, etc)

2020-12-16 Thread Philip Prindeville
> On Dec 16, 2020, at 12:59 AM, Bjørn Mork wrote: > > Philip Prindeville writes: >>> On Dec 15, 2020, at 1:22 AM, Bjørn Mork wrote: >>> >>> Philip Prindeville writes: >>> >>>> I’m trying to do the integration “glue” to allow one to

Re: Bind + ISC dhcpd integration (for intranet split-horizon, etc)

2020-12-17 Thread Philip Prindeville
Responses… > On Dec 17, 2020, at 1:56 AM, Bjørn Mork wrote: > > Philip Prindeville writes: > >> https://github.com/openwrt/packages/pull/14240 >> >> The previous one is a precursor for getting Bind to start before DHCPD. > > > That makes more se

Re: Bind + ISC dhcpd integration (for intranet split-horizon, etc)

2020-12-22 Thread Philip Prindeville
Heads up that there’s a major change to the PR: https://github.com/openwrt/packages/pull/14240 It adds support for “cname”, “domain”, “mxhost”, and “srvhost” config sections. Thanks to Bjorn for pointing me at how to use nsupdate to do this. Calling out run-time requirements on “named” and “ns

Re: [RFC PATCH 1/2] base-files: sysupgrade: add function for conffiles retrieval

2020-12-28 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Jul 10, 2020, at 4:47 AM, Adrian Schmutzler > wrote: > > The find command to retrieve files from /etc/sysupgrade.conf and > /lib/upgrade/keep.d/* is used twice in almost similar way. > > Move it into a function to consolidate, en

Re: [PATCH] scripts/qemustart: use squashfs instead of ext4

2021-01-01 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Dec 29, 2020, at 4:13 PM, Paul Spooren wrote: > > The qemustart script currently picks the ext4 filesystem rather than > squashfs, while the latter is default for nearly all OpenWrt targets. > > Change the default behaviour of qemus

Re: [PATCH] scripts/qemustart: use squashfs instead of ext4

2021-01-01 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Dec 29, 2020, at 4:13 PM, Paul Spooren wrote: > > The qemustart script currently picks the ext4 filesystem rather than > squashfs, while the latter is default for nearly all OpenWrt targets. > > Change the default behaviour of qemus

Re: [PATCH] kexec-tools: update to 2.0.21

2021-01-01 Thread Philip Prindeville
Just because GDB can be used as an alternative, it’s not clear that we should force people into that. > On Dec 29, 2020, at 5:05 PM, Rosen Penev wrote: > > kdump was removed in 7acd257ae67b4ca94f8c23cb8bda0ee0709b9216 > > gdb can be used as an alternative. > > Remove autoreconf. It's not ne

Job board support on openwrt.org?

2021-01-22 Thread Philip Prindeville
Hi, Is anyone interested in adding a page to the openwrt.org site about developers willing to do commercial work? It could be as simple as: * name * email address * mobile (if wanted) * packages/platforms/architectures you maintain or have competence in * whether you're available full-time, par

Need review of adding X.509 certs to Strongswan

2021-01-22 Thread Philip Prindeville
Hi, I posted the following PR some time ago (late November) and it's languishing: https://github.com/openwrt/packages/pull/14028 Can I get some reviews of it? X.509 authentication is a more attractive alternative to simple PSK authentication (more entropy, less susceptible to dictionary attack

Re: OpenWrt 19.07.6 service release

2021-01-22 Thread Philip Prindeville
As an alternative to dnsmasq, master now has isc-dhcp (v4 only) and Bind integration, so that's getting close to the essential functionality that dnsmasq provides. I stopped using dnsmasq about 8 years ago because it has several minor violations of the RFC's (which the Kelly's claim are conveni

Re: Job board support on openwrt.org?

2021-01-22 Thread Philip Prindeville
> On Jan 22, 2021, at 12:03 PM, Daniel Golle wrote: > > Hi Philip, > > On Fri, Jan 22, 2021 at 11:23:42AM -0700, Philip Prindeville wrote: >> Hi, >> >> Is anyone interested in adding a page to the openwrt.org site about >> developers willing to do

Re: Job board support on openwrt.org?

2021-01-22 Thread Philip Prindeville
> On Jan 22, 2021, at 11:57 AM, Alberto Bursi wrote: > > > > On 22/01/21 19:23, Philip Prindeville wrote: >> Hi, >> Is anyone interested in adding a page to the openwrt.org site about >> developers willing to do commercial work? >> It could be as

Re: OpenWrt 19.07.6 service release

2021-01-22 Thread Philip Prindeville
> On Jan 22, 2021, at 12:00 PM, Alberto Bursi wrote: > > > > On 22/01/21 19:53, Philip Prindeville wrote: >> As an alternative to dnsmasq, master now has isc-dhcp (v4 only) and Bind >> integration, so that's getting close to the essential functionality

Re: Need review of adding X.509 certs to Strongswan

2021-01-22 Thread Philip Prindeville
I'll try splitting it into smaller pieces as well. https://github.com/openwrt/packages/pull/14535 > On Jan 22, 2021, at 11:47 AM, Philip Prindeville > wrote: > > Hi, > > I posted the following PR some time ago (late November) and it's languishing: > > h

Re: Job board support on openwrt.org?

2021-01-25 Thread Philip Prindeville
> On Jan 24, 2021, at 12:56 PM, Paul Spooren wrote: > > > > On Sun, Jan 24, 2021 at 00:16, Sam Kuper wrote: >> On Sat, Jan 23, 2021 at 06:57:53PM -0500, Etienne Champetier wrote: >>> Le sam. 23 janv. 2021 à 18:09, Sam Kuper a écrit : I suggest that if a vote is held, it should be a thre

Re: [PATCH 2/2] base-files: remove execute bit and shebang from functions.sh

2021-01-25 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Jan 25, 2021, at 4:48 AM, Adrian Schmutzler > wrote: > > /lib/functions.sh was executable for no obvious reason and its > execute property was even checked in package-ipkg.mk just to > source it afterwards. > > Remove the execute

Re: OpenWrt 19.07.6 service release

2021-01-25 Thread Philip Prindeville
aul Spooren wrote: > > What's the size difference here. I'd be curious to replace dnsmasq for the > default setup, but only if it brings an advantage in size and security. > > Just a personal interest. > > Best, > Paul > -- > > &g

Re: Job board support on openwrt.org?

2021-01-26 Thread Philip Prindeville
> On Jan 26, 2021, at 2:09 PM, Paul Oranje wrote: > > > >> Op 22 jan. 2021, om 20:03 heeft Daniel Golle het >> volgende geschreven: >> >> Hi Philip, >> >> On Fri, Jan 22, 2021 at 11:23:42AM -0700, Philip Prindeville wrote: >>>

Re: OpenWrt 19.07.6 service release

2021-01-27 Thread Philip Prindeville
> On Jan 22, 2021, at 9:28 PM, Nishant Sharma wrote: > > On 23/01/21 3:13 am, Philip Prindeville wrote: > >> You'll need to remove the dnsmasq package and select >> CONFIG_PACKAGE_isc-dhcp-server-ipv4 (or -ipv6 which actually supports both >> IPv4 and IPv

Re: [PATCH v2] fakeroot: fix to work with glibc 2.33

2021-02-11 Thread Philip Prindeville
Comments... > On Feb 11, 2021, at 10:42 PM, Ilya Lipnitskiy > wrote: > > The following commit removed _STAT_VER definitions from glibc: > https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=8ed005daf0ab03e142500324a34087ce179ae78e > > That subsequently broke fakeroot: > https://bugs.archli

Re: [PATCH v2] fakeroot: fix to work with glibc 2.33

2021-02-13 Thread Philip Prindeville
> On Feb 12, 2021, at 10:52 AM, Ilya Lipnitskiy > wrote: > > Hi Philip, > > On Thu, Feb 11, 2021 at 11:23 PM Philip Prindeville > wrote: >> >> Minor nit, but please combine these into a single line: >> >> >> Please indent nested #if

Re: [PATCH v3] fakeroot: fix to work with glibc 2.33

2021-02-14 Thread Philip Prindeville
Inline > On Feb 13, 2021, at 9:41 PM, Ilya Lipnitskiy > wrote: > > The following commit removed _STAT_VER definitions from glibc: > https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=8ed005daf0ab03e142500324a34087ce179ae78e > > That subsequently broke fakeroot: > https://bugs.archlinu

Re: [PATCH v3] fakeroot: fix to work with glibc 2.33

2021-02-14 Thread Philip Prindeville
x27;s been merged upstream: > https://salsa.debian.org/clint/fakeroot/-/commits/upstream/ > > No release yet, though. Do you want me to do another patch, getting > rid of the upstreamed patches and using PKG_SOURCE_VERSION? > > Ilya > > > Ilya > > On Sun, Fe

Re: [PATCH 4/4] mac80211: add AX support

2021-02-15 Thread Philip Prindeville
AX support. Cool. Is there any UCI defaults stuff that needs to be touched for first boot and discovery? Comments: > On Feb 15, 2021, at 3:19 AM, John Crispin wrote: > > Signed-off-by: John Crispin > --- > .../files/lib/netifd/wireless/mac80211.sh | 193 +- > .../mac8021

Strongswan testers wanted

2021-02-19 Thread Philip Prindeville
Hi, I have some patches to Strongswan (mostly in packaging and UCI generation, not the Strongswan binaries themselves) that I'd like independent testing and verification. The maintainers have limited bandwidth to test, so others testing and finding bugs and me fixing them first might be more e

[PATCH 1/1] firewall3: remove last remaining sprintf()

2021-02-19 Thread Philip Prindeville
From: Philip Prindeville Signed-off-by: Philip Prindeville --- iptables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iptables.c b/iptables.c index 9e8fa743c99f84222307128047d40d657916aa75..49b34394dfec4df361ec1cf6778cade831454c7c 100644 --- a/iptables.c +++ b

CI/CD sanity and failed x86_64 builds

2021-02-24 Thread Philip Prindeville
I'm seeing repeated failures when rebuilding strongswan for x86_64. From what I can tell from the CI/CD logs, everything *is* being built with -fPIC, so I'm not sure why we're still seeing: 2021-02-24T20:02:59.8624672Z OpenWrt-libtool: compile: x86_64-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -

Re: CI/CD sanity and failed x86_64 builds

2021-02-24 Thread Philip Prindeville
> On Feb 25, 2021, at 12:12 AM, Ilya Lipnitskiy > wrote: > > Hi Philip, > > On Wed, Feb 24, 2021 at 10:30 PM Philip Prindeville > wrote: > >> -Wl,-Bstatic -Wl,-lgmp > Does that tell ld to link against libgmp.a instead of libgmp.so? I > didn't tr

Re: Installation error for libncursesw6

2021-02-28 Thread Philip Prindeville
> On Feb 15, 2021, at 11:52 PM, Brian Norris > wrote: > > On Sun, Feb 14, 2021 at 4:07 PM Ansuel Smith wrote: >> >>> Collected errors: >>> * pkg_hash_fetch_best_installation_candidate: Packages for >>> libreadline8 found, but incompatible with the architectures configured >>> * opkg_install

Re: Installation error for libncursesw6

2021-03-01 Thread Philip Prindeville
Inline... > On Mar 1, 2021, at 7:00 AM, Hannu Nyman wrote: > > Philip Prindeville philipp_subx at redfish-solutions.com wrote at Mon Mar 1 > 02:11:20 EST 2021: > > Is there a workaround to force an install? > > * Build a new up-to-date version with the current pa

Re: [PATCH] iproute2: fix build with a newer toolchain

2021-03-04 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Mar 3, 2021, at 1:48 PM, Rui Salvaterra wrote: > > GCC 10.2.0 complains loudly of missing limits.h. Add a patch to fix this. > > Signed-off-by: Rui Salvaterra > --- > .../050-fix-build-include-limits.patch| 23 +++

Bumping firewall3 to latest

2021-03-19 Thread Philip Prindeville
David, Yousong: Can we get a bump of firewall3 to HEAD again please? Thanks ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [PATCH] gmp: compile with -DPIC to use correct asm code

2021-03-19 Thread Philip Prindeville
> On Mar 12, 2021, at 6:25 AM, Felix Fietkau wrote: > > > On 2021-03-12 11:34, Stijn Tintel wrote: >> On 11/03/2021 23:46, Eneas U de Queiroz wrote: >>> The library is always compiled with $(FPIC) (-fPIC or -fpic), even for >>> the static library. >>> >>> There are some assembly sources that

[PATCH 1/1] build: make sure asm gets built with -DPIC

2021-03-19 Thread Philip Prindeville
From: Philip Prindeville Fixes issue #14921, whereby inline ASM wasn't getting built as PIC; look at gmp-6.2.1/mpn/x86/pentium/popcount.asm for example: ifdef(`PIC',` ... for a routine that exists in both PIC and non-PIC versions. Make sure that wherever $(FPIC) gets passed as

Re: [PATCH] gmp: compile with -DPIC to use correct asm code

2021-03-19 Thread Philip Prindeville
> On Mar 19, 2021, at 4:06 PM, Eneas U de Queiroz wrote: > > On Fri, Mar 19, 2021 at 5:08 PM Philip Prindeville > wrote: >> >> >> Maybe I'm missing something, but why not just fix rules.mk: >> >> >> ifneq (,$(findstring $(ARCH) ,

Re: [PATCH firewall3 v1 0/2] fix DSCP/MARK target implementation

2021-03-21 Thread Philip Prindeville
Are you aware that many open source apps already do DSCP marking? I submitted the changes to Firefox, Thunderbird, Cyrus, Proftpd, Sendmail, Postfix, Curl, Wget, Apache... and this was more than 15 years ago. Why would you want to overwrite marking if it's already present? > On Mar 21, 2021, a

Build changes correcting FPIC definition (was: [PATCH] gmp: compile with -DPIC to use correct asm code)

2021-03-24 Thread Philip Prindeville
> On Mar 19, 2021, at 4:59 PM, Philip Prindeville > wrote: > > > >> On Mar 19, 2021, at 4:06 PM, Eneas U de Queiroz >> wrote: >> >> On Fri, Mar 19, 2021 at 5:08 PM Philip Prindeville >> wrote: >>> >>> >>> Maybe I

Re: Requiring 2FA on OpenWrt GitHub organization

2021-04-11 Thread Philip Prindeville
Go for it. > On Apr 11, 2021, at 8:50 AM, Etienne Champetier > wrote: > > Hi All, > > There are currently 65 members in OpenWrt org, 58 of them with 2FA enabled. > Requiring 2FA would kick out the 7 users without 2FA, 6 of them have > no OpenWrt related activity for more than 2 or 3 years, I'

Strongswan 6.0 removing ipsec CLI

2021-04-13 Thread Philip Prindeville
Hi all, Word is that strongswan-6.0 will remove the ipsec interface. No idea how many 5.9.x releases will come out before that happens. Doing some prediction based on the past roadmap: The cadence in the past has been every 3 months, and typically x.y.3 or x.y.4 is the maximum release until

Re: [OpenWrt-Devel] [Request] Build x86_64 with EFI Images for ext4 combined

2019-03-31 Thread Philip Prindeville
Yup, amen to that, but it seems to be something that’s for whatever reason is not quick to happen… > On Aug 22, 2018, at 1:17 AM, Joel Wirāmu Pauling wrote: > > Currently the Auto-generated x86/64 images are all msdos > partition/boot layouts. Which means they are a PITA to run on > increasing

[OpenWrt-Devel] Rebasing "Generate EFI grub images for x86 platforms" (resend)

2019-03-31 Thread Philip Prindeville
Hi all. I was trying to rebase my branch to upstream/master recently, but I couldn’t because this commit conflicted: commit 9e3edeb55a2f85ecf6233a5780e495ea1755c998 Author: DUPONCHEEL Sébastien Date: Tue Apr 11 12:46:44 2017 +0200 Generate EFI grub images for x86 platforms Signed-off-

[OpenWrt-Devel] Problems w/ "make defconfig oldconfig" after rebasing

2019-06-30 Thread Philip Prindeville
I’ve been busy with other things, and just had a chance to try to get caught up with OpenWRT and my tickets, etc. I rebased openwrt and packages, then did “make defconfig oldconfig” but I’m seeing: WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libmariadbclient

Re: [OpenWrt-Devel] Problems w/ "make defconfig oldconfig" after rebasing

2019-06-30 Thread Philip Prindeville
> On Jun 30, 2019, at 1:03 PM, Kevin Darbyshire-Bryant > wrote: > > >> On 30 Jun 2019, at 19:27, Philip Prindeville >> wrote: >> >> [snip] >> >> Anyone have an idea of what’s going on? > > There were some tweaks to how config in

[OpenWrt-Devel] Issues with 4.19 and nft_reject_ipv4.ko after rebasing/updating

2019-06-30 Thread Philip Prindeville
I’m seeing the following failure after rebasing to master and 4.19: make[3]: Entering directory '/home/philipp/lede/package/kernel/linux' mkdir -p /home/philipp/lede/staging_dir/target-x86_64_musl/root-x86/stamp SHELL= flock /home/philipp/lede/tmp/.root-copy.flock -c 'cp -fpR /home/philipp/lede/

Re: [OpenWrt-Devel] Issues with 4.19 and nft_reject_ipv4.ko after rebasing/updating

2019-06-30 Thread Philip Prindeville
> On Jun 30, 2019, at 6:13 PM, Philip Prindeville > wrote: > > I’m seeing the following failure after rebasing to master and 4.19: > > make[3]: Entering directory '/home/philipp/lede/package/kernel/linux' > mkdir -p /home/philipp/lede/staging_dir/target-x86_64

Re: [OpenWrt-Devel] Issues with 4.19 and nft_reject_ipv4.ko after rebasing/updating

2019-07-07 Thread Philip Prindeville
> On Jun 30, 2019, at 9:54 PM, Philip Prindeville > wrote: > > > >> On Jun 30, 2019, at 6:13 PM, Philip Prindeville >> wrote: >> >> I’m seeing the following failure after rebasing to master and 4.19: >> >> make[3]: Entering directory &#

[OpenWrt-Devel] libtirpc broken Makefile?

2018-08-19 Thread Philip Prindeville
I just ran: % scripts/feeds update -i packages % rm -rf tmp/ % make defconfig oldconfig % grep libtirpc .config % grep "Package: libtirpc” tmp/.packageinfo % ls tmp/info/.packageinfo-feeds_packages_libtirpc ls: cannot access 'tmp/info/.packageinfo-feeds_packages_libtirpc': No such file or direct

Re: [OpenWrt-Devel] [PATCH] base-files: execute package prerm script in a subshell

2018-08-23 Thread Philip Prindeville
LGTM > On Aug 23, 2018, at 6:21 PM, Luis Araneda wrote: > > This fixes a problem that's causing an early return of > default_prerm() when the package prerm script has an > exit statement at the end, which is implemented as > "exit 0" by most of the packages that use prerm > > With the new beha

[OpenWrt-Devel] Minimum UCI to change macaddr of wlan0

2018-09-09 Thread Philip Prindeville
I have some boards that came from the factory with the wrong MAC address burned into wlan0. What’s the minimum UCI required to associate a new MAC with them regardless of what configurations they might appear in (i.e. in the be: “option ifname ‘eth0 wlan0’” etc). Thanks. -Philip ___

Re: [OpenWrt-Devel] OpenWrt 19.01 plans

2018-09-23 Thread Philip Prindeville
> On Sep 22, 2018, at 4:42 PM, Hauke Mehrtens wrote: > > Signed PGP part > Hi, > > We talked about plans for the next OpenWrt releases in this mail thread: > http://lists.infradead.org/pipermail/openwrt-adm/2018-July/000849.html > This mail is more or less a summary of the conclusions, this is

Re: [OpenWrt-Devel] [PATCH] base-files: add network_get_metric() to /lib/functions/network.sh

2018-09-24 Thread Philip Prindeville
LGTM Sent from my iPhone > On Sep 24, 2018, at 6:20 AM, Florian Eckert wrote: > > Signed-off-by: Florian Eckert > --- > package/base-files/files/lib/functions/network.sh | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/package/base-files/files/lib/functions/network.sh > b/packag

[OpenWrt-Devel] Tarpit support in firewall

2018-09-27 Thread Philip Prindeville
Jo-Philipp, Felix, et al: I’ve added the following to my /etc/firewall.user but I was thinking it might be useful for others, and worth integrating into the firewall. It’s currently implemented in Shell, but should be trivial in C. The relevant config (/etc/config/firewall) looks like: config

[OpenWrt-Devel] Quick question about firewall patch

2018-09-27 Thread Philip Prindeville
I’m looking at: https://git.openwrt.org/?p=project/firewall3.git;a=commitdiff;h=c03e20d7f594058ff223f30cf34de1b5e8210b8d;hp=b59934331c4b9271ceb5e30b793a552618299d39 and wondering, why not just do: v4->s_addr = htonl(~(UINT_MAX >> bits)); For instance, with bits == 14, we get: UINT_MAX >> 1

Re: [OpenWrt-Devel] [PATCH] fstools: mount ntfs with ntfs-3g utility if it exists

2018-09-30 Thread Philip Prindeville
Comments inline > On Sep 29, 2018, at 9:04 PM, Rosy Song wrote: > > From: Rosy Song > Subject: [OpenWrt-Devel] [PATCH] fstools: mount ntfs with ntfs-3g utility if > it exists > > This patch can mount ntfs with fuseblk fs type and make the deivces to be > mounted writable. > > --- a/block.c

Re: [OpenWrt-Devel] [PATCH, V2] fstools: mount ntfs with ntfs-3g utility if it exist

2018-09-30 Thread Philip Prindeville
I’m not seeing where “mount.ntfs-3g” is being set as the program to use... and should the test for the presence and modes of the program be generic? i.e. regardless of what type of FS or which program you use to mount it, you’ll want to test for its presence. So these are really two independen

Re: [OpenWrt-Devel] [PATCH, V2] fstools: mount ntfs with ntfs-3g utility if it exist

2018-10-01 Thread Philip Prindeville
> On Oct 1, 2018, at 10:22 AM, Jérôme Benoit wrote: > > Signed PGP part > Le 01/10/2018 à 06:21, Philip Prindeville a écrit : >> I’m not seeing where “mount.ntfs-3g” is being set as the program to use... > > I think this patch is just plain wrong. > A correct one

Re: [OpenWrt-Devel] [PATCH, V2] fstools: mount ntfs with ntfs-3g utility if it exist

2018-10-01 Thread Philip Prindeville
> On Oct 1, 2018, at 10:22 AM, Jérôme Benoit wrote: > > Signed PGP part > Le 01/10/2018 à 06:21, Philip Prindeville a écrit : >> I’m not seeing where “mount.ntfs-3g” is being set as the program to use... > > I think this patch is just plain wrong. > A correct one

Re: [OpenWrt-Devel] Use binutils 2.31.1 by default

2018-10-20 Thread Philip Prindeville
> On Aug 27, 2018, at 4:41 AM, Daniel Engberg > wrote: > > As per request, > > https://github.com/openwrt/openwrt/pull/1297 > > Longer tests with > https://lists.openwrt.org/pipermail/openwrt-devel/2018-July/013394.html > without issues > > Not subscribed so please cc > > Best regards, >

Re: [OpenWrt-Devel] [PATCH] kernel: tolerate using UBI/UBIFS on MLC flash (FS#1830)

2018-10-22 Thread Philip Prindeville
Can you drop the CAPS on words (not acronyms) and the _markup_? Sent from my iPhone > On Oct 18, 2018, at 6:28 AM, Koen Vandeputte > wrote: > > starting from upstream commit 577b4eb23811 ("ubi: Reject MLC NAND") > it is not allowed to use UBI and UBIFS on a MLC flavoured NAND flash chip. [1] >

Re: [OpenWrt-Devel] [PATCH v3] kernel: revert bad module stripping patch

2018-10-29 Thread Philip Prindeville
Some hardware (it’s rare but not unheard of) can only be reset by unloading and reloading the module that controls it. Otherwise, you have to reboot the box. If you build all of your drivers in, then rebooting is all you have. My firewall has been up for 3 years. I update it with opkg, includ

Re: [OpenWrt-Devel] [PATCH v3 3/6] x86: add packages files to image bootfs

2018-11-01 Thread Philip Prindeville
Inline > On Oct 31, 2018, at 11:02 AM, Tomasz Maciej Nowak wrote: > > Add files to bootfs image from selected as built-in packages, which want > to install files to targets boot file system. > > Signed-off-by: Tomasz Maciej Nowak > --- > target/linux/x86/image/Makefile | 2 ++ > 1 file changed,

Re: [OpenWrt-Devel] [RFC 4/6] x86: geode: shrink amount of default packages

2019-01-14 Thread Philip Prindeville
Why is the hwclock being dropped everywhere? And who says the geos2, net5501, or alix2 are obsolete? I have some running right here… > On Jan 13, 2019, at 2:49 PM, Tomasz Maciej Nowak wrote: > > Drop excesive amount of default packages, instead, rely on packages > specified in device definiti

Re: [OpenWrt-Devel] [RFC 4/6] x86: geode: shrink amount of default packages

2019-01-15 Thread Philip Prindeville
Inline > On Jan 15, 2019, at 12:40 AM, Tomasz Maciej Nowak wrote: > > Hi Philip > > W dniu 14.01.2019 o 21:10, Philip Prindeville pisze: > >> Why is the hwclock being dropped everywhere? > > It's provided by busybox and installed by default, also greping f

[OpenWrt-Devel] Problem building modules out-of-tree (kbuild) for x86

2016-12-18 Thread Philip Prindeville
Hi. I’m trying to add the Intel e1000e, igb, and ixgbe drivers that are on Source Forge. A snapshot of my work is here: https://github.com/pprindeville/packages/tree/sf-ether When I build this as “make -j1 V=s” using a mostly unmodified x86_64 generic configuration, I get: make[3]: Enterin

Re: [OpenWrt-Devel] Problem building modules out-of-tree (kbuild) for x86

2016-12-19 Thread Philip Prindeville
> On Dec 19, 2016, at 1:25 AM, Alexandru Ardelean > wrote: > > On Mon, Dec 19, 2016 at 1:41 AM, Philip Prindeville > wrote: >> Hi. >> >> I’m trying to add the Intel e1000e, igb, and ixgbe drivers that are on >> Source Forge. >> >> A sna

Re: [OpenWrt-Devel] [LEDE-DEV] Talks between OpenWrt and LEDE

2016-12-25 Thread Philip Prindeville
On Dec 21, 2016, at 10:13 PM, Russell Senior wrote: >> "Florian" == Florian Fainelli writes: > >>> However, I also agree with Dave, Alberto and Stefan that a name >>> change may be a really smart way to communicate the fresh start of >>> the project, a reboot, especially if the new name ri

Re: [OpenWrt-Devel] Any interest in adding runit to OpenWRT?

2016-12-25 Thread Philip Prindeville
> On Dec 25, 2016, at 1:01 PM, Denys Vlasenko wrote: > > In my humble opinion, for distros which can't use systemd because > of the size, or won't use systemd because they don't like it, > a good contender is daemontools or one of its clones. > It is especially suited for a distros which target

[OpenWrt-Devel] Scripting builds... how to?

2016-12-31 Thread Philip Prindeville
Hi. I wanted to be able to script building images completely. I understand how to do: cp ../my-saved-config .config make defconfig make oldconfig to generate the .config file in a completely scripted way, by seeding it with the minimum set of relevant parameters (the deltas) per the steps des

[OpenWrt-Devel] Bug in ipkg?

2017-01-02 Thread Philip Prindeville
I just saw something bizarre. I had a Perl module (CGI v4.35) which contained the following: my $appease_cpants_kwalitee = q/ use strict; use warnings; #/; which is just a quoted string containing the lines that some sanity checking code expects to see (albeit as actual code, and not embedded a

Re: [OpenWrt-Devel] [LEDE-DEV] Bug in ipkg?

2017-01-02 Thread Philip Prindeville
> On Jan 2, 2017, at 9:32 PM, Philip Prindeville > wrote: > > I just saw something bizarre. > > I had a Perl module (CGI v4.35) which contained the following: > > my $appease_cpants_kwalitee = q/ > use strict; > use warnings; > #/; > > which is just a

Re: [OpenWrt-Devel] [LEDE-DEV] Bug in ipkg?

2017-01-02 Thread Philip Prindeville
> On Jan 2, 2017, at 9:59 PM, Philip Prindeville > wrote: > > >> On Jan 2, 2017, at 9:32 PM, Philip Prindeville >> wrote: >> >> I just saw something bizarre. >> >> I had a Perl module (CGI v4.35) which contained the following: >> >

Re: [OpenWrt-Devel] [LEDE-DEV] Bug in ipkg?

2017-01-02 Thread Philip Prindeville
> On Jan 2, 2017, at 10:08 PM, Philip Prindeville > wrote: > > Okay, resolved…. I needed to change the Package/perl-cgi/install macro in > the Makefile to invoke perlmod/Install/NoStrip instead of perlmod/Install. > Sigh. > > Would it be reasonable to add a global

[OpenWrt-Devel] [PATCH oldpackage/eventlog oldpackage/syslog-ng3] version bump to latest

2017-01-06 Thread Philip Prindeville
update-syslog-eventlog.patch Description: Binary data ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] PHP at build time

2017-01-16 Thread Philip Prindeville
Hi. I’m working on a project (some GUI interfaces and a back end for generating traffic shaping using netfilter/tc) written in PHP7. It uses PHP’s “composer”. I could install composer (it’s only ever run once on a released project) on the target machine, and run it on first boot. But that see

[OpenWrt-Devel] Race condition in openssh build?

2017-01-18 Thread Philip Prindeville
I did a “make dirclean” and then “make -j12” and I end up seeing the following (it’s reproducible): ... make[3] -C feeds/packages/utils/bash compile make[3] -C feeds/packages/utils/bc compile make[3] -C feeds/packages/net/bmon compile make[3] -C package/network/utils/iptables compile make[3]

[OpenWrt-Devel] autoconf getting inconsistent results

2017-01-19 Thread Philip Prindeville
I’m looking at a configure.ac which is trying to detect if the platform has snprintf() or not, and it’s generating the wrong results. Ditto for strip(). In configure.ac: dnl Checks for library functions. AC_PROG_GCC_TRADITIONAL AC_TYPE_SIGNAL AC_CHECK_FUNCS(select socket strdup strerror strtol

[OpenWrt-Devel] Bounty: simplify extracting/restoring kernel .config

2017-01-29 Thread Philip Prindeville
Hi. I’m working on a project where I need to be able to force certain kernel configuration parameters from a script, to automate building tailored kernels for performance testing, certification, etc. I love the way that I can use “scripts/diffconfig.sh” to save the deltas into a file… update t

[OpenWrt-Devel] Observing procd progress

2017-02-12 Thread Philip Prindeville
One thing I was wondering about was, on a headless system, but that does have an LCD display, is maybe capturing the progress of procd as it runs and displaying it on that LCD. Looking at /var/log/messages, I see: 2017-02-12T05:49:52+00:00 Powercode kernel:4.660666] procd: - early - 2017-02

Re: [OpenWrt-Devel] [LEDE-DEV] Makefile question

2017-02-13 Thread Philip Prindeville
> On Feb 12, 2017, at 10:04 PM, Yousong Zhou wrote: > > On 13 February 2017 at 11:23, Philip Prindeville > wrote: >> >>> On Feb 11, 2017, at 8:29 PM, David Lang wrote: >>> >>> On Sat, 11 Feb 2017, Philip Prindeville wrote: >>> >&g

Re: [OpenWrt-Devel] [LEDE-DEV] Observing procd progress

2017-02-14 Thread Philip Prindeville
> On Feb 14, 2017, at 2:45 AM, Petr Štetiar wrote: > > Philip Prindeville [2017-02-12 12:57:19]: > > Hi, > >> One thing I was wondering about was, on a headless system, but that does >> have an LCD display, is maybe capturing the progress of procd as it runs an

Re: [OpenWrt-Devel] [LEDE-DEV] Makefile question

2017-02-14 Thread Philip Prindeville
> On Feb 13, 2017, at 11:25 PM, Yousong Zhou wrote: > > On 14 February 2017 at 10:51, Philip Prindeville > wrote: >> >> Hi Yousong, >> >> I’ve been working on both OpenWRT and LEDE and needed to get some hooks >> working in OpenWRT so I focused on

[OpenWrt-Devel] Using kdump... persistent logs, etc.

2017-02-22 Thread Philip Prindeville
Hi, Has anyone managed to use kdump with OpenWRT/LEDE? I have a box which periodically panics, and since /var is a link to /tmp/ there are no persistent logs. Which reminds me: is it safe to configure a third partition on my CF card, format it as ext3, and mount that as /var/log in /etc/fstab

Re: [OpenWrt-Devel] Using kdump... persistent logs, etc.

2017-02-23 Thread Philip Prindeville
project/source/blob/master/target/linux/generic/patches-4.9/930-crashlog.patch > > > Best Regards, > Syrone Wong > > > On Thu, Feb 23, 2017 at 10:05 AM, Philip Prindeville > wrote: >> Hi, >> >> Has anyone managed to use kdump with OpenWRT/LEDE? >>

Re: [OpenWrt-Devel] [LEDE-DEV] Using kdump... persistent logs, etc.

2017-03-02 Thread Philip Prindeville
at 10:27 AM, Philip Prindeville > wrote: > > Thanks for that. > > >> On Feb 22, 2017, at 11:44 PM, Syrone Wong wrote: >> >> According to LEDE's source code: >> >> config KERNEL_CRASHLOG >> bool "Crash logging" >> depe

Re: [OpenWrt-Devel] [LEDE-DEV] Using kdump... persistent logs, etc.

2017-03-02 Thread Philip Prindeville
s disabled by default. You may want to enable it yourself. I > don't know why. > > > Best Regards, > Syrone Wong > > > On Fri, Mar 3, 2017 at 2:31 PM, Philip Prindeville > wrote: >> I built an x86_64 image and turned on crash logging, and then forced a crash

Re: [OpenWrt-Devel] [LEDE-DEV] openwrt and lede - remerge proposal

2017-05-09 Thread Philip Prindeville
> On May 8, 2017, at 7:29 AM, David Woodhouse wrote: > > On Mon, 2017-05-08 at 15:19 +0200, John Crispin wrote: >> >> *) mailing list >> - ask david to add the openwrt-adm and openwrt lists >> - announce the switch to the infradead serves, asking people to >> unsubscribe if they have privacy i

Re: [OpenWrt-Devel] [LEDE-DEV] openwrt and lede - remerge proposal

2017-05-09 Thread Philip Prindeville
> On May 8, 2017, at 7:19 AM, John Crispin wrote: > > Hi, > > Felix, Imre and myself had 2 calls last week lasting several hours and > discussed the following proposal of conditions for a remerge that we would > like to propose and have people vote on. > > *) branding > - the owrt side sees

Re: [OpenWrt-Devel] [LEDE-DEV] openwrt and lede - remerge proposal

2017-05-11 Thread Philip Prindeville
> On May 11, 2017, at 4:53 AM, Stijn Segers > wrote: > > Some of the OpenWrt veterans come across as if they want the re-merge to be > rushed, ignoring the actual issues that caused the fork in the first place. Yeah, I have to agree with this. You don’t get married, then define your vows a

  1   2   3   4   5   6   7   8   9   10   >