Commit Graph

165 Commits

Author SHA1 Message Date
Kumiko18
31f9564cff WIFI-14588 Cloud Package Manager
1. Remove Package field in connect message
  2. Added handle for package listing request

Signed-off-by: Kumiko18 <alex18_huang@accton.com>
2025-07-14 06:22:04 +00:00
Kumiko18
509ad9623f Cloud Package Manager
Added function for package installing/removing/listing

Fixes: WIFI-14588
Signed-off-by: Kumiko18 <alex18_huang@accton.com>
2025-07-01 00:07:17 +00:00
John Crispin
8c45f965c3 send on/offline events to cloud discovery service
Signed-off-by: John Crispin <john@phrozen.org>
2024-11-12 10:35:52 +01:00
Paul White
c719c1b3ef Include DHCP VSI information in CONNECT message
When there is Vendor-Specific-Information (VSI) provided by the
DHCP server, include this in the CONNECT message.

Fixes: WIFI-14271
Signed-off-by: Paul White <paul@shasta.cloud>
2024-11-11 07:48:18 +01:00
John Crispin
cac85d9333 improve blink command
Signed-off-by: John Crispin <john@phrozen.org>
2024-10-29 18:09:01 +01:00
Mike Hansen
62e0b2d560 This is a combination of commits for handling compressed configuration.
handle compressed configuration

Signed-off-by: Mike Hansen <mike.hansen@netexperience.com>
2024-10-20 07:15:38 +02:00
John Crispin
3f0ad16411 remove CI
Signed-off-by: John Crispin <john@phrozen.org>
2024-10-20 07:14:54 +02:00
John Crispin
815ad0970b add fingerprint command
Signed-off-by: John Crispin <john@phrozen.org>
2024-05-31 09:45:45 +02:00
John Crispin
2e88c1372d do not immediatley reply to upgrade commands
Signed-off-by: John Crispin <john@phrozen.org>
2023-12-13 08:47:49 +01:00
John Crispin
f19b1e86b7 add support for the "fixedconfig" command
Signed-off-by: John Crispin <john@phrozen.org>
2023-11-09 12:53:05 +01:00
John Crispin
ca090c4f2c add default settings section to connect message
Signed-off-by: John Crispin <john@phrozen.org>
2023-11-07 15:05:27 +01:00
John Crispin
3025bf919e add certupdate command
Signed-off-by: John Crispin <john@phrozen.org>
2023-09-20 15:35:02 +02:00
John Crispin
d10428a05c add transfer command
Signed-off-by: John Crispin <john@phrozen.org>
2023-09-20 12:23:51 +02:00
John Crispin
616e88f87a move blink handler to ucentral-state
Signed-off-by: John Crispin <john@phrozen.org>
2023-09-19 16:16:26 +02:00
John Crispin
feada903bf add led triggers to connect logic
Signed-off-by: John Crispin <john@phrozen.org>
2023-09-19 16:16:26 +02:00
John Crispin
b3c449f66c fix time_t format primitives
Signed-off-by: John Crispin <john@phrozen.org>
2023-09-19 07:44:14 +02:00
John Crispin
3bbcd36c61 handle rrm command
Signed-off-by: John Crispin <john@phrozen.org>
2023-09-17 09:08:46 +02:00
John Crispin
d898a7afb5 prevent ip-collide script and apply task running in parallel
Signed-off-by: John Crispin <john@phrozen.org>
2023-07-27 12:05:06 +02:00
John Crispin
feadd83436 handle configuration load/parse error
Signed-off-by: John Crispin <john@phrozen.org>
2023-05-22 10:47:22 +02:00
John Crispin
ffd9d6f8fa indicate crashlog inside the connect reason
Signed-off-by: John Crispin <john@phrozen.org>
2023-05-18 16:02:58 +02:00
John Crispin
cb5030f5ad crashlog->rebootlog
Signed-off-by: John Crispin <john@phrozen.org>
2023-05-17 16:53:43 +02:00
John Crispin
cca938b44c send connect reason
Signed-off-by: John Crispin <john@phrozen.org>
2023-05-16 14:18:37 +02:00
John Crispin
559762161d improve the logic that detects stale gateway connections
Signed-off-by: John Crispin <john@phrozen.org>
2023-05-06 14:15:00 +02:00
Satya-sc
a94e2dfd5c ucentral-client: added the support to remove old public IP file once it is connected successfully to controller
Signed-off-by: Satya-sc <Satya@shasta.cloud>
2023-05-03 08:54:51 +02:00
John Crispin
c500514a53 reduce PING interval to 60s
Signed-off-by: John Crispin <john@phrozen.org>
2023-05-02 18:46:56 +02:00
John Crispin
2667719069 allow sending venue_broadcast
Signed-off-by: John Crispin <john@phrozen.org>
2023-03-13 07:14:07 +01:00
John Crispin
d637cb812c propagate incoming venue broadcast events
Signed-off-by: John Crispin <john@phrozen.org>
2023-03-13 06:29:10 +01:00
John Crispin
2917158bb5 ubus fix dump all telemetry
Signed-off-by: John Crispin <john@phrozen.org>
2023-02-20 08:55:32 +01:00
John Crispin
8f5ab3f8fe add periodic telemetry
Signed-off-by: John Crispin <john@phrozen.org>
2023-01-25 16:33:27 +01:00
Jeffrey Han
36f12f372d Add README.md
Signed-off-by: Jeffrey Han <39203126+elludraon@users.noreply.github.com>
2023-01-25 16:33:27 +01:00
John Crispin
035ffc5243 update wifi-scan timeout to 120s
Signed-off-by: John Crispin <john@phrozen.org>
2023-01-25 16:33:27 +01:00
John Crispin
dd2da74b73 force SIGKILL when terminating a runqueu task
Signed-off-by: John Crispin <john@phrozen.org>
2023-01-25 16:33:27 +01:00
John Crispin
1fe60c4dcf propagate "cancelled" when a runqueue job timed out
Signed-off-by: John Crispin <john@phrozen.org>
2023-01-25 16:33:27 +01:00
John Crispin
4721e428b9 proto: limit wifiscans to 30s
Signed-off-by: John Crispin <john@phrozen.org>
2023-01-25 16:33:27 +01:00
John Crispin
a821772f98 task: add an additional runqueue for admin commands
This ensures that reboot, upgrade and factory always get executed immediatley.

