Connect with network-manager outside of the GUI

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
User avatar
Stevo
Developer
Posts: 14865
Joined: Fri Dec 15, 2006 7:07 pm

Connect with network-manager outside of the GUI

#1 Post by Stevo »

This can be useful for those using smxi to install graphic drivers, or it somehow the GUI gets broken and you end up with a terminal login only.

Network-manager has a command-line interface called "nmcli". Example commands can be found on this page: http://www.linux-commands-examples.com/nmcli

Probably the most applicable:

nmcli dev wifi

lists available Wi-Fi access points known to NetworkManager.

nmcli con up id "My cafe"’

Connects to the already known access point using the "My cafe" profile. Existing profiles can be found in /etc/NetworkManager/system-connections/.

Creating and connecting to a previously unknown wifi hotspot is apparently available in NM >= 0.9.6, maybe that can be backported...

User avatar
lucky9
Posts: 475
Joined: Wed Jul 12, 2006 5:54 am

Re: Connect with network-manager outside of the GUI

#2 Post by lucky9 »

ceni and/or ceni-mx run also, don't they?
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain

User avatar
Stevo
Developer
Posts: 14865
Joined: Fri Dec 15, 2006 7:07 pm

Re: Connect with network-manager outside of the GUI

#3 Post by Stevo »

Yes, but those aren't in MEPIS by default.

We could add that excellent Ceni option to the smxi/sgfxi entry in the wiki, though.

Post Reply

Return to “Tips & Tricks by users (not for help)”