THIS IS ALPHA STUFF :)
This library provides a Ruby API to NetworkManager using its DBus Interface.
Written using the NetworkManager DBus API Documentation v0.9
Please make sure that you have
networkmanager installed on the machine
were you want to use this library. Remote DBus wasn't tested.
gem install networkmanager-dbus
At the moment this is incomplete. So for now,
please have a look at the
examples folder and the
require 'networkmanager-dbus' NetworkManager.devices.first['Interface'] # => 'eth0' or something similar NetworkManager.settings.hostname # => 'your.host.name'
Development currently happens from my OSX machine where no dbus/networkmanager is running. Therefore, i hacked some scripts together to be able to run rspec over the wire.
On the remote-machine (linux, dbus, networkmanager)
On the local-machine (osx)
to the guys from IRC channel #nm at irc.freenode.net
Copyright 2011 Jens Bissinger. All rights reserved. MIT-LICENSE