Vivek Dutta 70733fcc20 Updated FirstLogin default to 0
(cherry picked from commit a3b924f340)

a3b924f3 Updated FirstLogin default to 0

Co-authored-by: Vivek Kumar Dutta <vivek.dutta@iopsys.eu>
2025-12-05 15:06:03 +05:30
2025-12-05 15:06:03 +05:30
2024-05-30 17:09:05 +05:30
2024-04-15 06:11:00 +00:00

USERINTERFACE

This package is responsible for providing the Device.UserInterface. datamodel object.

Device.UserInterface.HTTPAccess

The backend of HTTPAccess datamodel has been implemented using nginx and nginx-util. The parameters under Device.UserInterface. are mapped with the userinterface UCI parameters.

Mapping between UCI and datamodel params

Datamodel param UCI Section UCI param
Device.UserInerface.Enable userinterface enable
Device.UserInterface.HTTPAccess.{i}.Port http_access port
Device.UserInterface.HTTPAccess.{i}.AllowedPathPrefixes http_access access_path
Device.UserInterface.HTTPAccess.{i}.AllowedHosts http_access allow_host
Device.UserInterface.HTTPAccess.{i}.Enable http_access enable
Device.UserInterface.HTTPAccess.{i}.AccessType http_access access
Device.UserInterface.HTTPAccess.{i}.Interface http_access interface

How to enable remote access of any server

To enable remote access of any server instance it is needed to set the Device.UserInterface.HTTPAccess.{i}.AccessType to RemoteAccess. Along with the AccessType it is also required to set the Device.UserInterface.HTTPAccess.{i}.Interface with the specific Device.IP.Interface. instance on which the server will listen for remote connection.

Port configuration

For port configuration it should be considered that each enabled server instance must have assigned a unique port number.

Description
No description provided
Readme BSD-3-Clause 82 KiB
Languages
C 95.6%
Shell 2.6%
Makefile 1.8%