I'm sorry Fed, I must read all document...and sucess...my controller and device connected
<https://lh3.googleusercontent.com/-UAUR2WTTIYU/WO87TMtFakI/AAAAAAAAAGQ/WRxr8R_isr8ghH5J47yjPmVjK4r5L--zQCLcB/s1600/1.PNG> thanks so much..... and this is my config when i build lede firmware for my device. =============================================CONFIG_TARGET_ar71xx=y CONFIG_TARGET_ar71xx_generic=y CONFIG_TARGET_ar71xx_generic_DEVICE_tl-wr841-v11=y CONFIG_LIBCURL_COOKIES=y CONFIG_LIBCURL_FILE=y CONFIG_LIBCURL_FTP=y CONFIG_LIBCURL_HTTP=y CONFIG_LIBCURL_MBEDTLS=y CONFIG_LIBCURL_NO_SMB="!" CONFIG_LIBCURL_PROXY=y CONFIG_PACKAGE_ca-certificates=y CONFIG_PACKAGE_curl=y # CONFIG_PACKAGE_kmod-lib-crc-ccitt is not set # CONFIG_PACKAGE_kmod-ppp is not set CONFIG_PACKAGE_libcurl=y CONFIG_PACKAGE_liblua=y CONFIG_PACKAGE_libmbedtls=y CONFIG_PACKAGE_libuci-lua=y CONFIG_PACKAGE_lua=y CONFIG_PACKAGE_luafilesystem=y # CONFIG_PACKAGE_odhcp6c is not set # CONFIG_PACKAGE_odhcpd is not set CONFIG_PACKAGE_openwisp-config-mbedtls=y # CONFIG_PACKAGE_ppp is not set =============================================== but openwisp version is ol, you must upgrade new version. and thanks for help and reply for my question. On Thursday, April 13, 2017 at 2:03:31 PM UTC+7, Federico Capoano wrote: > > Please read this section and the one that follows: > https://github.com/openwisp/ansible-openwisp2/blob/master/README.md#ssl-certificate-gotchas > > I suggest you to read carefully both READMEs of ansible-openwisp2 and > openwisp-config. If you don't, you will waste a lot of time. > > I also suggest you to look for any curl error on google in order to > understand what is happening. > > Federico > > Il gio 13 apr 2017, 05:13 Nguyễn Vinh <[email protected] <javascript:>> ha > scritto: > >> if i remove capath and cacert then it show exit code 51 >> daemon.info openwisp: Registering device... >> daemon.err openwisp: Failed to connect to controller during registration: >> curl exit code 51 >> >> On Wednesday, April 12, 2017 at 11:06:43 PM UTC+7, Federico Capoano wrote: >> >>> Remove the options *capath* and *cacert*. Those options are mutually >>> exclusive and you don't need to set them explicitly unless you know what >>> you are doing. >>> >>> Federico >>> >>> On Wed, Apr 12, 2017 at 6:04 PM Nguyễn Vinh <[email protected]> wrote: >>> >> Hi Fed, >>>> i build sucess firmware, but when register devices, i get some problem >>>> >>>> >>>> <https://lh3.googleusercontent.com/-oHkdE_cJbBw/WO5Pl17nnaI/AAAAAAAAAGA/xIxJ05Aw_Ew4wdjJop0eH0_8QDkE6kdzwCLcB/s1600/1.PNG> >>>> how to i resolve this problem..? >>>> >>>> On Wednesday, April 12, 2017 at 8:37:33 PM UTC+7, Federico Capoano >>>> wrote: >>>> >>>>> See my replies to both mord and vinh inline below >>>>> >>>>> On Wednesday, April 12, 2017 at 7:29:46 PM UTC+7, mord reneth wrote: >>>>>> >>>>>> I read somewhere, but cant find it now, that they suggest dropping >>>>>> the luci (gui) from 4MB flash images... OK if you know the command line >>>>>> and >>>>>> using openwisp.....maybe not so good for others.... >>>>>> >>>>>> Is it worth making a repo with user-contributed builds? >>>>>> >>>>> >>>>> I think users want to customise their firmware as soon as they feel >>>>> confident in doing so, therefore having more tutorials and documentation >>>>> would help a lot. >>>>> >>>>> OpenWISP and OpenWRT/LEDE seem to be liked by hackers and geeks, we >>>>> should help this kind of users to feel more confident in doing >>>>> customisation and achieving what they want in less time. >>>>> >>>>> In the vase of Vinh, a tutorial to compile a minimal version of LEDE >>>>> with openwisp-config-mbedtls would have saved him a lot of time. >>>>> >>>>> Last week I created a tutorial repo (is still empty): >>>>> https://github.com/openwisp/tutorials >>>>> >>>>> If anyone wants to contribute I will give him/her write access. >>>>> >>>>> On Wed, Apr 12, 2017 at 2:49 PM Nguyễn Vinh <[email protected]> wrote: >>>>> >>>>>> thanks all so much, >>>>>> this's my config when build firmware: >>>>>> =================================== >>>>>> CONFIG_TARGET_ar71xx=y >>>>>> CONFIG_TARGET_ar71xx_generic=y >>>>>> CONFIG_TARGET_ar71xx_generic_Default=y >>>>>> CONFIG_LIBCURL_COOKIES=y >>>>>> CONFIG_LIBCURL_FILE=y >>>>>> CONFIG_LIBCURL_FTP=y >>>>>> CONFIG_LIBCURL_HTTP=y >>>>>> CONFIG_LIBCURL_NO_SMB="!" >>>>>> CONFIG_LIBCURL_OPENSSL=y >>>>>> CONFIG_LIBCURL_PROXY=y >>>>>> CONFIG_OPENSSL_WITH_EC=y >>>>>> CONFIG_PACKAGE_ca-certificates=y >>>>>> CONFIG_PACKAGE_curl=y >>>>>> CONFIG_PACKAGE_libcurl=y >>>>>> CONFIG_PACKAGE_liblua=y >>>>>> CONFIG_PACKAGE_libopenssl=y >>>>>> CONFIG_PACKAGE_libuci-lua=y >>>>>> CONFIG_PACKAGE_lua=y >>>>>> CONFIG_PACKAGE_luafilesystem=y >>>>>> CONFIG_PACKAGE_openwisp-config-openssl=y >>>>>> CONFIG_PACKAGE_zlib=y >>>>>> ==================================== >>>>>> if i replace openwisp-config-openssl by openwisp-config-nossl or >>>>>> mbedtls => it sucess >>>>>> >>>>> >>>>> Ok, then use openwisp-config-mbedtls and also *remove this line*: >>>>> >>>>> CONFIG_LIBCURL_OPENSSL=y >>>>> >>>>> When you get it working, it would really help us out if you could >>>>> share your config with us. >>>>> >>>>> Federico >>>>> >>>>> >>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "OpenWISP" group. >>>> >>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>> >>> >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "OpenWISP" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
