Page MenuHomeVyOS Platform

`shutdown_required` should be set when running command `connect interface wwan0`
Open, LowPublic

Description

I found that a configured wwan interface will stop working after a few days.
I suspect that ISP just want to assign us a new dynamic ip.
To make it working again, I need to disconnect and reconnect wwan0 interface, so, I believe we should add shutdown_required when running the command connect interface wwan0

Steps to reproduce:

  1. set interface down and up
sudo ip link set dev wwan0 down
sudo ip link set dev wwan0 up
  1. Run ping check (it will failed)
ping 1.1.1.1 interface wwan0
  1. Re-connect wwan0
sudo mmcli --modem 0 --simple-disconnect
sudo mmcli --modem 0 --simple-connect="apn=internet"
  1. Run ping check (it will work now)
ping 1.1.1.1 interface wwan0

However, I found that cron script is also using command connect interface wwan0.
So just adding shutdown_required will cause cron script to restart too often.

Details

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

Event Timeline

Zen3515 created this object in space S1 VyOS Public.
Zen3515 renamed this task from shutdown_required' to `shutdown_required` should be set when running command `connect interface wwan0`.Feb 7 2023, 6:21 AM
Zen3515 updated the task description. (Show Details)
Zen3515 changed Issue type from Unspecified (please specify) to Infrastructure issue or change.

Maybe, we need to handle cron script differently if ping failed?
Please let me know what should be the direction for solving this issue.

This issue was tested in two version which are
1.4-rolling-202212080318
1.4-rolling-202209130217

But the current version that I build myself seems to not have this problem.
After ip link set wwan0 down and up it can still be ping.

I'll try to use the nightly build and confirm this later.

I confirm that the problem persist, as of testing the version was 1.4-rolling-202307060317 but are extremely hard to reproduce, since the steps I describe only work sometime.