After 8 years of using OpenWrt I decided to dabble into development. I looked at bandwidthd code on sourceforge, and it looks like I can handle the changes that I want. Ideally, I want to create a new package, luci-app-bandwidthd to be able to see bandwidth screen as one of the tabs on the status page... but first things first.
I have a Linux system, and this is what I've done:
Installed BuildRoot based on http://wiki.openwrt.org/doc/howto/buildroot.exigence
Unfortunately, I found two different instructions for building individual packages: http://wiki.openwrt.org/doc/howto/build … e.packages and http://wiki.openwrt.org/doc/howtobuild/single.package Not sure which way is most current; I tried both.
So, I ran the following:
svn co svn://svn.openwrt.org/openwrt/branches/attitude_adjustment
cd attitude_adjustment
./scripts/feeds install -a
make defconfig
make prereq
make tools/install
make toolchain/install
make package/bandwidthd/compile
make package/bandwidthd/install
make package/index
Everything ran fine.
Now I have bin/ar71xx/packages/ with libc, libgcc, Packages, and Packages.gz, but no bandwidth package. Second, I don't see the source code. There is package/feeds/packages/bandwidthd/ and feeds/packages/utils/bandwidthd/ that look very similar - but neither of them have any C code.
The documentation is very detailed and very helpful - so it is possible I missed something obvious. If that is the case, a gentle pointer to the right place would be greatly appreciated