Hello everyone,
my name is Martin and I hail from a small ( less than 10 people) team at
EMSU GmbH in Aachen, Germany. Our main product are in-store shelves with
displays[1],
a show room and marketing solution. We have an established system using
routers
running OpenWRT to provide internet connectivity to control the images
and videos
on the devices.
To improve on the setup process of these routers, we are looking into
managing
them with OpenWISP. Thank you everyone who has worked on this project so
far,
OpenWISP looks great for managing OpenWRT routers. Right out of the box it
checks almost all of our requirements when used with the custom OpenWRT
firmware image we already have.
However, there is one issue we cannot live without: Setting any router's
password
based on criteria such as the router's MAC address. While the
send-command-to-change-password function[2] sounds great for a few devices,
it would be unfeasible to run that by hand and the "access credentials"
scheme
used by OpenWISP is not quite to our liking (yet). There is also a
number of other
constraints and desiderata I will not elaborate on right now.
We have some developer time we could pour into a password provisioning
scheme
within OpenWISP.
My question is: How to do that best so that it can become a sensible
addition to the
project instead of only an in-house patch? Is such a feature even
desirable for the
public project?
Being faster with the keyboard than with the social project integration,
I have something
kind-of working. My solution reuses the MAC address found in the VPN
configuration to
write a custom UCI file which is then picked up by a custom script on
the OpenWRT router.
If anybody would want that as-is, I could share it.
However, I am unsure if and how to proceed:
a) Does such a feature already exists already somewhere else?
b) My solution is a bit Frankenstein-ish, misusing the VPN configuration
for something
decidedly non-VPN, are there better ways to accomplish what I have?
c) My changes could be applied as a patch on the released
openwisp-controller 1.0.3 [3],
yet I am unaware of where "development happens" and how features are
added to
OpenWISP in general.
d) How should I coordinate with OpenWISP?
Please advise.
Yours,
Martin
[1]
https://emsu.io/moebel/
[2]
https://openwisp.io/docs/user/send-commands.html?highlight=Change%20password
[3]
https://github.com/openwisp/openwisp-controller/tree/1.0.3