Click here to Skip to main content
11,409,922 members (50,631 online)
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 Sergey Alexandrovich Kryukov 270
1 OriginalGriff 255
2 Maciej Los 138
3 Andy Lanng 105
4 Sascha Lefévre 95
0 Sergey Alexandrovich Kryukov 8,771
1 OriginalGriff 6,905
2 Maciej Los 3,390
3 Abhinav S 3,248
4 Peter Leow 3,059


Advertise | Privacy | Mobile
Web01 | 2.8.150414.5 | Last Updated 13 Jun 2013
Copyright © CodeProject, 1999-2015
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