Re: Using NetworkManager in shell script
- From: Aniket Oak <an eagle o gmail com>
- To: Sergio Monteiro Basto <sergio sergiomb no-ip org>
- Cc: networkmanager-list gnome org
- Subject: Re: Using NetworkManager in shell script
- Date: Sat, 26 Mar 2011 13:43:37 +0530
Hi,
I have a problem again. I can connect by cnetworkmanager but I dont know how to disconnect.
I tried
[aniket cnetworkmanager-0.21.1]$ ./cnetworkmanager --_online_=falsegives following error
Traceback (most recent call last):
File "./cnetworkmanager", line 119, in <module>
nm.Sleep(not options.online in true_choices)
File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 630, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 9 matched rules; type="method_call", sender=":1.116" (uid=500 pid=2932 comm="/usr/bin/python) interface="org.freedesktop.NetworkManager" member="Sleep" error name="(unset)" requested_reply=0 destination=":1.101" (uid=0 pid=2707 comm="NetworkManager))
[aniket cnetworkmanager-0.21.1]$ is there any way to disconnect?
On Fri, Mar 25, 2011 at 8:14 PM, Aniket Oak
<an eagle o gmail com> wrote:
Hi,
I was totally unaware of it as I generally use Ubuntu and have pppoeconf.
But I took a look now and it seems to be just the thing I wanted.
Thanks alot :-)On Fri, Mar 25, 2011 at 8:00 AM, Sergio Monteiro Basto
<sergio sergiomb no-ip org> wrote:
On Fri, 2011-03-25 at 01:35 +0000, Sergio Monteiro Basto wrote:
>
> have have saw cnetworkmanager ?
I mean, have you consider cnetworkmanager ?
sorry for my bad English
--
Sérgio M. B.
--
The Nazgul..
--
The Nazgul..
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]