Recover files from Apple Time Machine backup on linux. PDF Print E-mail
Written by Luke MacNeil   
Tuesday, 08 December 2009 09:31

I was playing with a hackintosh for a month or so, and one of the neatest features it has is Time Machine backups. When I got sick of dicking around with MacOS, I threw linux back on my box. Then I mounted up the Time Machine backup drive and... hrmf.

It is less than easy to navigate.

If you've done this and you need to pull off your mp3s or something, you can just use the find command to search the full disk and copy files off of it.

find . -name *.mp3 -print0 |xargs -0 -i cp {} /datastore/tmp/

 
OpenSuSE 11.2 Remote Administration (VNC) Black screen PDF Print E-mail
Written by Luke MacNeil   
Monday, 07 December 2009 10:03

In previous opensuse versions, it has been posible to enable vnc administration easily by enabling the service in YAST.
In OpenSuSE 11.2, this option is still available, but does not work well by default.

The issue, I believe is that the default window manager has changed to KDE4. Although KDE4 is the default window manager in 11.2, I still use GNOME.

When connecting to the vnc server on display :0, all that's drawn is a black screen with a gray X. To fix this, I changed the default window manager to gnome, and the default display manager to GDM.

These settings can be changed by editing the files in /etc/sysconfig, or using the /etc/sysconfig editor in yast.

Set DISPLAYMANAGER to 'gdm' and DEFAULT_WM to 'gnome'

You'll have to restart the X server, and after that, remote connections via VNC will open up gdm and allow you to log in.

 
CA Siteminder and SLES 10/11 PDF Print E-mail
Written by Luke MacNeil   
Friday, 20 November 2009 13:44
CA Siteminder (And every CA product I've ever had the misfortune of using) is a steaming pile of shit.
I mean that with all due respect. Considering the default installation package doesn't work on stock SLES10/11, here are the hacks to make it work.

Follow the normal installation procedure, which will fail when you select your apache version (2.2). When it bombs out looking for your apache config, just give in and manually select your apache config dir (/etc/apache2) and let the installation proceed.

After the package is installed add the following to your /etc/apache2/httpd.conf

LoadModule sm_module "/usr/local/CA/Siteminder/webagent/bin/libmod_sm22.so"
SmInitFile "/etc/apache2/WebAgent.conf"



# Added for CA Siteminder on 09/09/09
Alias /siteminderagent/pwcgi/ "/usr/local/CA/Siteminder/webagent/pw/"
<directory usr="" local="" ca="" siteminder="" webagent="" pw="">
Options Indexes MultiViews ExecCGI
AllowOverride None
Allow from all
</directory>

Alias /siteminderagent/pw/ "/usr/local/CA/Siteminder/webagent/pw/"
<directory usr="" local="" ca="" siteminder="" webagent="" pw="">
Options Indexes MultiViews ExecCGI
AllowOverride None
Allow from all
</directory>

Alias /siteminderagent/ "/usr/local/CA/Siteminder/webagent/samples/"
<directory usr="" local="" ca="" siteminder="" webagent="" samples="">
Options Indexes MultiViews ExecCGI
AllowOverride None
Allow from all
</directory>



Also.. siteminder requires some environment variables to be set in order for LLAWMP to start up.
To load these, I've added the configuration script to the apache startup script /etc/init.d/apache2

#
# load the configuration
#
. /usr/local/CA/Siteminder/webagent/nete_wa_env.sh



... Now, how CA can get away with selling this trash is beyond me... but they do, and you probably have to use it.


 
Sync iPod with VMware Server on linux host. PDF Print E-mail
Written by Luke MacNeil   
Friday, 20 March 2009 20:59
Like many others, I've been having trouble syncing my ipod with my windows virtual machine in both VMWare Workstation 6.5 and VMware Server 2.0.
To get around this issue, I had written a few scripts to unload the USB modules (and actually forcefully rename them because the blacklist was not honored) on VMWare Workstation.

I recently switched over to exclusive use of VMware server 2.0, and I found the solution on the VMWare Forums.

 
<< Start < Prev 1 2 3 4 Next > End >>

Page 1 of 4