summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-ncm
AgeCommit message (Collapse)Author
2022-07-28luci-proto-ncm: adds missing error messages, removes 'dialnumber' option, ↵Jalakas
changes 'delay' according to real behavior This commit: Adds missing error messages and harmonizes message texts with comgt-ncm script. [1] Removes option 'dialnumber' not used in comgt-ncm. [1][2] Fixes option 'delay' according to comgt-ncm script real behavior. (No default value, if parameter is set, then there's always sleep) [1] [1] https://github.com/openwrt/openwrt/blob/master/package/network/utils/comgt/files/ncm.sh [2] https://github.com/openwrt/openwrt/blob/master/package/network/utils/comgt/files/ncm.json Signed-off-by: Anari Jalakas <anari.jalakas@gmail.com>
2022-07-23luci-proto-ncm: rename `service` option to `mode`Jo-Philipp Wich
Package luci-proto-ncm depends on comgt-ncm which uses an option called 'mode' to set the radiomode of the modem. There is no option 'service' in the comgt-ncm scripts. Suggested-by: breenstorm <49235337+breenstorm@users.noreply.github.com> [fix commit subject, add commit message, rebase onto master branch] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-08-19protocols: make APN option optional againJo-Philipp Wich
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-07-13luci-proto-ncm: add APN and PIN validationNicholas Smith
Signed-off-by: Nicholas Smith <nicholas@nbembedded.com> [squash commits, fix whitespace] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-07treewide: consolidate {IPv4,IPv6,MAC} {address,gateway} spellingsJo-Philipp Wich
- Turn IPv4-Address into IPv4 address - Turn IPv4-Gateway into IPv4 gateway - Turn IPv6-Address into IPv6 address - Turn IPv6-Gateway into IPv6 gateway - Turn MAC-Address into MAC address Also remove related duplicate translation entries. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-01protocols: rename "device" option to "_modem_device"Jo-Philipp Wich
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-03-29protocols: fix interface.ipv6 vs. device.ipv6 option conflictJo-Philipp Wich
Ref: https://forum.openwrt.org/t/pppoe-disable-ipv6/92548 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-03-15treewide: remove rendundant proto handler optionsJo-Philipp Wich
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>
2019-11-03treewide: move templates and libraries not used by the core to luci-compatJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10protocols: replace luci/getTTYDevices calls with generic file/list onesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10protocols: drop server side cbi implementations of protocol handlersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10protocols: add client side protocol handler implementationsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-26add dialnum optionaleem-tectonic
Signed-off-by: geekinaboxx <aleem@tectonic.it>
2018-07-29luci-proto-ncm: suggest both tty and wdm devicesDmitry Tunin
Some modems are controlled only through a tty. Autodetection of control device is broken in ncm.sh Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
2018-07-21luci-proto-ncm: remove unrelated optionsDmitry Tunin
This removes all options 100% unrelated to NCM protocol. Some options like 'dns' are not currently used by connection scripts, but may be used in the future. Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
2018-07-21luci-proto-ncm: add pdptype optionDmitry Tunin
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
2018-07-19luci-proto-ncm: add modem default modeDmitry Tunin
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
2018-07-12luci-proto-ncm: register further network error codesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-11-10protocols: fix various interface patternsJo-Philipp Wich
The virtual interface match patterns of various protocols were improperly quoted, causing them to over- or undermatch. Follow up of #1435. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-17Add luci-proto-ncm for comgt-ncmLucian Cristian
NCM is used by some 3G/LTE dongles. First introduced in https://github.com/lede-project/source/commit/51a5ff094703c4db984284913d605e83e819d99c light modified file taken from OpenWRT/Gargoyle github https://github.com/obsy/packages/tree/master/luci-proto-wwan Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>