QMI device is not detected properly on TOS 5.2
I configured LTE some time ago based before [this article] was created and it seems that there is missing support for LTE.
This is exception which I got from reForis:
Chyba:
Remote Exception: Incorrect output. {'kind': 'reply', 'module': 'networks', 'action': 'get_settings', 'data': {'device': {'model': 'omnia', 'version': '5.2.3'}, 'firewall': {'ssh_on_wan': False, 'http_on_wan': False, 'https_on_wan': False}, 'networks': {'wan': [{'type': 'eth', 'bus': 'eth', 'state': 'down', 'slot': 'WAN', 'module_id': 0, 'macaddr': 'd8:58:d7:00:26:fe', 'link_speed': 0, 'id': 'eth2', 'configurable': True}], 'lan': [{'type': 'eth', 'bus': 'eth', 'state': 'down', 'slot': 'LAN0', 'module_id': 0, 'macaddr': 'd8:58:d7:00:26:fd', 'link_speed': 0, 'id': 'lan0', 'configurable': True}, {'type': 'eth', 'bus': 'eth', 'state': 'down', 'slot': 'LAN1', 'module_id': 0, 'macaddr': 'd8:58:d7:00:26:fd', 'link_speed': 0, 'id': 'lan1', 'configurable': True}, {'type': 'eth', 'bus': 'eth', 'state': 'up', 'slot': 'LAN2', 'module_id': 0, 'macaddr': 'd8:58:d7:00:26:fd', 'link_speed': 1000, 'id': 'lan2', 'configurable': True}, {'type': 'eth', 'bus': 'eth', 'state': 'down', 'slot': 'LAN3', 'module_id': 0, 'macaddr': 'd8:58:d7:00:26:fd', 'link_speed': 0, 'id': 'lan3', 'configurable': True}, {'type': 'eth', 'bus': 'eth', 'state': 'down', 'slot': 'LAN4', 'module_id': 0, 'macaddr': 'd8:58:d7:00:26:ff', 'link_speed': 0, 'id': 'lan4', 'configurable': True}, {'type': 'wifi', 'bus': 'pci', 'state': 'up', 'slot': '2', 'module_id': 0, 'macaddr': '04:f0:21:24:0b:24', 'link_speed': 0, 'id': 'wlan0', 'configurable': False, 'ssid': 'XXXXX'}, {'type': 'wifi', 'bus': 'pci', 'state': 'up', 'slot': '1', 'module_id': 0, 'macaddr': '04:f0:21:23:3d:a9', 'link_speed': 0, 'id': 'wlan1', 'configurable': False, 'ssid': 'XXXXXXX'}], 'guest': [], 'none': [{'type': 'wwan', 'bus': 'pci', 'state': 'down', 'slot': '3', 'module_id': 0, 'macaddr': '', 'link_speed': 0, 'id': 'wwan0', 'configurable': True}]}}}
Extra:
{"module": "networks", "action": "get_settings", "kind": "request"}
Trace:
Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/foris_controller/message_router.py", line 140, in process_message File "/usr/lib/python3.7/site-packages/foris_controller/message_router.py", line 40, in wrapper File "/usr/lib/python3.7/site-packages/foris_controller/message_router.py", line 76, in validate File "/usr/lib/python3.7/site-packages/foris_schema/validator.py", line 257, in validate File "/usr/lib/python3.7/site-packages/jsonschema/validators.py", line 353, in validate jsonschema.exceptions.ValidationError: {'type': 'wwan', 'bus': 'pci', 'state': 'down', 'slot': '3', 'module_id': 0, 'macaddr': '', 'link_speed': 0, 'id': 'wwan0', 'configurable': True} is not valid under any of the given schemas Failed validating 'oneOf' in schema['properties']['data']['properties']['networks']['properties']['none']['items']: {'oneOf': [{'additionalProperties': False, 'properties': {'bus': {'$ref': '#/definitions/interface_bus'}, 'configurable': {'type': 'boolean'}, 'id': {'$ref': '#/definitions/interface_id'}, 'link_speed': {'$ref': '#/definitions/interface_link_speed'}, 'macaddr': {'format': 'macaddress', 'type': 'string'}, 'module_id': {'$ref': '#/definitions/interface_module_id'}, 'slot': {'type': 'string'}, 'state': {'$ref': '#/definitions/interface_state'}, 'type': {'allOf': [{'$ref': '#/definitions/interface_type'}, {'enum': ['eth', 'wwan']}]}}, 'required': ['id', 'type', 'bus', 'slot', 'state', 'module_id', 'link_speed', 'configurable', 'macaddr'], 'type': 'object'}, {'additionalProperties': False, 'properties': {'bus': {'$ref': '#/definitions/interface_bus'}, 'configurable': {'type': 'boolean'}, 'id': {'$ref': '#/definitions/interface_id'}, 'link_speed': {'$ref': '#/definitions/interface_link_speed'}, 'macaddr': {'format': 'macaddress', 'type': 'string'}, 'module_id': {'$ref': '#/definitions/interface_module_id'}, 'slot': {'type': 'string'}, 'ssid': {'maxLength': 32, 'minLength': 0, 'type': 'string'}, 'state': {'$ref': '#/definitions/interface_state'}, 'type': {'allOf': [{'$ref': '#/definitions/interface_type'}, {'enum': ['wifi']}]}}, 'required': ['id', 'type', 'bus', 'slot', 'state', 'module_id', 'link_speed', 'configurable', 'ssid', 'macaddr'], 'type': 'object'}]} On instance['data']['networks']['none'][0]: {'bus': 'pci', 'configurable': True, 'id': 'wwan0', 'link_speed': 0, 'macaddr': '', 'module_id': 0, 'slot': '3', 'state': 'down', 'type': 'wwan'}
Device: Turris Omnia, 1 GB, 5.2.3 LTE modem: Quectel EP06