Skip to content

Linux/BSD Geek

Long Live the Penguin and Beastie
http://www.dekalbclinic.com/gudr/isotretinoin-buy-ukhttp://www.dekalbclinic.com/gudr/trazadone-without-prescriptionbuy ambien online legallysilagra 100amerimedrxdrugs without prescriptions indiaviagra over night deliverydoxycycline pricereputable online pharmacies canadahttp://www.dekalbclinic.com/gudr/lipitor-without-rxsitepharmacy expresssilagra indiahttp://www.dekalbclinic.com/gudr/motilium-without-prescription"view site"viamedic scamlow cost viagra 100mgpraziquantelhttp://www.dekalbclinic.com/gudr/bupropion-for-salehttp://www.dekalbclinic.com/gudr/phenergan-non-prescription
view websitebuy online viagrahttp://www.viltkunst.com/pef/levitra-tablets.phpfinasteride australiacheap ed pillscanadian pharmacies onlinehttp://deal75.com/daga/buy-cialis-online-canada.phphttp://www.fairmounttruckrental.com/qilt/buy-propecia.htmlside effects of prednisone withdrawalindia online pharmacy

Archive

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.

Prerequisites

# 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'

$ ./kpcli-1.2.pl

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!

kpcli-1.2:/>

YIPPEE!! IT WORKS!

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

$ git config --global http.proxy http://myproxy.domain.com:1234
$ git config --get http.proxy

http://myproxy.domain.com:1234

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/ld-elf.so.1: Shared object "libintl.so.8" 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 http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.html#I_need_a_termcap_file_entry rxvt-unicode|rxvt-unicode terminal (X Window System):\
:SF=\E[%dS:SR=\E[%dT:bw:ec=\E[%dX:kb=\177:kd=\EOB:ke=\E[?1l\E>:\
:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:lm#0:te=\E[r\E[?1049l:\
:ti=\E[?1049h:tc=rxvt-mono:

# 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 http://lists.freebsd.org/pipermail/freebsd-bugs/2009-April/034865.html

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.

totemcomplete

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 http://www.linuxgeek.ca/wordpress/?p=80

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...

http://www.rfiore.com/asgo/buy-brand-viagra-100mg-onlinecheap levitra pillshttp://www.rfiore.com/asgo/where-to-buy-levitraviagra overseashttp://www.rfiore.com/asgo/online-levitra-paypalview websitehttp://www.rfiore.com/asgo/buy-eurax-cream-onlinelevitra kostenwhere can i buy viagra in new yorkhttp://www.rfiore.com/asgo/buy-authentic-viagra-onlineanafranil 25mghttp://www.rfiore.com/asgo/cymbalta-over-the-counter