Closed
Description
The following modem-manager conf:
{
"interfaces": [
{
"type": "modem-manager",
"apn": "apn.operator.com",
"pin": "1234",
"device": "/sys/devices/platform/ahb/1b000000.usb/usb1/1-1",
"username": "user123",
"password": "pwd123456",
"metric": 50,
"lowpower": False,
"name": "modem0",
"mtu": 1500,
"signalrate": 5,
}
]
}
Generates:
package network
config device 'device_modem0'
option mtu '1500'
option name 'modem0'
config interface 'modem0'
option apn 'apn.operator.com'
option device '/sys/devices/platform/ahb/1b000000.usb/usb1/1-1'
option lowpower '0'
option metric '50'
option password 'pwd123456'
option pincode '1234'
option proto 'modemmanager'
option signalrate '5'
option username 'user123'
But I believe the following would be sufficient:
package network
config interface 'modem0'
option apn 'apn.operator.com'
option device '/sys/devices/platform/ahb/1b000000.usb/usb1/1-1'
option lowpower '0'
option metric '50'
option password 'pwd123456'
option pincode '1234'
option proto 'modemmanager'
option signalrate '5'
option username 'user123'
Docs need to be updated after this change.
Metadata
Metadata
Assignees
Type
Projects
Status
Done