Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: GNUser on July 02, 2020, 03:14:59 PM
-
I'm on TC11 64-bit, playing around with my hardware and trying to figure out how to use my wireless interface in STA (client) and AP (host) modes simultaneously, which the hardware supports. I found a nice step-by-step guide here: http://arnaudr.io/2015/12/05/setting-up-a-wi-fi-software-access-point/
But never mind the particularities. The problem is that hostapd refuses to talk to me: It fails silently, with no terminal output whatsoever.
It doesn't matter if I edit /usr/local/etc/hostapd.conf then start hostapd like this:
$ sudo /usr/local/etc/init.d/hostapd start
Or create /home/bruno/hostapd.conf and start hostapd like this:
$ sudo hostapd -dd /home/bruno/hostapd.conf
Either way, it's a silent failure with no output from hostapd whatsoever.
Can anyone image a reason why even with verbose output (-d or -dd) there is absolutely no terminal output from hostapd? I don't need help with the specifics of my project, I just need to figure out a way to make hostapd talk to me (make its error messages visible)!
-
hostapd outputs messages to the terminal just fine in TC10 32bit, TC11 32bit, and other GNU/Linux distros. The problem seems specific to TC10 64bit and TC11 64bit.
I will try recompiling hostapd for TC10/TC11 64bit. If it works as expected, I'll submit updated extensions.
-
Recompiling fixed the problem. I submitted an updated extension for TC11 64bit.
-
In such situations, strace or gdb may offer some info.
-
Thank you, curaga. In this case, it was easier to just recompile. Everything works perfectly now.
juanito, kindly post the updated extension at your convenience.
Thread may be marked as solved.
-
Hi GNUser
... Thread may be marked as solved.
Done. :)