You are not logged in.
Pages: 1
Hello, everyone
i have udev rule put in the /etc/udev/rules.d named 70-alfa-add.rules
KERNEL=="wlan*", SUBSYSTEM=="usb", ACTION=="add", ATTR{address}=="00:C0:CA:57:10:B5", NAME="alfa"
and it does not work. as i plug my usb device in, interface name does not change...
if i gave another command instead of renaming like
KERNEL=="wlan*", SUBSYSTEM=="usb", ACTION=="add", ATTR{address}=="00:C0:CA:57:10:B5", RUN+="/usr/bin/fakemac"
my /usr/bin/fakemac script is following:
#!/bin/bash
##
/sbin/ifconfig wlan1 down
/usr/bin/macchanger -A wlan1
/sbin/ifconfig wlan1 up
but it is not working again, so i assume my udev is broken somehow... and do not see my rules
can anyone help me with this?
Offline
Your address string should be in lower-case, not upper-case.
Offline
Your address string should be in lower-case, not upper-case.
KERNEL=="wlan*", SUBSYSTEM=="usb", ACTION=="add", SYSFS{address}=="00:c0:ca:57:10:b5", RUN+="/usr/bin/fakemac"
same issue.
Offline
as should be predicted - it os all my fault.
udevadm info -a -p /sys/class/net/wlan1 gave SUBSYSTEM=="net"
feels so dumb now. sorry guys for bothering...
Offline
I've contributed many reports to the PEBKAC bug repository - we all do.
If it is working now please mark the thread as [SOLVED].
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1