Click here to Skip to main content
11,480,532 members (46,576 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 OriginalGriff 215
1 Richard MacCutchan 150
2 CHill60 90
3 CPallini 70
4 Dave Kreskowiak 70
0 Sergey Alexandrovich Kryukov 7,874
1 OriginalGriff 7,556
2 Sascha Lefèvre 3,074
3 Maciej Los 2,491
4 Richard Deeming 2,335


Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | 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