disabling ethernet
This commit is contained in:
+5
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user