Showing posts with label HOTSPOT. Show all posts
Showing posts with label HOTSPOT. Show all posts

Thursday, July 04, 2013

YFI Hotspot Manager on Fedora 18 / 19 and Centos 6.4

Logo YFI hotspot manager
Ok. Back to my experiment. I have spent many days to set up YFI Hotspot Manager, using Fedora 18 64bit, Fedora 19 64bit and Centos 6.4 64bit. If you are using 32 bit, it should be no problem. I didn’t use Ubuntu, because it’s often used. I do not want to be called just copy the post. Although this post reference to posts that already exist.
As usually, I assume a computer already installed, one of these operating systems, Fedora 18 / 19 or Centos 6.4, with a minimum packet. After configuration ethernet, and internet is ok, then continue to the next step.

Tuesday, July 02, 2013

How to Fix Problems in Installing "YFI Hotspot Manager"

YFI hotspot manager error
What do you think about the picture above ?  Yes. The login administrator yfi hotspot manager but there's no box username and password. Did you ever get an error like the picture above?  For me, the error like picture above, appear many times. I have collected many kinds of errors of installing YFI Hotspot Manager and how to fix it. This is all I got when I tried YFI Hotspot manager installation in Ubuntu 12:10 / 13:04, fedora 18/19 and centos 6.4. Do not be afraid, because of these errors. At the time of installation you will not get this much errors, (probably only get 1 or 2 errors only). You even probably will not get an error, if you follow the tutorial how to installing yfi hotspot manager correctly, and carefully. Especially following the tutorial from me ... hahaha ...

Remember this.
Sometimes when you have run the command to correct the error,  nothing can change. Still error / problem. This is because the permission of the selinux.  Make sure, you have disable selinux.
Edit /etc/selinux/config
SELINUX=disabled
Let's look at a list of errors and how to fix it.

Wednesday, June 12, 2013

The Easiest Way to Install YFI Hotspot Manager

YFI hotspot manager in windows

Many questions, how to install YFI Hotspot Manager in Windows? But YFI Hotspot Manager based Linux. That means the people who ask that’s question, are lazy, and want to finish quickly but do not want to bother to work. How can a wife be satisfied if you do fast finish??. just kidding. Hahahaha...
Ok. I provide the easiest way to install YFI Hotspot Manager, for those of you who do not like to tweaks Linux. Can’t use Linux, or maybe, don't like the Linux operating system. Only a few steps, you will get a hotspot billing system using YFI Hotspot Manager, and can be used immediately. You don't need to sign in Ubuntu Linux. This is good for you, who don't know how to use Linux. Just need 2 application software.


Tuesday, May 21, 2013

How to Create Voucher in Mikrotik User Manager


Mikrotik hotspot voucher
This post continues the previous post. Make sure you've managed to create a Mikrotik User Manager as Radius Server. In this post, I will explain how make voucher easily. There are 2 types of vouchers are often used, first, vouchers that use time limit, and second, vouchers that use quota limit.  You will be able to develop, by combining the two types, so get a voucher that uses a time limit and quota limit.
Let's go to make it. This is the plan.
1. Time Voucher 2 hours, price 5,000, expired 10 days from the start of use.
2. Quota Voucher 1 GB, price 3,000, expired 30 days from the start of use.

Monday, May 20, 2013

Mikrotik User Manager as Radius Server


mikrotik user manager

I continue to post about hotspot billing system. Actually I wanted to post about Daloradius. However, because still need more experiments, then I delay for a while. And now I'm posting about the "user manager" of the Mikrotik. What is a user manager? User Manager is a RADIUS server application. It is a separate package for RouterOS.

Thursday, May 09, 2013

Modify Easyhotspot as Radius Server External

modify easyhotspot

EasyHotspot is an open source software, so it should not matter, if you make modifications. In this post, I will change a little EasyHotspot. And this relates to the previous post, Mikrotik and EasyHotspot as Hotspot, we can’t disconnect user  from radius server / EasyHotspot. so what should we do?
First, we must know how to disconnect the user. General command to disconnect users, in a radius server, including easyhotpsot, using the command radclient.

