[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NPF error in /var/run/rc.log
* Patrick Welche (prlw1%cam.ac.uk@localhost) wrote:
> It means that when your /etc/npf.conf is loaded, wm0 has no address
> assigned to it. Could it be e.g., that wm0 isn't getting a response
> to a dhcp request or something?
How is it possible? In /etc/rc.conf, dhcpcd=YES with dhcpcd_flags="-b"
are nearly the first line. And npf=YES with npf_rules="/etc/npf.conf"
are nearly the last line. wm0 should have got IP prior to running NPF,
% ifconfig wm0
wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
media: Ethernet autoselect (1000baseT full-duplex)
inet 192.168.1.105 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::a00:27ff:feaf:97e5%wm0 prefixlen 64 scopeid 0x1
inet6 2405:9800:b550:2939:a00:27ff:feaf:97e5 prefixlen 64 autoconf
inet6 2405:9800:b550:2939:6dc2:13d1:e157:42e4 prefixlen 64
> (I just reproduced this on a laptop that is connected to wireless, so
> has no addresses assigned to the wired wm0.)
You are right. It seems much likely, my wm0 is wireless. But how can I fix it?
Warning(s) during boot, IMHO, looks bad. At least it did not occur on 6_STABLE.
(Now I'm on 7_STABLE.)
Gua Chung Lim
If you desire knowledges, learn one thing everyday.
If you desire wisdom, leave one thing everyday.
-- Lao Tzu
Main Index |
Thread Index |