Signed-off-by: John Crispin <john@phrozen.org>
2023-01-25 16:33:27 +01:00
John Crispin
f2a8af9dd1 fix the ping command
Signed-off-by: John Crispin <john@phrozen.org>
2023-01-25 16:33:27 +01:00
John Crispin
622a9b7295 rework telemetry stream
Signed-off-by: John Crispin <john@phrozen.org>
2023-01-20 08:56:32 +01:00
John Crispin
568a84a312 do not enforce CN validation when in self-signed mode
Signed-off-by: John Crispin <john@phrozen.org>
2023-01-19 05:55:43 +01:00
John Crispin
5f69da7297 send restricted=1 on locked units
Signed-off-by: John Crispin <john@phrozen.org>
2022-11-04 17:10:40 +01:00
John Crispin
6e774f6c78 upload: delete files after the upload completed
Signed-off-by: John Crispin <john@phrozen.org>
2022-10-27 12:44:48 +02:00
John Crispin
e39e9c25e5 add wildcard CN validation
Signed-off-by: John Crispin <john@phrozen.org>
2022-10-06 09:13:47 +02:00
John Crispin
62efd454a0 add radius-proxy RX path
Signed-off-by: John Crispin <john@phrozen.org>
2022-06-21 18:54:12 +02:00
John Crispin
a4671bbe7d fix an error reported by CI
/home/build/openwrt/proto.c:394:19: warning: 2nd function call argument is an uninitialized value [core.CallAndMessage]
                char *encoded = b64(compressed, comp_len);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

Signed-off-by: John Crispin <john@phrozen.org>
2022-05-29 17:24:15 +02:00
John Crispin
a82c3f005a add handling for the "script" command
Signed-off-by: John Crispin <john@phrozen.org>
2022-05-29 16:44:29 +02:00
John Crispin
e749518bf1 add code to allow sending radius messages to the gateway
Signed-off-by: John Crispin <john@phrozen.org>
2022-05-20 16:16:16 +02:00
John Crispin
6cb4485ab4 drop healthcheck from the client and move it to its own service
Signed-off-by: John Crispin <john@phrozen.org>
2022-03-25 09:56:39 +01:00
John Crispin
63eddd24ea send the original size when using compress_64
Signed-off-by: John Crispin <john@phrozen.org>
2022-03-21 09:32:09 +01:00
John Crispin
e3b71c61e1 fix a memory leak
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-03 13:20:57 +01:00
John Crispin
b4e8fc8826 add connection watchdog
Signed-off-by: John Crispin <john@phrozen.org>
2022-01-25 08:43:20 +01:00
John Crispin
48e89d8dee send a success message if the config had already been applied.
Signed-off-by: John Crispin <john@phrozen.org>
2022-01-25 07:51:33 +01:00