I'm trying to implement 802.1x authenticator on FreeBSD, using hostapd. When I run the daemon, this is what I get:
Starting hostapd.
Configuration file: /etc/hostapd.conf
ioctl[SIOCS80211, op=21, val=0, arg_len=42]: Invalid argument
Could not connect to kernel driver.
ioctl[SIOCS80211, op=21, val=0, arg_len=42]: Invalid argument
ioctl[SIOCS80211, op=17, val=0, arg_len=0]: Invalid argument
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
ioctl[SIOCS80211, op=1, arg_len=32]: Invalid argument
Could not read SSID from system
em0: Unable to setup interface.
ioctl[SIOCS80211, op=21, val=0, arg_len=42]: Invalid argument
Could not connect to kernel driver.
ioctl[SIOCS80211, op=21, val=0, arg_len=42]: Invalid argument
ioctl[SIOCS80211, op=7, val=4, arg_len=0]: Invalid argument
/etc/rc.d/hostapd: WARNING: failed to start hostapd
And then it changes my interface to down.
This is my hostapd.conf:
interface=em0
\#driver=wired
logger_stdout=-1
logger_stdout_level=1
debug=2
dump_file=/tmp/hostapd.dump
ieee8021x=1
eap_reauth_period=3600
use_pae_group_addr=1
own_ip_addr=127.0.0.1
nas_identifier=ap.example.com
auth_server_addr=127.0.0.1
auth_server_port=1812
auth_server_shared_secret=radius
acct_server_addr=127.0.0.1
acct_server_port=1813
acct_server_shared_secret=radius
Thanks
Related
I have install react-toastify package but I'm getting this error what should I do
Error in ./~/react-toastify/dist/react-toastify.js
Module parse failed:
You may need an appropriate loader to handle this file type.
I am trying to compile the latest tensorflow version (2.0) using bazel (0.24.1):
~/bin/bazel build -c opt --verbose_failures --copt=-msse3 --copt=-msse4.1 --copt=-msse4.2 --copt=-mavx --copt=-mavx2 --copt=-mfma //tensorflow/tools/pip_package:build_pip_package
I receive the following error messages:
Server terminated abruptly (error code: 1, error message: 'Received RST_STREAM with error code 8', log file: '/home/zhang/.cache/bazel/_bazel_zhang/72e7c60ab7642c4e9dd9ba0bb5e0d8db/server/jvm.out')
In the jvm.out file, it looks like:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/home/zhang/.cache/bazel/_bazel_zhang/install/7da6a92c096ada842b8d48c251312343/_embedded_binaries/A-server.jar) to field sun.nio.ch.SelectorImpl.selectedKeys
WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Please help me out. Thanks!
I am running into these errors when running the following command
15:08:48 - tito#lt0311-2 Jazzy(master)> be jazzy --objc --umbrella-header Jazzy/SDK.h --theme apple --framework-root . --sdk iphoneos --module FyberSDK
/Users/tito/Documents/workspace/fyber/Jazzy/Jazzy/SDK.h:9:1: error: use of '#import' when modules are disabled
/Users/tito/Documents/workspace/fyber/Jazzy/Jazzy/Enum.h:9:1: error: use of '#import' when modules are disabled
/Users/tito/Documents/workspace/fyber/Jazzy/Jazzy/Enum.h:14:36: error: function definition declared 'typedef'
/Users/tito/Documents/workspace/fyber/Jazzy/Jazzy/Enum.h:14:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
/Users/tito/Documents/workspace/fyber/Jazzy/Jazzy/Enum.h:18:5: error: use of undeclared identifier 'MyEnumA'
/Users/tito/Documents/workspace/fyber/Jazzy/Jazzy/Enum.h:23:5: error: use of undeclared identifier 'MyEnumB'
/Users/tito/Documents/workspace/fyber/Jazzy/Jazzy/Enum.h:28:5: error: use of undeclared identifier 'MyEnumC'
building site
jam out ♪♫ to your fresh new docs in `docs`
I checked and modules are enabled for the target
//:configuration = Debug
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO
CLANG_ENABLE_MODULES = YES
//:configuration = Release
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO
CLANG_ENABLE_MODULES = YES
//:completeSettings = some
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES
CLANG_ENABLE_MODULES
CLANG_MODULES_AUTOLINK
I am using the following version of jazzy
15:08:46 - tito#lt0311-2 Jazzy(master)> be jazzy -v
jazzy version: 0.7.0
I created a simple project that can reproduce the issue
https://github.com/TitouanVanBelle/JazzySampleProject
I'm using http://simplehtmldom.sourceforge.net/ and file_get_contents() in my webApp. The file_get_contents() work fine on localhost. But when upload webApp on server(Windows server 2012 r2) i get this error. How to fix this error?
> Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in E:\cfnic.com\includes\class\PHP_Simple_HTML_DOM_Parser.php on line 75
Warning: file_get_contents(): Failed to enable crypto in E:\cfnic.com\includes\class\PHP_Simple_HTML_DOM_Parser.php on line 75
Warning: file_get_contents(https://www.markafoni.com/kadin/): failed to open stream: operation failed in E:\cfnic.com\includes\class\PHP_Simple_HTML_DOM_Parser.php on line 75
Fatal error: Call to a member function find() on boolean in E:\cfnic.com\includes\theme\category.php on line 159
You basically have to set the environment variable SSL_CERT_FILE to the path of the PEM file of the ssl-certificate downloaded from the following link : http://curl.haxx.se/ca/cacert.pem.
It took me a lot of time to figure this out.
For a detailed answer, you can have a look here: https://stackoverflow.com/questions/34590842/cannot-install-composer-on-mac-os-x/34617315
I firstly install Ubuntu 10.04 using VMWARE on Windows7. I installed TinyOS 2.1.2 and all the thing are going fine. Blink and other examples are working properly. Tossim is also working for these examples. command make micaz sim is build sucessfully.
I have to simulate signtaure algorithm so I want to install TinyECC-2.0 but getting the following error:
sumi#ubuntu:/opt/tinyos-2.1.2/apps/TinyECC-2.0$ make micaz sim
mkdir -p simbuild/micaz
placing object files in simbuild/micaz
writing XML schema to app.xml
compiling testECDSA to object file sim.o
ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) -fnesc-gcc=gcc -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=simbuild/micaz/app.c -board=micasb -DTOSH_DATA_LENGTH=102 -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000 -DSECP160R1 -DBARRETT_REDUCTION -DHYBRID_MULT -DHYBRID_SQR -DCURVE_OPT -DPROJECTIVE -DSLIDING_WIN -DSHAMIR_TRICK -DIDENT_APPNAME=\"testECDSA\" -DIDENT_USERNAME=\"sumi\" -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0x4f41f2b4L -DIDENT_TIMESTAMP=0x5104ea17L -DIDENT_UIDHASH=0x81f6a833L -I/usr/include/python2.6 -Wno-nesc-data-race testECDSA.nc -fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml
NNM.nc: In function ‘NNM$NN_SubDigitMult’:
NNM.nc:3278: error: can't find a register in class ‘CLOBBERED_REGS’ while reloading ‘asm’
NNM.nc:3278: error: ‘asm’ operand has impossible constraints
NNM.nc: In function ‘NNM$NN_Sub’:
NNM.nc:367: error: unknown register name ‘r2’ in ‘asm’
NNM.nc:367: error: unknown register name ‘r0’ in ‘asm’
NNM.nc: In function ‘NNM$NN_Sqr’:
NNM.nc:1775: error: unknown register name ‘r29’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r28’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r27’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r26’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r25’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r24’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r19’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r17’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r16’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r15’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r14’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r13’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r12’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r11’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r10’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r9’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r8’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r7’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r6’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r5’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r4’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r3’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r2’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r1’ in ‘asm’
NNM.nc:1775: error: unknown register name ‘r0’ in ‘asm’
secp160r1.nc: In function ‘secp160r1$CurveParam$omega_mul’:
secp160r1.nc:357: error: unknown register name ‘r29’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r28’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r27’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r26’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r25’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r19’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r17’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r16’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r15’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r14’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r13’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r12’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r11’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r10’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r9’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r8’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r7’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r6’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r5’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r4’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r3’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r2’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r1’ in ‘asm’
secp160r1.nc:357: error: unknown register name ‘r0’ in ‘asm’
NNM.nc: In function ‘NNM$NN_Add’:
NNM.nc:273: error: unknown register name ‘r2’ in ‘asm’
NNM.nc:273: error: unknown register name ‘r0’ in ‘asm’
NNM.nc: In function ‘NNM$NN_Mult’:
NNM.nc:875: error: unknown register name ‘r25’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r24’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r22’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r21’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r20’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r19’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r18’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r17’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r16’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r15’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r14’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r13’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r12’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r11’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r10’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r9’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r8’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r6’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r5’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r4’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r3’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r2’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r1’ in ‘asm’
NNM.nc:875: error: unknown register name ‘r0’ in ‘asm’
make: *** [sim-exe] Error 1
sumi#ubuntu:/opt/tinyos-2.1.2/apps/TinyECC-2.0$
IS there any one working on this???
According to the docs (http://discovery.csc.ncsu.edu/software/TinyECC/README.txt):
There are some inline assembly code in NNM.nc to speed up natural
number operations. The inline assembly code is written for
Atmega128l(MICAz), MSP430(TelosB/Tmote Sky), and XScale(Imote2). If
you want to use TinyECC for other platforms, you must comment
"#define INLINE_ASM" in NN.h or implement your own inline assembly
code.
Unless you are prepared to write your own inline asm, I'd look at changing the define for INLINE_ASM.