On 07/08/12 08:50, Tathagata Das wrote:
> Hi,
>  First of all thanks all who designed netifd and ubus.
> 
> I would like to use netifd in my OpenWRT based router. So I am looking into 
> the source code of netifd and ubus. But I didn't find much information about 
> ubus. Is there any documents on how they interact ?
> I heard that Luci uses netifd for network configuration. Is there any 
> document for that ?
> 
> Also I didn't understand the meaning of below line which I found at 
> http://wiki.openwrt.org/doc/techref/netifd#what.s.the.difference.between.ubus.and.dbus
> 
> "ubus is tiny and has the advantage of being easy to use from regular C code, 
> as well as automatically making all exported API functionality also available 
> to shell scripts with no extra effort." -- How shell script can use C API?
> 
> Thanks in advance.
> 
> Regards,
> Tatha


Hi Tatha,

ubus and netfid are part of the luci2 concept / suite. The code is
located inside felix's GIT http://nbd.name/gitweb.cgi

you will need the following trees

git://nbd.name/luci2/libubox.git
git://nbd.name/luci2/ubus.git
git://nbd.name/luci2/netfid.git

The apps are built using CMake. Simply run "cmake ." prior to running
"make".

Felix has been testing / building the code on a OSX so you will have to
modify the CMakeLists.txt to make it build on a nativ linux machine (at
least that is what i had to do this weekend to make it work on debian)

John
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to