Monday, May 06, 2013

Mikrotik and EasyHotspot, as Hotspot Billing System


router mikrotik and radius server easyhotspot
In the previous post, we already know about the mikrotik hotspot. And the next experiments, mikrotik hotspot added a EasyHotspot as radius server. Can be seen in the picture. In this experiment, Chillispot and login page, on EasyHotspot, not used and should be removed. Mikrotik will replace the function of Chillispot and login page. Actual merger mikrotik with radius server, I've created, in a project by PT xxx. But I had forgotten what a hotspot billing system used. And it is not archived.

Wednesday, May 01, 2013

Configure Mikrotik as a Hotspot Server


 mikrotik as hotspot
There are many posts on how to configure Mikrotik as hotspot. But I am sure this is not the result of a cheat sheet. Even if some of section are the same, it was fate. Mikrotik is a friendly operation system, and is very easy to configured. Enough to know the concept of network, plus with a Winbox, then you will easily configure the Mikrotik, in accordance with your wishes. I configured wireless outdoor of mikrotik, as a hotspot. I forget the type of the mikrotik. It's been a long time. And now for the post on this blog, I configure the mikrotik hotspot again, but this time, the mikrotik is installed inside vmware.
Let’s begin.

Sunday, April 21, 2013

How does a Hotspot Billing System Work ?

This is a great blog post, about the theory or explanation of how a hotspot billing system works. Do not just make it but do not understand how it works a hotspot billing system. Even with the understanding of the theory, this will greatly help us in making a billing system, and will easily fix it if there is damage. This is not my post original, but I copy it from blog’s Om Rafequl. Thanks Om.



easyhotspot how hotspot billing system works



Wednesday, April 17, 2013

PhpMyPrepaid on Fedora 18

network phpmyprepaid

After installed YFI and Easyhotspot as hotspot system billing, it's time to try another hotspot system billing, and I use Fedora 18 as Operating System. Phpmyprepaid, is interface hotspot system billing designed to work with a MySQL database and FreeRadius. Phpmyprepaid has not developed yet. The final version is phpmyprepaid 0.4-RC3, came out in April 2009. It is the oldest than others. (CMIIW)
Let's to begin.
As usually, after  installing fedora 18 with minimalist package, continue to configure network. Make sure some variable is exist.

Tuesday, April 16, 2013

How to Fix PhpMyPrepaid 0.4.rc3

 Phpmyprepaid in fedora
This is story of my experiment, when install phpmyprepaid 0.4.rc3, on fedora 18. And another "friends" who been installed, were FreeRADIUS version: 2.2, Chillispot version: 1.1, Mysql Server version: 5.5.30. and Apache/2.4.4 (Fedora). It was very difficult to install. A lot of errors that I got. Probably, phpmyprepaid is too old, has long been abandoned, and no support with new things.
let's see list error, so if you find the error again, you know how to fix that…

Wednesday, April 03, 2013

Easyhotspot in Centos 6.4 + CoovaChilli 1.3.0

In this section, I explain how to modify easyhotspot by adding coovachilli, in Centos 6.4. Usually, installing coovachilli can fix the problem of EasyHotspot login failed which sometimes happens. Before you continue reading this post, look at section easyhotspot with centos 6.4, in this blog. I assume you have been through 2 stages, (1)install apache, php, mysql, and (2) install web easyhotspot.

Install Freeradius 2.1.12.
Actually the same as before in easyhotspot with centos 6.4 section, just a few different configurations. I explain it all so as not to confuse.
yum install freeradius freeradius-mysql freeradius-utils
chkconfig --level 235 radiusd on

Saturday, March 30, 2013

Easyhotspot in Centos 6.4

Actually a lot of to discuss about making this hotspot. But I see it is not discussed fully. And mostly use Ubuntu. I will explain how to make easyhotspot in centos 6.4, based on my experiment.
I divide it into 4 parts, to make it more easily understood.
  1. Install Apache, PHP and Mysql.
  2. Install Web Easyhotspot.
  3. Install Freeradius 2.1.12.
  4. Install Chillispot. 
 1.         Install Apache, PHP and Mysql.
