GNU/Linux

Installing and Configuring ChilliSpot

Downloading and Installing 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

Configuring ChilliSpot

Chillispot configuration resides in a single file, which is /etc/chilli.conf.

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:

<?php phpinfo(); ?>

Open up your web browser and type this url http://localhost/phpinfo.php.

Preparing your system

Before we proceed to the installation, its very important to know how the ChilliSpot works.

A little background about ChilliSpot

As of mid 2007, ChilliSpot appears to be dead. The developer Jens Jacobsen had vanished, and the chillispot.org domain lapsed, but chillispot.info is a copy (with ads inserted) of the original site. You can download the rpm version of ChilliSpot directly from this website.

How does ChilliSpot Works?

How to create wifi Hotspot system using Chillispot, Freeradius 2 and Fedora 12

Introduction

The goal of this tutorial is to teach you on creating your own ChilliSpot hotspot system to control access to your wireless networks. We will configure the hotspot system to force all users to login (via a captive portal web-page) and enter their username and password before they can use the internet services.

What is a hotspot?

A hotspot is a wifi access point that is made for public access to the internet. It has a captive portal which authenticates the hotspot users and grant access to the internet if the hotspot access policy condition are met.

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

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.

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

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.

Syndicate content