User Tools

Site Tools


en:bpi-r2:software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:bpi-r2:software [2018/01/28 18:04]
frank [Network-Configuration]
en:bpi-r2:software [2019/01/09 18:04] (current)
Line 119: Line 119:
   pre-up ip link set $IFACE address 02:​01:​02:​03:​04:​08 up   pre-up ip link set $IFACE address 02:​01:​02:​03:​04:​08 up
   post-down ip link set $IFACE down   post-down ip link set $IFACE down
 +</​code>​
 +
 +UDEV-way from [[http://​forum.banana-pi.org/​t/​bpi-r2-ethernet-mac-address/​4361/​23|here]]
 +
 +<​code>​
 +$ cat /​etc/​udev/​rules.d/​00-static-mac-address.rules
 +ACTION=="​add",​ SUBSYSTEM=="​net",​ KERNELS=="​1b100000.ethernet",​ RUN+="/​sbin/​ip link set dev %k address ae:​fc:​de:​ad:​be:​ef"​
 </​code>​ </​code>​
  
en/bpi-r2/software.txt · Last modified: 2019/01/09 18:04 (external edit)