Re: DHCP non-issues

2021-07-21 Thread jungle Boogie
On Wed, 21 Jul 2021 at 07:56, Stuart Henderson wrote: > > > Maybe the patch above fixes other problems for other people's machines. > > > The use case the diff helps is where you need working network when > another daemon is started. (the order of netstart vs dhcpleased needs > changing in /etc/rc

Re: DHCP non-issues

2021-07-21 Thread Stuart Henderson
On 2021/07/21 07:24, jungle Boogie wrote: > On Tue, 20 Jul 2021 at 13:00, Theo de Raadt wrote: > > > > The following diff will help the most common cases. netstart will pause > > a little bit until at least one (v4 or v6) default route is installed. > > In the most common cases, this is immediate

Re: DHCP non-issues

2021-07-21 Thread Theo de Raadt
jungle Boogie wrote: > On Tue, 20 Jul 2021 at 13:00, Theo de Raadt wrote: > > > > The following diff will help the most common cases. netstart will pause > > a little bit until at least one (v4 or v6) default route is installed. > > In the most common cases, this is immediate. In the dynamic c

Re: DHCP non-issues

2021-07-21 Thread jungle Boogie
On Tue, 20 Jul 2021 at 13:00, Theo de Raadt wrote: > > The following diff will help the most common cases. netstart will pause > a little bit until at least one (v4 or v6) default route is installed. > In the most common cases, this is immediate. In the dynamic cases, the > delay is probably eno

Re: DHCP non-issues

2021-07-20 Thread Theo de Raadt
Claudio Jeker wrote: > On Tue, Jul 20, 2021 at 08:53:03AM -, Stuart Henderson wrote: > > On 2021-07-19, jungle Boogie wrote: > > > On Mon, 19 Jul 2021 at 04:48, Christian Weisgerber > > > wrote: > > >> > > >> Look guys, it's simple. > > >> > > >> If you want IPv6 (SLAAC) autoconfiguration,

Re: DHCP non-issues

2021-07-20 Thread johan kroes
Is it still possible to reject dhcp replies from certain servers? Here in the Netherlands ISPs provide you with a random pick of black box routers with their plans. Last year I had a VodafoneZiggo plan, offering 8 variants, and currently I have a KPN plan which has 12. Both times I received their

Re: DHCP non-issues

2021-07-20 Thread Stuart Henderson
On 2021-07-20, Kevin Chadwick wrote: > On July 20, 2021 10:35:55 AM UTC, Kevin Chadwick wrote: >>On Mon, 19 Jul 2021, 12:47 Christian Weisgerber, >>wrote: >> >>> Look guys, it's simple. >>> >>> If you want IPv6 (SLAAC) autoconfiguration, you set "inet6 autoconf" >>> for that interface. slaacd(8

Re: DHCP non-issues

2021-07-20 Thread Kevin Chadwick
On July 20, 2021 10:35:55 AM UTC, Kevin Chadwick wrote: >On Mon, 19 Jul 2021, 12:47 Christian Weisgerber, >wrote: > >> Look guys, it's simple. >> >> If you want IPv6 (SLAAC) autoconfiguration, you set "inet6 autoconf" >> for that interface. slaacd(8) will then automatically handle things. >> >>

Re: DHCP non-issues

2021-07-20 Thread Sebastian Benoit
Paul de Weerd(we...@weirdnet.nl) on 2021.07.19 20:04:35 +0200: > On Mon, Jul 19, 2021 at 01:59:18PM +0200, Paul de Weerd wrote: > | So far, I've found NFS and syslogd to need configuration changes or > | /etc/hosts entries to ensure they start properly. > > As I was asked about this off-list, I we

Re: DHCP non-issues

2021-07-20 Thread Claudio Jeker
On Tue, Jul 20, 2021 at 08:53:03AM -, Stuart Henderson wrote: > On 2021-07-19, jungle Boogie wrote: > > On Mon, 19 Jul 2021 at 04:48, Christian Weisgerber > > wrote: > >> > >> Look guys, it's simple. > >> > >> If you want IPv6 (SLAAC) autoconfiguration, you set "inet6 autoconf" > >> for that

Re: DHCP non-issues

2021-07-20 Thread Stuart Henderson
On 2021-07-19, jungle Boogie wrote: > On Mon, 19 Jul 2021 at 04:48, Christian Weisgerber wrote: >> >> Look guys, it's simple. >> >> If you want IPv6 (SLAAC) autoconfiguration, you set "inet6 autoconf" >> for that interface. slaacd(8) will then automatically handle things. >> >> If you want IPv4

Re: DHCP non-issues

2021-07-19 Thread Paul de Weerd
On Mon, Jul 19, 2021 at 01:59:18PM +0200, Paul de Weerd wrote: | So far, I've found NFS and syslogd to need configuration changes or | /etc/hosts entries to ensure they start properly. As I was asked about this off-list, I went back and re-read my message. Apologies for not being more clear: sys

Re: DHCP non-issues

2021-07-19 Thread Theo de Raadt
Christian Weisgerber wrote: > Peter J. Philipp: > > > Would OpenBSD be interested in a daemon that gets nameserver information > > from > > pppoe0 and passes this nameserver information to resolvd(8)? Currently > > there > > is no way to do that, so a userland daemon that uses a bpf device to

Re: DHCP non-issues

2021-07-19 Thread Christian Weisgerber
Peter J. Philipp: > Would OpenBSD be interested in a daemon that gets nameserver information from > pppoe0 and passes this nameserver information to resolvd(8)? Currently there > is no way to do that, so a userland daemon that uses a bpf device to spy on > pppoe(4) may be worthwhile to write? Is

Re: DHCP non-issues

2021-07-19 Thread jungle Boogie
On Mon, 19 Jul 2021 at 04:48, Christian Weisgerber wrote: > > Look guys, it's simple. > > If you want IPv6 (SLAAC) autoconfiguration, you set "inet6 autoconf" > for that interface. slaacd(8) will then automatically handle things. > > If you want IPv4 (DHCP) autoconfiguration, you set "inet autoco

Re: DHCP non-issues

2021-07-19 Thread Paul de Weerd
On Mon, Jul 19, 2021 at 01:42:41PM +0200, Christian Weisgerber wrote: | Look guys, it's simple. | | If you want IPv6 (SLAAC) autoconfiguration, you set "inet6 autoconf" | for that interface. slaacd(8) will then automatically handle things. | | If you want IPv4 (DHCP) autoconfiguration, you set "

Re: DHCP non-issues

2021-07-19 Thread Peter J. Philipp
On Mon, Jul 19, 2021 at 01:42:41PM +0200, Christian Weisgerber wrote: > Look guys, it's simple. > > If you want IPv6 (SLAAC) autoconfiguration, you set "inet6 autoconf" > for that interface. slaacd(8) will then automatically handle things. > > If you want IPv4 (DHCP) autoconfiguration, you set "