Andrey Borzenkov <[email protected]> writes: Hi Andrey,
>> I once looked at nmcli, but I couldn't figure out how to use it. To >> be more specific, how do I tell it to connect to the WIFI with SSID >> "foo" using WPA2 with user "jon" and password "secret"? Currently, I >> use cnetworkmanager for that. > > You can't do it with nmcli; you can only request it to activate > predefined connection. cnetworkmanager builds connection definition > on-the-fly Ah, I see. >> Do I understand it correctly, that currently nmcli only supports >> connections you have previously setup using nm-applet? > > More general. it supports any connection exported by NM > >> cannot "see" those. Is that because I use knetworkmanager instead of >> nm-applet, and thus my credentials are stored in kwallet instead of >> the Gnome keyring? Or do I need to start a DBUS session bus somehow >> first? > > I do see connections defined in knetworkmanager but it needs > knetworkmanager running. Oh, indeed, I see those, too. But my need is to have a cmd line interface to networkmanager when I have broken my X install, so there's no way to start knetworkmanager. >> (I guess that's normally done as soon as you login your >> Gnome/KDE/XFCE..., but not when logging in at a console...) > > Not now, unfortunately. Your only resort today is to use system > connections that are always available. Well, then I'll stay with cnetworkmanager for the time being. Bye, Tassilo _______________________________________________ networkmanager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
