summaryrefslogtreecommitdiff
path: root/kanotix-udev-wlan-hack/71-kanotix-custom-hack.rules
diff options
context:
space:
mode:
Diffstat (limited to 'kanotix-udev-wlan-hack/71-kanotix-custom-hack.rules')
-rw-r--r--kanotix-udev-wlan-hack/71-kanotix-custom-hack.rules21
1 files changed, 21 insertions, 0 deletions
diff --git a/kanotix-udev-wlan-hack/71-kanotix-custom-hack.rules b/kanotix-udev-wlan-hack/71-kanotix-custom-hack.rules
new file mode 100644
index 0000000..df0921c
--- /dev/null
+++ b/kanotix-udev-wlan-hack/71-kanotix-custom-hack.rules
@@ -0,0 +1,21 @@
+# file is installed by kanotix-udev-hack-script
+# edit for your needs
+# hardcode NAME by mac-address
+# https://askubuntu.com/questions/826325/how-to-revert-usb-wifi-interface-name-from-wlxxxxxxxxxxxxx-to-wlanx
+# fill in your mac-address and your device NAME
+
+SUBSYSTEM=="net", \
+ ACTION=="add", \
+ DRIVERS=="?*", \
+ ATTR{address}=="f8:d1:11:0d:82:ea", \
+ ATTR{dev_id}=="0x0", \
+ ATTR{type}=="1", \
+ NAME="wlstick1"
+
+SUBSYSTEM=="net", \
+ ACTION=="add", \
+ DRIVERS=="?*", \
+ ATTR{address}=="xx:xx:xx:xx:xx:xx", \
+ ATTR{dev_id}=="0x0", \
+ ATTR{type}=="1", \
+ NAME="wlstick2"