Archive for the ‘linux’ Category

I came across a Windows 7 Skins for KDE - It looked really….exact but the install script was crap it installed a new user and was only Kubuntu based and was pretty brutal at overwriting stuff so I (more…)

Posted by admin on January 28, 2010

After ’successfully’ upgrading from Fedora 11 to Fedora 12 (64bit) on my laptop KDE4 failed to start with error: Kstartupconfig4 does not exist or fails. The error code is 127.

Gnome still worked but KDE and KDE apps failed to load. Trying to run dolphin in terminal produced libssl.so.8 & libcrypto.so.8 shared library missing errors.

The resolution is put in the symbolic links that are missing

cd /usr/lib64 (64bit) and /usr/lib (32bit)
ln -s libssl.so.1.0.0 libssl.so.8
ln -s libcrypto.so.1.0.0 libcrypto.so.8

and reboot

Posted by admin on January 22, 2010

Seems I’m in fix it mode tonight - amazing what you get done when you don’t have women distracting you!
Anyway it seems that my fail2ban has been broken for quite a while, the resolution of this was me running:
fail2ban-client -x start and that worked ok

So I modified /usr/sbin/rcfail2ban and added the line:
[ -e $FAIL2BAN_SOCKET ] && rm $FAIL2BAN_SOCKET;

Here it is in context:

case "$1" in
start)
echo -n "Starting Fail2Ban "
[ -e $FAIL2BAN_SOCKET ] && rm $FAIL2BAN_SOCKET;
/sbin/startproc $FAIL2BAN_BIN start &>/dev/null
rc_status -v

Well you get the drift. Happy Banning! :-)

Posted by admin on May 19, 2009

Recently I came across a new file format called RSDF, these appear to be txt files which have a bunch of links in them, so called link containers.  I wanted to access the URLS in these files, but I didnt really want to entrust my computer to just “any” application. (more…)

Posted by admin on May 19, 2009

Hooray! I did it!
I have managed to boot my bootable usb pendrive (BackTrack 3) under QEMU within Windows XP.

For those of you who want the magic one liner here you are:

qemu.exe -L . -m 512 -std-vga -hda \\\\.\\PhysicalDrive2 -soundhw all -localtime -M pc -kernel ../../boot/vmlinuz -initrd ../../boot/initrd.gz -append "root=/dev/ram0 rw initrd=../../boot/initrd.gz ramdisk_size=6666 vga=0x317"

  • This gives you TextMode with 512 MB Ram and Mouse Support!!
  • You will need to change PhysicalDrive2 to what ever drive number your USB key is. (Hint look under the DiskManagment snap-in)
  • You require administrative rights also
  • My Qemu directory lives under USBDriveLetter\BT3\QEMU FYI
  • QEMU Version Win32 PreCompiled 0.9.1

Hopefully this saves you a few hours :-)

Posted by admin on April 15, 2009

With my OpenSuSe and SLES Linux installations I was trying to remember how to add the rc prefix to MailScanner so I didn’t have to type /etc/init.d/MailScanner restart. All you need to do it add a symlink in /usr/sbin called rcmailscanner pointing to /etc/init.d/MailScanner. I cant believe Im forgot such a simple thing! DoH!

Posted by admin on December 2, 2008

I got bored of not having something useful displayed when logging into my box so I wrote a script and put it in cron.hourly now I get some “info” such as:

Latest Logins:
Latest SSH Failures: Total Count:
Latest SSH Errors:
Latest 10 /var/log/messages entries:
Latest Hardware Errors:
Latest DMESG Messages:

Click Read More to grab the code (It outputs pretty colours lol)

(more…)

Posted by admin on November 17, 2008