Pejman Moghadam / Slackware

Slackware 12.0 - Installing Bandwidthd

Public domain


Installation

cd /usr/src/
wget http://kent.dl.sourceforge.net/sourceforge/bandwidthd/bandwidthd-2.0.1.tgz
tar -zxvf bandwidthd-2.0.1.tgz
cd /usr/src/bandwidthd-2.0.1
./configure
make install

/usr/local/bandwidthd/etc/bandwidthd.conf

subnet 192.168.1.0/24
dev "eth0"
output_cdf true
recover_cdf true

crontab -e

00 0 * * * /bin/kill -HUP `cat /var/run/bandwidthd.pid`

/etc/rc.d/rc.local

/usr/local/bandwidthd/bandwidthd

Web interface

ln -s /usr/local/bandwidthd/htdocs /var/www/htdocs/bandwidthd

BY: Pejman Moghadam
TAG: bandwidthd
DATE: 2009-04-25 00:19:40


Pejman Moghadam / Slackware [ TXT ]