why omshell when no dhcpd ?

Andrew Sparrow spadger at spadger.best.vwh.net
Thu May 19 09:10:19 PDT 2005


On Thu, May 19, 2005 at 11:23:33AM -0400, Brandon S. Allbery KF8NH wrote:
> It can be used to query a running dhclient for lease information (and
> I've wanted to do so a few times only to find that omshell apparently
> isn't built on !current...).

<AOL>
What he said.
</AOL>

Admittedly you can do most everything without it less elegantly by
grovelling around in the lease file and/or killing/re-starting
dhclient - but having to build the port (on !current) to get omshell
is kind of sub-optimal, especially as omshell is the suggested
method of pausing dhclient prior to suspending a mobile client and
resuming on a different network.

So, killing dhclient works - but it'd be preferable to use
rc.suspend/rc.resume to pause/restart dhclient automatically when
using a mobile profile.

IIRC (been a while), the lack of omshell is reminiscent of building
OpenSSL from ports to get some of the standard CA management scripts,
even though SSL is in the base system.

Cheers,

AS


More information about the freebsd-current mailing list