Comment 5 for bug 1843381

Revision history for this message
cktenn (cktenn) wrote :

There is 73-special-net-names.rules which 73-usb-net-by-mac.rules was split from, and it'll execute prior to 73-usb-net-by-mac.rules.

We can keep the fixed internal MAC passthrough interface using MAC address as interface name, and let removable dongles using pathname by adding following line to 73-special-net-names.rules.

ACTION=="add", SUBSYSTEM=="net", SUBSYSTEMS=="usb", NAME=="", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="8153", ATTRS{removable}=="removable", IMPORT{builtin}="net_id", NAME="$env{ID_NET_NAME_PATH}"