[DEV] Network-Manager add-on xbmc.script.linux.nm
#1
I am working a network manager add-on to manage wifi connection from xbmc.
It is network-manager based and will work with xbmcbuntu as is.

It is now released and we can pretty much close this thread as there is no interest.

https://github.com/vikjon0/xbmc.script.linux.nm/
install it from the rep
https://github.com/vikjon0/qf-xbmc-addons/downloads

The python network manager wrapper that does the work
https://github.com/vikjon0/qfpynm


I am looking for help! Especially with the gui side of things.


Image
Image

The old wicd based version stays on github with a download for dharma and one for eden.
https://github.com/vikjon0/xbmc.script.l.../downloads
Reply
#2
source for information

I have found a few library but they do not seem to work very good.
http://mvidner.blogspot.com/2009/07/hack...brary.html
http://code.google.com/p/pynetworkmanager/

This is working, but does not create any connections. It only works with the existing connection.
https://github.com/seveas/python-networkmanager
http://packages.python.org/python-networkmanager/

These examples works but are very basic.
http://cgit.freedesktop.org/NetworkManag...les/python

Source code for nmcli written in c. This seem to be the best source of information if I find the time to read through it.
http://cgit.freedesktop.org/NetworkManag...ee/cli/src

Documentation of the API
http://projects.gnome.org/NetworkManager.../spec.html


found some more, not working and for nm 0.7 the first one the cleanest design so far.
http://bazaar.launchpad.net/~rsalveti/ne...i/netm-cli
http://code.google.com/p/network-manager.../nm-cli.py
https://github.com/mrenouf/python-networkmanager
Reply
#3
,,,
Reply
#4
Hi vikjon0,

first of all thanx for ur work !
My problem is that sometimes my wlan don't get connected during boot time so i was hoping your network-manager is a solution for me to connect to it from gui.
I have a question regarding the plugin is the ssid also saved or do i have to type it in every time when i want to connect to my wlan (at least it wasn't working for me at your older wicd version)?
I tried so far actually honestly only the older addon based on wicd cause i didn't wanted to install so much overhead with nm.
Second question is there really no cancel button (i see in the screenshot again none) so i never get out of the dialog without re-boot ( was the case for the wicd version for me)...?

justme
Reply
#5
ssid will be saved, but it is also saved in the wicd version. The only thing I can think of is that you have to enter the password every time you connect in the wicd version. There is no way around that for the moment.

Well, I suppose a cancel button would have made sense but I always just press home or back.
Reply
#6
wow thx for the fast answer !

(2012-04-07, 16:52)vikjon0 Wrote: Well, I suppose a cancel button would have made sense but I always just press home or back.
tried that ofc also but it wasn't working for me ..couldn't escape anymore from the dialog window
looks like maybe i have to re-install xbmc probably something is messed up than
Reply
#7
I have uploaded a test version.
https://github.com/downloads/vikjon0/xbm...-0.0.1.zip

Very basic functionality. you can view and add connections. Wifi only and WPA only.
Reply
#8
Test version released
http://forum.xbmc.org/showthread.php?tid=130816
Reply
#9
I have spent some time on the network manager wrapper and I have managed to bring together all the needed functionality.
I have also cleaned up the code and moved it to github.

The biggest addition is the ability to monitor the connection process and react on wrong encryption key.

Still only supports wifi, one device and only WPA but it can do all that is needed for a release ready add-on.
Now I just need to update the GUI and do some real testing. I may decide to add WEP and no sec before that.

https://github.com/vikjon0/qfpynm

Existing version of add-on still lacking the new functionality.
https://github.com/vikjon0/xbmc.script.l.../downloads
Reply

Logout Mark Read Team Forum Stats Members Help
[DEV] Network-Manager add-on xbmc.script.linux.nm0