I want to write my own Network Manager in Python for Ubuntu. How can I do that? What tools will I need? If it is already written by someone, can some one please provide me a link?
Writing my own network manager is necessary if I have a minimal Ubuntu installation without Network manager. I want users to be able to connect to a network and therefore internet through eth0 or any other interface through my xyz program. which will run a Python script to achieve the work in the background and will display status like network manager.
Right now, I am editing "/etc/network/interfaces" and "/etc/resolv.conf", and executing "/etc/init.d/networking restart" to achieve this, but it does not seem much reliable.
I have heard that this can be achieved through dbus programming, but I don't know anything about that.