Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Install Debian HotSpot server

NB: this is only a memo for me, i’m going to rewrite it in a decent way 😛

Install a fresh Debian lenny

apt-get update && apt-gt dist-upgrade

apt-get install build-essentials devscripts libssl-dev

cd /usr/src

wget http://ap.coova.org/chilli/coova-chilli-1.2.2.tar.gz (or the latest one)
tar xzf coova-chilli-1.Y.X.tar.gz
cd coova-chilli-1.Y.X/
debuild -b

cd ..
dpkg -i coova-chilli_1.Y.X-Z_ARCH.deb

apt-get install libapache2-mod-php5  cedar-backup2 frox squid
apt-get install bzip2 cdrdao cdrecord chrony
apt-get install mysql-server freeradius freeradius-mysql
apt-get install genisoimage mkisofs
apt-get install mysql-server maradns iptraf hdparm
apt-get install nut ntpdate nullmailer nut-usb
apt-get install pwgen php5-mysql phpmyadmin arping
apt-get install setserial smartmontools tofrodos ulogd lm-sensors hddtemp

dpkg-reconfigure -plow nullmailer

chmod 750 /usr/sbin/arping
chgrp operator /usr/sbin/arping
chmod u+s /usr/sbin/arping

wget http://internap.dl.sourceforge.net/sourceforge/haserl/haserl-0.8.0.tar.gz
./configure make make install

adduser backup cdrom
adduser www-data dialout
adduser --disabled-login --no-create-home --home /opt/frox --system --ingroup nogroup frox
adduser --no-create-home --home /tmp --ingroup operator --system --disabled-password hotspot
mkdir /opt/frox /opt/squid
mkdir /mnt/backup/collect /mnt/backup/hotspot /mnt/backup/stage /mnt/backup/tmp
mkdir /mnt/log/coova /mnt/log/frox /mnt/log/iptables /mnt/log/squid

export PS1='$(hostname -f):\w$ ' in /root/.bashrc

in /etc
frox.conf cback.conf hosts modules smartd.conf syslog.conf ulogd.conf

/etc/apache/sites-available
abilitare i due eth e disabilitare il default

/etc/chilli (editare)
/etc/chrony/chrony.conf
/etc/cron.d -> hotspot_status archive_log cedar-backup2
/etc/cron.daily/sysklogd
/etc/cron.weekly/sysklogd
/etc/freeradius
/etc/default -> chilli frox smartmontools
/etc/logrotate.d/ -> squid iptables_log
/etc/maradns
/etc/php5/apache2/php.ini
/etc/nut
/etc/squid/squid.conf (editare)

controllare file per ip e hosts

chown proxy.proxy /opt/squid/
squid -z

chown frox.nogroup /opt/frox/
chown frox.nogroup /mnt/log/frox
chown proxy.proxy /mnt/log/squid

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  

  

  

*