On Sun, Dec 03, 2017 at 01:09:20AM +0700, Gua Chung Lim wrote: > Hi all, > > > /etc/npf.conf:2:21: no addresses matched for interface 'wm0' near ')' > I figured out their meaning. They are simply line number and column. > But my first 4 lines in /etc/npf.conf are very simple. > > % head -n 4 /etc/npf.conf > # /etc/npf.conf > $ext_if0 = inet4(wm0) > $int_if1 = inet4(wm1) > $ext_if6 = inet6(wm0) > > A warning occurs on the second line, column 21. > How can this be an error? > Defining the interfaces is so simple. > I didn't see anything wrong here. > Anyone plese point me out.
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? (I just reproduced this on a laptop that is connected to wireless, so has no addresses assigned to the wired wm0.) Cheers, Patrick
