Subject: running commands from ifconfig.
To: None <tech-net@NetBSD.org>
From: Claes Leufven <rinsan@lysator.liu.se>
List: tech-net
Date: 09/07/2005 23:58:16
--=-=-=

Hi!

I am trying to run a command before taking up my network interface but
the startup scripts seems to ignore the command, if I login after the
startup and run '/etc/rc.d/network start' everything works. The
interface is a ipw device and my /etc/ifconfig.ipw0 looks like this.

!/sbin/ipwctl -i $int -f /etc/ipw2100-1.3.fw
up

My /etc/rc.conf has the following lines and dhclient wont start
because of the unconfigured device.

dhclient=YES
dhclient_flags="ipw0"

I have checked the paths to the binary and the firmware file and I am
running NetBSD-CURRENT from 2005-05-05.

Regards,

Claes Leufven

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQBDH2J7+5SV1+pdBU0RArJVAJwIlHDahDO+sC3YaTW6KtoDmvsjjgCfYj9p
h2gg9OLGnx8lpwCi5X3gr1Q=
=uPYQ
-----END PGP SIGNATURE-----
--=-=-=--