Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2012 14:05:58 +0200
From:      =?UTF-8?Q?G=C3=B6ran_L=C3=B6wkrantz?= <goran.lowkrantz@ismobile.com>
To:        jb <jb1234abcd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: exclude device from bus probe?
Message-ID:  <0B0A871C962DC86D0BC7FA4D@Gorans-MacBook-Pro.local>
In-Reply-To: <loom.20120918T134218-680@post.gmane.org>
References:  <84002D87687695781C9FBC88@Gorans-MacBook-Pro.local> <loom.20120918T115041-437@post.gmane.org> <6F15C648AD3EC7F2C7CED391@Gorans-MacBook-Pro.local> <loom.20120918T134218-680@post.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Well, I already tested this in rc.conf:

ifconfig_em0=3D"down"

and it didn't help.

There is an new IPMI 2.66 vs. my running 2.64 that I will test but unless=20
someone has any other idea, it seems like I am stuck.

/glz

--On September 18, 2012 11:49:17 +0000 jb <jb1234abcd@gmail.com> wrote:

> G=C3=B6ran L=C3=B6wkrantz <goran.lowkrantz <at> ismobile.com> writes:
>
>>
>> Thanks for the correction but getting the hint to work didn't help at
>> all.  That removed both interfaces and thus all network connectivity.
>> And it  still didn't work with the IPMI as the remote console still
>> disappeared  when the probing started. The serial port worked up until
>> beasty.
>
> Well, there is something you could try (I have not tested it myself and
> I am not sure if this does not apply to post-boot device discovery only):
>
> devd(8), devd.conf(5), DEVFS.RULES(5)
> See examples:
> $ cat /etc/devd.conf
> ...
># An entry like this might be in a different file, but is included here
># as an example of how to override things.  Normally 'ed50' would match
># the above attach/detach stuff, but the value of 100 makes it
># hard wired to 1.2.3.4.
> attach 100 {
>       device-name "ed50";
>       action "ifconfig $device-name inet 1.2.3.4 netmask 0xffff0000";
> };
> detach 100 {
>       device-name "ed50";
> };
> ...
>
> So, just thinking loudly:
>   attach 100 {
>         device-name "em0";
>         action "??? some action e.g. ifconfig $device-name down :-) ???";
>   };
> etc.
>
> jb
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"







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