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