Current-Users archive

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

ifconfig.if does not seem to run !dhclient $int



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, I've got a soekris net6501 happily forwarding packets with netbsd/amd64,
however it can't yet start unaided because somehow dhclient is not run when
specified in /etc/ifconfig.wm1 as follows:

- --8<--
up
!dhclient $int
- --8<--

Running dhclient wm1 manually works perfectly fine, and the other interfaces
(wm0, gif0, gif1) all get set up properly and the various !-commands in them
get run (some specific routing is set up in there)

If I set dhclient=YES and dhclient_flags="wm1" in rc.conf, dhclient will run
but this apparently makes rc.d/network ignore the other ifconfig.if files.

What's even more interesting is that I copied the rc.d/network from a 5.1 system
and got the exact same effect... What am I missing? (Forgive me if it's obvious,
I haven't had much sleep today)

The userland is from the daily build on 201406250730Z

- -- 
Staffan Thomén - ADB3 455F 10D5 86D1 78D6  048D 11BB D66E 7C7E 2EF8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlPDu0YACgkQEbvWbnx+LvglngCdFk4og9LlY99yRdzmNLeD6HPO
WTYAnj9DdqpvjBYAn4uJGuif5RiqcuIK
=xWcd
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index