Re: Is it possible that a command line interface to the network-manager functionality could be added?

On Tue, Oct 19, 2010 at 8:11 PM, Tassilo Horn <tassilo member fsf org> wrote:
> Darren Albers <dalbers gmail com> writes:
> Hi Darren,
>> nmcli might be what you are looking for:
> 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

> 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

>                                                                                       But I even
> 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.

> (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.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]