Questions tagged [openwisp]

Ask here technical and programming questions related to any of the OpenWISP modules. For discussions regarding feature requests, ideas, proposals and other general questions, please use the mailing list.

OpenWISP is a set of open source software modules that can be used to deploy and manage a wireless network.

Useful links:

17 questions
5
votes
1 answer

How can I specify optional dependencies using setup.py and extra_requires?

Is there a way to specify optional dependencies when using python setup.py develop? For example, say I have this package: pip install openwisp-utils[users] How can I install openwisp-utils for development by telling setuptools to install the…
nemesisdesign
  • 8,159
  • 12
  • 58
  • 97
3
votes
1 answer

Difference between OpenWrt and OpenWISP

Recently, I configured OpenWrt on a lot of devices and it's a great firmware for wireless routers. I read a lot about OpenWISP which is: OpenWISP is a software platform designed to ease and automate the management of networks, with a special…
M. Rostami
  • 999
  • 3
  • 16
  • 27
2
votes
2 answers

Django LDAP with OpenWisp Django-IPAM

I'm trying to setup OpenWisp Django-IPAM with WebUI authentication via LDAP. We have an OpenLDAP server within our network and I am looking to use a simple LDAP lookup to check for a valid user object for login. I see that the API's generics.py…
Toby
  • 245
  • 1
  • 10
2
votes
0 answers

Python jsonschema: how to query schema to determine the type of a property?

Consider the following use case: I have the configuration of a network router (OpenWRT) in text format that I'm converting to JSON (NetJSON to be specific), the text format used by the router only uses strings and I have to convert many…
nemesisdesign
  • 8,159
  • 12
  • 58
  • 97
2
votes
0 answers

How to convert policy routing rules using "all" and "iif" to OpenWRT's UCI format?

I would understand if it's possible, and if yes how, to convert the following rules to OpenWRT UCI format using the rule directive: ip rule add to all table 111 pref 4 ip rule add from 10.0.0.1/24 lookup 113 pref 32768 ip rule add iif lo lookup 113…
nemesisdesign
  • 8,159
  • 12
  • 58
  • 97
2
votes
2 answers

Rails Active Record, how to have an additional field parameter in the result of a query?

I actually have this model: class Role < ActiveRecord::Base acts_as_authorization_role def self.all_join_wisp self.connection.select_all("SELECT roles.*, wisps.name AS wisp_name FROM roles LEFT JOIN wisps ON wisps.id =…
nemesisdesign
  • 8,159
  • 12
  • 58
  • 97
1
vote
1 answer

Openwisp -> Failed to connect to controller during registration

Well, I'm working with Openwisp and when I tried to register a device (router), I got this error. Error This is the configuration on the router Config Any idea what I might be doing wrong?
Hugo Zárate
  • 31
  • 1
  • 5
1
vote
1 answer

Can I run a shell script on OpenWrt from a remote host using OpenWISP2?

I am working on a hardware device running OpenWrt. I was wondering if I can manage my hardware and run shell scripts etc. remotely using OpenWisp2. Is it possible? If yes, then how to do that?
Meraj Ahmed
  • 268
  • 1
  • 6
  • 14
1
vote
0 answers

Connection Load Balancing feature on OpenWRT

i'm a newbie with OpenWRT, and i'm working on OpenWRT project that has a Connection Load Balance feature: "when there are more than one access point (AP) in the network, network administrator may set up AP Load Balance to prevent that one of the AP…
hieuduy13
  • 29
  • 3
1
vote
1 answer

jinja2 TemplateNotFound if my library installed via pip

The following code is in a library self.env = Environment(loader=PackageLoader('netjsonconfig.backends.openwrt', 'templates'), trim_blocks=True) The library is used by a consumer app, if the library is installed via python…
nemesisdesign
  • 8,159
  • 12
  • 58
  • 97
0
votes
1 answer

Page Not Found for urls - openwisp-radius

I'm new to Django, I am following this guide to setup openwisp-radius https://openwisp-radius.readthedocs.io/en/stable/developer/setup.html When I go to the browser for any path from urlpatterns I get Page not found (404). My django version is 3.0,…
bemliga
  • 3
  • 4
0
votes
1 answer

How to setup Openwisp-radius with Django

I am trying to get started with openwisp-radius with django project. after setting up my django project with openwisp radius when i run py manage.py migrate i run into this error Applying openwisp_radius.0013_remove_null_uuid_field...Traceback…
Kali Kimanzi
  • 856
  • 7
  • 16
0
votes
1 answer

Unauthorized error on push request for issue openwisp/openwisp-notifications#6

I have resolved the issue: openwisp/openwisp-notifications#6 from project openwisp-notifications. But I am not authorized to push to create a pull request since I am getting an error of HTTP 403. So I was hoping if anyone could help me…
Rithik Banerjee
  • 447
  • 4
  • 16
0
votes
1 answer

Can openWISP2 control the device WiFi adapter with the device guest openWRT on virtualbox?

Is it possible for openWISP2 to control a device's Wi-Fi adapter with an openWRT device guest on a virtual box?
0
votes
1 answer

Error importing "openwisp_utils.admin import ReadOnlyAdmin"

I am trying to implement django-freeradius, but I get the error cannot import name 'ReadOnlyAdmin', when I write the line * in urlspatters within urls.py of my project. I have tried to use the same configuration in…
Andres D
  • 3
  • 1
1
2