osmc@osmc:~$ uname -a
Linux osmc 4.4.27-9-osmc #1 SMP PREEMPT Tue Mar 14 20:54:19 UTC 2017 armv7l GNU/Linux
osmc@osmc:~$ grep VERSION_ID /etc/os-release
VERSION_ID="2017.03-1"
osmc@osmc:~$ cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}' | sed 's/^1000//'
a01041
# http://elinux.org/RPi_HardwareHistory => 2 Model B
osmc@osmc:~$ cat /etc/udev/rules.d/75-mac-spoof.rules
ACTION=="add", SUBSYSTEM=="net", ATTR{address}=="00:04:30:5b:91:f1", RUN+="/bin/ip link set dev %k address 00:02:02:1b:40:95"
# where first one is original mac and second one is new mac.
Created
March 21, 2017 22:05
-
-
Save pingec/e51190c90319439a2b6628bcc2446479 to your computer and use it in GitHub Desktop.
Permanently spoofing mac address on OSMC @ Raspberry Pi 2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment