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

httpd: apr_sockaddr_info_get() failed for "hostname"

I found error, when I have installed mod_ssl
Starting httpd: httpd: apr_sockaddr_info_get() failed for NGERI
How to fix,
edit /etc/hosts
In the end, add line

Thursday, March 07, 2013

Cache Youtube Video with Squid 3.3.2 and Nginx

Note :
source : http://aacable.wordpress.com/2012/08/13/youtube-caching-with-squid-nginx/
I change some command, according with my network environment, and my experience.

( Update January 2th, 2014). Look at another posting, cache youtube video with storeurl method.  http://myconfigure.blogspot.com/2014/01/caching-youtube-with-storeurlpl-method.html
I assume you've installed :
1. Ubuntu 12.10,
2. Squid 3.3.2
3. Mikrotik, options to make it better
All of the above is installed and running nomally.If you have not installed some of the things mentioned above. Stop reading this section, and look for the section on this blog, about how to install squid. For example, you can read the
"Transparent Proxy with Squid 3.3.2 on Ubuntu 12.10 + Shorewall + Mikrotik".
Ok. Let's begin.

1. Add some command line at squid.conf
Add