Re: Is it possible that a command line interface to the network-manager functionality could be added?
Daenyth Blank writes: Hi Daenyth, >>> 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. > You may be interested in my python-networkmanager library: > https://github.com/tweakt/python-networkmanager > > The wifi support isn't really there yet, and there's some class > restructuring that needs to be done, but you might be able to use it > as a starting point. Thanks for the suggestion. I'll have a look at it as soon as I find some spare time. Bye, Tassilo ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Is it possible that a command line interface to the network-manager functionality could be added?
On Wed, Nov 3, 2010 at 12:43, Tassilo Horn wrote: > Andrey Borzenkov 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. You may be interested in my python-networkmanager library: https://github.com/tweakt/python-networkmanager The wifi support isn't really there yet, and there's some class restructuring that needs to be done, but you might be able to use it as a starting point. ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Is it possible that a command line interface to the network-manager functionality could be added?
Andrey Borzenkov 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 networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
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 wrote: > Darren Albers 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 on-the-fly > 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. ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Is it possible that a command line interface to the network-manager functionality could be added?
Darren Albers 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. Do I understand it correctly, that currently nmcli only supports connections you have previously setup using nm-applet? 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 guess that's normally done as soon as you login your Gnome/KDE/XFCE..., but not when logging in at a console...) Bye, Tassilo ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Is it possible that a command line interface to the network-manager functionality could be added?
Great! I will look into creating an ncurses wrapper UI. This message sent using my interplanetary mobile messaging device. On Oct 16, 2010, at 9:12 PM, Darren Albers wrote: > nmcli might be what you are looking for: > http://docs.fedoraproject.org/en-US/Fedora/13/html/User_Guide/sect-User_Guide-Connecting_to_the_Internet-NM_CLI.html > > It isn't menu driven but is pretty easy to use. > > On Sat, Oct 16, 2010 at 8:52 PM, Miles Lane wrote: >> I often am doing kernel testing and work without starting X. I would >> love to be able to easily scan available networks and then select one >> and enter any required passphrase. This is obviously particularly >> helpful for wireless networks. Currently, I would need to hack >> scripts for each wifi hotspot, and I have only managed to get such a >> configuration working once (I don't remember how I did this, as it was >> years ago). Of course, it would be lovely if someone would create a >> ncurses enabled terminal UI similar to the linux kernel's "make >> menuconfig". >> >> Thanks, >> Miles >> ___ >> networkmanager-list mailing list >> networkmanager-list@gnome.org >> http://mail.gnome.org/mailman/listinfo/networkmanager-list >> ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Is it possible that a command line interface to the network-manager functionality could be added?
nmcli might be what you are looking for: http://docs.fedoraproject.org/en-US/Fedora/13/html/User_Guide/sect-User_Guide-Connecting_to_the_Internet-NM_CLI.html It isn't menu driven but is pretty easy to use. On Sat, Oct 16, 2010 at 8:52 PM, Miles Lane wrote: > I often am doing kernel testing and work without starting X. I would > love to be able to easily scan available networks and then select one > and enter any required passphrase. This is obviously particularly > helpful for wireless networks. Currently, I would need to hack > scripts for each wifi hotspot, and I have only managed to get such a > configuration working once (I don't remember how I did this, as it was > years ago). Of course, it would be lovely if someone would create a > ncurses enabled terminal UI similar to the linux kernel's "make > menuconfig". > > Thanks, > Miles > ___ > networkmanager-list mailing list > networkmanager-list@gnome.org > http://mail.gnome.org/mailman/listinfo/networkmanager-list > ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Is it possible that a command line interface to the network-manager functionality could be added?
I often am doing kernel testing and work without starting X. I would love to be able to easily scan available networks and then select one and enter any required passphrase. This is obviously particularly helpful for wireless networks. Currently, I would need to hack scripts for each wifi hotspot, and I have only managed to get such a configuration working once (I don't remember how I did this, as it was years ago). Of course, it would be lovely if someone would create a ncurses enabled terminal UI similar to the linux kernel's "make menuconfig". Thanks, Miles ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list