NICs devices switches "pshycial" place on each boot
Martin Hanson
greencoppermine at yandex.com
Wed Dec 3 20:12:14 UTC 2014
>> 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.
More information about the freebsd-net
mailing list