Reply to topic

Script for restarting NetworkManager connections

User avatar jzarecta
Registered Member
My Laptop routinely gets dc and then connected again to the network. This doesn't happen as often to matter when watching a stream on youtube or browsing the web. It gets mildly annoying during a chat, but then it gets really annoying when doing a webcast or a zoom meetup. It takes usually around 3 minutes for connection to get back to normality, it could get sped up if I manually launch KNetworkManager and disconnect and connect manually. However I wonder if I can just make it even easier with a script. So i am looking for a QDBus script that can do the disconnect/connect process in one go.

Any idea how to build this script, or better yet, get a full script with this already published? Shouldnt be more than a one liner, like qdbus-qt5 knetworkmanager

Or maybe suggest an alternative command like networkctl.

Reply to topic


Who is online

Registered users: Awang Ruoto, Baidu [Spider], bassamanator, Bing [Bot], bovender, Google [Bot], grosser, imkdeuser, Majestic-12 [Bot], Merlimau, norobot, pareekyashovardhan, samidon, Sogou [Bot], Yahoo [Bot], zachalexy