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

Hostapd Automatic Channel Selection #452

Closed leosan902 closed 4 years ago

leosan902 commented 4 years ago

Where is the config file to change this configuration? CONFIG_ACS=y That is needed to enable Automatic Channel Selection, documentaion: https://gitlab.gwdg.de/eap-saml/hostapd/blob/master/src/ap/acs.c https://wireless.wiki.kernel.org/en/users/documentation/acs

darkdrgn2k commented 4 years ago

Seems to be a HOSTAPD thing

# If CONFIG_ACS build option is enabled, the channel can be selected
# automatically at run time by setting channel=acs_survey or channel=0, both of
# which will enable the ACS survey based algorithm.

CONFIG_ACS is a BUILD OPTION which means it needs to be part of the parameters when compiled. Im not sure what debian/ubuntu use for their flags when building their packages.

If they do not have it enabled, then you must re-compile hostapd from source and make sure the flag is set.

hostapd is located in /etc/hostapd/hostapd.conf

leosan902 commented 4 years ago

And my alfa network that i'm using as a AP doesnt have this drivers ath5k ath9k ath10k

darkdrgn2k commented 4 years ago

Not sure what board and distro your running this on. Or which wifi card you are running.

note: out-of-the-box prototype does not have a way of using anything but the onboard wifi for access point (although can be manually hacked into place)