27 Commits

Author SHA1 Message Date
Florian Eckert
cdd36410fd luci-proto-modemmanager: fix when to show username and password
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-06-23 10:27:17 +02:00
Florian Eckert
9c3be817ad luci-proto-modemmanager: change string for 'Own Numbers' to 'Mobile Number'
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-02-13 14:09:05 +01:00
Paul Donald
8d13ea410d luci-base, luci-proto-*: rename getOpkgPackage -> getPackageName
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-12-15 20:13:56 +01:00
Damir Samardzic
50b67f8a00 luci-proto-modemmanager: add initial EPS bearer support
ModemManager protocol has supported setting initial EPS bearer since
package commit [1], so lets expose the same support via LuCI as well.

[1] af12147f8c

Signed-off-by: Damir Samardzic <damir.samardzic@sartura.hr>
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
2024-10-19 11:22:42 +02:00
Florian Eckert
7546249a27 luci-proto-modemmanger: fix auth handling
This has never worked because the option 'auth' is not known to the
modemmanger proto handler. The correct uci name is 'allowedauth' and is
also a uci list option, so that several options can be selected.

This commit fixes this bug.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-07-22 10:24:04 +02:00
Sergey Ponomarev
fbbfdb4afc treewide: Add missing PKG_MAINTAINER
Daniel F. Dickinson changed email address to <dfdpublic@wildtechgarden.ca>

luci-all-lxl has a maintainer Petar Koretic <petar.koretic@sartura.hr> but there is no corresponding GitHub account.
So Dirk Brenken was added as a second maintainer: he answered on an issue of the app.

When maintainer wasn't set the initial author was used, or most contributor or Jo-Philipp Wich as a default.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-05-28 01:55:14 +02:00
Florian Eckert
bd6bf5a292 luci-proto-modemmanager: rename menu entry from mobile service to cellular network
The old term "mobile service" is not common, it is replaced by the new
name "cellular network", which is more familiar.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-25 13:03:58 +02:00
Florian Eckert
5b26220660 luci-proto-modemmanager: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Paul Donald
1731fe12b5 luci-proto-modemmanager: Added logging level option and debugmode
Merge github.com:valexi7/luci PR #4328

Signed-off-by: Paul Donald <newtwen@gmail.com>
Signed-off-by: valexi7 <44439515+valexi7@users.noreply.github.com>
2023-12-04 01:20:46 +01:00
Florian Eckert
3f2320e0aa luci-proto-modemmanager: also allow none for preferredmode config option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-09-01 09:52:13 +02:00
Florian Eckert
818bf22b8b luci-proto-modemmanger: register missing error codes
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-17 15:26:23 +02:00
Florian Eckert
1e6f52ac69 luci-proto-modemmanager: delete removed error codes
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-17 15:26:10 +02:00
Florian Eckert
5b925ea92b luci-proto-modemmanager: add allowed and preferred mode
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-09 14:29:25 +02:00
Lukas Voegl
594bc35b87 luci-proto-modemmanager: use helper in protocol
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2023-06-30 15:52:28 +02:00
Lukas Voegl
54aa70112c luci-proto-modemmanager: add status page
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2023-06-30 15:52:28 +02:00
Florian Eckert
71b7ecb777 luci-proto-modemmanager: fix acl regex to support more then 9 modem objects
If a modem is restarted often, the modem manager object number is
increased by one. Currently, the regex is set so that the modem can no
longer be selected if the object number is greater than 9. This change
fixes that.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
[replace wildcard with rule duplication to disallow option injection]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-03-16 00:05:18 +01:00
Jo-Philipp Wich
5ff3ef7cbb protocols: make APN option optional again
Fixes: #5284
Fixes: 1661ac6bf8 ("luci-proto-ncm: add APN and PIN validation")
Fixes: 114dc38dc2 ("luci-proto-qmi: add APN and PIN validation")
Fixes: 6a8ad40b05 ("luci-proto-3g: add APN and PIN validation")
Fixes: ebb676ef7b ("luci-proto-modemmanager: add APN and PIN validation")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-08-19 08:59:17 +02:00
Nicholas Smith
ebb676ef7b luci-proto-modemmanager: add APN and PIN validation
Signed-off-by: Nicholas Smith <nicholas@nbembedded.com>
[squash commits, fix white space]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-13 20:10:04 +02:00
Jo-Philipp Wich
96ee6dc8d6 protocols: rename "device" option to "_modem_device"
This is required to resolve clashes with the generic "option device"
referring to netdev names in current netifd versions.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-01 15:34:11 +02:00
Jo-Philipp Wich
171ef77e89 treewide: remove rendundant proto handler options
The introduction of network device configuration support also implemented
all common, protocol-independent interface options directly in the
interface config view, so drop the redundant option definitions.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-03-15 11:41:44 +01:00
Nicholas Smith
ab7e45cadb luci-proto-modemmanager: add support for specifying signal refresh rate
Signed-off-by: Nicholas Smith <nicholas@nbembedded.com>
2021-01-07 22:07:24 +10:00
valexi7
718851fb7d luci-proto-modemmanger: add missing proto options
Added options for signal refresh rate and Debugmode.

Added logging level option

Signed-off-by: valexi7 <44439515+valexi7@users.noreply.github.com>

luci-proto-modemmanger: add missing proto options

Changed logging level translations according to OpenWRT standards

Signed-off-by: valexi7 <44439515+valexi7@users.noreply.github.com>
2020-08-05 22:00:36 +03:00
Nicholas Smith
29edc02f1c luci-proto-modemmanager: add modem specific error messages.
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2020-07-10 20:39:07 +10:00
Jo-Philipp Wich
58c091ac9b luci-proto-modemmanager: use nmcli to detemrine modem choices
Fixes: #3586
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-08 11:28:14 +01:00
Jo-Philipp Wich
284918bfaf treewide: move templates and libraries not used by the core to luci-compat
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 17:56:58 +01:00
Anton Kikin
afc120a6c6 luci-proto-modemmanager: add translation for values
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-10-14 19:03:50 +03:00
Nicholas Smith
6a79c61221 luci-proto-modemmanager: add luci-proto-modemmanager
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2019-10-11 08:27:02 +10:00