View Single Post
solbrit's Avatar
Posts: 126 | Thanked: 59 times | Joined on Jan 2011
#52
Originally Posted by jukkar View Post
This is the correct way, only cellular should be disabled now. If it does not, then that is a bug.
Then a bug it is
I did do some progresss though.

Originally Posted by jukkar View Post
You can go to flight mode via connman like this
Code:
dbus-send --system --type=method_call --print-reply --dest=net.connman / net.connman.Manager.SetProperty string:"OfflineMode" variant:boolean:true
Unlike mcetool (where I tried the same thing) using connman you can set offline mode and then reactivate only wifi:
Code:
dbus-send --system --type=method_call --print-reply --dest=net.connman /net/connman/technology/wifi net.connman.Technology.SetProperty string:"Powered" variant:boolean:true
This way the end result is the one I was looking for, even though you loose wlan connection for a few seconds. Great! I needed this for when I'm at work. Thankyou EmaNymton and Jukkar!