shithub: rc

ref: b37f3b14f650cdee89f44378fa3b5dd2b5daf567
dir: /on/

View raw version
#!/bin/rc
# 1. Connect the USB Ethernet Adapter to computer.
# 2. Boot computer.
# 3. Remove and then re-connect the USB Ethernet Adapter.
# 4. Run this script.
dev=`{usbtree | grep -e 'LAN|vid 0x17ef did 0x3098' | awk '{print $1}' | sed 's/^ep//g; s/\..*//'}
nusb/ether $dev && 
ip/ipconfig -D ether /net/etherU^$dev