mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
set ap0 mac_addr to be different from wlan0
This commit is contained in:
parent
c56b9e6510
commit
71907893cb
3 changed files with 15 additions and 2 deletions
|
|
@ -1,3 +1,3 @@
|
|||
SUBSYSTEM=="ieee80211", ACTION=="add|change", KERNEL=="phy0", \
|
||||
RUN+="/sbin/iw phy phy0 interface add ap0 type __ap", \
|
||||
RUN+="MAC=`iw dev wlan0 info | grep addr | sed -e s/addr//` && /bin/ip link set ap0 address $MAC"
|
||||
RUN+="/sbin/ip link set ap0 address b8:27:99:12:34:56"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue