I started the same way when I began my EWL based network config utility, but you will find that actually using the libraries available is much easier. Parsing values and calling external programs is just ugly and slow. In the end it was less code and far cleaner then doing the parsing. If any one of the programs you depend on changes slightly (however unlikely) you might find yourself playing catchup.
For the dhcp side of things I did use the external programs just so people could use the command line and my program would still know the dhcp status of that device. There are only a couple programs commonly used, dhcpcd and dhclient, so I figured this was not a big deal, especially since I don't have to parse any output. I didn't get to the wireless part at all, but I know there are interfaces for that as well. I was under the impression earlier on that you were writing your app to use NetworkManager. Recently I was told about NetworkManager as well and thought it would make my life much easier, but was not sure how dbus worked and if ecore_dbus would work with it or not. This is where I'm at today, trying to gather some information on how dbus and in particular how using dbus with NetworkManager works. If you want to share some code and work on this together I would be all for it. I have all the code needed to handle regular wired networks so far so let me know if this is something you would like to merge. As I said earlier, I wrote my interface with EWL so possibly this could be merged as well. Let me know your thoughts. On Sun, 04 Mar 2007 12:19:27 +0100 watchwolf <[EMAIL PROTECTED]> wrote: > hehe, I started to write a front end app with ETK/C & > ifconfig/iwconfig. I use the same method as wifi-radar (excecute > command & regular expression). > But I don't have a lot of time. atm the app allow to configure a > static wire network >.< > I will write a web page to present the application during the week. > > On Fri, 2007-03-02 at 17:53 +0900, Carsten Haitzler wrote: > > On Sun, 18 Feb 2007 15:15:36 +0100 Atton Jonathan > > <[EMAIL PROTECTED]> babbled: > > > > > hello ;) > > > > > > I have a question, > > > A etk/ewl network manager exist ? > > > > > > I means configure the ip, mask, select a wireless network ...? > > > > a NetworkManager front end module/app would be spiffingly nice! i'd > > love that! :) > > > > > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to > > > share your opinions on IT & business topics through brief > > > surveys-and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > _______________________________________________ > > > enlightenment-devel mailing list > > > enlightenment-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your opinions on IT & business topics through brief surveys-and > earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ enlightenment-devel > mailing list enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel