Configure AP setting via Cloud using OpenWISP

275 views
Skip to first unread message

Tài Huỳnh Phương

unread,
May 6, 2017, 5:18:54 AM5/6/17
to OpenWISP
Hi everyone!
I am new to OpenWISP. I am trying to make a simple Cloud where I can remote configure my APs and Routers. I have followed the instruction in the Github:
- I was successfully install and running OpenWISP2 locally on my Laptop running Ubuntu 14.04 by following this: https://github.com/openwisp/ansible-openwisp2#install-openwisp2-locally-laptop-desktop-pc
- I also install OpenWISP-config package on my Router which is running lasted built LEDE firmware. But I still dont know how to configure it.

First of all you need to understand two key concepts:

  • for "production server" we mean a server (not a laptop or a desktop computer!) with public ipv4 / ipv6 which is used to host openwisp2
  • for "local machine" we mean the host from which you launch ansible, eg: your own laptop

Ansible is a configuration management tool that works by entering production servers via SSH, so you need to install it and configure it on the machine where you launch the deployment and this machine must be able to SSH into the production server.

 
But I don't know what exactly the "production server" is and what running on it. Is it a other laptop/desktop which my Local laptop (have ansible-OpenWISP2 installed) and my Router can connect to?
Please help me. Btw sorry for my bad English. Thanks you very much.

Federico Capoano

unread,
May 8, 2017, 4:07:04 PM5/8/17
to OpenWISP
Hi and welcome,


On Saturday, May 6, 2017 at 11:18:54 AM UTC+2, Tài Huỳnh Phương wrote:
Hi everyone!
I am new to OpenWISP. I am trying to make a simple Cloud where I can remote configure my APs and Routers. I have followed the instruction in the Github:
- I was successfully install and running OpenWISP2 locally on my Laptop running Ubuntu 14.04 by following this: https://github.com/openwisp/ansible-openwisp2#install-openwisp2-locally-laptop-desktop-pc

Ok, that's not the best option to run OpenWISP 2 but it's still useful for testing purposes and get familiar with it.
 
- I also install OpenWISP-config package on my Router which is running lasted built LEDE firmware. But I still dont know how to configure it.

The configuration is in /etc/config/openwisp (edit it via SSH using vi).

Regarding the configuration options, refer to the readme in openwisp-config.

Be sure to set url, shared_secret (get the shared secret from the default organization) and in your case set verify_ssl to zero until you use your laptop, see also SSL certificate gotchas
 

First of all you need to understand two key concepts:

  • for "production server" we mean a server (not a laptop or a desktop computer!) with public ipv4 / ipv6 which is used to host openwisp2
  • for "local machine" we mean the host from which you launch ansible, eg: your own laptop

Ansible is a configuration management tool that works by entering production servers via SSH, so you need to install it and configure it on the machine where you launch the deployment and this machine must be able to SSH into the production server.

 
But I don't know what exactly the "production server" is and what running on it. Is it a other laptop/desktop which my Local laptop (have ansible-OpenWISP2 installed) and my Router can connect to?

It's the openwisp2 server, in your case it's your laptop.
 
Please help me. Btw sorry for my bad English. Thanks you very much.

No worries your english is fine. 

Federico
Reply all
Reply to author
Forward
0 new messages