Configuration template fro Wireless

42 views
Skip to first unread message

Reza Toghraee

unread,
Sep 4, 2019, 7:05:21 AM9/4/19
to OpenWISP
Hi

I'm new to OpenWISP and found it very useful. I'm building a test environment with few OpenWRT wireless Access points (BT Hub 5 Type A) and OpenWISP2 

I have successfully deployed the OWISP2 on a Raspberry Pi using the Ansible module and have the OWISP2 up and working.
I managed to installed the openwisp-config-openssl_0.4.6a-1_all.ipk on the OpenWRT device , did the configuration on the ini file to point to the OWISP2 server with correct Shared Key, SSL verify set to NO .
The AP successfully registered to OWISP and I was able to create some basic templates for assigning the DNS.

My aim is to create a template to manage the WiFi SSID , password. 

my OpenWRT devices already have (existing) : 

Radios:
 radio0 (5ghz) 
 radio1 (2ghz) 

Interfaces : 
 wlan0 : Default SSID for 5ghz radio0
 wlan1 : Default SSID for 2ghz radio0
 br-lan (LAN)  : which is a bridge for all RJ45 ports and the wlan0 and wlan1 interfaces and has a static IP address for management
 WAN : Not Used
  ADSL: Not used


I tried to create a Wireless Interface in OWISP2 template,  tried calling it "wlan5" and  assigned it to the network "LAN(br-lan)"  but after the openwrt downloads and applies the configuration it loses its IP address and I think it somehow destrys the existing br-lan. 
in this situation, I can only revert to factory setting by pressing the reset button on the device.

may I please seek help to understand what is the best way to create and manage SSIDs (wireless interfaces) with OWISP and such existing configuration on OpenWRT?

Thanks
Reza

Noumbissi Valere

unread,
Sep 4, 2019, 9:34:13 AM9/4/19
to open...@googlegroups.com
Hello Reza,

I have not used OpenWISP with a real OpenWRT device only with a Virtual device. But have you tried entering the value of the IP address in the IP address field?  I think that might be the problem. The default is from a DHCP server. If you don't have a DHCP server, then sending the default value will result to an empty IP address.

--
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 openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/29066432-08b6-409d-a127-ad97042ad0bd%40googlegroups.com.

--
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 openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/29066432-08b6-409d-a127-ad97042ad0bd%40googlegroups.com.

Reza Toghraee

unread,
Sep 4, 2019, 6:07:12 PM9/4/19
to OpenWISP
Hi Noumbissi 

Thanks for your reply.
actually I managed to figure out.  I was setting the network field in interface section, however I just found there is a section called "Attached networks" ,   I added the new Wireless to "lan" attached network and everything worked very well now.
Just going to get more access points to be managed by owisp2.

Best Regards
Reza

To unsubscribe from this group and stop receiving emails from it, send an email to open...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to open...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages