Citrix on linux

I have a series on Citrix and while support is getting better, they do tend to change things. For example the location of the binary binary binary binary.

They have also moved the location of the application from /usr/lib/ICAClient to /opt/Citrix/ICAClient, a more unix like move.

The famous SSL error 61

SSL error 61

The SSL Error 61, is now easily fixed by copying the certs into the correct directory

cp -v /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/
Posted in citrix | Leave a comment

Checkpont SNX on Ubuntu 11.10 (oneiric)

It’s time for Ubuntu 11.10 and the obligatory how to get Checkpoint SSL extender VPN (SNX) working under it.

The first step is to get your username, password and ip address or host name of your snx server from your local administrator. Once you do that you can login and then press the settings link. This will give you a link to the various different clients. In our case we are looking for the “Download installation for Linux” link. Download that and then run it with the following command.

# sh +x
Installation successfull

This is the 64 bit version and I’m installing a 32 bit application, so you’ll need to install the 32 bit libraries and the older version of libstdc if you haven’t all ready.

# uname -p
# aptitude install ia32-libs libstdc++5

Now let’s check that the required libraries are loaded.

# ldd /usr/bin/snx | grep "not found" => not found

This is a new one so a quick check on Google found the answer in of all places the Citrix forum.

Combining the post from Stuart Johnston, and Israel Diaz you get:

# wget 
# mkdir tmp
# dpkg -x libpam0g_1.1.3-7ubuntu2_i386.deb tmp
# cd tmp/lib/i386-linux-gnu/
# cp /lib/i386-linux-gnu
# cd /lib/i386-linux-gnu
# ln -s
# ldd /usr/bin/snx 

You should now be able to type snx without errors. You only now need to accept the VPN Certificate by loging in via the command line and press “Y”.

user@pc:~$ snx -s my-checkpoint-server -u username
Check Point's Linux SNX
Please enter your password:
SNX authentication:
Please confirm the connection to gateway: my-checkpoint-server VPN Certificate
Do you accept? [y]es/[N]o:

Finally you should be able to use the client and login.

Posted in snx | 5 Comments

Open Source Mosquito Locator

I’m looking for help with a project that will provide a way to locate mosquitos. Yes I am serious.

A Mosquito on an arm

Remember this is not the army. We don’t “locate and destroy”. We’re following the Unix  philosophy of doing one job and doing it well. This job is to “Locate“.

It should be simple.

It should be cheap to make and cheap to run.

There is no requirement to identify species, gender, age, colour, etc. Let “if it’s acting like a mosquito then it’s a mosquito” be your mantra.

Let’s be clear, this is just to locate them not to terminate them with lasers, automatic weapons, flame throwers, etc. If you want to do that later then be careful. For now the task is to locate them and signal where they are. When they move, locate them and signal where they are.

I have absolutely nothing to contribute to this project, but it needs to be done.

If you have any ideas on how you would go about doing this, then I’m very interested in hearing from you.


Posted in General | 8 Comments

Thoughts on Time, Submarines and OggCamp

I’m at John Lennon International airport, having a coffee and looking over at a big yellow submarine. I walked past that submarine looking for a bus to take me to OggCamp12. The first stop was the “wave bar”, where the universe of bus tours merged with that of OggCamp.

OggCamp. The gathering of enthusiasts who had answered the call and converged to bring the message of free culture, open source, hardware hacking, and the commons to the inviting arms of Liverpool. That and helping wheel chair bound pensioners navigate the seemingly endless supply of steps that made up the bar.

The following morning we made the short walk way up the hill to the venue at Liverpool John Moores University. It was hot which was a shock and the third dimension was also a bit of a shock after 10 years in the flatlands of Holland.

The building Dan had scored was a m a z i n g !

The crew Les had assembled were a m a z i n g !

So efficient was the crew that everyone was setup and ready to rock with the efficiency that would make even the most professional rail way scheduler do some serious soul searching.

We waited.

Then the last prize was given away and everyone cheered to thank Dan for all the hard work and bam !!!

OggCamp was over.

And then it hit me, time our old friend was playing tricks again. The old “one minute you’re holding them in your arms and the next minute they’re out the door” trick that parents the world over are familiar with.

I took a deep breath and dismantled the booth, had my photo taken and made my way back to the Hotel to start the job of editing. As I listened to the recordings, the whole event started playing back to me. My tour of the exhibition area, the banter at the HPR booth, the chance meetings in the halls, the enthusiasm of the hardware hacking area, the live session with 20Lb Sound, the morning after, the carrot cake, the outside interviews and then the raffle.

I hadn’t missed it. I was there. I was part of it. And thanks to the good people at Leaf, we had a chance to relax, catchup and say goodbye to at least some of the friends we had met old and new.

Learning from the mistakes of last year, all the 36 interviews will be posted and released this week on Hacker Public Radio for my enjoyment and I hope for yours. So I’d like to thank everyone that put on the show, that participated in it and that made me feel at home. A special thanks to Paul for suffering me been so stressed and to Manon and the toots for suffering me in general.

So now time slows down again and twelve months is a long time to wait for the next OggCamp.

That said it’s only six months until FossDem.

Might even do a booth there.

I’d need someone to help me out though.

Hmmmm something to think about.

Still an hour to wait.

I can’t shake the idea that that submarine may have served a previous role in the water purification industry.

Posted in General | 4 Comments

The Linux Link

The following list is based on information on the The Linux Link website, maintained by Dann Washko. Thanks to everyone who supplied updated information on the podcasts and a special thank you to Dave Morriss for helping to write the script that parsed the links. The shows are listed based on their last release date.
The script that generated this list can be found here

Linux Game Cast

Linux gaming news, reviews, capture and whatever else we come up with. (2012-08-15T04:52:49)


The podcast network of your favorite GNU/Linux media (2012-08-14T02:44:00)

SANS Internet Storm Center Daily Network Security Podcast

The SANS Internet Storm Center is a volunteer driven organization to alert the public of current information security threats and trends. The core of the Internet Storm Center is a group of about 40 handlers. These handlers are volunteer, and hand picked for their outstanding contributions to the field, real world experience and good performance in GIAC certifications. For more information, see (2012-08-14T01:23:41)

Hacker Public Radio

Hacker Public Radio is an podcast that releases shows every weekday Monday through Friday. Our shows are produced by the community (you) and can be on any topic that is are of interest to hackers and hobbyists. (2012-08-14T00:00:00) is designed to provide a Chart for Creative Commons Music, in a way that is easily able to be integrated into other music shows that play Creative Commons Music. has a daily exposure podcast, playing one new track every day, a weekly podcast, playing the last week of tracks played on the podcast, plus the top rated three tracks from the previous week. There is also a monthly podcast which features the top rated tracks over the whole system. (2012-08-14T00:00:00)


A FOSS and Free Culture show with a Scottish flavour (2012-08-13T22:20:07)

The Techie Geek Podcast


KernelPanic Oggcast

KernelPanic Oggcast is a work/family friendly show that broadcasts live, fortnightly on Saturday night. Join us as we discuss Linux/FOSS news and reviews. (2012-08-13T03:44:49)

The Command Line

Podcast and blog exploring digital citizenry as a creator and a consumer. (2012-08-12T21:06:26)

NosillaCast Mac Podcast

Allison Sheridan’s technology geek podcast with an EVER so slight Macintosh bias (2012-08-12T19:27:02)

Distrowatch Weekly Podcast, the popular Linux distribution news and information site, publishes a weekly news and commentary section. A Guest Host reads DistroWatch content, and adds a little of their own. (2012-08-12T17:15:00)

All Jupiter Broadcasting Videos

High Quailty videos from key Jupiter Broadcasting Shows. Content made for geeks, from The Computer Action Show, STOked our Star Trek Online podcast to Beer is Tasty, our beer review show! (2012-08-12T16:33:21)

Life on the edge of real and cyberspace. (2012-08-12T14:36:17)


Alles rund um die IT- und Techwelt (2012-08-12T06:00:08)

Sunday Morning Linux Review

with Mat, Tony, and Mary (2012-08-12T04:00:11)

