Commit Graph

17 Commits

Author SHA1 Message Date
Nagendrababu Bonkuri
93ed4b9532 opensync: Resolving radios turn-off problem when supplying the maclist for allow/deny
Signed-off-by: Nagendrababu Bonkuri <nagendrababu.bonkuri@connectus.ai>
2020-07-16 16:18:34 +02:00
John Crispin
55f5fb7232 opensync: make factory reset and reboot work
We can now trigger remote reboot and factory reset using the firmware
upgrade code. Simply sending the URL "reboot" or "factory" is enough.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-15 18:03:17 +02:00
Nagendrababu Bonkuri
dfa02dbdde opensync: add maclist support
Allow sending down macfilters from the cloud.

Signed-off-by: Nagendrababu Bonkuri <nagendrababu.bonkuri@connectus.ai>
2020-07-15 18:03:17 +02:00
John Crispin
a34d844742 opensync: add vlan support
When we bring up a VLAN we need to add several sections to make openwrt
aware of the new vlan network.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-15 18:03:17 +02:00
John Crispin
2255d34fe2 opensync: turn wan into a bridge and enable vlan_filtering
We want wan and lan to be a bridge with vlan_filtering enabled.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-15 18:03:17 +02:00
John Crispin
54546f51ba opensync: extend the uci helper
The VLAN support requires us to create and delete sections.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-15 18:03:17 +02:00
John Crispin
0ed40af0ff opensync: sysupgrade should preserve configuration
The plume code passed the -n option which does not preserve config over
sysupgrade to the new system.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-15 18:03:17 +02:00
Nagendrababu Bonkuri
6592530ab1 opensync: enhance/fix client stats support
* add missing fields
* send delta and not absolute values

Signed-off-by: Nagendrababu Bonkuri <nagendrababu.bonkuri@netexperience.com>
2020-07-15 18:03:17 +02:00
John Crispin
4345d8f69f opensync: add statistics elements to header files
These missing declarations were breaking the stats module.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-10 15:02:19 +02:00
John Crispin
289760f62e opensync: add support for writing list options
Extend the blob_to_uci helper to allow writing lists to uci files.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-10 11:57:22 +02:00
John Crispin
d8091386bf opensync: update to 2.0.5.0
Signed-off-by: John Crispin <john@phrozen.org>
2020-07-10 11:57:22 +02:00
John Crispin
a46024e64e python3-markupsafe: add package
This package is required by opensync-2.0.5.0

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-10 11:57:21 +02:00
John Crispin
808dc952f2 python3-jinja2: add package
This package is required by opensync-2.0.5.0

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-10 11:57:18 +02:00
John Crispin
6646f0ea20 opensync: dont install keys if wlan-ap-keys is enabled
The package wlan-ap-keys will copy the keys from our local cloud-sdk
instance into the image. If it is enabled we do not want to ship the
existing keys.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-10 09:45:27 +02:00
John Crispin
9583748b07 wlan-ap-keys: include cloud keys in the image
This package will automatically include the cloud keys in the image.
- /usr/plume/certs/ca.pem
- /usr/plume/certs/client.pem
- /usr/plume/certs/client_dec.key

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-10 09:45:27 +02:00
John Crispin
40b64c83b4 opensync: fix a memleak
This patch fixes a memlaek in the code reading out the chainmask.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-10 09:45:27 +02:00
John Crispin
ae51caf8a5 wlan-ap: initial import
based on the develop branch -> 6af07cd39cfa06ec8eb4d6182c7d7923236c2dbf

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-01 15:35:04 +02:00