Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Dec 2014 22:28:54 +0100
From:      Martin Hanson <greencoppermine@yandex.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: NICs devices switches "pshycial" place on each boot
Message-ID:  <212351417642134@web20h.yandex.ru>
In-Reply-To: <alpine.BSF.2.11.1412031024340.32996@wonkity.com>
References:  <1511041417624247@web23g.yandex.ru> <alpine.BSF.2.11.1412031024340.32996@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I have tried setting this up in /usr/local/etc/devd/devd.conf and used "devd -d" to re-read rules.
	
attach 100 {
        device-name "ue0";
        match "vendor" "0x0b95";
        match "product" "0x1790";
        match "sernum" "0000249b0de00c";
        action "ifconfig $device-name inet 192.168.1.1 netmask 255.255.255.0";
}

I have also tried with a notify and changing the value to 0, but the device doesn't get the IP set when plugged in.



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