finnaly i was able to use OpenWisp to control my OpenWRT client :) ! but please : can you explain from scratch how to do this in another video ? , because I had to search over 1 week to understand how it works ... I found this link where someone guided me to the solution to my problem (Thanks Alberto )
https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!topic/openwisp/KTo70sHthf4 After installing the IPK you released yesterday ( 22/03/2017) i was able to comunicate with my controller ; i just edited my config file # nano /etc/config/openwisp here is my configuration in exemple : GNU nano 2.7.5 File: /etc/config/openwisp # For more information about these config options please see the README # or https://github.com/openwisp/openwisp-config#configuration-options config controller 'http' option url 'https://192.168.1.143' #option interval '120' option verify_ssl '0' #option shared_secret '' #option consistent_key '1' #option mac_interface 'eth0' #option merge_config '1' #option test_config '1' #option test_script '/usr/sbin/mytest' option uuid '3ef6c097c93c47ac87768c8487948108' option key 'VXeUq3X808vUSuCDWH59ugBZn3IWK81J' list unmanaged 'system.@led' list unmanaged 'network.loopback' list unmanaged 'network.@switch' list unmanaged 'network.@switch_vlan' # curl options #option connect_timeout '15' #option max_time '30' #option capath '/etc/ssl/certs' #option cacert '/etc/ssl/certs/ca-certificates.crt' # hooks #option pre_reload_hook '/usr/sbin/my_pre_reload_hook' after that i did this command # openwisp-reload-config after this i rebotted the OpenWRT just to make sure everything is OK so # reboot and after i did this command : # logread | grep openwisp and outputs me that : Thu Mar 23 21:21:32 2017 daemon.info openwisp: *OpenWISP config agent started* Thu Mar 23 21:21:32 2017 user.notice : openwisp: OpenWISP config agent started Thu Mar 23 21:21:32 2017 daemon.info openwisp: Local configuration outdated Thu Mar 23 21:21:32 2017 daemon.info openwisp: Downloading configuration from controller... Thu Mar 23 21:21:32 2017 daemon.info openwisp: Configuration downloaded, now applying it... Thu Mar 23 21:21:32 2017 daemon.info openwisp: The following uci configs have been renamed: dhcp.cfg02411c, dropbear.cfg024dd4, firewall.cfg1c92bd, firewall.cfg0c92bd, firewall.cfg02e63d, firewall.cfg18af89, firewall.cfg04dc81, firewall.cfg1692bd, firewall.cfg0e92bd, firewall.cfg1492bd, firewall.cfg1292bd, firewall.cfg06dc81, firewall.cfg08ad58, firewall.cfg0a92bd, firewall.cfg1a92bd, firewall.cfg1092bd, rpcd.cfg02f8be, system.system, ucitrack.cfg20822b, ucitrack.cfg1e0f89, ucitrack.cfg0aad04, ucitrack.cfgThu Mar 23 21:21:32 2017 daemon.info openwisp: Service dhcp has been reloaded via procd/ubus Thu Mar 23 21:21:32 2017 daemon.info openwisp: Service dropbear has been reloaded via procd/ubus Thu Mar 23 21:21:32 2017 daemon.info openwisp: Service firewall has been reloaded via procd/ubus Thu Mar 23 21:21:32 2017 daemon.info openwisp: Service network has been reloaded via procd/ubus Thu Mar 23 21:21:32 2017 daemon.info openwisp: Service rpcd has been reloaded via init.d script Thu Mar 23 21:21:32 2017 daemon.info openwisp: Service system has been reloaded via procd/ubus Thu Mar 23 21:21:32 2017 daemon.info openwisp: Service ucitrack has been reloaded via procd/ubus Thu Mar 23 21:21:37 2017 daemon.info openwisp: Testing configuration... Thu Mar 23 21:21:37 2017 daemon.info openwisp:* Configuration test succeded* Thu Mar 23 21:21:37 2017 daemon.info openwisp: *Configuration applied succesfully* >From the web server/controller i was able to see my configuration was working after that If you want a feedback of what i did and/or how i did, i can send you by mail or here what i've done to make it work ! I mean, I started from scratch with 3 virtual machines, it was a little bit complicated to follow your tutorial because everything was functionning from your computer . I had problems with ansible playbook on my ubuntu virtual Machine on the begining, but after 2 hours of workaround it finally worked ! thanks a lot ! Saluti Federico =) Alexandre Le samedi 18 mars 2017 20:26:36 UTC+1, Alexandre Rigaud a écrit : > > hello, > > I want to apply a configuration template on a OpenWRT client but i looked > at your 3 videos and i don't know how to do this ! Someone can explain if > i'm doing things wrong or so ? > -- 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.
