<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Bandwidth_Manajemen_Menggunakan_MasterShaper</id>
	<title>Bandwidth Manajemen Menggunakan MasterShaper - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Bandwidth_Manajemen_Menggunakan_MasterShaper"/>
	<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Bandwidth_Manajemen_Menggunakan_MasterShaper&amp;action=history"/>
	<updated>2026-04-20T15:10:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=Bandwidth_Manajemen_Menggunakan_MasterShaper&amp;diff=20002&amp;oldid=prev</id>
		<title>Onnowpurbo: New page: ==Kebutuhan==  his is only a quick overview over MasterShaper&#039;s requirements. Check out the Documentation for detail informations.  Generic      * Linux Kernel v2.4 or v2.6     * Kernel su...</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Bandwidth_Manajemen_Menggunakan_MasterShaper&amp;diff=20002&amp;oldid=prev"/>
		<updated>2010-06-02T10:42:14Z</updated>

		<summary type="html">&lt;p&gt;New page: ==Kebutuhan==  his is only a quick overview over MasterShaper&amp;#039;s requirements. Check out the Documentation for detail informations.  Generic      * Linux Kernel v2.4 or v2.6     * Kernel su...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Kebutuhan==&lt;br /&gt;
&lt;br /&gt;
his is only a quick overview over MasterShaper&amp;#039;s requirements. Check out the Documentation for detail informations.&lt;br /&gt;
&lt;br /&gt;
Generic&lt;br /&gt;
&lt;br /&gt;
    * Linux Kernel v2.4 or v2.6&lt;br /&gt;
    * Kernel support for QoS and/or fair queuing&lt;br /&gt;
    * Kernel support for Netfilter (iptables)&lt;br /&gt;
    * New versions of iptables (ex 1.2.11) and iproute2 (ex 20041019-3)&lt;br /&gt;
    * Perl&lt;br /&gt;
    * sudo (so webserver - mostly not running as root - can load the shaper rules which needs root privileges) &lt;br /&gt;
&lt;br /&gt;
Web Interface&lt;br /&gt;
&lt;br /&gt;
    * Apache or Apache2 (httpd.apache.org)&lt;br /&gt;
    * PHP with libgd, jpeg and MySQL support&lt;br /&gt;
    * several PHP PEAR modules&lt;br /&gt;
    * MySQL&lt;br /&gt;
    * phplayersmenu&lt;br /&gt;
    * jpgraph &lt;br /&gt;
&lt;br /&gt;
IMQ - Intermediate Queueing Device&lt;br /&gt;
&lt;br /&gt;
If you want to shape on a single interface:&lt;br /&gt;
&lt;br /&gt;
    * Patched kernel &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Teknik Instalasi==&lt;br /&gt;
&lt;br /&gt;
  MasterShaper on &amp;quot;debian-40r1-i386-CD-1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This guide is made by jessdk.&lt;br /&gt;