I assume the PC is installed with centos 6.4. In my experiments, centos installed in a minimalist package. Configure the network interface. (Watch carefully, I use 2 lan card, which happened to be detected as eth1 and eth2. Eth1 to use static ip, and the ip dhcp eth2. So please do adjustments IP address, in accordance with the conditions in your network, I know you can do it).
 vi /etc/sysconfig/network-scripts/ifcfg-eth1

Saturday, January 26, 2013

Review Hotspot YFI Beta-6-1.1

This is the appearance of yfi Beta-6, that Installed in my vmware.
1. Install vmware.
2. Find the file Hotspot YFI Beta-6-1.1  from here, http://sourceforge.net/projects/hotcakes/
and download.
3. You will get file Beta-6-1.1.tar. extract the file and you will find 2 files, Beta-6-1.1.ovf and Beta-6-1.1-disk1.vmdk. Then, just click beta-6-1.1.ovf, and waiting... and run from vmware.
4. Login with default username, and default password,

Saturday, April 28, 2012

Optimizing and Security Hotspot YFI (part 2)


Squid
·         get the latest version squid, http://www.squid-cache.org and installing
cd /usr/local
wget http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.19.tar.bz2
tar jxvf squid-3.1.19.tar.bz2
cd squid-3.1.19
./configure --prefix=/usr   --exec-prefix=/usr   --bindir=/usr/sbin  \
 --sbindir=/usr/sbin   --sysconfdir=/etc/squid   --datadir=/usr/share/squid  \
 --includedir=/usr/include   --libdir=/usr/lib   --libexecdir=/usr/lib/squid  \
 --localstatedir=/var   --sharedstatedir=/usr/com   --mandir=/usr/share/man  \
 --infodir=/usr/share/info   --x-includes=/usr/include   \ 

Monday, April 02, 2012

Optimizing and Security Hotspot YFI (part 1)

In this article, I try to optimize my server hotspot yfi, by adding squid, shorewall, and updating coova chilli. This post continued from previous post about Install Hotspot YFI. See the previous post in part 1 and part 2.

Upgrade Coova Chilli.

Important points to remember. The UAM Port is by default on 3990 when you compile the CoovaChilli package yourself, and on 3660 when using !CoovaChilliAP Firmware.

UAM Port
3990
COA Port
3799

 

Install CoovaChilli


  • First, stop the service chilli, and remove the old coova chilli. Execute the following commands:

Saturday, March 17, 2012

INSTALL HOTSPOT YFI (part 2)

Note :
Source of the original article : 
http://sourceforge.net/apps/trac/hotcakes/wiki/yfi_setup_cake
I have edited some parts according to my experience
This post continued from previous post

Configuring FreeRADIUS
  • Before you compile the souce code of FreeRADIUS, ensure the following packages are installed:
sudo apt-get install build-essential libmysqlclient15-dev libperl-dev \
libxml-simple-perl libmail-sendmail-perl libssl-dev
  • Download FreeRADIUS source code. (http://freeradius.org/download.html )
wget ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-2.1.12.tar.gz
tar -xzvf freeradius-server-2.1.12.tar.gz
cd freeradius-server-2.1.12
./configure | tee config_out.txt
make
sudo make install
sudo ldconfig

Friday, March 16, 2012

INSTALL HOTSPOT YFI (part 1)

Note :
Source of the original article : 
http://sourceforge.net/apps/trac/hotcakes/wiki/yfi_setup_cake
I have edited some parts according to my experience
YFI Hotspot Manager network

 Set-up CakePHP

This is last experience and 100% working properly:
Component
Description
Operating System
Ubuntu 10.04 (Lucid Lynx)
Web Server
LAMP Stack
CakePHP
CakePHP version 1.2.11
Coova Chilli
Coovachilli 1.0.14
Radius
FreeRADIUS Version 2.1.12