WiFi module configuration Issues in AP Mode

Source: Internet
Author: User
Tags openssl openssl library

Question 1.

.. /SRC/DRIVERS/DRIVER_NL80211.C: In the function ' Family_handler ':

.. /src/drivers/driver_nl80211.c:400: Error: ' ctrl_attr_mcast_groups ' not declared (first use within this function)

.. /SRC/DRIVERS/DRIVER_NL80211.C:400: Error: (even if multiple occurrences occur within a function, each undeclared identifier is in its

.. /SRC/DRIVERS/DRIVER_NL80211.C:400: Error: The function inside is also reported only once. )

.. /src/drivers/driver_nl80211.c:403: Warning: The left operand of a comma expression does not work

.. /src/drivers/driver_nl80211.c:404: Error: ' Ctrl_attr_mcast_grp_max ' not declared (first use within this function)

.. /src/drivers/driver_nl80211.c:407: Error: ' Ctrl_attr_mcast_grp_name ' not declared (first use within this function)

.. /src/drivers/driver_nl80211.c:408: Error: ' ctrl_attr_mcast_grp_id ' not declared (first use within this function)

.. /src/drivers/driver_nl80211.c:409: Warning: The left operand of a comma expression does not work

.. /src/drivers/driver_nl80211.c:409: Warning: Calculated values are not being used

.. /src/drivers/driver_nl80211.c:409: Warning: The left operand of a comma expression does not work

.. /SRC/DRIVERS/DRIVER_NL80211.C:404: Warning: Unused variable ' TB2 '

Make: * * * [.. /SRC/DRIVERS/DRIVER_NL80211.O] Error 1

Reason: no link LIBNL Library

Question 2:

.. /SRC/CRYPTO/TLS_OPENSSL.C: In the function ' Tls_deinit ':

.. /src/crypto/tls_openssl.c:1032: Warning: Implicitly declaring function ' Err_remove_thread_state '

.. /SRC/CRYPTO/TLS_OPENSSL.C: In the function ' Tls_set_conn_flags ':

.. /src/crypto/tls_openssl.c:2248: Warning: Implicitly declaring function ' Ssl_clear_options '

.. /SRC/CRYPTO/TLS_OPENSSL.C: In the function ' Tls_connection_client_cert ':

.. /src/crypto/tls_openssl.c:2324: Warning: Implicitly declaring function ' Ssl_ctx_clear_extra_chain_certs '

.. /SRC/CRYPTO/TLS_OPENSSL.C: In the function ' openssl_get_keyblock_size ':

.. /src/crypto/tls_openssl.c:3099: Warning: Conversion between incompatible pointer types when passing the 1th argument of ' EVP_MD_CTX_MD '

/usr/local/ssl/include/openssl/evp.h:484: Note: Requires type ' const struct EVP_MD_CTX * ', but the type of the argument is ' const struct EVP_MD * '

.. /src/crypto/tls_openssl.c:3103: Error: ' struct <anonymous> ' does not have a member named ' New_mac_secret_size '

.. /SRC/CRYPTO/TLS_OPENSSL.C: In the function ' TLS_CONNECTION_PRF ':

.. /src/crypto/tls_openssl.c:3244: Warning: Implicitly declaring function ' ssl_export_keying_material '

.. /SRC/CRYPTO/TLS_OPENSSL.C: In the function ' tls_connection_resumed ':

.. /src/crypto/tls_openssl.c:3509: Warning: Implicitly declaring function ' Ssl_cache_hit '

Make: * * * [.. /SRC/CRYPTO/TLS_OPENSSL.O] Error 1

Reason: OpenSSL library is not linked

Question three:

[Fenghaitao@centos6 hostapd]$ sudo make

/usr/bin/ld:skipping incompatible/home/fenghaitao/fl2440/driver/wifi/hostapd/libnl-1.1.4/chuangjian/lib/ libnl.so when searching FOR-LNL

/usr/bin/ld:skipping INCOMPATIBLE/HOME/FENGHAITAO/FL2440/DRIVER/WIFI/HOSTAPD/LIBNL-1.1.4/CHUANGJIAN/LIB/LIBNL.A When searching FOR-LNL

/usr/bin/ld:cannot FIND-LNL

COLLECT2:LD return 1

Make: * * [HOSTAPD] Error 1

Cause: Compiler issue. You should use the cross compiler

Question four:

Relocations in generic ELF (Em:3)

Make clean and then make

Question 5:
.. /src/crypto/tls_openssl.o:in function ' Tls_deinit ':

/home/fenghaitao/fl2440/driver/wifi/hostapd/hostap/hostapd/. /src/crypto/tls_openssl.c:1032:undefined reference to ' err_remove_thread_state '

.. /src/crypto/tls_openssl.o:in function ' tls_parse_pkcs12 ':

/home/fenghaitao/fl2440/driver/wifi/hostapd/hostap/hostapd/. /src/crypto/tls_openssl.c:2525:undefined reference to ' Ssl_ctx_clear_extra_chain_certs '

.. /src/crypto/tls_openssl.o:in function ' TLS_CONNECTION_PRF ':

/home/fenghaitao/fl2440/driver/wifi/hostapd/hostap/hostapd/. /src/crypto/tls_openssl.c:3244:undefined reference to ' ssl_export_keying_material '

.. /src/crypto/tls_openssl.o:in function ' tls_connection_resumed ':

/home/fenghaitao/fl2440/driver/wifi/hostapd/hostap/hostapd/. /src/crypto/tls_openssl.c:3509:undefined reference to ' Ssl_cache_hit '

.. /src/crypto/tls_openssl.o:in function ' Tls_connection_client_cert ':

/home/fenghaitao/fl2440/driver/wifi/hostapd/hostap/hostapd/. /src/crypto/tls_openssl.c:2324:undefined reference to ' Ssl_ctx_clear_extra_chain_certs '

Collect2:ld returned 1 exit status

Make: * * [HOSTAPD] Error 1

Reason:

Version issue: I'll just have to change a version of HOSTAPD.

Question 6

Ctrl_iface exists and seems to being in Use-cannot override it

Delete '/var/run/hostapd/wlan0 ' manually if it is not used anymore

Failed to Setup Control interface

Wlan0:unable to setup interface.

Reason:

I think the exit is not normal caused by. This means that the wlan0 is being used and cannot be reused. No workaround found. Just rough it./VAR/RUN/HOSTAPD folder was deleted. Just fine.

Question 7

Ping the IP on my board to ping the router, but ping the IP of the outside network when prompted "Ping:sendto:Network is unreachable"


Reason:

The route command is viewed: No gateways found. Add Gateway:

Route add default GW 192.168.1.1 just fine.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.