&lt;br /&gt;
TIP: A lot of users have already try with &amp;quot;debian-40r2-i386-CD-1&amp;quot; and everything is still working perfectly ! ! !&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
THIS GUIDE IS A 100% CUT / PAST GUIDE - READ IT CAREFULLY - MASTERSHAPER IS WORKING WHEN YOU ARE FINISH&lt;br /&gt;
&lt;br /&gt;
My guide is also in the MasterShaper Forum:&lt;br /&gt;
&lt;br /&gt;
If you have try my guide then please write your result in my own post.&lt;br /&gt;
&lt;br /&gt;
HERE: http://www.mastershaper.org/forum/index.php?topic=431.0&lt;br /&gt;
&lt;br /&gt;
Thank you so much I hope to hear from you when you have try my guide !&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here comes my own private install guide.&lt;br /&gt;
&lt;br /&gt;
It will take around 2 hours to install the Debian Server with MasterShaper on.&lt;br /&gt;
&lt;br /&gt;
My own complete &amp;quot;howto install MasterShaper&amp;quot; on a 100 % fresh installed &amp;quot;debian-40r1-i386-CD-1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Link to download Debian: http://www.debian.org/&lt;br /&gt;
&lt;br /&gt;
Instruction for your Debian installation:&lt;br /&gt;
&lt;br /&gt;
1. Under the installation of debian I just select a [X] standart install ( No web server, no desktop and so on ONLY standart install )&lt;br /&gt;
&lt;br /&gt;
2. Important Note: REMEMBER to setup a network mirror under your Debian installation ! ! ! !&lt;br /&gt;
&lt;br /&gt;
I have used this site as inspiration:&lt;br /&gt;
&lt;br /&gt;
http://www.oneunified.net/blog/2006/11/05/&lt;br /&gt;
&lt;br /&gt;
http://blog.chinaunix.net/u1/47765/showart_435719.html&lt;br /&gt;
&lt;br /&gt;
Here is ALL my files that you make a &amp;quot;wget&amp;quot; to in my guide: I have made ONE big Zip file with all the files I have downloadet for to make the guide for you ! ! !&lt;br /&gt;
&lt;br /&gt;
http://mastershaper.paerehaven.dk/ALL_MY_FILES_FROM_THIS_GUIDE.zip&lt;br /&gt;
&lt;br /&gt;
Install ssh on your server so you can copy / past all this commands to a ssh telnet client&lt;br /&gt;
&lt;br /&gt;
Now log on to your server as &amp;quot;root&amp;quot; user and now you type:&lt;br /&gt;
&lt;br /&gt;
apt-get install ssh&lt;br /&gt;
&lt;br /&gt;
Now you can log into your server via ssh.&lt;br /&gt;
&lt;br /&gt;
For to log into your server via &amp;quot;ssh&amp;quot; then use ex. &amp;quot;Putty&amp;quot; For: Windows 95, 98, ME, NT, 2000, XP and Vista on Intel x86 Download Putty here: http://mastershaper.paerehaven.dk/putty-0.60-installer.exe&lt;br /&gt;
&lt;br /&gt;
nano /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
From:&lt;br /&gt;
&lt;br /&gt;
deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 CD Binary-1 2007081$&lt;br /&gt;
&lt;br /&gt;
To:&lt;br /&gt;
&lt;br /&gt;
# deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 CD Binary-1 2007081$&lt;br /&gt;
&lt;br /&gt;
TIP: Now you can take out your CD-ROM in your CD-ROM drive in your server.&lt;br /&gt;
&lt;br /&gt;
apt-get update&lt;br /&gt;
&lt;br /&gt;
apt-get upgrade            (If there are any upgrade then say yes to install it)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 g++ g++-4.1 libstdc++6-4.1-dev yaird&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cd /usr/src&lt;br /&gt;
&lt;br /&gt;
wget http://mastershaper.paerehaven.dk/iptables-1.3.6.tar.bz2&lt;br /&gt;
wget http://mastershaper.paerehaven.dk/patch-o-matic-ng-20071128.tar.bz2&lt;br /&gt;
wget http://mastershaper.paerehaven.dk/linux-2.6.18.tar.bz2&lt;br /&gt;
wget http://mastershaper.paerehaven.dk/l7-protocols-2007-10-10.tar.gz&lt;br /&gt;
wget http://mastershaper.paerehaven.dk/netfilter-layer7-v2.14.tar.gz&lt;br /&gt;
&lt;br /&gt;
tar jxvf linux-2.6.18.tar.bz2&lt;br /&gt;
tar jxvf iptables-1.3.6.tar.bz2&lt;br /&gt;
tar jxvf patch-o-matic-ng-20071128.tar.bz2&lt;br /&gt;
tar zxvf netfilter-layer7-v2.14.tar.gz&lt;br /&gt;
tar zxvf l7-protocols-2007-10-10.tar.gz&lt;br /&gt;
&lt;br /&gt;
ln -s linux-2.6.18 linux&lt;br /&gt;
ln -s iptables-1.3.6 iptables&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/patch-o-matic-ng-20071128&lt;br /&gt;
&lt;br /&gt;
./runme --download&lt;br /&gt;
&lt;br /&gt;
Her is the message you now will get:&lt;br /&gt;
&lt;br /&gt;
Successfully downloaded external patch geoip&lt;br /&gt;
&lt;br /&gt;
Successfully downloaded external patch condition&lt;br /&gt;
&lt;br /&gt;
Successfully downloaded external patch IPMARK&lt;br /&gt;
&lt;br /&gt;
Successfully downloaded external patch ROUTE&lt;br /&gt;
&lt;br /&gt;
Successfully downloaded external patch connlimit&lt;br /&gt;
&lt;br /&gt;
Successfully downloaded external patch ipp2p&lt;br /&gt;
&lt;br /&gt;
Successfully downloaded external patch time&lt;br /&gt;
&lt;br /&gt;
./patchlets/ipv4options exists and is not external&lt;br /&gt;
&lt;br /&gt;
./patchlets/TARPIT exists and is not external&lt;br /&gt;
&lt;br /&gt;
Successfully downloaded external patch ACCOUNT&lt;br /&gt;
&lt;br /&gt;
Successfully downloaded external patch pknock&lt;br /&gt;
&lt;br /&gt;
Hey! KERNEL_DIR is not set.&lt;br /&gt;
&lt;br /&gt;
Where is your kernel source directory? [/usr/src/linux]&lt;br /&gt;
&lt;br /&gt;
( Just - Press Enter - All is ok )&lt;br /&gt;
&lt;br /&gt;
Hey! IPTABLES_DIR is not set.&lt;br /&gt;
&lt;br /&gt;
Where is your iptables source code directory? [/usr/src/iptables]&lt;br /&gt;
&lt;br /&gt;
( Here - Just Press Enter - All is ok )&lt;br /&gt;
&lt;br /&gt;
Loading patchlet definitions......................... done&lt;br /&gt;
&lt;br /&gt;
Excellent! Source trees are ready for compilation.&lt;br /&gt;
&lt;br /&gt;
pwd /usr/src/new/patch-o-matic-ng-20071128&lt;br /&gt;
&lt;br /&gt;
KERNEL_DIR=/usr/src/linux-2.6.18 IPTABLES_DIR=/usr/src/iptables-1.3.6 ./runme ROUTE&lt;br /&gt;
KERNEL_DIR=/usr/src/linux-2.6.18 IPTABLES_DIR=/usr/src/iptables-1.3.6 ./runme ipp2p&lt;br /&gt;
KERNEL_DIR=/usr/src/linux-2.6.18 IPTABLES_DIR=/usr/src/iptables-1.3.6 ./runme time&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/linux-2.6.18&lt;br /&gt;
patch -p1 &amp;lt; /usr/src/netfilter-layer7-v2.14/for_older_kernels/kernel-2.6.18-2.6.19-layer7-2.9.patch&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/iptables-1.3.6&lt;br /&gt;
patch -p1 &amp;lt; /usr/src/netfilter-layer7-v2.14/iptables-for-kernel-pre2.6.20-layer7-2.14.patch&lt;br /&gt;
chmod +x /usr/src/iptables-1.3.6/extensions/.layer7-test&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/linux-2.6.18&lt;br /&gt;
&lt;br /&gt;
make mrproper&lt;br /&gt;
make menuconfig&lt;br /&gt;
&lt;br /&gt;
Networking ---&amp;gt;[*] Networking support&lt;br /&gt;
[*] Networking options ---&amp;gt; [*] Network packet filtering (replaces ipchains) ---&amp;gt; &lt;br /&gt;
[*] Network packet filtering (replaces ipchains) ---&amp;gt; IP: Netfilter Configuration ---&amp;gt; &lt;br /&gt;
[M] Layer 7 match support  (EXPERIMENTAL)&lt;br /&gt;
&lt;br /&gt;
Networking ---&amp;gt;[*] Networking support&lt;br /&gt;
[*] Networking options ---&amp;gt; [*] Network packet filtering (replaces ipchains) ---&amp;gt; &lt;br /&gt;
[*] Network packet filtering (replaces ipchains) ---&amp;gt; IP: Netfilter Configuration ---&amp;gt; &lt;br /&gt;
&amp;lt;M&amp;gt; TIME match support&lt;br /&gt;
&lt;br /&gt;
make-kpkg clean&lt;br /&gt;
&lt;br /&gt;
make-kpkg --revision hbdebl7 --append-to-version .20071128 --initrd binary-arch&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/&lt;br /&gt;
ls&lt;br /&gt;
&lt;br /&gt;
Now you can see this files... ( and some other files )&lt;br /&gt;
&lt;br /&gt;
linux-image-2.6.18.20071128_hbdebl7_i386.deb&lt;br /&gt;
&lt;br /&gt;
linux-headers-2.6.18.20071128_hbdebl7_i386.deb&lt;br /&gt;
&lt;br /&gt;
dpkg -i linux-image-2.6.18.20071128_hbdebl7_i386.deb&lt;br /&gt;
&lt;br /&gt;
nano /boot/grub/menu.lst&lt;br /&gt;
&lt;br /&gt;
Set &amp;quot;Default 0&amp;quot; to the new kernel&lt;br /&gt;
&lt;br /&gt;
( You do not need to change it Default 0 is the new kernel now )&lt;br /&gt;
&lt;br /&gt;
Here we can see the old kernel&lt;br /&gt;
&lt;br /&gt;
uname -a&lt;br /&gt;
&lt;br /&gt;
Linux monitor 2.6.18-5-686 #1 SMP Fri Jun 1 00:47:00 UTC 2007 i686 GNU/Linux&lt;br /&gt;
&lt;br /&gt;
reboot&lt;br /&gt;
&lt;br /&gt;
Here we can see the new kernel&lt;br /&gt;
&lt;br /&gt;
uname -a&lt;br /&gt;
&lt;br /&gt;
Linux monitor 2.6.18.20071128 #1 SMP Sat Dec 15 21:43:09 CET 2007 i686 GNU/Linux&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/iptables-1.3.6&lt;br /&gt;
export KERNEL_DIR=/usr/src/linux-2.6.18 &lt;br /&gt;
export IPTABLES_DIR=/usr/src/iptables-1.3.6 make&lt;br /&gt;
make BINDIR=/usr/local/sbin LIBDIR=/usr/local/lib MANDIR=/usr/local/man&lt;br /&gt;
make BINDIR=/usr/local/sbin LIBDIR=/usr/local/lib MANDIR=/usr/local/man install&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/l7-protocols-2007-10-10&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
In this forum I have found &amp;quot;ipp2p-0.99.6-r2.tar.gz&amp;quot;&lt;br /&gt;
&lt;br /&gt;
ShadowStar ipp2p - http://linux.chinaunix.net/bbs/thread-914377-1-1.html&lt;br /&gt;
&lt;br /&gt;
Now I have uploadet this file to my own site - Just follow the rest of my guide........&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/&lt;br /&gt;
wget http://mastershaper.paerehaven.dk/ipp2p-0.99.6-r2.tar.gz&lt;br /&gt;
tar zxvf ipp2p-0.99.6-r2.tar.gz&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/ipp2p-0.99.6-r2&lt;br /&gt;
make&lt;br /&gt;
&lt;br /&gt;
cp libipt_ipp2p.so /usr/local/lib/iptables/&lt;br /&gt;
cp ipt_ipp2p.ko /lib/modules/2.6.18.20071128/&lt;br /&gt;
&lt;br /&gt;
depmod -a&lt;br /&gt;
modprobe ipt_ipp2p&lt;br /&gt;
&lt;br /&gt;
Here I have found iptables-ipid-2.1.tar.tar-Just follow my guide&lt;br /&gt;
&lt;br /&gt;
http://linux.chinaunix.net/bbs/thread-888274-1-2.html&lt;br /&gt;
&lt;br /&gt;
http://linux.chinaunix.net/bbs/thread-909127-1-2.html&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/&lt;br /&gt;
wget http://mastershaper.paerehaven.dk/iptables-ipid-2.1.tar.tar&lt;br /&gt;
tar xvf iptables-ipid-2.1.tar.tar&lt;br /&gt;
&lt;br /&gt;
cd iptables-ipid-2.1&lt;br /&gt;
make&lt;br /&gt;
&lt;br /&gt;
cp libipt_IPID.so /usr/local/lib/iptables/&lt;br /&gt;
cp ipt_IPID.ko /lib/modules/2.6.18.20071128/&lt;br /&gt;
&lt;br /&gt;
depmod -a&lt;br /&gt;
&lt;br /&gt;
modprobe ipt_IPID&lt;br /&gt;
modinfo ipt_IPID&lt;br /&gt;
&lt;br /&gt;
Her is what you get now:&lt;br /&gt;
&lt;br /&gt;
monitor:/usr/src/iptables-ipid-2.1# modinfo ipt_IPID&lt;br /&gt;
&lt;br /&gt;
filename: /lib/modules/2.6.18.20071128/ipt_IPID.ko&lt;br /&gt;
&lt;br /&gt;
author: Ssffzz1 &amp;lt;ssffzz1@126.com&amp;gt;&lt;br /&gt;
&lt;br /&gt;
description: IP tables IPID modification module&lt;br /&gt;
&lt;br /&gt;
license: GPL&lt;br /&gt;
&lt;br /&gt;
vermagic: 2.6.18.20071128 SMP mod_unload 686 REGPARM gcc-4.1&lt;br /&gt;
&lt;br /&gt;
depends: x_tables&lt;br /&gt;
&lt;br /&gt;
apt-get install mysql-server-4.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mysql&lt;br /&gt;
create database shaper;&lt;br /&gt;
grant all privileges on shaper.* to &amp;#039;shaper&amp;#039;@&amp;#039;localhost&amp;#039; identified by &amp;#039;shaper&amp;#039; with grant option;&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cd /usr/src&lt;br /&gt;
&lt;br /&gt;
wget http://mastershaper.paerehaven.dk/mastershaper_0.44.tar.tar&lt;br /&gt;
&lt;br /&gt;
tar -xjvf mastershaper_0.44.tar.tar&lt;br /&gt;
&lt;br /&gt;
cd MasterShaper-0.44&lt;br /&gt;
&lt;br /&gt;
apt-get install apache2&lt;br /&gt;
&lt;br /&gt;
mkdir /var/www/shaper&lt;br /&gt;
&lt;br /&gt;
cp -R htdocs/* /var/www/shaper/&lt;br /&gt;
&lt;br /&gt;
chown -R www-data.www-data /var/www/shaper&lt;br /&gt;
&lt;br /&gt;
cd /usr/src&lt;br /&gt;
&lt;br /&gt;
apt-get install iproute sudo php4-pear php-db php4-mysql libphp-jpgraph libphp-phplayersmenu&lt;br /&gt;
pear install DB Net_IPv4&lt;br /&gt;
cd /var/www/shaper&lt;br /&gt;
ln -s /usr/share/php/libphp-phplayersmenu phplayersmenu&lt;br /&gt;
ln -s /usr/share/jpgraph jpgraph&lt;br /&gt;
&lt;br /&gt;
nano /etc/sudoers&lt;br /&gt;
&lt;br /&gt;
Add this line in the bottom so MasterShaper can get root privileges&lt;br /&gt;
&lt;br /&gt;
www-data ALL=NOPASSWD: /var/www/shaper/shaper_loader.sh&lt;br /&gt;
&lt;br /&gt;
apt-get install libapache2-mod-php4&lt;br /&gt;
&lt;br /&gt;
sudo a2enmod php4&lt;br /&gt;
&lt;br /&gt;
apt-get install php4-mysql&lt;br /&gt;
&lt;br /&gt;
Now we must downgrade to jpgraph-1.22 so we can use or monitor in the webinterface&lt;br /&gt;
&lt;br /&gt;
cd /usr/src&lt;br /&gt;
wget http://mastershaper.paerehaven.dk/jpgraph-1.22.tar.tar&lt;br /&gt;
tar -zxvf jpgraph-1.22.tar.tar&lt;br /&gt;
cd /usr/src/jpgraph-1.22/src/&lt;br /&gt;
cp /usr/src/jpgraph-1.22/src/*.* /usr/share/jpgraph/&lt;br /&gt;
&lt;br /&gt;
nano /var/www/shaper/shaper_stats.php&lt;br /&gt;
&lt;br /&gt;
Now change from this to this:&lt;br /&gt;
&lt;br /&gt;
/* include jpgraph library &lt;br /&gt;
require_once &amp;quot;jpgraph/src/jpgraph.php&amp;quot;;&lt;br /&gt;
require_once &amp;quot;jpgraph/src/jpgraph_line.php&amp;quot;;&lt;br /&gt;
require_once &amp;quot;jpgraph/src/jpgraph_pie.php&amp;quot;;&lt;br /&gt;
require_once &amp;quot;jpgraph/src/jpgraph_pie3d.php&amp;quot;;&lt;br /&gt;
require_once &amp;quot;jpgraph/src/jpgraph_bar.php&amp;quot;;&lt;br /&gt;
*/&lt;br /&gt;
require_once &amp;quot;/usr/share/jpgraph/jpgraph.php&amp;quot;;&lt;br /&gt;
require_once &amp;quot;/usr/share/jpgraph/jpgraph_line.php&amp;quot;;&lt;br /&gt;
require_once &amp;quot;/usr/share/jpgraph/jpgraph_pie.php&amp;quot;;&lt;br /&gt;
require_once &amp;quot;/usr/share/jpgraph/jpgraph_pie3d.php&amp;quot;;&lt;br /&gt;
require_once &amp;quot;/usr/share/jpgraph/jpgraph_bar.php&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
/etc/init.d/apache2 stop&lt;br /&gt;
&lt;br /&gt;
/etc/init.d/apache2 start&lt;br /&gt;
&lt;br /&gt;
Usage Notes To get help on the IPP2P IPTables plugin:&lt;br /&gt;
&lt;br /&gt;
iptables -m ipp2p --help To run the GUI:&lt;br /&gt;
&lt;br /&gt;
http://localhost/shaper&lt;br /&gt;
&lt;br /&gt;
On the first configuration screen, iptables should be set to &amp;#039;/usr/local/sbin/iptables&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Now run the setup in the webinterface&lt;br /&gt;
&lt;br /&gt;
AND NEXT REMBER TO SETUP A NEW USER IN THE WEBINTERFACE&lt;br /&gt;
&lt;br /&gt;
Select MENU -&amp;gt; &amp;quot;Settings&amp;quot; -&amp;gt; &amp;quot;Users&amp;quot; -&amp;gt; &amp;quot;Create a new User&amp;quot;&lt;br /&gt;
&lt;br /&gt;
REMENBER TO SELCECT &amp;quot;STATUS&amp;quot; TO &amp;quot;Enabled&amp;quot; now &amp;quot;SAVE&amp;quot;&lt;br /&gt;
&lt;br /&gt;
NOW SELECT THE MENU &amp;quot;Setup&amp;quot; AND NOW YOU MUST SETUP DOWNLOAD / UPLOAD SPEED AND SO ON.....&lt;br /&gt;
&lt;br /&gt;
Menu -&amp;gt; &amp;quot;Other&amp;quot; -&amp;gt; &amp;quot;Update L7 Protocols&amp;quot; Press Submit on the next scree.&lt;br /&gt;
&lt;br /&gt;
Select MENU -&amp;gt; &amp;quot;Rules&amp;quot; -&amp;gt; &amp;quot;Load&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Select MENU -&amp;gt; &amp;quot;Overview&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Shaper Status is now &amp;quot;active&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd /var/www/shaper&lt;br /&gt;
&lt;br /&gt;
./tc_collector.pl -d&lt;br /&gt;
&lt;br /&gt;
./tc_collector.pl -v3&lt;br /&gt;
&lt;br /&gt;
Test Link jpgraph-2.2 + GD Here (Change your local IP in this link)&lt;br /&gt;
&lt;br /&gt;
http://10.1.45.248/shaper/shaper_stats.php?show=chains&amp;amp;graphmode=0&amp;amp;showif=eth0&amp;amp;scalemode=kbit&amp;amp;uniqid=1164810657&lt;br /&gt;
&lt;br /&gt;
Goto your webinterface and load your rules:&lt;br /&gt;
&lt;br /&gt;
Select MENU -&amp;gt; &amp;quot;Rules&amp;quot; -&amp;gt; &amp;quot;Load&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd /var/www/shaper&lt;br /&gt;
&lt;br /&gt;
./tc_collector.pl -d&lt;br /&gt;
&lt;br /&gt;
Congratulation now you have installed a MasterShaper&lt;br /&gt;
&lt;br /&gt;
Now you MasterShaper is up and running.&lt;br /&gt;
&lt;br /&gt;
IMPORTENT NOTE:&lt;br /&gt;
&lt;br /&gt;
EVERY TIME YOU REBOOT YOUR SERVER THEN YOU NEED TO DO THIS:&lt;br /&gt;
&lt;br /&gt;
cd /var/www/shaper&lt;br /&gt;
&lt;br /&gt;
./tc_collector.pl -d&lt;br /&gt;
&lt;br /&gt;
Goto your webinterface and load your rules:&lt;br /&gt;
&lt;br /&gt;
Select MENU -&amp;gt; &amp;quot;Rules&amp;quot; -&amp;gt; &amp;quot;Load&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now you MasterShaper is up and running.&lt;br /&gt;
&lt;br /&gt;
IF NOT RUNNING NOW THEN RELOAD YOUR RULES AGAIN AND / OR DO THIS AGAIN:&lt;br /&gt;
&lt;br /&gt;
cd /var/www/shaper&lt;br /&gt;
&lt;br /&gt;
./tc_collector.pl -d&lt;br /&gt;
&lt;br /&gt;
Goto your webinterface and load your rules:&lt;br /&gt;
&lt;br /&gt;
Select MENU -&amp;gt; &amp;quot;Rules&amp;quot; -&amp;gt; &amp;quot;Load&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd /var/www/shaper&lt;br /&gt;
&lt;br /&gt;
./tc_collector.pl -v3&lt;br /&gt;
&lt;br /&gt;
Now you can see all the data on ethx and ethx&lt;br /&gt;
Bridge setup&lt;br /&gt;
&lt;br /&gt;
As Bonus I have include a bride setup for your installation -- Bridge setup --&lt;br /&gt;
&lt;br /&gt;
Follow my guide:&lt;br /&gt;
&lt;br /&gt;
apt-get install bridge-utils&lt;br /&gt;
&lt;br /&gt;
nano /etc/network/interfaces file&lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
# auto eth2&lt;br /&gt;
# iface eth2 inet dhcp&lt;br /&gt;
# auto eth3&lt;br /&gt;
# iface eth3 inet dhcp&lt;br /&gt;
auto bridge01&lt;br /&gt;
iface bridge01 inet dhcp&lt;br /&gt;
pre-up ifconfig eth0 down&lt;br /&gt;
pre-up ifconfig eth1 down&lt;br /&gt;
pre-up brctl addbr bridge01&lt;br /&gt;
pre-up brctl addif bridge01 eth0&lt;br /&gt;
pre-up brctl addif bridge01 eth1&lt;br /&gt;
pre-up ifconfig eth0 0.0.0.0&lt;br /&gt;
pre-up ifconfig eth1 0.0.0.0&lt;br /&gt;
post-down ifconfig eth0 down&lt;br /&gt;
post-down ifconfig eth1 down&lt;br /&gt;
post-down ifconfig bridge01 down&lt;br /&gt;
post-down brctl delif bridge01 eth0&lt;br /&gt;
post-down brctl delif bridge01 eth1&lt;br /&gt;
post-down brctl delbr bridge01&lt;br /&gt;
&lt;br /&gt;
/etc/init.d/networking restart &lt;br /&gt;
&lt;br /&gt;
ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can see the new bride - DONE&lt;br /&gt;
&lt;br /&gt;
More good information about MasterShaper and Bridge can be found here:&lt;br /&gt;
&lt;br /&gt;
http://www.mastershaper.org/index.php/MasterShaper_on_a_Linux-Bridge&lt;br /&gt;
&lt;br /&gt;
/etc/init.d/apache2 stop&lt;br /&gt;
&lt;br /&gt;
/etc/init.d/apache2 start&lt;br /&gt;
&lt;br /&gt;
cd /var/www/shaper&lt;br /&gt;
&lt;br /&gt;
./tc_collector.pl -d&lt;br /&gt;
&lt;br /&gt;
Goto your webinterface and load your rules:&lt;br /&gt;
&lt;br /&gt;
Select MENU -&amp;gt; &amp;quot;Rules&amp;quot; -&amp;gt; &amp;quot;Load&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now you MasterShaper is up and running.&lt;br /&gt;
&lt;br /&gt;
cd /var/www/shaper&lt;br /&gt;
&lt;br /&gt;
./tc_collector.pl -v3          ( Press Ctrl + Z for to exit this again )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMPORTEN:&lt;br /&gt;
&lt;br /&gt;
Every time you reboot you server - then you must du this step here:&lt;br /&gt;
&lt;br /&gt;
cd /var/www/shaper&lt;br /&gt;
&lt;br /&gt;
./tc_collector.pl -d&lt;br /&gt;
&lt;br /&gt;
Goto your webinterface and load your rules:&lt;br /&gt;
&lt;br /&gt;
Select MENU -&amp;gt; &amp;quot;Rules&amp;quot; -&amp;gt; &amp;quot;Load&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now you MasterShaper is up and running.&lt;br /&gt;
&lt;br /&gt;
cd /var/www/shaper&lt;br /&gt;
&lt;br /&gt;
./tc_collector.pl -v3          ( Press Ctrl + C for to exit this again )&lt;br /&gt;
&lt;br /&gt;
And now you can see the data on your interfaces.&lt;br /&gt;
Install Ntop Network Monitor 3.3&lt;br /&gt;
&lt;br /&gt;
Install Ntop Network Monitor.&lt;br /&gt;
&lt;br /&gt;
apt-get install rrdtool libpcap-dev graphviz librrd2-dev libtool&lt;br /&gt;
apt-get install automake autoconf libgdbm-dev snmp openssl libcurl3-openssl-dev libpcap0.8-dev&lt;br /&gt;
apt-get install gsfonts-x11&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/&lt;br /&gt;
&lt;br /&gt;
wget http://mastershaper.paerehaven.dk/ntop-3.3.tar.tar&lt;br /&gt;
&lt;br /&gt;
tar xzvf ntop-3.3.tar.tar&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/ntop-3.3&lt;br /&gt;
&lt;br /&gt;
./autogen.sh&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
NOTE: ntop can show traffic by AS (Autonomous System) Number&lt;br /&gt;
&lt;br /&gt;
Because this feature consumes a number of MB of memory,&lt;br /&gt;
&lt;br /&gt;
the datafile is not installed by default.&lt;br /&gt;
&lt;br /&gt;
Which, if there is no file - from this or a previous&lt;br /&gt;
&lt;br /&gt;
install - effectively disables the ASN feature.&lt;br /&gt;
&lt;br /&gt;
To install the AS data, type:&lt;br /&gt;
&lt;br /&gt;
   1. make install-data-as &lt;br /&gt;
