This problem seems to be somewhat similar to hpasmxld: Invalid Device: /dev/ipmi1
in that the reason hp-health (or hpasmxld, really) won’t start is because it picks the incorrect ipmi device from /dev
I have both /dev/ipmi0 and /dev/ipmi1, but running /etc/init.d/hp-health with bash -x (change the first line to read #!/bin/sh -x) reveals
that it sets the environment variable PARGS to
-f /dev/ipmi1
when it should really be
-f /dev/ipmi1
My fix was to edit /etc/init.d/hp-health and add the line
PARGS="-f /dev/ipmi0"
immediately before the line that reads
$PNAME $PARGS < /dev/null >> $LOGFILE 2>&1
(in my case this was line 672)
December 16th, 2010 | Category: Uncategorized | Leave a comment
According to this post, http://forum.aircrack-ng.org/index.php?topic=2898.msg33659#msg33659,
the 4965 should work with newer aircrack versions to provide packet-injection, and their IRC-bot
claims that newer subversion-versions also allows fake-auth.
http://aircrack-ng.org/doku.php?id=tutorial
http://ubuntuforums.org/showthread.php?t=528276
http://airodump.net/intuitive-wifi-hacking-gui-ubuntu-linux/
September 5th, 2010 | Category: Uncategorized | Leave a comment
I wanted to see which packages were using up my disk-space, and it turns out aptitude is a good choice:
aptitude search -F “%p %I” –sort installsize ‘?installed’ | tail
Remove the tail at the end if you want the entire list, this command only shows you the 10 “worst”
packages.
August 14th, 2010 | Category: Uncategorized | Leave a comment
It appears that the openbios-binaries have been removed from the qemu-packages in Ubuntu and you are recommended to install the openbios-sparc package instead.
But, it has no install-candidate because of build-problems, and my own attempt at building from the openbios-sparc source package was not successful
either – it is in the universe repository if you want to try.
My attempts at building the 1.0 stable release from OpenBIOS did not work.
I was able to compile the stable release (it requires GCC Cross-compiling support, I recommend this) but after installing the openbios-binary and trying to run a Sparc image the virtual machine
died after complaining about NVRAM length.
The solution (or what worked for me) was to download Qemu here and compile it myself.
This results in the openbios-binaries being installed
July 24th, 2010 | Category: Uncategorized | Leave a comment
First download the “APT utility addon” from here
and install it as a local update on your Duo, do the same for The EnableRootSSH addon found on the
same page
Login as root via ssh.
Add this to your /etc/apt/sources.list:
deb http://archive.debian.org/debian-security sarge/updates main contrib non-free
deb-src http://archive.debian.org/debian-security sarge/updates main contrib non-free
deb http://archive.debian.org/backports.org sarge-backports main contrib non-free
deb-src http://archive.debian.org/backports.org sarge-backports main contrib non-free
apt-get update
apt-get install gcc libc6-dev libssl-dev
wget http://archive.debian.org/backports.org/pool/main/libe/libevent/libevent1_1.1a-0bpo1_sparc.deb
dpkg -i libevent1_1.1a-0bpo1_sparc.deb
wget http://archive.debian.org/backports.org/pool/main/libe/libevent/libevent-dev_1.1a-0bpo1_sparc.deb
dpkg -i libevent-dev_1.1a-0bpo1_sparc.deb
Get the current one here, in my case
I had to run the following
wget http://www.torproject.org/dist/tor-0.2.1.26.tar.gz
tar zxvf tor-0.2.1.26.tar.gz
cd tor-0.2.1.26
./configure –build=sparc-linux
make
src/or/tor
Once it finishes compiling, head on over to http://www.torproject.org/docs/tor-doc-relay.html.en
to learn how to setup tor as a relay.
July 23rd, 2010 | Category: Uncategorized | Leave a comment
I found this article on how to configure Wine so it uses your Linux web-browser instead of attempting
to use the default browser in the Windows-environment Wine has setup. The only thing I’d do different
is to also perform the 3rd step for https as well as for http, namely by setting this key:
HKEY_CLASSES_ROOT -> https -> shell -> open -> command
Here is the article.
May 10th, 2010 | Category: Uncategorized | Leave a comment
I bought a ReadyNAS Duo before Christmas, and a 1TB Western Digital disk (WD10EADS) to use with it. I immediately started getting ATA errors and adding another
one (for redundancy) resulted in more of the same. Thanks to tips from mdgm over at the ReadyNAS forums, though, I know what to do:
Install RAIDidator 1.4.7 or newer (here’s a link to the beta)
This will stop ATA errors, due to TLER-errors when using certain WD disks.
Also, run the WDIDLE3-utility on the disk, this will prevent the Load Cycle Count on your disks from increasing and shortening its life. You will need to connect your
drive(s) to a desktop-computer with SATA-support running Windows. Then boot from a DOS-CD (or usb drive) and run WDIDLE3. Here are the steps:
Download WDIDLE3 from here
Download FDOEMCD.builder.zip from here
Add wdidle3.exe to CDROOT folder.
Execute MAKEISO.BAT to create new FDOEM.ISO CD image file.
Burn FDOEM.ISO to a CD and boot from it.
Run the command: WDIDLE3 /S300
I’m not sure if you can perform the last step simultaneously for both disks, but if you can’t just reboot with the second disk and run the WDIDLE3-command again.
This should prevent both ATA errors and LLC from increasing, unless your disks are actually faulty, in which case you should have them replaced.
Here is a link to the thread about this issue in the ReadyNAS forum.
May 5th, 2010 | Tags: ReadyNAS Duo, WD10EADS, WDIDLE, WDIDLE3 | Category: Hardware, Uncategorized | Leave a comment
This morning I saw a submission on reddit.com linking to this list of sed one-liners: http://sed.sourceforge.net/sed1line.txt
As if that wasn’t enough, in the comments to the submission the user moonhead offered this handy sed command summary
as a png just waiting to be printed out and stuck on a cubicle wall for reference: http://i.imgur.com/nTar2.png
You can see all the comments to the first link posted here: http://www.reddit.com/r/linux/comments/bxb3x/compiled_list_of_sed_oneliners/
April 29th, 2010 | Category: Uncategorized | Leave a comment
I had trouble restarting HP-Health on a server that had recently been upgraded to Centos 5.3, resulting in this error in /var/log/messages:
hpasmxld: Invalid Device: /dev/ipmi1
On this server only /dev/ipmi0 existed, even though a server with the same hardware running Centos 5.2 had both..All suggested solutions implied that this error was a result of having VMWare installed – which wasn’t correct in my case. I was able to start HP-Health successfully by editing /etc/init.d/HP-Health.
Search for “supports_quiesce_intfs” and change the succeeding line (in my case this was line number 250) so the if-clause looks like this:
if supports_quiesce_intfs; then
echo “/dev/ipmi0″
return
fi
December 1st, 2009 | Category: Uncategorized | Comments (1)
If you use Konversation as your IRC-client on the Freenode-network you’ll probably want to identify your username/nick as some channels require this. If you have to reconnect for some reason your old nick will still exist for a while making it impossible to both use the nick and identify.. For this you need the ghost-command, but you would also have to change your nick back to the one you want after doing so.
I just found a neat script that does just this, check it out:
http://konversation.kde.org/wiki/Ghosttrick
Now you will kick out your old nick, change your nick to the one you want and identify automatically when reconnecting. Cool.
November 12th, 2009 | Category: Uncategorized | Leave a comment