Page MenuHomeVyOS Platform

wwan: error: couldn't find modem
Open, LowPublicBUG

Description

set interfaces wwan wwan0 apn airtelgrps.com
set interfaces wwan wwan0 address dhcp
commit

Results in

[ interfaces wwan wwan0 ]
VyOS had an issue completing a command.


Report time:      2022-11-29 13:12:57
Image version:    VyOS 1.4-rolling-202211231135
Release train:    current



Built by:         Infinity Labs Ltd.
Built on:         Wed 23 Nov 2022 11:35 UTC
Build UUID:       141b5eec-9959-4ff0-bfb5-e53861ef00d6
Build commit ID:  594c99e012fd66-dev



Architecture:     x86_64
Boot via:         livecd
System type:      bare metal



Hardware vendor:  To be filled by O.E.M.
Hardware model:   To be filled by O.E.M.
Hardware S/N:     To be filled by O.E.M.
Hardware UUID:    03000200-0400-0500-0006-000700080009



Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/interfaces-wwan.py", line 187, in <module>
    apply(c)
  File "/usr/libexec/vyos/conf_mode/interfaces-wwan.py", line 144, in apply
    cmd(f'{base_cmd} --simple-disconnect')
  File "/usr/lib/python3/dist-packages/vyos/util.py", line 161, in cmd
    raise OSError(code, feedback)
PermissionError: [Errno 1] failed to run command: mmcli --modem 0 --simple-disconnect
returned:
exit code: 1



noteworthy:
cmd 'mmcli --modem 0 --simple-disconnect'
returned (out):



returned (err):
error: couldn't find modem



[[interfaces wwan wwan0]] failed
Commit failed

Details

Difficulty level
Unknown (require assessment)
Version
1.4-rolling-202211231135
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

c-po subscribed.

@pratik.g can you please retest with 1.4.0 or a more recent 1.5-rolling release?

A lot has change in the WWAN code during the 1.4 development cycle.

c-po renamed this task from wwan- error: couldn't find modem to wwan: error: couldn't find modem.Sun, Sep 1, 7:50 AM
c-po edited projects, added VyOS 1.5 Circinus, VyOS 1.4 Sagitta (1.4.1), Restricted Project; removed VyOS 1.4 Sagitta (1.4.0-GA).