Skip to content

Commit

Permalink
Rename usb tethering cdc_ncm nic to usb0
Browse files Browse the repository at this point in the history
Signed-off-by: Ruixi Zhou <[email protected]>
  • Loading branch information
zhouruixi committed Dec 24, 2024
1 parent 7d703f4 commit 2a9b053
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gs/98-gadget.rules
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 2a9b053

Please sign in to comment.