Date: Wed, 03 Dec 2014 21:12:08 +0100 From: Martin Hanson <greencoppermine@yandex.com> To: Warren Block <wblock@wonkity.com> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: NICs devices switches "pshycial" place on each boot Message-ID: <322331417637528@web10m.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
>> š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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?322331417637528>