NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: delay npf/npfd service start at boot





On Wed, 28 Nov 2018, Leonardo Taccari wrote:

It did! thank you, even more for faving replied so quickly. NPF now waits for wpa_supplicant to connect and dhdpcd to assign an adress to the interface, npfd starts normally as expected.

I didn't even know about ifaddrs() until this very moment

Best regards,
Paolo


Hello Paolo,

Paolo Vincenzo Olivo writes:
[...]
I think npf is enabled over a wireless interface, it
doesn't wait for wpa_supplicant to establish a working connection, thus
failing to
apply npf.conf, and retunrning:

/etc/npf.conf#$line#$column: no address matched for interface $if near ')'

[...]

How can I properly address this problem? (e.g. an idea could be writing a sleep script)

[...]

If you are using inet4/inet6 I think that using ifaddrs instead will do
the trick (if it is a similar case reported in PR bin/53512).



Home | Main Index | Thread Index | Old Index