ref: 15f05a0ca14c062e2f718cff0af2f097c6e6d228
parent: 9ff8b7606373b18b85a357351f062f553fa70a68
author: sl <sl@x1tit>
date: Mon Oct 27 00:40:42 EDT 2025
on: Lenovo USB-C -> Cable Matters USB-A
--- a/on
+++ b/on
@@ -1,8 +1,8 @@
#!/bin/rc
-# 1. Connect the Lenovo USB-C to Ethernet Adapter to the computer.
-# 2. Boot the computer.
-# 3. Remove and then re-connect the Lenovo USB-C to Ethernet Adapter.
+# 1. Connect Cable Matters USB-A to Ethernet Adapter to computer.
+# 2. Boot computer.
+# 3. Remove and then re-connect the Cable Matters USB-A to Ethernet Adapter.
# 4. Run this script.
-dev=`{usbtree | grep 'Lenovo USB-C to LAN' | awk '{print $1}' | sed 's/^ep//g; s/\..*//'}+dev=`{usbtree | grep 'USB 10/100 LAN' | awk '{print $1}' | sed 's/^ep//g; s/\..*//'}nusb/ether $dev &&
ip/ipconfig -D ether /net/etherU^$dev
--
⑨