Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow non-onboard wifi as AP #458

Merged
merged 11 commits into from
Dec 8, 2019
Merged

Allow non-onboard wifi as AP #458

merged 11 commits into from
Dec 8, 2019

Conversation

darkdrgn2k
Copy link
Contributor

@darkdrgn2k darkdrgn2k commented Oct 27, 2019

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

TODO

  • Fix askSelection - Does not like passing \n

  • Fix askSelection - May not like return numbers

  • Add hostapd as install-able option globally

  • Test on Rasbian

  • Test on Armbian

Stretch

  • Convert to check all network interfaces instead of just wlan*
    • Check for wireless folder to check if net is wireless (reference mesh-point script)
  • Pin by driver instead of MAC
  • Pin to position

@darkdrgn2k
Copy link
Contributor Author

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

@darkdrgn2k
Copy link
Contributor Author

darkdrgn2k commented Nov 6, 2019

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"

@darkdrgn2k darkdrgn2k changed the title [WIP] - Allow non-onboard wifi as AP Allow non-onboard wifi as AP Nov 6, 2019
@darkdrgn2k darkdrgn2k merged commit b1dd8f8 into develop Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant