Brain Goo

Carpe Crap ‘em

Brain Goo header image 4

Entries Tagged as 'How Tos'

Linux HOWTO Enable Miltucast Ping (ICMP) Replies (Echo)

April 21st, 2011 · No Comments

The 2.6 Linux kernel does not respond to multicast ICMP Echo requests by default. This is a setting in /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts Test it: # cat /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 1 # Set it to 0 for ping replies: # echo “0″ > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts # cat /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 0 #

[Read more →]

Tags: How Tos · linux · networking

Build A Custom PERL Installation

April 11th, 2011 · No Comments

If you want to build a PERL installation that is separate from your standard PERL, you can compile one, complete with CPAN support. Just follow these steps: mkdir /custom/perl/ cd /custom/perl/ curl -O http://www.cpan.org/src/perl-5.12.3.tar.gz mkdir perl-5_12_3 gunzip perl-5.12.3.tar.gz tar -xf perl-5.12.3.tar cd perl-5.12.3 ./Configure -d -Dprefix=/custom/perl/perl-5_12_3 make make test make install /custom/perl/perl-5_12_3/bin/perl -v /custom/perl/perl-5_12_3/bin/perl -e [...]

[Read more →]

Tags: How Tos · perl · Programming

How To Pass PERL Library Paths From The Environment

April 11th, 2011 · No Comments

You can have PERL look in different places for libraries and modules using a number of methods. If you find yourself using a custom PERL module repository, you can make sure your PERL programs always reference it without touching the code. What we’re doing in a nutshell is telling PERL to push values on to [...]

[Read more →]

Tags: How Tos · perl · Programming