Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2011 22:10:32 -0700
From:      perryh@pluto.rain.com
To:        korvus@comcast.net
Cc:        freebsd-net@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: Question about NIC link state initialization
Message-ID:  <4e0c0548.eW27hshSLoLhhTu1%perryh@pluto.rain.com>
In-Reply-To: <4E0B540B.3090400@comcast.net>
References:  <4E0B540B.3090400@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Steve Polyack <korvus@comcast.net> wrote:

> ... An occaisional fat-finger in /etc/fstab may cause one to
> end up in single-user mode ... some of these systems have a LOM
> (lights-out management) controller which shares the system's
> on-board NICs ... when the system drops out of init(8) and into
> single-user mode, the links on the interfaces never come up,
> and therefore the LOM becomes inaccessible.
>
> ... all one has to do is run ifconfig to cause the NIC's links to
> come up ... why do we have to run ifconfig(8) to bring the links
> up on the attached interfaces?

When trying to troubleshoot a problem that was known or suspected to
involve the network or its hardware, one might not _want_ the NICs
alive.

> Short of patching init(8) (or perhaps the NIC drivers?), I don't
> see another way for me to ensure the links come up even when the
> system drops into single-user mode on boot.

Something in /root/.profile, perhaps?  That should get run when the
single-user shell starts up, if it's started as a "login" shell.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4e0c0548.eW27hshSLoLhhTu1%perryh>