The Bugcast

Music and chat from South Yorkshire in the UK (2012-08-11T02:00:48)

Linux Outlaws

Two pragmatic geeks talk about the latest news concerning Linux, free and open technology or anything else they deem noteworthy which may include such absurd things as hockey or bands you never heard of. This means there’s many a joke and derailed conversation along the way, so don’t come here expecting only Linux or software freedom talk just sit back and relax, partner. (2012-08-10T21:11:15)

InfoSec Daily Podcast

The InfoSec Daily Podcast with hosted by Rick Hayes with Boris Sverdlik, David Kennedy, Beau Woods, Adrian Crenshaw, Karthik Rangarajan, Geordy Rostad, Them_, and Dr. B0n3z. A daily Information Security podcast where we discuss vulnerabilities, the latest information security news as well as technical discussion and debates. (2012-08-10T21:04:21)

mintCast (ogg)

Welcome to mintCast, the podcast by the Linux Mint community for all users of Linux. (2012-08-10T17:33:09)

Spark from CBC Radio

Spark on CBC Radio One Nora Young helps you navigate your digital life by connecting you to fresh ideas in surprising ways. (2012-08-10T04:00:00)

Mike Tech Show Podcast

Technology and computer podcast discussing cool sites, software, tips and tricks that will make you more productive at home and work. (2012-08-10T01:58:00)

Juiced Penguin

A musical Oggcast for the Ogg community. Est. Jan 26, 2009 (2012-08-09T20:40:58)

The CyberJungle

The CyberJungle is the nation’s first news talk show on security, privacy and the law. Featuring digital forensics and infosec specialist Ira Victor and award-winning journalist Samantha Stone. The show is fast-paced and includes hard hitting news analysis. Formerly The Data Security Podcast. (2012-08-09T19:15:00)

Security Now!

Steve Gibson, the man who coined the term spyware and created the first anti-spyware program, creator of Spinrite and ShieldsUP, discusses the hot topics in security today with Leo Laporte. Winner of the 2009 and 2007 people’s choice award for best Technology/Science podcast. (2012-08-08T23:39:07)

Off The Hook: high-bitrate MP3 feed

Off The Hook is a weekly show on WBAI radio, New York, produced by 2600 Magazine. This feed offers a high-bitrate MP3 version of the show. (2012-08-08T20:00:00)

TGTM News Mp3 feed.

“Talk Geek To Me News” the Mp3 feed. (2012-08-08T18:20:42)

FLOSS Weekly

Each Wednesday we talk about Free Libre and Open Source Software with the people who are writing it. Part of the TWiT Netcast Network. (2012-08-08T10:56:40)

Network Security Podcast

The Network Security Podcast (2012-08-07T22:00:44)

Off The Wall: high-bitrate MP3 feed

Off The Wall is a weekly show on WUSB radio, Stony Brook – Long Island, produced by 2600 Magazine. This feed offers a high-bitrate MP3 version of the show. (2012-08-07T19:00:00)

Surprisingly Free (mp3)

A weekly podcast featuring in-depth discussions with an eclectic mix of authors, academics, and entrepreneurs at the intersection of technology, policy, and economics. (2012-08-07T12:30:47)


Saving the world, one level at a time. (2012-08-07T00:00:00)

Linux For The Rest Of Us

Linux For The Rest Of Us Podcast (2012-08-06T23:55:58)

Fuzion Podcast Network Tin Foil Hat


Tin Foil Hat

This is CafeNinjas soap-box for political awareness in regards to digital rights and practical personal security in the digital age. Following the latest in legal and policy changes with analysis on how it impacts you and your life. As well as practical tips and tricks on how the common non-hacker can help protect themselves online. (2012-08-06T16:49:16)


DeimHart ist ein Podcast von Dirk Deimeke und Roman Hanhart, bei dem vor allem Inhalte aus der freien Linux-, und OpenSource-Welt besprochen werden. Der Fokus liegt hufig bei Ubuntu und dessen Derivate. Nebenbei kommen auch gesellschaftliche Themen zur Sprache, die sich um das Feld der OpenSource-Gemeinschaft finden lassen. Die Mediendateien liegen im OGG- und MP3-Format vor.Das klingt gut … (2012-08-06T05:14:00)

