Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nmcli changes in version 0.9.10
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
certem
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2013
Posts: 145

PostPosted: Sun Jan 04, 2015 4:52 am    Post subject: nmcli changes in version 0.9.10 Reply with quote

Hi
What is the counterpart of "nmcli nm sleep false" in version 0.9.10.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Thu Jan 08, 2015 5:57 pm    Post subject: Reply with quote

What were you trying to do with this command?
man nmcli wrote:

Code:
              sleep [true|false]
                     Get sleep status or put to sleep/awake NetworkManager.
                     All interfaces managed by NetworkManager are deactivated
                     when it falls asleep. This command is not meant for user
                     to enable/disable networking, use enable for that. D-Bus
                     Sleep method is designed to put NetworkManager to sleep
                     or awake for suspending/resuming the computer.
                     Reference to D-Bus:
                     interface: org.freedesktop.NetworkManager
                     method:    Sleep
                     arguments: TRUE or FALSE


_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
certem
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2013
Posts: 145

PostPosted: Thu Jan 08, 2015 6:09 pm    Post subject: Reply with quote

I want the computer to be connected to the Internet during the suspend mode.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Thu Jan 08, 2015 9:04 pm    Post subject: Reply with quote

Odd, reading the description the old behavior does not seem to match what you want - It sounds like the power manager will send networkmanager these commands and will basically override what you type in manually, so that's why I'm not sure what you're trying to do here. In any case there doesn't seem to be something similar in the new nmcli other than sending it the "on" command (nmcli radio all on). Were you just wanting WoL to work over wifi or something?

(I was a bit surprised nm-tool went away but "nmcli device wifi list" does what I need.)
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
certem
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2013
Posts: 145

PostPosted: Thu Jan 08, 2015 9:13 pm    Post subject: Reply with quote

No, not WoL.
When entering suspend mode hdds, screen, mouse... and ethernet are shut down. Ok. Shut them down but don't touch network. Don't shut it down.
Because I don't want to wait for the establishment of reconnection.

Here's a picture that I had sent to the nm mailing list too.

http://i.hizliresim.com/BRAMjp.png
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum