as quoted again by mf:

mf: failover?
me: cable
mf: put a load balancer on that thing with an access point and peer with your phone's wifi as backup link
me: lol
mf: that's something we would do here, except we would make the load balancer out of a palm3 with screwdrivers for antennae and power cords for network cables. 
mf: maybe it would involve some sort of badger or marmoset.

mf always guarantees fun.


great screenshot from my nexus one:

this is running:
cyanogenmod nightly 240 (passion)
wildmonks kernel from 11/07/2010
radio FRG83 5_12_00_08

you can google that stuff or find it via xda


i was writing a script and needed to hide input for a password.

here is the snippet:

echo -n "please enter password and press [enter]: "
STTY_ORIG=`stty -g`
stty -icanon -echo
KEY=$(dd bs=1 count=1 2>/dev/null)
while [ x$KEY != x$(echo) ]; do
  echo -n \*
  KEY=$(dd bs=1 count=1 2>/dev/null)

# test password to make sure it works

there is almost definitely an easier way of doing this but this was done quick.


so recently i realized that i needed suspend-to-disk and suspend-to-ram on my laptop. after much research i realized that i should use the tuxonice gentoo kernels (sys-kernel/tuxonice-sources).

so first thing i did was compile 2.6.36-tuxonice with thinkpad-acpi and all the suspend-to-ram, suspend-to-disk and tuxonice configs. (grab my .conf file here for your reference)
once you have compiled the kernel, check /proc/acpi/ to make sure that dir ibm is there.

before continuing it should be noted that i dont use initramfs or genkernel, so if you plan on using fbsplash or fbcondecor make sure to make the proper changes to your kernel.

with emerging tuxonice-sources, we also have to emerge sys-apps/tuxonice-userui, which is the user interface for tuxonice.

we also have to make sure that we have acpid installed and running.

for the thinkpad keyboard events:

fn + f2 (lock screen with xscreensaver-command –lock)

event=ibm/hotkey HKEY 00000080 00001002


su -c "xscreensaver-command -lock" user #change user to your standard user

fn + f4 (suspend to ram)

event=ibm/hotkey HKEY 00000080 00001004



fn + f9 (eject cdrom)

event=ibm/hotkey HKEY 00000080 00001009


/usr/bin/eject cdrom

fn + f12 (suspend to disk)

event=ibm/hotkey HKEY 00000080 0000100c



for the power button to suspend-to-disk

power button (suspend to disk)




vi /etc/acpi/default.sh
change /sbin/init 0 to /usr/sbin/hibernate

save all this, now give acpid a restart and make sure that you are in your kernel.

when done, after kernel is confirmed working, dont forget to emerge --unmerge gentoo-sources so you can free up some space.


i have made the switchover to tmux (in gentoo: app-misc/tmux) from screen.

from the tmux site:
tmux is a terminal multiplexer:
it enables a number of terminals (or windows), each running a separate program, to be created, accessed, and controlled from a single screen.
tmux may be detached from a screen and continue running in the background, then later reattached.

Here is a screenshot:

click to show full image.

That screen shot consists of:
conky config from here
wallpaper config from here (wallpaper is from somewhere on the internet)
mrxvt config file (~/.mrxvtrc)
tmux config file (~/.tmux.conf)