Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2013 08:52:05 -0600
From:      Dave Duchscher <daved@tamu.edu>
To:        h bagade <bagadeh@gmail.com>
Cc:        freebsd-net@freebsd.org, John-Mark Gurney <jmg@funkthat.com>
Subject:   Re: how to completely makes an interface down?
Message-ID:  <6D4FA861-037E-48EA-BE87-70808FB28D82@tamu.edu>
In-Reply-To: <CAARSjE2NWC0JsibYb0Vp6A1d67L6-houfB8DWWhr_rEzd4iPpw@mail.gmail.com>
References:  <CAARSjE0-pFR0yf7xbycPkjrZCvokGp=r7Ls=HeP83t60nhGVVg@mail.gmail.com> <20130124195056.GB1410@funkthat.com> <CAARSjE1qZcn0AiMiU5L8Bd0SVFM=f0VvKxMgor56naNFt46hug@mail.gmail.com> <CAFOYbc=HRqPN_3To7o_LomPRLG%2BoFnLBtVQv3U=df8D=FePViw@mail.gmail.com> <CAARSjE2NWC0JsibYb0Vp6A1d67L6-houfB8DWWhr_rEzd4iPpw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_E87EC58A-5BFE-4A28-9A12-27188693868F
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

On Jan 26, 2013, at 7:05 AM, h bagade wrote:

> I've found a patch which is going to do what I really want:
> http://lists.freebsd.org/pipermail/freebsd-net/2010-December/027196.html
> 
> but when I apply it on my freebsd 8.2 with em cards, nothing happens! not
> even sysctl "dev.em.X.down_disables_link", which is supposed to be added
> after applying patch, exists! what wrong with what I've done?

Not sure. I would make sure that your new kernel is the kernel that is
being used. We use a different kernel configuration file so that a
simple uname command tells us that the right kernel is installed.

We use that patch here with 8.3 and it works as advertised. I do wish
there was a way to drop the link of the port without kernel mods.
Understandably with the out of band management protocols, the internal
interfaces really like to keep link alive so you can connect to the
system's management console, do wake on lan, etc.

--
DaveD


--Apple-Mail=_E87EC58A-5BFE-4A28-9A12-27188693868F
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkc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868F--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6D4FA861-037E-48EA-BE87-70808FB28D82>