Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 2004 06:21:27 -0500
From:      Dan Pelleg <daniel@pelleg.org>
To:        Dan Langille <dan@langille.org>
Cc:        mobile@FreeBSD.org
Subject:   Re: two NICs, one dhclient
Message-ID:  <u2svfkvlsg8.fsf@pelleg.org>
In-Reply-To: <20040322182954.S90677@xeon.unixathome.org> (Dan Langille's message of "Mon, 22 Mar 2004 18:32:50 -0500 (EST)")
References:  <20040322182954.S90677@xeon.unixathome.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Langille <dan@langille.org> writes:

> My IBM ThinkPad T22 is running FreeBSD 5.2.1 and has a built-in NIC (fxp0)
> and a PCMCIA wi0.
>
> I have 'ifconfig_fxp0="DHCP"' in /etc/rc.conf.  What I'd like to do is
> have dhclient run in wi0 if it is present and then not on fxp0.  But if no
> wi0, then run dhclient on fxp0.
>
> devd.conf was mentioned to me as one way to acheive this. Does anyone have
> a working configuration?
>
> Thanks

On -STABLE you can achieve this with the nicmond port. I don't know if it
works on -CURRENT. In fact I'd like to know if devd provides the same
functionality. If so, I'll know to gradually phase the port out.

-- 

  Dan Pelleg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?u2svfkvlsg8.fsf>