- Plug it in
- lsusb -> Seeing it's at Bus 001 Device 005: ID 2357:010c TP-Link TL-WN722N v2
- ip l to display what is the device's name -> wlp0s20f0u3
Get udev information on it: udevadm info -a -n /dev/bus/usb/001/005- Get the HW address: cat /sys/class/net/wlp0s20f0u3/address
- Add SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="HWADDR-COMES-HERE", NAME="stick" to /etc/udev/rules.d/10-network.rules
Special thanks for this:
https://wiki.archlinux.org/index.php/Network_configuration#Change_interface_name