diff --git a/gs/98-gadget.rules b/gs/98-gadget.rules index 063d3bd..b848800 100644 --- a/gs/98-gadget.rules +++ b/gs/98-gadget.rules @@ -1,2 +1,6 @@ # rename gadget usb net to radxa0 SUBSYSTEM=="net", KERNELS=="gadget", NAME="radxa0" +# rename usb tethering ncm nic to usb0 +ACTION=="add", SUBSYSTEM=="net", ENV{ID_USB_DRIVER}=="cdc_ncm", NAME="usb0" +# usb tethering rndis nic default name is usb0 +# ACTION=="add", SUBSYSTEM=="net", ENV{ID_USB_DRIVER}=="rndis_host", NAME="usb0"