Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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.
 
Please help.
Posted 13-Jun-13 1:52am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 5,130
1 DamithSL 4,237
2 Maciej Los 3,700
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,846


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 13 Jun 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100