announcing cnetworkmanager



Hi,

[10]cnetworkmanager is a command line interface for [11]Network
Manager. It is still lacking many features but I decided to announce
it now, when it can:

    1. connect to WiFi networks
    2. read the configuration file of [12]KNetworkManager

It is working for me on RC1 of openSUSE-11.0, which has
NetworkManager-0.7.0.r3685-3. It is my first project in Python, so
the code is somewhat cumbersome. Thanks to [13]Miso for getting me
started ([14]idea.o.o, [15]abclinuxu.cz), and [16]Bille for the API
docs.

Regarding related projects, I have seen [17]network-manager-cli, but
it is for 0.6 only and the developers were only active last August,
so I decided that I should first write some working code for 0.7.

I am interested in comments, bugs, feature requests, patches, any
feedback.

Here are some screenshots ;-)

$ cnetworkmanager -h
cnetworkmanager 0.3 - Command Line Interface for NetworkManager
Options:
  -d, --dev     list devices
  -c, --actcon  list active connections
  -s, --syscon  list system connection settings
  -u, --usrcon  list user connection settings (can CRASH nm-applet)
  -a, --ap      list found access points
  -n, --nets    list found wireless networks
  -C<net>, --connect=<net> connect to a wireless network (using knetworkmanagerrc)
  -m, --monitor loop to show dbus signals

Listing the networks:
$ cnetworkmanager -n
cnetworkmanager 0.3 - Command Line Interface for NetworkManager
Wifi Networks:
 49: onenet (54Mb, protected)
 46: IT (54Mb, protected)
 48: TiborBrunclik (11Mb, protected)
 46: linksys (54Mb)
 46: IT (54Mb, protected)
 46: 23 (54Mb)

Links:
  10. http://vidner.net/martin/software/cnetworkmanager/
  11. http://www.gnome.org/projects/NetworkManager/
  12. http://en.opensuse.org/Projects/KNetworkManager
  13. http://en.opensuse.org/User:Mzugec
  14. http://idea.opensuse.org/content/ideas/control-networkmanager-from-cli
  15. http://www.abclinuxu.cz/blog/iSCSI_initiator_howto/2008/2/networkmanager-d-bus-python
  16. http://www.kdedevelopers.org/blog/77
  17. http://code.google.com/p/network-manager-cli/
  $self. http://mvidner.blogspot.com/2008/05/try-cnetworkmanager-03.html

-- 
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner

Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu


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