summaryrefslogtreecommitdiff
path: root/src/migration-scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-09-24 15:27:27 +0000
committerChristian Breunig <christian@breunig.cc>2026-09-24 15:27:27 +0000
commit112fb62b8b15653c0a26e0de56f326cd2d67da9b (patch)
tree58c5cbfa31d0ee3e22f5d5f8f07a8d6c24295739 /src/migration-scripts
parentf148cc7c47a7fc6f81a06817de5f24e0836d0792 (diff)
downloadvyos-1x-112fb62b8b15653c0a26e0de56f326cd2d67da9b.tar.gz
vyos-1x-112fb62b8b15653c0a26e0de56f326cd2d67da9b.zip
wwan: T9350: properly disconnect "disconnect interface wwanN"
Two things kept an operator disconnect from taking effect. vyos-netlinkd re-dials every configured WWAN interface that has lost its session. It cannot tell a session lost to RF signal loss from one that was taken down on purpose, so the disconnect was undone on the next reconcile pass, at most 30 seconds later: $ disconnect interface wwan0 08:53:33 t+10s state=registered 08:53:43 t+20s state=registered 08:53:53 t+30s state=connected <- re-dialled 08:54:03 t+40s state=connected vyos-netlinkd: WWAN interface wwan0 is not connected, re-dialling... vyos-netlinkd: Re-dialled WWAN interface wwan0 Record the intent instead of inferring it from the session state. op-mode "disconnect" drops a marker in /run/vyos-wwan, which _reconcile_wwan() honours and "connect" removes again. conf_mode removes it too, so a commit keeps re-asserting the configured state - the marker only survives for as long as nobody says otherwise, and never across a reboot.
Diffstat (limited to 'src/migration-scripts')
0 files changed, 0 insertions, 0 deletions