Commit Graph

12 Commits

Author SHA1 Message Date
John Crispin
1b168a811e opensync: add kernel crash detection
This feature makes use of the crashlog driver in the kernel. If we experience
an oops, the kernel will store the stack trace inside /sys/kernel/debug/crashlog.
OpenSync will then add an entry to the Alarms table. The could can then retrieve
the crashlog via the Command_config table.

A crash can be simulated with
   echo c > /proc/sysrq-trigger

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-29 14:17:39 +02:00
Yashvardhan
7215d000d9 opensync: Support FW upgrade from a tar package
- Added support to upgrade firmware from a URL to a FW tar/tar.gz package
 - Checksum validation using sha256sum
 - Some error handling
 - Added support to share the firmware tar name to the gateway

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2020-07-24 09:08:32 +02:00
John Crispin
7690787c9f opensync: add command manager
This allows us to trigger remote commands, such as tcpdump.
Also allow configuring NTP and remote syslog.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-23 18:54:03 +02:00
John Crispin
866b4b7eae wlan-ap-config: move all config/uvi-defaults scripts into the same package
When adding a new baord we had to edit files all over the tree. After this patch
they are all located in the same folder.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-23 17:10:56 +02:00
Arif Alam
f237d4104e opensync: add interface name mappings for ECW5410, ECW5211, and AP2220
Signed-off-by: Arif Alam <arif.alam@connectus.ai>
2020-07-22 14:58:04 +02:00
John Crispin
1bab63de00 opensync: add command manager
This adds 2 new tables
* CommandConfig
* CommandState

This allows us to remotely trigger, tcpdump, remote syslog, ...

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-22 14:58:04 +02:00
Chaitanya Kiran Godavarthi
f7e637467f opensync: Addd hotplug script for ratelimiting
Add hotplug script for rate limiting to occur
when a wifi interface comes up.

Signed-off-by: Chaitanya Kiran Godavarthi <chaitanya.kiran@connectus.ai>
2020-07-22 14:58:04 +02:00
John Crispin
22f43634f3 opensync: add a unified build target
With this patch applied we do not need build variants anymore.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-22 14:58:04 +02:00
John Crispin
0e6ce72ac7 opensync: fix wan6
With wan having become a bridge we need to update the wan6 ifname to @wan.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-16 19:30:44 +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
d8091386bf opensync: update to 2.0.5.0
Signed-off-by: John Crispin <john@phrozen.org>
2020-07-10 11:57:22 +02:00