Android Buffet Podcast

Hungry for Android? Get all you can eat at the Android Buffet Podcast…live on Mondays at 10PM Eastern (2012-08-06T04:16:58)

PaulDotCom Security Weekly

For the latest in computer security news, hacking, and research! We sit around, drink beer, and talk security. (2012-08-05T22:44:41)

Going Linux

Going Linux is a podcast for computer users who just want to use Linux to get things done. Whether you are new to Linux, moving from Windows to Linux, or thinking about upgrading to Linux, this podcast will provide you with practical, day-to-day advice on how to use Linux and Linux applications. (2012-08-05T00:00:01)

The Dick Turpin Road Show

Welcome to The Dick Turpin Roadshow, a humorous look at the Open Source community from comments on social networks, peoples blogs and websites to the mad bag lady on the street corner. Some, if not everything, said here is probably the fiction of our warped minds so theres little point in getting upset about anything we say. Hopefully you’ll find us funny and entertaining, there will be some rude words so if you have a weak heart or are easily offended this is not for you. (2012-08-04T11:04:30)

ECT News Network Broadcast

ECT News Network business and technology updates, with news and feature commentary from industry experts. (2012-08-03T14:59:54)

Linuxbasix ogg feed

This is a cast where we discuss various Linux topics. Provided in either MP3 and OGG versions. (2012-08-03T09:10:00)

omega tau

wissenschaft und technik im kopfhoerer / science and engineering in your headphones (2012-08-03T05:59:39)

TuxRadar Linux Podcast (Ogg)

The #1 source for Linux (2012-08-02T17:11:00)

The Linux Link Tech Show Ogg-Vorbis Feed

The Linux Link Tech Show (2012-08-02T10:30:00)

Ubuntu Podcast

Ubuntu Linux Podcast from the Ubuntu UK LoCo team (2012-08-01T20:39:14)

Social-Engineer.Org PodCast

The Official Social-Engineer.Org Podcast (2012-07-31T23:48:12)


Linux, Open Source und Netzkultur (2012-07-31T11:59:00)

Linux In The Shell

An exploration of Linux commands in the Bash Shell (2012-07-31T11:07:13)

TechTalk4Teachers – A Podcast For Teachers About Teaching, Learning, and Technology

TechTalk4Teachers podcast (blogcast, netcast, webcast, zunecast, educast, teachercast, tomcast – your choice of vocabulary) is for educators wanting to keep up with the latest advances in educational technologies and their practical applications in classrooms. We have a little something for everyone from kindergarten teachers to university professors. Keep on learning! (2012-07-31T08:02:03)


Talking about the BSD family of free operating systems. (2012-07-31T00:12:00)

Linux in the Ham Shack

Linux, Open Source and Ham Radio for Everyone (2012-07-30T00:39:44)


Ein Podcast, der sich mit dem Web, Technologie und Open Source Software auseinander setzt (2012-07-27T18:30:00)

The Silver Bullet Security Podcast with Gary McGraw

Cigital CTO Gary McGraw discusses software security with security gurus. (2012-07-27T18:10:03)

Linux In Da House

One Family 100% Linux (2012-07-23T04:02:26)

GNU World Order Linux OggCast

Use GNU Linux. (2012-07-22T13:36:59)


Before It Bytes! (2012-07-21T03:27:13)


A humorous but honest look at Linux distros (2012-07-20T09:26:22)

Free as in Freedom

A bi-weekly discussion of legal, policy, and other issues in the open source and software freedom community (including occasional interviews) from Brooklyn, New York, USA. Presented by Karen Sandler and Bradley M. Kuhn. (2012-07-17T10:30:00)

Crypto-Gram Security Podcast

Audio of Bruce Schneier’s Monthly Crypto-Gram Security Newsletter (2012-07-15T13:26:00)


The home of the /dev/random podcast (2012-07-11T17:05:47)

Full Circle Magazine podcast

