Sutff about my job and comments about personal activities. Take a look to the first idea.

Monday, October 05, 2009

Dr. House

I've just found another way to see Dr. House... It's suppouse to include Gilmore Girls.. but they are not so updated... pretty sad.

Sunday, August 23, 2009

partprobe

Finally solve.. repartition without reboot.. just run partprobe after fdisk and no need to reboot... cool!!!!

Saturday, August 22, 2009

Zoneminder on debian

Just been amazed again by the power of debian...

There is a livecd with archlinux and zoneminder latest version... just for testing and every other package broken as it's suppouse to be... but debian has zoneminder package with everything on the road... just a few tips

Setup permisions
$ chmod o+rx /dev/video*

Configure rsyslog
vi /etc/rsyslog.conf
< *.*;auth,authpriv.none -/var/log/syslog > *.*;local1.none;auth,authpriv.none -/var/log/syslog
> local1.* /var/log/zm/zm.log
> local1.!*;local1.warning -/var/log/messages

Configure logrotate
vi /etc/logrotate.d/1st-zoneminder
>/var/log/zm/*log {
> weekly
> rotate 3
> notifempty
> missingok
> postrotate
> /usr/bin/zmpkg.pl logrot
> endscript
>}

The files are store in /var/cache/zoneminder with thousands of files, so I suggest to use an smaller inode_radio from 16384 to 8192 and set only 1% reserved block count
mkfs.ext3 -i 8192 -m 1 /dev/sdaX

Add noatime to fstab
vi /etc/fstab
> /dev/sdaX /var/cache/zoneminder ext3 defaults,noatime,nodiratime 0 0

Grub2

I've just upgrade to grub2, little tricky to find out /etc/grub.d/ and /etc/default/grub files...
Besides partitions number now starts beginning with 1 instead of 0.

Monday, April 27, 2009

Wireless roaming with Wireless Access Points

For the record...

What is "roaming" and how does it work?
Roaming is the ability of a wireless computer user to communicate continuously while moving freely throughout an area greater than that covered by a single access point. In such a system, the users end node undertakes a search for the best possible access to the system. First, it evaluates such factors as signal strength and quality. Based on that information the node next selects the strongest Access Point and registers its address. Communications between end node and host computer can then be transmitted up and down the backbone. When a node no longer receives acknowledgment from its original access point, it undertakes a new search. Upon finding a new access point, it then reregisters, and the communication process continues.