Archive for June, 2008

How To Add a Welcome Message for SSH Users

Friday, June 6th, 2008

Here is a quick tip on how to add a welcome message for your SSH users.

If you want users to see a banner welcome message when connecting to your SSH server, you need to turn on the banner configuration of SSHd and then create a banner file.

(more…)

How To Show The Top Largest Files and Directories

Friday, June 6th, 2008

Here is a quick tip on how to display the top largest files and directories within my home directory:

# du -hs /home/userid/* | sort -nr | head

Disable the System Beep from the Command Line

Friday, June 6th, 2008

#sudo vi /etc/modprobe.d/blacklist

And then add:

#pc speaker beep

blacklist pcspkr

Save and quit the file:

:wq

Now, remove the pcspkr module:

sudo rmmod pcspkr

How to find out what IPs are being used on your subnet

Friday, June 6th, 2008

# nmap -v -sP 192.168.1.0/24

You can replace the 192.168.1.0/24 address with whatever your IP and subnet is.

Also, for a cleaner output that removes the lines that tell you an IP is not used, try the following:

# nmap -v -sP 192.168.1.0/24 | grep -v "appears to be down"

Filter Out RIAA/MPAA with PeerGuardian on IPCop

Thursday, June 5th, 2008

Have a network that you’d like to protect from macilious organizations? Well we’re in luck, now at the router level we can add peer guardian to ipcop based routers.

The install is rather simple, first thing first of course you must have Ipcop installed. Then grab ipcop-pglinux-1.5beta.zip from here.

(more…)

Pages: Prev 1 2 3 4 Next