Hi,
Add the ip to the allowed_hosts variable (look this up in the README of
ansible-openwisp2).
I edited the file opt \ openwisp2 \ openwisp2 \ settings.py and I added the IP
of the openwisp server (192.168.23.4) to the ALLOWED_HOSTS field with the
following format:
ALLOWED_HOSTS = [
'openwisp2srv','192.168.23.4',
]
but when I want to access the Openwisp2 web panel, only the
https://openwisp2srv/admin address continues to work while the address
https://192.168.23.4/admin produces the usual error "404 Not Found"
Then you can configure openwisp-config to point to the ip instead of the name.
I guess you are referring to the url field of the
openwisp-config agent configuration to distribute to the openwrt APs to connect
them to the Openwisp server. Quite right?
To export a configuration, go into advanced mode, copy the JSON data, to import
it do the same but paste the data.
What do you mean by Advanced Mode? Maybe the "Preview
Configuration" item found in the OpenWisp web panel?
Any assigned template will have to be replicated manually.
Do you mean they are not copied to the configuration backup? Or do they just
need to be reapplied for each AP in the Device section?
DHCP configuration
Also I wanted to set up a dhcp server on Openwisp2, and I saw that there is
documentation to implement it. But I have this need: the dhcp server must only
work for devices and PCs connected to the Openwrt APs connected to it. On the
same network, if I connect a PC connected by cable to the same network where
the Openwrt ap's are connected and configure it with a dynamic tcp / ip
configuration, Openwisp does not have to assign any ip to it. It's possible?
Thanks
Da: [email protected] <[email protected]> Per conto di Federico
Capoano
Inviato: martedì 20 aprile 2021 18:00
A: [email protected]
Oggetto: Re: [openwisp] ip instead of the name
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
<http://openwisp.io> openwisp.io
On Tue, Apr 20, 2021 at 1:32 AM Leonardo Izzo <[email protected]
<mailto:[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]
<mailto:[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 a topic in the Google
Groups "OpenWISP" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/openwisp/Zv4esBndP9Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]> .
To view this discussion on the web, visit
https://groups.google.com/d/msgid/openwisp/CAAGgX6Lth2pA8eFhLLdx8c0OLLCZNrcfbB2SsaPajB1O9EN2NA%40mail.gmail.com
<https://groups.google.com/d/msgid/openwisp/CAAGgX6Lth2pA8eFhLLdx8c0OLLCZNrcfbB2SsaPajB1O9EN2NA%40mail.gmail.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/123c01d738e0%2444055970%24cc100c50%24%40gmail.com.