Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use cnetworkmanager to activate "Auto eth0" #3

Open
ghost opened this issue Feb 18, 2010 · 1 comment
Open

Cannot use cnetworkmanager to activate "Auto eth0" #3

ghost opened this issue Feb 18, 2010 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 18, 2010

thnov@thomas-desktop:/Downloads/cnetworkmanager-0.21.1$ ./cnetworkmanager --activate-connection="system,Auto eth0,eth0"
Traceback (most recent call last):
File "./cnetworkmanager", line 317, in
(svc, conpath, devpath, appath) = options.activate_connection.split(',')
ValueError: need more than 3 values to unpack
thnov@thomas-desktop:
/Downloads/cnetworkmanager-0.21.1$ ./cnetworkmanager --activate-connection="system,0,eth0"Traceback (most recent call last):
File "./cnetworkmanager", line 317, in
(svc, conpath, devpath, appath) = options.activate_connection.split(',')
ValueError: need more than 3 values to unpack
thnov@thomas-desktop:/Downloads/cnetworkmanager-0.21.1$ ./cnetworkmanager --activate-connection="system,Auto eth0"
Traceback (most recent call last):
File "./cnetworkmanager", line 317, in
(svc, conpath, devpath, appath) = options.activate_connection.split(',')
ValueError: need more than 2 values to unpack
thnov@thomas-desktop:
/Downloads/cnetworkmanager-0.21.1$ dpkg -l | grep network-manager
ii network-manager 0.8rc2-0ubuntu1 network management framework daemon
ii network-manager-dev 0.8
rc2-0ubuntu1 network management framework (development fi
ii network-manager-gnome 0.8rc2-0ubuntu1 network management framework (GNOME frontend
ii network-manager-vpnc 0.8
rc1-0ubuntu2 network management framework (VPNC plugin)
thnov@thomas-desktop:~/Downloads/cnetworkmanager-0.21.1$ ./cnetworkmanager --con-info="system,Auto eth0"
Section | Property | Value
---------------+-------------+-------------------------------------
802-3-ethernet | |
| mac-address | �}��P
connection | |
| type | 802-3-ethernet
| uuid | 5611db15-4b37-4f58-998b-ca3498a6fdf6
| id | Auto eth0
Traceback (most recent call last):
File "./cnetworkmanager", line 253, in
secu = cs[type]["security"]
KeyError: 'security'

Am I doing something wrong or is there a problem in cnetworkmanager?

@ghost
Copy link
Author

ghost commented Feb 20, 2010

The syntax is pretty strange, found that it works if I do it like this:

./cnetworkmanager --activate-connection=system,'Auto eth0',eth0,

Note the trailing ','

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants