GNU/Linux

Installing and Configuring ChilliSpot

Download and install ChilliSpot from the ChilliSpot website.
To download, type this command from your terminal:

wget http://www.chillispot.info/download/chillispot-1.1.0.i386.rpm

and intall using rpm command.

rpm -Uvh chillispot-1.1.0.i386.rpm

All set, lets configure the hotspot. Chillispot configuration resides in a single file, which is /etc/chilli.conf.
Edit the file "/etc/chilli.conf" and specify the ip address that ChilliSpot will give to tun0.  full story »

Installing and Configuring Radius Server

Installing Freeradius Server

Download the latest version of freeradius 2x from fedora repository using the command below.

yum -y install freeradius freeradius-mysql freeradius-utils

Enable MySQL support for Freeradius

Enable sql and sql counter module in the Freeradius main configuration file.

vi /etc/raddab/radiusd.conf

Please see the changes highlighted in bold

#  Include another file that has the SQL-related configuration.
  

Installing Web Server and MySQL Database Server

This command will install Apache, MySQL, PHP, Perl and other dependencies.

yum -y install httpd httpd-devel mod_perl mod_ssl php php-devel php-cli php-mbstring php-gd php-mcrypt php-mysql php-pdo php-suhosin phpmyadmin

Test if PHP is working fine, create a file called phpinfo.php and put it in your /var/www/html.
The file shout contain this php code:

  1. <?php phpinfo(); ?>
 full story »

Updating Debian Etch Kernel to support Layer7

Edit your /etc/apt/source.list file

nano /etc/apt/source.list

Then add the following Debian software repository

deb http://ftp.de.debian.org/debian etch main contrib non-free
deb-src http://ftp.de.debian.org/debian etch main contrib non-free
deb http://www.backports.org/debian etch-backports main contrib non-free

and update it using this command:

apt-get update && apt-get install debian-backports-keyring && apt-get update

Update your server

apt-get install dist-upgrade  full story »

Updating Iptables to support Layer7 and Installing IPP2P

After you restart, make sure to boot on your newly compiled kernel.

GRUB with Layer 7

Remove existing iptables from your system

apt-get --purge remove iptables

then go to the directory of your newly downloaded iptables which is in /usr/src/iptables.

cd /usr/src/iptables

Patch your newly downloaded iptables with Layer7.

Installing Debian Etch 2

I assume that your server has a newly installed hard drive in this tutorial.

Installing Debian Etch, Choose All files in one partition

Choose the All files in one partition.

Installing Debian Etch, Choose the last option in the menu.

Choose the last option in the menu.  full story »

Installing Debian Etch

Install Debian Etch in your PC

Download Debian Etch Net Install iso image from Debian's website. Burn the iso image to CD and install it in your server. After you booted from the CD, the installer will ask you to press the ENTER key.

Installing Debian Etch, Press ENTER to start the installation

Press ENTER to start the installation  full story »

Debian Etch Gateway with Layer7 and IPP2P for P2P Blocking

The P2P Dilemma

If you are in a local area network environment with a host of running Bittorrent or Gnutella, the speed of the network is significantly reduced. This kind activities is enough to paralyze the entire network because P2P programs like Bittorrent and Gnutella makes full use of network bandwidth to transmit data, Therefore, an appropriate limit for improving the performance of local area network is a great benefit. Layer7 and IPP2P are the tools to effectively limit the P2P network packet.  full story »