Closed alext-mkrs closed 5 years ago
Yes, I see. The script loads a kernel module with a param. And it uses connman to tether. So this is either not necessary anymore or needs to be done different (hostapd, networkd). We need to find the users of this script, maybe we can drop it entirely.
Looking at ap-mode-toggle, to allow tethering it needs brctl (from bridge-utils). And bridge-utils needs ethernet bridge support from the kernel.
@htot is possible using ap mode in Edison? I got "Failed to initialize interface" message when I using the "hostapd -c /etc/hostapd/hostapd.conf" command.
@sjpeng I have an updated ap-mode-toggle in my branch (https://github.com/htot/meta-intel-edison/commits/sumo64), and plan to push thud
based branch tonight. If you want this sumo64, you need to be quick as I will be deleting this branch when I push thud.
The fixed version relies on connman
tethering working and removing hostapd
completely. If you are impatient, you can already turn on tethering from the console using connman tether wifi ...
@alext-mkrs For me this one can be closed. The script has been fixed, and connman provides AP mode nicely.
+1 from me for closing
There's a suspicious message in the
dmesg
noticed by @htot. Needs to be investigated and probably fixed.