Re: processing /etc/sysctl.d

2023-05-05 Thread Lee
On 5/4/23, Greg Wooledge wrote: > On Thu, May 04, 2023 at 01:22:40PM -0400, Lee wrote: >> OK.. I'll try to figure out how to modify whatever in /etc/NetworkManager > > I've been told that Network Manager will ignore any interfaces that > are defined in /etc/network/interfaces. So the correct way

Re: processing /etc/sysctl.d

2023-05-04 Thread Andy Smith
Hello, On Thu, May 04, 2023 at 12:56:50PM -0400, Lee wrote: > Is there a way to get systemd to do list of commands in > /etc/sysctl.d/something.conf > and set of commands in /etc/sysctl.d/somethingElse.conf _after_ > all the interfaces come up? I think your NetworkManager is changing this

Re: processing /etc/sysctl.d

2023-05-04 Thread Michel Verdier
Le 4 mai 2023 Greg Wooledge a écrit : > I can't help you with IPv6. ipv6 is setup by adding in /e/n/i iface enp1s0 inet6 auto

Re: processing /etc/sysctl.d

2023-05-04 Thread Greg Wooledge
On Thu, May 04, 2023 at 01:22:40PM -0400, Lee wrote: > OK.. I'll try to figure out how to modify whatever in /etc/NetworkManager I've been told that Network Manager will ignore any interfaces that are defined in /etc/network/interfaces. So the correct way to set up a static address on that

Re: processing /etc/sysctl.d

2023-05-04 Thread Lee
On 5/4/23, Andy Smith wrote: > Hello, > > On Thu, May 04, 2023 at 08:43:52AM +0200, Michel Verdier wrote: >> Yes setting parameter on interface is better done in >> /etc/network/interfaces or /etc/network/interfaces.d/* >> which is used when the interface is configured > > There's definitely race

Re: processing /etc/sysctl.d

2023-05-04 Thread Lee
On 5/4/23, Michel Verdier wrote: > Le 4 mai 2023 Greg Wooledge a écrit : > >> A guess: perhaps this parameter cannot be set during the initial boot, >> because the enp1s0 interface isn't in a working state yet. > > Yes setting parameter on interface is better done in > /etc/network/interfaces or

Re: processing /etc/sysctl.d

2023-05-04 Thread Lee
On 5/3/23, Andy Smith wrote: > Hello, > > On Wed, May 03, 2023 at 07:50:30PM -0400, Lee wrote: >> I'm at a loss for how to figure out why my settings aren't taking effect. >> >> $ head /etc/sysctl.d/local.conf > > […] > >> # accept router advertisements >> net/ipv6/conf/enp1s0/accept_ra = 1 > > Is

Re: processing /etc/sysctl.d

2023-05-04 Thread Lee
On 5/3/23, Greg Wooledge wrote: > On Wed, May 03, 2023 at 07:50:30PM -0400, Lee wrote: >> $ head /etc/sysctl.d/local.conf >> # my site local preferences >> # >> # man sysctl.d >> # Configure kernel parameters at boot >> # /etc/sysctl.d/*.conf >> # key/name/under/proc/sys = some value >> >>

Re: processing /etc/sysctl.d

2023-05-04 Thread Andy Smith
Hello, On Thu, May 04, 2023 at 08:43:52AM +0200, Michel Verdier wrote: > Yes setting parameter on interface is better done in > /etc/network/interfaces or /etc/network/interfaces.d/* > which is used when the interface is configured There's definitely race conditions between creation of interface

Re: processing /etc/sysctl.d

2023-05-04 Thread Greg Wooledge
On Thu, May 04, 2023 at 12:09:25PM +0200, Michel Verdier wrote: > Le 4 mai 2023 Michel Verdier a écrit : > > > with a stanse like > > > > auto enp1s0... > > sysctl net/ipv6/conf/default/accept_ra = 1 > > I mean > >sysctl net.ipv6.conf.enp1s0.accept_ra = 1 And it goes in the "iface"

Re: processing /etc/sysctl.d

2023-05-04 Thread Michel Verdier
Le 4 mai 2023 Michel Verdier a écrit : > with a stanse like > > auto enp1s0... > sysctl net/ipv6/conf/default/accept_ra = 1 I mean sysctl net.ipv6.conf.enp1s0.accept_ra = 1

Re: processing /etc/sysctl.d

2023-05-04 Thread Michel Verdier
Le 4 mai 2023 Greg Wooledge a écrit : > A guess: perhaps this parameter cannot be set during the initial boot, > because the enp1s0 interface isn't in a working state yet. Yes setting parameter on interface is better done in /etc/network/interfaces or /etc/network/interfaces.d/* which is used

Re: processing /etc/sysctl.d

2023-05-03 Thread Andy Smith
Hello, On Wed, May 03, 2023 at 07:50:30PM -0400, Lee wrote: > I'm at a loss for how to figure out why my settings aren't taking effect. > > $ head /etc/sysctl.d/local.conf […] > # accept router advertisements > net/ipv6/conf/enp1s0/accept_ra = 1 Is it possible that enp1s0 didn't yet exist at

Re: processing /etc/sysctl.d

2023-05-03 Thread Greg Wooledge
On Wed, May 03, 2023 at 07:50:30PM -0400, Lee wrote: > $ head /etc/sysctl.d/local.conf > # my site local preferences > # > # man sysctl.d > # Configure kernel parameters at boot > # /etc/sysctl.d/*.conf > # key/name/under/proc/sys = some value > > # accept router advertisements >

processing /etc/sysctl.d

2023-05-03 Thread Lee
How to get /etc/sysctl.d/local.conf directives processed? I don't see any errors or warnings in the logs that look applicable, and grep sysctl doesn't give me anything interesting: $ grep sysctl /var/log/* 2>/dev/null /var/log/auth.log:May 3 19:41:17 spot sudo: lee : TTY=pts/0 ;