From owner-freebsd-net@FreeBSD.ORG Wed Dec 3 21:29:40 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78505C6E for ; Wed, 3 Dec 2014 21:29:40 +0000 (UTC) Received: from forward1h.mail.yandex.net (forward1h.mail.yandex.net [IPv6:2a02:6b8:0:f05::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2BB70ED0 for ; Wed, 3 Dec 2014 21:29:39 +0000 (UTC) Received: from web20h.yandex.ru (web20h.yandex.ru [84.201.186.49]) by forward1h.mail.yandex.net (Yandex) with ESMTP id 584C89E21AB for ; Thu, 4 Dec 2014 00:28:55 +0300 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web20h.yandex.ru (Yandex) with ESMTP id C4F701320B28; Thu, 4 Dec 2014 00:28:54 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1417642134; bh=bq1vE0qFaqBM9Ng276xjvYYFD/nFXPc7YGKoPboA8zs=; h=From:Cc:In-Reply-To:References:Subject:Date; b=MzMPsI5RZWz7GyvmxfjzTjtOUQMdsyJP2Rrrge3ONAeTp798qt1F00UPQuT3R1qRM hZk3i7sHK8frcAkKWAd8EpBZoxogs+rVV7ljvXQV6f4O8pO/c9fBNKLQ/i30P42/PW uCI7wcY/gI0iT3socRwtkKp0y9JhRGuiUn0GjVc0= Received: from 108.61.122.153.choopa.net (108.61.122.153.choopa.net [108.61.122.153]) by web20h.yandex.ru with HTTP; Thu, 04 Dec 2014 00:28:54 +0300 From: Martin Hanson Cc: "freebsd-net@freebsd.org" In-Reply-To: References: <1511041417624247@web23g.yandex.ru> Subject: Re: NICs devices switches "pshycial" place on each boot MIME-Version: 1.0 Message-Id: <212351417642134@web20h.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Wed, 03 Dec 2014 22:28:54 +0100 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2014 21:29:40 -0000 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.