Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2013 10:17:31 +0330
From:      h bagade <bagadeh@gmail.com>
To:        Dave Duchscher <daved@tamu.edu>
Cc:        freebsd-net@freebsd.org
Subject:   Re: how to completely makes an interface down?
Message-ID:  <CAARSjE2vz3Zkt0-_EBG6NtAoUVrg%2Bi2LbpikzREH8B35%2BE%2BNRA@mail.gmail.com>
In-Reply-To: <6D4FA861-037E-48EA-BE87-70808FB28D82@tamu.edu>
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> <6D4FA861-037E-48EA-BE87-70808FB28D82@tamu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 26, 2013 at 6:22 PM, Dave Duchscher <daved@tamu.edu> wrote:

> 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
>
>
I gradually apply the patch and it works:) Thanks all.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAARSjE2vz3Zkt0-_EBG6NtAoUVrg%2Bi2LbpikzREH8B35%2BE%2BNRA>