tomeshnet / prototype-cjdns-pi

Prototype system for mesh networks on single board computers
https://chat.tomesh.net/#/room/#software:tomesh.net
GNU General Public License v3.0
218 stars 42 forks source link

Allow non-onboard wifi as AP #458

Closed darkdrgn2k closed 4 years ago

darkdrgn2k commented 4 years ago

AP using onboard WiFi now optional If not selected Extenral card can be used by pinning the MAC

TODO

Stretch

darkdrgn2k commented 4 years ago

askSelection works fine, was using the wrong branch to test.

darkdrgn2k commented 4 years ago

Stretch goal - Position pining

ENV{ID_PATH} - possibly a variable for rule udevadm info /sys/class/net/wlan-ap - List all udev attributes

Example of udev file /etc/udev/rules.d/70-persistent-net.rules

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="ath9k_htc", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan-ap"