The independent magazine for the Ubuntu Linux community. (2012-07-04T19:21:37)

Eurotrash Security Podcast: Security with funny accents

This the Eurotrash : Security with funny accents. Discussing recent security newsbites and chatting up with European infosec rockstars. (2012-07-02T15:42:00)

MythTV Cast RSS Feed

MythTV Cast RSS Feed (2012-06-29T06:04:26)

Unix Clubhouse Podcast

The Unix Clubhouse Podcast is a fun show about Unix, Linux, BSD, Open Source Software and other things going on in my life. (2012-06-29T05:00:00)


Sourcetunk will try to demystify the beautiful beast that is Open Source and show the listeners the more practical examples of Open Source and Free Software. It will discuss software for Linux, BSD, MacOSX and Microsoft Windows systems (2012-06-26T19:00:00)

Digital Campus

A discussion of how digital media and technology are affecting learning, teaching, and scholarship at colleges, universities, libraries, and museums. (2012-06-26T18:22:54)

All In IT Radio (ogg)

Join us as we talk about everything related to Information Technology, and some other random stuff as well. (2012-06-21T18:26:59)

Finux Tech Weekly Podcast

Finux Tech Weekly Podcast. There is an ogg version of the show you can subscribe to the RSS feed to that show at (2012-05-25T12:00:00)

The Open Network

The Open Network podcast is all about open source, open core, open standards and open ideas. Each episode features an interesting personality with their take on open. Hosted by Alan Shimel, Managing Partner of The CISO Group and Network World open source blogger, Open Network will keep you abreast of the open world. (2012-05-15T00:00:00)


A blend of Creative Commons music and FOSS chat with Kevie (2012-05-09T00:19:29)

Tech Misfits

This time it\’s technical. (Thanks Special K) (2012-05-08T13:45:33)

Aussie Geek Podcast

Bloody Awesome Tech (2012-04-14T03:39:49)

QSK Netcast

Cluttering Up the Gaps in Your Life (2012-04-04T02:38:42) | Hacker’s Podcast – By Hackers and for Hackers

A podcast for Hackers. (2012-04-02T18:34:31)

Open Source Musician Podcast

Your guide to Open Source for musicians. (2012-02-08T04:41:51)

Linux News Log

Separating the Linux and Open Source Signal from The Noise. (2012-01-23T05:58:57)

Linux Trivia Podcast

Verbal’s Linux Trivia Podcast (2011-09-19T22:40:00)

Information Underground Speexcast

“Information Underground” Speexcast features tech audiocasters speaking on non-tech issues (usually.) (2011-08-08T20:42:26)

Anonymous Audio Netcast

Privacy Netcast for a Digital World (2011-08-08T15:14:58)

the_source – Your Source For Open Source, Hacking and Making

the_source – Your Source For Open Source, Hacking and Making (2011-07-06T08:02:40)

Novell Open Audio

Connecting Novell users with what’s going on inside and around the Novell universe. (2011-06-06T19:15:37)

The lottalinuxlinks linux podcast ogg feed

Linux user podcast from (ogg feed) (2011-02-19T05:12:17)

Shot of Jaq

Ten minutes of short, sharp, informed, and funny comment about the open source world (2010-07-13T10:00:18)

Inkscape tutorials for the novice and intermediate graphic artist. (2010-05-26T12:51:31)

LinuxLink Radio by TimeSys

This is a Podcast for embedded Linux developers. We discuss the latest news and how to’s in the world of embedded Linux. (2009-06-12T04:00:00)

Free Linux Helpline

If you are new to Linux or just curious, this show is a great way to learn more and get some help with problems you may face. Visit our website for lots of useful information about Linux as well as instructions on how to call in to the show! This is our attempt to make a friendly place to help and encourage new Linux users without the RTFM attitude that has made many Linux forums infamous. The ogg feed can be found at: (2009-04-24T01:04:37)

IBM Linux Technology Center Podcast

Tune in weekly for this series about Linux and IBM, with Tom Gall as your host. Tom interviews various luminaries from IBM who work on various open source technologies. Hear all about their efforts, what it is, what it can do for you and how IBM is working with the larger open source community to make the world a better place. (2008-08-08T15:46:58)

