Skip to content

Linux/BSD Geek

Long Live the Penguin and Beastie ambien online legallysilagra 100amerimedrxdrugs without prescriptions indiaviagra over night deliverydoxycycline pricereputable online pharmacies canada expresssilagra india"view site"viamedic scamlow cost viagra 100mgpraziquantel
view websitebuy online viagra australiacheap ed pillscanadian pharmacies online effects of prednisone withdrawalindia online pharmacy


Category: BSD

Playing with kpcli.

kpcli is a "KeePass Command Line Interface (CLI) / interactive shell. Use this program to access and manage your KeePass 1.x database from a Unix-like command line."

Want to see if I can get it working on FreeBSD 9.0.


# portmaster devel/p5-Clone
# portmaster security/p5-Crypt-Rijndael
# portmaster textproc/p5-Sort-Naturally
# portmaster devel/p5-Term-ReadKey
# portmaster shells/p5-Term-ShellUI

# perl -MCPAN -e 'install File::KeePass'

$ ./

KeePass CLI (kpcli-1.2) v1.2 is ready for operation.
Type 'help' for a description of available commands.
Type 'help ' for details on individual commands.
* Please install Term::ReadLine::Gnu for better functionality!



Playing with some software that needs to get out through a proxy.

$ git config --global http.proxy
$ git config --get http.proxy

Was playing with the installation of some software and I stupidly ran ldconfig without any options. After that I couldn't log in or change users without getting this error:

/libexec/ Shared object "" not found, required by "bash"

Found a fix via Google:

/rescue/ldconfig /lib
/etc/rc.d/ldconfig start

I am trying to install FreeBSD 8.0 on a hard drive that used to have FreeNAS installed on it. Unfortunately, when I got to the part of sysinstall where it starts formatting the drives, I get the following error:

Unable to find device node for /dev/ad6s1b in /dev/ad6! Creation of filesystem will be aborted.

Did some Google searches and found the fix was to overwrite the MBR with dd if=/dev/zero of=/dev/ad6 bs=512 count=1 and various combinations of the dd command. I tried it every way from Sunday with no flippin' luck. I was getting really pissed. I even tried installing another Linux distro but I had other issues there.

Finally found a fix - Run Darik's Boot and Nuke (aka DBAN)!!

I let it overwrite about 1% of the disk, rebooted and started in the install again. Now things are working great.

I've decided to write the BSDA certification exam at LinuxFest Northwest at the end of April. I also need to renew one of my SANS certifications by the end of May. I must like stressing myself out.

I ordered and received the Winter 2010 BSDA Courseware DVD in the mail a couple of days ago. I know the materials are all available on the 'net for free but I like to support a good cause.

If you've done the BSDA exam, drop me a note if you have any recommended study methods, tips, tricks, etc.

Now that I've moved to xmonad for all my desktops I've also made the switch to rxvt-unicode (or urxvt) as my primary terminal. Now when I ssh into some of my boxes I get the following errors when I try to edit a file:

$ vi filename
vi: No terminal database found
$ nano layout.css
Error opening terminal: rxvt-unicode.

What's weird is this happens on some of my FreeBSD 8.0 boxes and not others.

Figured out a fix.

# export TERM=screen
# cd /usr/share/misc
# nano termcap

Added the following just below the 'rxvt-mono' section:

Termcap entry for rxvt-unicode, taken from rxvt-unicode|rxvt-unicode terminal (X Window System):\

# cap_mkdb termcap

Log out and back in again and you should now be able to use vi/nano/pico/etc.

BTW: This isn't anything original. I found the fix at

NOTE: These are very rough instructions. I need to clean them up more.

# portmaster bitlbee

continue reading...

Installed PC-BSD on my laptop. I'm really impressed. Just ran into a few weird issues. I could not open Konsole. It would flash open and die. If I ran it manually from xterm I got some errors with the following on the last line:

konsole(79539):Attempt to use QAction "change-profile" with KXMLGUIFactory!

Did some searching and found the fix here

1) Run xterm
2) konsole -e bash
3) Settings -> Change Profile -> Shell
4) Settings -> Edit Current Profile
5) Change Command: to '/usr/local/bin/bash

Now konsole will work great.


LinuxFest Northwest takes place at Bellingham Technical College on April 25 and 26, 2009. Admission and parking are free, and all ages are welcome. Registration is not required to attend—just show up and have fun!

This will be my 6th year attending LFNW and I wouldn't miss it for the world. It's an amazing event.

NOTE: These are updated instructions. I screwed up my FreeBSD box so I decided to dump the Tracks database and reinstall everything. My old docs (FreeBSD 7.0 and Tracks 1.5) can be found at

First a couple of notes:

1) I already had Apache22 installed on this machine. I deinstalled the various package (such as MySQL, Apache22, rubygem, etc) and tried to remove all remnants but I may have missed something. So if a directory doesn't exist on your system that I mention or other weird things show up then let me know and I'll update my docs. If you have any suggestions for improvements or changes let me know.

2) I'll be putting 'testing' as a password throughout this. Please use a proper secure password wherever you see 'testing'.

3) USE AT YOUR OWN RISK This installation is being done on a machine on my private LAN behind a firewall. I do not guarantee that this system is secure in the slightest. If these instructions blow up your machine, give you brain tumors or cause you to suddenly like New Kids on the Block don't blame me!

If you agree with the above then let's get started... continue reading... levitra pills overseas website kostenwhere can i buy viagra in new york 25mg