Sunday, June 8, 2008

UDP Flood perl script

Have u ever wonder how your network devices(s) behavior in stress state?
Try follow this simple steps to make UDP Flood :

1. touch /tmp/udpflood.pl
2. chmod +x /tmp/udpflood.pl
3. copy & paste this to ur udpflood.pl script :

#!/usr/bin/perl

##############
# udp flood.
##############

use Socket;
use strict;

if ($#ARGV != 3) {
print "flood.pl

Fedora 9 Sulphur is out now

Fedora is a Linux-based operating system that showcases the latest in free and open source software. Fedora is always free for anyone to use, modify, and distribute. It is built by people across the globe who work together as a community: the Fedora Project. The Fedora Project is open and anyone is welcome to join.

The Fedora Project is out front for you, leading the advancement of free, open software and content.




get it Here
more info about F9 Here

Wednesday, May 14, 2008

Migration or Migraine-tion

This is my 5th day living and computing and typing and mouse-ing and scrolling and rebooting and retrying and retrying and rebooting and retrying and rebooting and scratching my head just because my migration OR migraine-tion process into ubuntu world with my T60 Thinkpad. Arghhh...!!!

Briefly, this is what i've successfully done :

1. Installed Ubuntu 8.04 LTS with 2.6.24-16-generic kernel ( ofcourse la..hehe :"> )
2. intel 3945 wireless LED
3. my trackpoint speed + sensitivity
4. trackpoint middle button scrolling
5. eclipse IDE
6. Apache 4, 5
7. Tomcat 4, 5
8. mysql
9. php
10. finger print reader
11. fn + keys functions
12. thinkpad hard disk active protection system (hdps)
13. tp_smpi
14. IE6 inside wine
15. windows xp inside qemu *
16. compiz-fushion *WOW
17. etc etc...

* my qemu installation process running without any problem until i realize that my intel T5500 processor is the only T5*** series that not support virtualization technology !!! WTF!!!!!!!!!!!!
no wonder when i boot my winxp inside qemu the process a little big big big BIG BIG PIG PIG slowwww...the word F again repeatedlyyyyy..huhuhuhuhu

my window$ installation process inside qemu (memory remains....)

Tuesday, April 15, 2008

mount win2k ntfs

This is my documented on how to mount networked win2k shared folder using linux.
In my case i'm using centos5.



On your linux box, as root :

create a mountpoint for your windows

mkdir /mnt/win2k

change owner/permission to your mountpoint

chmod 777 /mnt/win2k

mount your desired win2k folder to your mountpoint

mount -t cifs -o username=[win2k user], password=[win2k passwd], workgroup=[win2k workgroup] //[win2k ip or hostname] /mnt/win2k --verbose


Just change the [in bracket arg] with your own.

Hepi mounting :)

Monday, March 3, 2008

Linux tape backup with mt and tar command - howto

Magnetic tape is a non-volatile storage medium consisting of a magnetic coating on a thin plastic strip. Nearly all recording tape is of this type, whether used for video, audio storage or general purpose digital data storage using a computer.

Linux (and other Unixish system) use mt command to control magnetic tape drive operation. You need to use mt command while working with tape drive. It allows you to reading and writing to tape.

The default tape drive under Linux is /dev/st0 (first SCSI tape device name). You can read more about tape drives naming convention used under Linux here. Following paragraph summaries command you need to use control tape drive for backup/restore purpose.


Rewind tape drive:
# mt -f /dev/st0 rewind

Backup directory /www and /home with tar command (z - compressed):
# tar -czf /dev/st0 /www /home

Find out what block you are at with mt command:
# mt -f /dev/st0 tell


Display list of files on tape drive:
# tar -tzf /dev/st0

Restore /www directory:
# cd /
# mt -f /dev/st0 rewind
# tar -xzf /dev/st0 www


Unload the tape:
# mt -f /dev/st0 offline

Display status information about the tape unit:
# mt -f /dev/st0 status

Erase the tape:
# mt -f /dev/st0 erase

You can go BACKWARD or FORWARD on tape with mt command itself:

(a) Go to end of data:
# mt -f /dev/nst0 eod

(b) Goto previous record:
# mt -f /dev/nst0 bsfm 1

(c) Forward record:
# mt -f /dev/nst0 fsf 1



* Replace /dev/st0 with your actual tape drive name.

Friday, December 28, 2007

The Cuppycake Song

So cute and adorable :)



You're my Honeybunch, Sugarplum
Pumpy-umpy-umpkin, You're my Sweetie Pie
You're my Cuppycake, Gumdrop
Snoogums-Boogums, You're the Apple of my Eye
And I love you so and I want you to know
That I'll always be right here
And I love to sing sweet songs to you
Because you are so dear

Thursday, December 6, 2007

How They Hide Drugs



This story is extremely sad. A lady, with her husband, was planning a weekend trip across the Mexican border for a shopping spree. At the last minute their baby sitter canceled, so they had to bring along their two-year-old son with them. They had been across the border for about an hour when the baby got free and ran around the corner. The mother went chasing but the boy had disappeared. The mother found a police officer that told her to go to the gate and wait. Not really understanding the instructions, she did as she was told. About 45 minutes later, a man approached the border carrying the boy. The mother ran to him, grateful that he had been found. When the man realized it was the boy's mother, he dropped the boy and ran. The police were waiting and got him. The boy was dead. In the (less than) 45 minutes he was missing, he was cut open and all of his insides removed and his body cavity stuffed with COCAINE. The man was going to carry him across the border as if he were asleep. A two-year-old boy, dead, is carded as if he were a piece of trash for somebody's cocaine. If this story can get out and change one person's mind about what drugs mean to them, we are helping.