Dont do this at home

From Nerdwiki

Jump to: navigation, search

Here we'll fill in some pointers on what not to do, but only after we've done them ourself, or see that it's insanly stupid to try it (i.e. #Bash_Russian_Roulette)

Contents

Shutdown

Always check you are logged in to the correct computer when issuing 'Shutdown -h now'. Shutting down a remote computer where you have no one to reboot it for you is just plain stupid.

POF: Several servers several times

Zhiva

Moving files

When moving files, watch out for whitespaces, especially on live systems as root. Example:
mv / tmp/*.jpg tmp/img/

POF: DarkDate.com 2005. (Chroot + a lot of work fixed it, almost without downtime)

--Ravn 20:56, 12 March 2008 (UTC)

Bash Russian Roulette

[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" 

Bridging two PSU's

We tried serializeing two PSU's with a relay in between, to get more power for all our hdd's. This was back when 400w psu was expensive, and we had some 300w laying around. It worked out great, until we turned the power on, and realized one of the PSU was set to 110v (We use 220v).

Passive PoE

Passive PoE is not the same as regular PoE. We found out this the hard way, when we connected an Alix2c2-card to a PoE-device, charging 48v at the circuit which only handled up to 18v (iirc). Check the Alix page for info on how to repair the board if you ever wanna try this.

Bios settings

Before using hours getting a wlan card to work under Linux, check that it is enabled in bios.

Mysql delete

Be very carefull with mysql delete from table; when you only want to delete one entry :) Dump is good to have :)

IDE -> CF adapter

Don't put the power connector on the wrong way. Unless you want to fill your apartment with smoke, and have an orange gloving wire for a few seconds. *tries to clear the smoke*

Attempt at frying an MP3-player

This tip came from a user who wants to be anonymous, and is added here just for the fun of it

After buying a brand new Creative Zen, during the first week I managed to get a scratch in the display. To get a new one, I wanted to fabricate a fried player. I disassembled a piezoeletric lighter, in hopes of it making enough current to fry the chips. I put a needle in the mechanisme to act as a conductor, and inserted it into the usb-plug. Click. I thought it was dead. Tried to turn it on, but it worked. So I tried again. Click. It shut off, but again, it would turn on. Continuing down every connectior on the usb, it all proved the same result. So I thought, the phone-jack has to do it. Click. Still worked. Microphone, same shit happened. And to add, for every click, the current went through the circutry, and right into my other hand. I was starting to feel numb at this point, and gave up after about 100 attempts.

Result: Numb hand, working player.

End result: Fabricated the fault, got new player :P

Note: Wouldn't it be mutch easier just to alter a usb cable and connect it to a power source?

Personal tools