Brain Goo

Carpe Crap ‘em

Brain Goo header image 4

Entries Tagged as 'linux'

HOWTO Redirect Linux Console Without Reboot

October 3rd, 2011 · No Comments

You can re-apply your /etc/inittab file in real-time without rebooting your machine. This allows you to do a lot of neat things, such as redirect your system console to the serial port without a reboot. Edit your /etc/inittab file and add this line: S0:12345:respawn:/sbin/agetty -L 9600 ttyS0 vt102 Execute the following command: telinit q && [...]

[Read more →]

Tags: How Tos · linux

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

HOWTO Turn off Line Numbers in VI

May 20th, 2010 · No Comments

I always forget how to turn off line numbers in VI. The answer is: set nonumbers or set nonu. It’s all about the little things… Did you find this post useful or have questions or comments? Please let me know!

[Read more →]

Tags: How Tos · linux