Bungee Connect Developer Network The Bungee Line

Feed for the Bungee Connect Developers Around the World (2008-08-04T16:41:27)

Archived Shows

Posted in General | Comments Off

Active Linux Podcasts

I’m putting a list of Linux/Tech/Security podcasts together to hand
out at http://OggCamp .org. The list comes from and I want to know am I missing any
active podcasts.

BSD Talk ( )
Category5 ( )
CCHits ( )
Crivins ( )
/dev/random ( )
DistroCast ( )
Distro Watch Weekly Podcast ( )
DroidNation ( )
FLOSS Weekly ( )
Free As In Freedom ( )
Frostcast ( )
Full Circle Magazine podcast ( )
Games And More Entertainment Radio ( )
GNU World Order ( )
Going Linux Podcast ( )
Hacker Media ( )
Hacker Public Radio ( )
Information Underground ( )
Juiced Penguin Oggcast ( )
Kernel Panic Oggcast ( )
Knight Wise Radio ( )
Linux Action Show ( )
Linux Basix ( )
Linux Crazy ( )
Linux for the Rest of Us ( )
Linux In Da House ( )
Linux in the Ham Shack ( )
Linux In The Shell ( )
Linux News Log ( )
Linux Outlaws ( )
Linux Trivia Podcast ( )
Mint Cast ( )
MythTV Cast ( )
Network Security Podcast ( )
OpenSource Musicians Podcast ( )
PaulDotCom Security Weekly ( )
QSK Cast ( ) ( )
Source Trunk ( )
Sunday Morning Linux Review ( )
Talk Geek To Me ( )
Tech Misfits ( )
The BSD Show ( )
The Bugcast ( )
The Command Line Podcast ( )
The Dick Turpin Road Show ( http:// )
The Linux Link Tech Show ( )
The Source Show ( )
The Techie Geek ( )
Tin Foil Hat ( )
TuxJam ( )
Tux Radar ( )
Ubuntu UK Podcast ( )
€uroTr@sh: Information Security Podcast  ( )

Posted in General | 8 Comments

Using xrandr to ensure that your rdesktop session will always be 90% of the smallest screen

rdesktop is an open source client for Windows NT Terminal Server and Windows 2000 & 2003 Terminal Services, capable of natively speaking Remote Desktop Protocol (RDP) in order to present the user’s NT desktop. Unlike Citrix ICA, no server extensions are required” at least according to yum info rdesktop.

I’ve been using it for years to connect to windows servers and pc’s. So useful is it that I use a version of the script below to automate the connections. The first line allows me to create a symlink in my ~/bin directory to the rdesktop.bash file, such that the name of the symlink itself is used as the server name.

I was using a -g of 90% which works out to having a remote desktop that fits nicely on whatever computer I happen to be using.
-g Desktop geometry (WxH). If geometry is the special word "workarea", the geometry will be fetched from the extended window manager hints property _NET_WORKAREA, from the root window. The geometry can also be specified as a percentage of the whole screen, e.g. "-g 80%".

However for the last while I have been using a dual monitor and this presented me with an issue as the 90% value gives me a screen spanning 90% of the combined area of both monitors. This is not what I want and so I have been overriding the setting with rdesktop.bash -g 800x600. This is less than ideal̇ as I need to calculate the values based on the systems I was working at.

Today I used the magic of xrandr to give me the horizontal and vertical sizes of the smallest screen and then used bc to calculate what 90% of the smallest screen is.

Pretty it aint but you might find the idea useful.

SERVER=`basename $0`
h=$(echo "scale=0;(($(xrandr | grep " connected " |  awk '{print $3}' | awk -F '+' '{print $1}' | awk -F 'x' '{print $1}' | sort -n | head -1 )/100)*90)" | bc)
v=$(echo "scale=0;(($(xrandr | grep " connected " |  awk '{print $3}' | awk -F '+' '{print $1}' | awk -F 'x' '{print $2}' | sort -n | head -1 )/100)*90)" | bc)
PASSWORD='-p mypassword'
for var in "$@"
    varparam=$(echo ${var}|awk -F '=' '{print $1}')
    if [ "${varparam}" == "-g" ];then 
      SIZE=$(echo ${var}|awk -F '=' '{print $2}')
rdesktop -d workgroup -u ${USERNAME} ${PASSWORD} -g ${SIZE} ${SERVER} -T "${SERVER}" -r disk:mypc=/ $1 -k en-us&
Posted in General | Leave a comment

8 years 4 days of flawless service

I installed my server on Jul 31 2004 and much like the witches broom in many a Terry Pratchett book, my old server went through many upgrades but remained the same server. It had two new cases, many new hard disks, two house moves, but one OS, namely Debian GNU/Linux unstable.

In all those eight years, it never let me down, surviving flood, power outages and most dangerous of all, my administration. The server was a test bed for anything I was experimenting with at the time and it shocks me that it continued to plough on, upgrade after upgrade. A testement to the fantastic work of the entire Debian Community.

The new server is a Raspberry PI and it also runs Debian but is a smidgen smaller.

Big and Small

So despite all this loyal service, I am turning it off today as it simply is taking too much power to run. So thanks for the loyal service and enjoy your well earned retirement as a backup server.

server:~# uname -a
Linux video 3.2.0-2-amd64 #1 SMP Fri Apr 6 05:01:55 UTC 2012 x86_64 GNU/Linux
server:~# uptime
 12:22:33 up 114 days, 16:45,  1 user,  load average: 0.03, 0.09, 0.07
server:~# ls -al /etc/pam.conf
-rw-r--r-- 1 root root 552 Jul 31  2004 /etc/pam.conf
server:~# halt

Broadcast message from root@video (pts/0) (Sat Aug  4 12:23:00 2012):

The system is going down for system halt NOW!
server:~# Connection to 192.168.x.y closed by remote host.
Shared connection to 192.168.x.y closed.
Posted in General | Leave a comment

TrueCrypt on a Respberry PI (no gui)

These are the steps that I took to compile the application without a gui.

  • Get the truecrypt source from and download the “Mac OS X / Linux (.tar.gz)” file and save it to a directory.
  • Get the wxWidgets from You will need this even if you are not planning to run a GUI.
  • You also need the fuze development libraries which you can install in Raspbian using
    aptitude install libfuse-dev
  • You need to get the RSA Security Inc. PKCS #11 Cryptographic Token Interface (Cryptoki) 2.20 header files

To compile the application do as suggested in the post Truecrypt Seems to work pretty well. The wxbuild took me 23m21.490s and the make of TrueCrypt itself took 51m29.737s

$ export PKCS11_INC=/usr/local/src/truecrypt/pkcs/
$ make NOGUI=1 WX_ROOT=/usr/src/wxWidgets wxbuild
$ sudo cp -v Make/truecrypt /usr/local/bin/

$ sudo cp -v Main/truecrypt /usr/local/bin/

You can then run it using the following command.
truecrypt -t -k "" --protect-hidden=no /tmp/test.truecrypt /tmp/key/ -v -m=nokernelcrypto

Posted in General | 5 Comments

Find out which installed file belongs to which package in Fedora and Debian

I was looking for a binary to know which package it was installed, in this case the mail application.

For Debian:
dpkg --search $(readlink -m $(which mail))
bsd-mailx: /usr/bin/bsd-mailx

For Fedora:
$ rpm -qf $(readlink -m $(which mail))

The which mail just tells me where the mail application is in the path.
The $(…) invokes command substitution in a sub shell, which means that the commands in the brackets will be run first and the result will be passed back.
The readlink command will print value of a symbolic link or canonical file name which means “tell me what the original file name is even if the application points to a symlink.
The -m option will canonicalize by following every symlink in every component of the given name recursively, without requirements on components existence, which means it will keep following the symlink chain to the end regardless of whither the symlinks are bad or not.
All that will give you the path to the actual application you are interested in.
Then you pass it to your package manager to identify which package has installed that application.
In Debian it’s dpkg --search and in Fedora it’s rpm -qf.

Posted in General | Leave a comment