Skip to content

Instantly share code, notes, and snippets.

@RobertCNelson
Last active September 22, 2021 20:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobertCNelson/4d2fbc3abc41640066361daca1576a8e to your computer and use it in GitHub Desktop.
Save RobertCNelson/4d2fbc3abc41640066361daca1576a8e to your computer and use it in GitHub Desktop.
SUBSYSTEM=="net", ACTION=="add", KERNEL=="wlan0", DRIVERS=="wl18xx_driver" \
RUN+="/sbin/iw dev %k interface add ap%n type managed"
SUBSYSTEM=="net", DRIVERS=="wl18xx_driver", ACTION=="add", \
RUN+="/sbin/iw dev %k interface add ap%n type managed"
debian@BeagleBone:~$ cat /etc/udev/rules.d/70-ap-interface.rules
SUBSYSTEMS=="net", KERNELS=="wl18xx.3.auto", DRIVERS=="wl18xx_driver"
SUBSYSTEM=="net", ACTION=="add", \
RUN+="/sbin/iw dev %k interface add ap%n type manag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment