Problems with NM over D-Bus



Hi,
I use Ubuntu 7.10 and the default NetworkManager.
I want to use the NetworkManager without the GUI. For that reasons I use the D-Bus calls.

But now, I have a problem:

I call the function:
dbus-send --print-reply --system --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.setActiveDevice  objpath:/org/freedesktop/NetworkManager/Devices/ath0 string:Uni-Bremen

I get this error:
Error org.freedesktop.NetworkManager.InvalidArguments: NetworkManager::setActiveDevice called with invalid arguments.

What's wrong?
Can somebody help me?
And how can I create  a ad-hoc Network  with the NetworkManager over D-Bus?

Please help

Thanks
-- 
Mfg der bijektive Homomorphismus ist ein Isomorphismus

Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger


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