Post by 100110 on Jun 9, 2018 19:05:22 GMT
The main problem here seems to be that the TLS version used in mana/karma/hostapd is deprecated. I need input but this forum seems more or less abandoned. I hope someone is out there reading this.
The problems I have are related to compiling hostapd when running the install.sh script for mana and karma. The makefile for hostapd will not run without errors so I need to solve the problem with "TLSv1_method" is deprecated shown in the log below.
I tried to enable TLS 1.2 inside .config in the makefile directory but it did not solve the problem. I tried the internal (experimental) version but that one requires other dependencies and I'd prefer to get the default version to run. I have enough problems as is with figuring things out.. Why won't it compile when I edit .config to use TLS 1.2?
I compiled the Github-version of mana instead. I can select AP hostapd-mana in the config page now (using the github code), I just can't activate it. Activating mana it goes to action, then wait then back. Trying to activate ap or api it goes to a blank screen - halts at ../modules/api/includes/module_action.php?service=api&action=start&page=status
So when I try to use the module from xtr4nge the .config is not used so I can't force TLS 1.2 and it won't compile. When I use the Github 2.6 code it compiles and I can select the module but can't activate it and it also messes up ap and api so I can't activate them either. Possibly something with permissions that is altered when I go do this workaround. Or something else that makes them halt. They worked before I installed mana. Although sometimes when I refresh the page they are green and listed as active before they go red again after a few seconds.
Log with the initial problem (TLS version) (stripped for clarity)
I am so close to getting it to work. Please help me with the last push across the line.. There is always new problems with each combination of hardware and software so there will never be a perfect time to get this done. I want to fix it this time. Unless the project is completely dead as someone mentioned - and there is a new alternative somewhere?
It's frustrating and there seems to be no help anywhere. I am trying to run this on a Raspberry Pi for power consumption reasons. It seems to work up until modules get involved. It's like you're banging your head into a wall over and over and I am about to give up..
The problems I have are related to compiling hostapd when running the install.sh script for mana and karma. The makefile for hostapd will not run without errors so I need to solve the problem with "TLSv1_method" is deprecated shown in the log below.
I tried to enable TLS 1.2 inside .config in the makefile directory but it did not solve the problem. I tried the internal (experimental) version but that one requires other dependencies and I'd prefer to get the default version to run. I have enough problems as is with figuring things out.. Why won't it compile when I edit .config to use TLS 1.2?
I compiled the Github-version of mana instead. I can select AP hostapd-mana in the config page now (using the github code), I just can't activate it. Activating mana it goes to action, then wait then back. Trying to activate ap or api it goes to a blank screen - halts at ../modules/api/includes/module_action.php?service=api&action=start&page=status
So when I try to use the module from xtr4nge the .config is not used so I can't force TLS 1.2 and it won't compile. When I use the Github 2.6 code it compiles and I can select the module but can't activate it and it also messes up ap and api so I can't activate them either. Possibly something with permissions that is altered when I go do this workaround. Or something else that makes them halt. They worked before I installed mana. Although sometimes when I refresh the page they are green and listed as active before they go red again after a few seconds.
Log with the initial problem (TLS version) (stripped for clarity)
$ sudo ./install.sh
inflating: hostapd-mana-master/src/wps/wps_validate.c
../src/crypto/tls_openssl.c: In function ‘tls_init’:
../src/crypto/tls_openssl.c:812:2: warning: ‘TLSv1_method’ is deprecated (declared at /usr/include/openssl/ssl.h:1612) [-Wdeprecated-declarations]
../src/crypto/tls_openssl.c: In function ‘tls_deinit’:
../src/crypto/tls_openssl.c:868:3: warning: ‘ERR_remove_thread_state’ is deprecated (declared at /usr/include/openssl/err.h:247) [-Wdeprecated-declarations]
I am so close to getting it to work. Please help me with the last push across the line.. There is always new problems with each combination of hardware and software so there will never be a perfect time to get this done. I want to fix it this time. Unless the project is completely dead as someone mentioned - and there is a new alternative somewhere?
It's frustrating and there seems to be no help anywhere. I am trying to run this on a Raspberry Pi for power consumption reasons. It seems to work up until modules get involved. It's like you're banging your head into a wall over and over and I am about to give up..