disabling ethernet

This commit is contained in:
2026-06-29 00:35:34 +00:00
parent 789cb5e70e
commit 39aeb47d0e
+5 -3
View File
@@ -45,9 +45,11 @@ mkdir functions/acm.usb0
ln -s functions/acm.usb0 configs/c.1/ ln -s functions/acm.usb0 configs/c.1/
## Ethernet (RNDIS and ECM) ## Ethernet (RNDIS and ECM)
mkdir functions/ecm.usb0 ## Of note, this may cause the IP to show up as 127.0.0.1
ln -s functions/ecm.usb0 configs/c.1/ ## and wireless to suddenly fail to connect
#mkdir functions/ecm.usb0
#ln -s functions/ecm.usb0 configs/c.1/
## USB Device Controller update ## USB Device Controller update
UDC=`ls /sys/class/udc` UDC=`ls /sys/class/udc`
echo $UDC > UDC echo $UDC > UDC