vsftpd - chroot users to their homedir

Open the vsftpd configuration file - /etc/vsftpd/vsftpd.conf

nano /etc/vsftpd/vsftpd.conf

Make sure following line exists (and uncommented):


Save and close the file. Restart vsftpd.

/etc/init.d/vsftpd restart

Ati released a new version of the Radeon Proprietary drivers package

A few days ago i've noticed ati has released version 8.42.3 of it's proprietary drivers package for radeon, http://ati.amd.com/support/drivers/linux/linux-radeon.html

I was using previously the 8.40.* version on my Samsung R20 Notebook running Debian Etch, that has an integrated Ati …


Using vnstat for simple traffic accounting

vnStat is a network traffic monitor for Linux that keeps a log of daily network traffic for the selected interface(s). vnStat isn't a packet sniffer. The traffic information is analyzed from the /proc vfs, so vnStat can be used without root permissions. However at least a 2.2.x …


Using mod_evasive for dos attack prevention

A quick solution for blocking dos attacks can be mod_evasive Installing mod_evasive on an apache2 web server:

# mkdir -p /root/tmp
# cd /root/tmp
# wget http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz
# tar zxvf mod_evasive_1.10.1.tar.gz
# cd mod_evasive
# apxs -cia mod_evasive20.c

then …


Setting up MadWifi on a Samsung r20 laptop, running Zenwalk as an os

I always liked the Slackware distribution, everything (well, almost) is really simple and straightforwar. For some time i'm using Zenwalk, a slackware-based distro, on my laptop.

At some point, i needed to connect to a nearby access point, and fortunately this samsung r20 has built-in an Atheros wireless adapter.

At …


Attansic L2 100Mbit Ethernet Adapter on Debian Lenny

It appears Attansic was recently bought by Atheros. However, getting it to work on GNU/Debian Lenny is as simple as:

apt-get install atl2-modules-2.6-686
modprobe atl2

And here it is:

root@gw # ifconfig eth1
     eth1      Link encap:Ethernet  HWaddr 00:1e:8c:18:88:a6

GNS3 install on ubuntu/debian

Follow the instructions on
then just run

apt-get install gns3

Using remote logging on a dd-wrt enabled Linksys wrt54g

On the machine you want to log to (i have a slackware one):

root[floyd]# nano /etc/rc.d/rc.syslog


echo -n "/usr/sbin/syslogd"/usr/sbin/syslogd


echo -n "/usr/sbin/syslogd -r "/usr/sbin/syslogd -r

Restart syslog:

root[floyd]# /etc/rc.d/rc.syslog …

Running network device backups with RANCID on FreeBSD

A useful utility for backing-up network devices configuration i have recently stumbled upon is RANCID, (Really Awesome New Cisco confIg Differ) which allows for backup automation. It also allows for keeping a history of changes done to devices' configuration, using either CVS or SVN, also all changes can be automatically …


first post

Yep, this is the first post on this blog, welcome to all of you :)

On these pages you will be able to read my posts on my systems administrator position and also some news/notes from the IT world.

I hope real soon i will manage to find some spare …