lkakidentity.blogg.se

Usb to ethernet mac address
Usb to ethernet mac address






usb to ethernet mac address

I think it would be cool if default UCI interface config could be anchored to MAC address instead than device name, because device name can change depending on what device is initialized first.Īfaik this is not a major problem on x86 because there you use mostly cards on PCI and PCIe slots (or electrical interfaces if it's an integrated chipset), and those will always be initialized in the same order so will always get the same device name.īut yes if you change a card or for some reason a card dies and you reboot the device yes all interfaces are reassigned and usually ends up in a non-functional state.

usb to ethernet mac address

Realtek chipsets had that issues in my testing, ASIX chipsets (the ones in the "good quality" dongles) did not and maintained the same MAC address. This works if your dongles aren't trash that change MAC address every time you unplug them. The script I wrote How does OpenWrt ensure network device names are consistent? - #6 by bobafetthotmail should do the trick as it is matching the MAC address of an interface and an interface name, so you can statically assign eth0 to a specific device MAC. but this carries some reverse uci walk implications and likely interferes with firstboot/setup logic. (but have tested and had functional versions on several occasions)Ĭode from and one or two more who I don't have the names in front of me was very helpful / used during these attempts. so pretty mentally burn't out on efforts. Spent 50-100 or more hours on this (3 attempts from scratch). but in the case of something like virtualbox or similar where we may wish to assign a physical nic to an interface name the said implementation would likely require alteration re-assessment said implementation is targeted at USB only devices. lower level solution(or at least partial logic) is the way forward.OP was advised to use uniq new interface names and provide config/output which did not manifest. 'swapping' aka tearing down and re-assigning an occupied interface name during asynchronous hotplug is challenging. the script implementation relies on the NEW destination interface name to be FREE.i'd say 'difficult for the average user to debug'. let me clarify what the state/function of the discussed script versions do. Took a heroic stab at writing scripts based on hotplug but also had some unpredictable results








Usb to ethernet mac address