Is there a terminal command to disable the mobile data connection?
-
Is there a simple command to disable mobile data in a script?
nmcli radio wwan off
nmcli connection downgsettings set com.lomiri.touch.connectivity.cellular data-enabled false
gsettings set com.lomiri.touch.connectivity.cellular data-active falsedbus-send ... com.canonical.Unity.Connectivity.SetCellularDataEnabled boolean:false
/usr/share/ofono/scripts/deactivate-context /ril_0 1 (APN-Kontext entladen)
/usr/share/ofono/scripts/set-gprs-powered /ril_0 false (GPRS-Modul abschalten)
/usr/share/ofono/scripts/set-tech-preference /ril_0 gsm (Drosselung auf 2G/GSM)Nothing disables mobile data
-
try
dbus-send --session --type=method_call --print-reply --dest=com.lomiri.connectivity1 /com/lomiri/connectivity1/Private org.freedesktop.DBus.Properties.Set string:com.lomiri.connectivity1.Private string: MobileDataEnabled variant:boolean:true
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login