From owner-freebsd-net@FreeBSD.ORG Wed Dec 3 20:12:14 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 167D1E14 for ; Wed, 3 Dec 2014 20:12:14 +0000 (UTC) Received: from forward4m.mail.yandex.net (forward4m.mail.yandex.net [IPv6:2a02:6b8:0:2519::3:13]) (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 BD5FF77E for ; Wed, 3 Dec 2014 20:12:13 +0000 (UTC) Received: from web10m.yandex.ru (web10m.yandex.ru [37.140.138.101]) by forward4m.mail.yandex.net (Yandex) with ESMTP id CA5DF2320CEC; Wed, 3 Dec 2014 23:12:09 +0300 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web10m.yandex.ru (Yandex) with ESMTP id 2323D24A0EA3; Wed, 3 Dec 2014 23:12:09 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1417637529; bh=8ssQMakBpkjOCp2OBkoXrfIBDdFFtvxmTyNyb2C+8UQ=; h=From:To:Cc:In-Reply-To:References:Subject:Date; b=HeyYUQ48cg4yTTz6TCSjJmlANWYCvgtG7ZvhnXi7OtlqNGgSn69TPi8awi4XjX8g0 ZLNzt0XCQiIcwfGK6R8Fb/rqUOpcb0fZ5w+NvHxQrhPVRtNG293OVqeReHpLp45qnh dqWfJWV9GodjV9T3V/6ToDsOiXMy9CAFodoSpOKo= Received: from 108.61.122.153.choopa.net (108.61.122.153.choopa.net [108.61.122.153]) by web10m.yandex.ru with HTTP; Wed, 03 Dec 2014 23:12:08 +0300 From: Martin Hanson To: Warren Block In-Reply-To: References: <1511041417624247@web23g.yandex.ru> Subject: Re: NICs devices switches "pshycial" place on each boot MIME-Version: 1.0 Message-Id: <322331417637528@web10m.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Wed, 03 Dec 2014 21:12:08 +0100 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Cc: "freebsd-net@freebsd.org" 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 20:12:14 -0000 >> šThis is a major problem as the device *still* has the right name and the >> šright IP, but it is as though it has been physically removed from the >> šslot and changed place. >> >> šIs it somehow possible to deal with this problem? >> >> špciconf doesn't display those devices. > > usbconfig will show the USB devices, 'usbconfig -d 0.3 dump_device_desc' > shows output from device 0.3. šIt might be possible to assign a unique > name to each with 'ifconfig name' when they are detected by devd. šThat > would depend on some unique ID for each that can be detected by devd. > If they are all the same brand and model, vendor and product ID will not > help. šSerial number is often not set on USB devices. šMAC address would > work, if that is passed to devd. Thank you very much, brought me so much closer to a solution. I don't think MAC address is passed to devd, but each device does have a unique serial number, but I am unable to determine how exactly to go about fixing a device name to a specific serial number. Kind regards.