Instalasi hotspot di ubuntu

1. Pertama kita Harus mempersiapkan source list kita tersebut..kyk ini uda zaki pernah bahasa dipostingnan zaki sebelumnya

2. Install program – program yang dibutuhkan yaitu #apt-get install unzip

#apt-get install fakeroot
#apt-get install ssh
#apt-get install build-essential
#apt-get install rrdtool
#apt-get install snmp
#apt-get install mysql-server
#apt-get install apache2 php5 php5-mysql
#apt-get install ssl-cert

#apt-get install freeradius freeradius-mysql
3. Setting Chillispot

a. edit file chilli.conf

#nano /etc/chilli.conf

– contoh yang harus disetting –

net 99.99.99.0/24
dns1 202.93.32.146
dns2 202.93.32.147
radiusserver1 127.0.0.1
radiusserver2 127.0.0.1
radiussecret zakitampan
dhcpif eth1
uamserver https://99.99.99.1/cgi-bin/hotspotlogin.cgi
uamsecret zakitampam
uamlisten 99.99.99.1

– berakhir diatas tulisan ini –

Simpan make perintah:
Ctrl+x tekan y kemudian enter

Ket:

– Ingat waktu Mengistall kan chilispot akan ditanyakan Pertanyaan2 maka jawablah kyk diatas bro

– uamlisten 99.99.99.1 disini adalah ip address eth1 yang akan dimasukkan oleh chillispot

– net 99.99.99.0/24 adalah ip address dhcp yang diberikan oleh chillispot kepada user, mulai dari 99.99.99.2 – 99.99.99.255

4. Mengaktifkan SSL atu https

#cd /etc/apache2

#mkdir ssl

#make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem
Contoh jawaban pertanyaan seputar SSL:

– Country Name: ID

– State Or Province Name: JawaTimur

– Locality Name : Surabaya

– Organization Name : Hotspot it-wifi

– Organization Unit Name : Engineering it-wifi

– Host Name : localhost

– Email Address :

Aktifkan dengan cara:

#a2enmod ssl

#/etc/init.d/apache2 force-reload

Buat dan mengenable file ssl :

#cd /etc/apache2/sites-available/
#nano ssl

– copy konfigurasi berikut –

NameVirtualHost *:443
<virtualhost *:443>
ServerAdmin webmaster@localhost

SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem

DocumentRoot /var/www/
<directory />
Options FollowSymLinks
AllowOverride None
</directory>

<directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2’s default start page
# in /apache2-default/, but still have / go to the right place
# Commented out for Ubuntu
#RedirectMatch ^/$ /apache2-default/

</directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<directory “/usr/lib/cgi-bin”>
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</directory>

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined

ServerSignature On
Alias /doc/ “/usr/share/doc/”
<directory “/usr/share/doc/”>
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</directory>

</virtualhost>

– berakhir diatas tulisan ini –

simpan dengan ctrl+x tekan y kemudian enter

Kemudian di enable dengan cara:

#a2ensite ssl

#/etc/init.d/apache2 reload

#/etc/init.d/apache2 restart

Terakhir restart ubuntu anda


This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
&lt;!–
document.write( ‘&lt;/’ );
document.write( ‘span&gt;’ );
//–&gt;

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s