This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Script for restarting NetworkManager connections

Tags: None
(comma "," separated)
User avatar
jzarecta
Registered Member
Posts
34
Karma
0
OS
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.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]