summaryrefslogtreecommitdiff
path: root/kanotix-udev-wlan-hack/71-kanotix-custom-hack.rules
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2020-08-22 22:43:34 +0200
committerHolger Paradies <retabell@gmx.de>2020-08-22 22:43:34 +0200
commitbbdc90e4a19f8b6a696af82e7bca7e9943f286de (patch)
tree42d055f33cd17779c34f4ba25bd3a2af57c3e2ed /kanotix-udev-wlan-hack/71-kanotix-custom-hack.rules
parent226ae35b6e3748f573782cba19d3c20fb3e44770 (diff)
downloadkanotix-packages-bbdc90e4a19f8b6a696af82e7bca7e9943f286de.zip
kanotix-packages-bbdc90e4a19f8b6a696af82e7bca7e9943f286de.tar.gz
Wlan udev rules
Fix for wlan usb-dongles, avoid long device names
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"