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.
15
questions
0
votes
1answer
20 views
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 ...
2
votes
2answers
59 views
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 ...
0
votes
1answer
29 views
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?
2
votes
1answer
201 views
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 ...
1
vote
1answer
46 views
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?
0
votes
1answer
82 views
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 ...
1
vote
1answer
208 views
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?
0
votes
1answer
44 views
KeyError: 'ifname' in convert an OpenWRT tar.gz to NetJSON
I was trying to use the netjsonconfig command line utility and tried the
convert an OpenWRT tar.gz to NetJSON and print to standard output (with 4 space indentation) utility
netjsonconfig --native ...
0
votes
1answer
127 views
How to create a user who can create another user but not grant permissions(only grant predefined group permissions) in django?
I want to be able to create a user (in openwisp2 which is django based), who in turn, can create another user but not be able to grant individual permissions for this user. Only only granting ...
4
votes
1answer
995 views
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 ...
2
votes
0answers
130 views
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 ...
1
vote
0answers
299 views
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 ...
2
votes
0answers
843 views
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 ...
0
votes
1answer
489 views
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 ...
1
vote
2answers
1k views
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 ...