Add the ip to the allowed_hosts variable (look this up in the README of ansible-openwisp2). Then you can configure openwisp-config to point to the ip instead of the name.
To export a configuration, go into advanced mode, copy the JSON data, to import it do the same but paste the data. Any assigned template will have to be replicated manually. Best regards *Federico Capoano* OpenWISP OÜ Harjumaa, Tallinn, Sepapaja tn 6, 15551 VAT: EE101989729 *openwisp.io* <http://openwisp.io> On Tue, Apr 20, 2021 at 1:32 AM Leonardo Izzo <[email protected]> wrote: > Hello everyone. > In my Openwisp2 configuration both the web console and the Openwrt ap > points to the Openwisp2 server name instead of its ip. How do I make them > both point to the ip address instead? It becomes very cumbersome to have to > edit the hosts file for each Openwrt Access Point. Also I wanted to know > how to export the configuration and import it. Thanks as always > > -- > 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]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/openwisp/9b68c5ad-1c4c-4ac6-8443-5386d77233acn%40googlegroups.com > <https://groups.google.com/d/msgid/openwisp/9b68c5ad-1c4c-4ac6-8443-5386d77233acn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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]. To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAAGgX6Lth2pA8eFhLLdx8c0OLLCZNrcfbB2SsaPajB1O9EN2NA%40mail.gmail.com.
