summaryrefslogtreecommitdiff
path: root/kanotix-udev-wlan-hack/71-kanotix-custom-hack.rules
blob: df0921c8b21734530e412143cb2bec4454282c50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"