&lt;br /&gt;
ls: /usr/local/lib/*ntop*.so: No such file or directory&lt;br /&gt;
&lt;br /&gt;
ls: /usr/local/lib/*Plugin*.so: No such file or directory&lt;br /&gt;
&lt;br /&gt;
WARNING: This install created a directory for the ntop&lt;br /&gt;
&lt;br /&gt;
files and databases:&lt;br /&gt;
&lt;br /&gt;
//usr/local/share/ntop&lt;br /&gt;
&lt;br /&gt;
This directory MUST be owned by the user&lt;br /&gt;
&lt;br /&gt;
which you are going to use to run ntop.&lt;br /&gt;
&lt;br /&gt;
The command you must issue is something like:&lt;br /&gt;
&lt;br /&gt;
chown -R ntop.ntop //usr/local/share/ntop&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
chown -R ntop:users //usr/local/share/ntop&lt;br /&gt;
&lt;br /&gt;
man chown to check the syntax for YOUR system&lt;br /&gt;
&lt;br /&gt;
ntop -A &lt;br /&gt;
&lt;br /&gt;
Now set your administrator password&lt;br /&gt;
&lt;br /&gt;
groupadd ntop&lt;br /&gt;
&lt;br /&gt;
useradd -s /bin/false -d /usr/local/var/ntop -g ntop ntop&lt;br /&gt;
&lt;br /&gt;
chown -R ntop:ntop //usr/local/var/ntop&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/&lt;br /&gt;
&lt;br /&gt;
wget http://mastershaper.paerehaven.dk/rrdtool-1.2.26.tar.tar&lt;br /&gt;
tar xvfz rrdtool-1.2.26.tar.tar&lt;br /&gt;
&lt;br /&gt;
cd rrdtool-1.2.26&lt;br /&gt;
&lt;br /&gt;
./configure&lt;br /&gt;
&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
ntop -P /usr/local/var/ntop -u ntop -d&lt;br /&gt;
&lt;br /&gt;
Now go to your favorit web browser:&lt;br /&gt;
&lt;br /&gt;
http://localhost:3000/&lt;br /&gt;
&lt;br /&gt;
Or&lt;br /&gt;
&lt;br /&gt;
http://Here you type your ip adress on your server:3000/&lt;br /&gt;
&lt;br /&gt;
Username and Password in your web interface is now:&lt;br /&gt;
&lt;br /&gt;
Username: admin&lt;br /&gt;
&lt;br /&gt;
Password: The password you have give it&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And after every reboot you need to type this command every time for to start Ntop Monitor.&lt;br /&gt;
&lt;br /&gt;
ntop -P /usr/local/var/ntop -u ntop -d&lt;br /&gt;
&lt;br /&gt;
Now you are running&lt;br /&gt;
&lt;br /&gt;
You can stop Ntop 100% in your Ntop webinterface.&lt;br /&gt;
&lt;br /&gt;
A good idea is to use Ntop for a shoot time to monitor the traffic on your network.&lt;br /&gt;
&lt;br /&gt;
Another good idea is to delete this folders - interfaces - graphics - flows - when you are finish your monitoring every day.&lt;br /&gt;
&lt;br /&gt;
This folders will be restored next time you start up &amp;quot;Ntop&amp;quot; The folder - interfaces - is the folder with the biggest files.&lt;br /&gt;
&lt;br /&gt;
Here is how to delete the folders:&lt;br /&gt;
&lt;br /&gt;
rm -r /usr/local/var/ntop/rrd/interfaces/&lt;br /&gt;
rm -r /usr/local/var/ntop/rrd/graphics/&lt;br /&gt;
rm -r /usr/local/var/ntop/rrd/flows/&lt;br /&gt;
&lt;br /&gt;
Here is a little tip: NTOP -&amp;gt; RRD &amp;lt;- can fill out your 40 GB HDD harddisk drive with data on 2 days if there is many P2P users on your network.&lt;br /&gt;
&lt;br /&gt;
Then you can get in trouble with your system and your mysql server is not working anymore and so on.&lt;br /&gt;
&lt;br /&gt;
I found a metod to free up my harddisk drive just delete this 3 folders &amp;quot; interfaces, graphics, flows &amp;quot; it take a lot of time to delete 35 GB data from a harddisk drive&lt;br /&gt;
&lt;br /&gt;
rm -r /usr/local/var/ntop/rrd/interfaces/&lt;br /&gt;
rm -r /usr/local/var/ntop/rrd/graphics/&lt;br /&gt;
rm -r /usr/local/var/ntop/rrd/flows/&lt;br /&gt;
&lt;br /&gt;
Now you will have a LOT of FREE SPACE again&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MUNIN&lt;br /&gt;
&lt;br /&gt;
As BONUS I also have made a howto install munin on this machine&lt;br /&gt;
&lt;br /&gt;
Use this tip if you will see a lot of statistics on your server:&lt;br /&gt;
&lt;br /&gt;
localhost.localdomain :: [ Disk Exim Mysql Network Processes System ] and so on it is a really nice tool.&lt;br /&gt;
&lt;br /&gt;
apt-get install munin munin-node&lt;br /&gt;
&lt;br /&gt;
/etc/init.d/munin-node restart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://localhost/munin/&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
http://her is your IP on your server/munin/ &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Referensi==&lt;br /&gt;
&lt;br /&gt;
* http://www.mastershaper.org/index.php/Main_Page - keren!&lt;br /&gt;
* http://www.mastershaper.org/index.php/Howto&lt;br /&gt;
* http://www.mastershaper.org/index.php/Howto_install_MasterShaper%22_on_a_100%25_fresh_installed_%22_debian_-_40r1_-_i386_-_CD_-_1%22&lt;br /&gt;
&lt;br /&gt;
==Pranala Menarik==&lt;br /&gt;
&lt;br /&gt;
* [[Bandwidth Manajemen Menggunakan HTB]]&lt;br /&gt;
* [[Linux Howto]]&lt;br /&gt;
&lt;br /&gt;
[[Category: Linux]]&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>