<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5642827</id><updated>2012-02-16T12:29:00.902-06:00</updated><category term='calendar'/><category term='flash'/><category term='ssh tunnels'/><category term='openbsd packages pkg_path alias pkg_find'/><category term='mailing list help'/><category term='hashes'/><category term='xwd'/><category term='pf'/><category term='load calculate'/><category term='ps'/><category term='adding swap'/><category term='4.6 pre-orders'/><category term='xterm'/><category term='upgrade'/><category term='web site update'/><category term='sed'/><category term='sum'/><category term='system info'/><category term='firefox'/><category term='encryption'/><category term='mutt'/><category term='awk'/><category term='will blackman'/><category term='passive agressive spam filtering'/><category term='cryptographic algorithms'/><category term='news feeds'/><category term='rmd160'/><category term='tips'/><category term='passwordless login'/><category term='OpenBSD system df script'/><category term='email'/><category term='wordwrap'/><category term='vim'/><category term='mc'/><category term='xwud'/><category term='silc'/><category term='X desktop'/><category term='greasemonkey'/><category term='openbsd cups samba pnm2ppa foomatic-rip'/><category term='sha256'/><category term='sha512'/><category term='cronjob'/><category term='scripting'/><category term='openbsd tips tricks newbies multimedia dvd ripping burning'/><category term='openbsd'/><category term='shell scripting'/><category term='puffy'/><category term='tips and tricks'/><category term='security'/><category term='clamav update'/><category term='sha384'/><category term='bsd tips and tricks'/><category term='chrooted pure-ftpd and pf'/><category term='icmp'/><category term='web site server problem'/><category term='port make'/><category term='blacklists'/><category term='desktop'/><category term='desktop wallpaper'/><category term='rsa keys'/><category term='color'/><category term='bsdtalk'/><category term='free shell accounts'/><category term='2011 calendar'/><category term='mutt gpg keys'/><category term='screenshot'/><category term='firefox and external mailto links'/><category term='procmail'/><category term='network usage tracking'/><category term='getmail'/><category term='midnight commander'/><category term='sha1'/><category term='web site blog'/><category term='conky'/><category term='bsd professional certification'/><category term='ntpd'/><category term='pc-bsd'/><category term='search engines'/><category term='pnmtopng'/><category term='dd-wrt'/><category term='tarpit'/><category term='perl'/><category term='import'/><category term='xargs'/><category term='youtube'/><category term='googlecl'/><category term='tor'/><category term='openbsd tips tricks newbies'/><category term='usb minimal bootable image no x'/><category term='sysvsum'/><category term='xwdtopnm'/><category term='newbies'/><category term='notifications'/><category term='openbsd scripting system maintenance'/><category term='bsd mag'/><category term='md4'/><category term='script'/><category term='patching'/><category term='windows'/><category term='irc'/><category term='seamonkey'/><category term='.netrc'/><category term='linux'/><category term='tweeting'/><category term='tiips and tricks'/><category term='router'/><category term='multimedia dvdbackup streamdvd streamanalyze dvdauthor lsdvd tcprobe openbsd'/><category term='tricks'/><category term='at scheduler'/><category term='netstat'/><category term='antispam'/><category term='wallpaper'/><category term='fluxbox'/><category term='bsd'/><category term='port hack'/><category term='ssh'/><category term='irssi'/><category term='new web site page'/><category term='socks 5 proxy'/><category term='cksum'/><category term='character limit'/><category term='ftpfs.c'/><category term='remote printing'/><category term='conky system statistics'/><category term='mailing lists'/><category term='greylisting'/><category term='command line ftp'/><category term='persistent tables'/><category term='unix'/><category term='twitter'/><category term='package update checking'/><category term='kernel'/><category term='samba'/><category term='command line'/><category term='md5'/><category term='saving tips'/><category term='dru lavigne'/><category term='girish venkatachalam'/><category term='ipv6'/><category term='xwininfo'/><title type='text'>Denny's Blog</title><subtitle type='html'>Polarwave. Name has meaning only for myself and several
relatives who are now waiting for me beyond the veil. On
most sites I'm known as Dennyboy, hence the name of this
blog. I started it to keep an ongoing record of my learning experiences in OpenBSD and FreeBSD. Been an uphill fight, quite a bit of the way, having come from a
"WINDOZE" background, but I keep plugging away and over
time have made quite a bit of progress.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default?start-index=101&amp;max-results=100'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>123</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5642827.post-2062056421162703100</id><published>2011-08-22T01:05:00.003-05:00</published><updated>2011-08-22T01:13:04.407-05:00</updated><title type='text'>Find OpenBSD folks on Google Plus</title><content type='html'>Easy way to find OpenBSD folks on Google Plus at&lt;br /&gt;
&lt;a href="http://gplussearch.com/"&gt;Google+ Search&lt;/a&gt;&lt;br /&gt;
Pimp your Google Plus pic at&lt;br /&gt;
&lt;a href="http://turhan.me/+me/"&gt;+me&lt;/a&gt;&lt;br /&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-2062056421162703100?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/2062056421162703100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=2062056421162703100' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/2062056421162703100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/2062056421162703100'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2011/08/find-openbsd-folks-on-google-plus.html' title='Find OpenBSD folks on Google Plus'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-3853984480551242155</id><published>2011-07-12T02:27:00.002-05:00</published><updated>2011-07-12T02:30:02.281-05:00</updated><title type='text'>Blogging From My Cell</title><content type='html'>If I can get used to blogging from my cell phone it sure would help&lt;br&gt;me out. I know everyone is doing it now, but it&amp;#39;s rough on this phone.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-3853984480551242155?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/3853984480551242155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=3853984480551242155' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/3853984480551242155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/3853984480551242155'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2011/07/if-i-can-get-used-to-blogging-from-my_12.html' title='Blogging From My Cell'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-6667771810703382508</id><published>2011-07-12T01:21:00.002-05:00</published><updated>2011-07-12T01:39:06.536-05:00</updated><title type='text'>No More Website</title><content type='html'>Got to squat on a friend's domain for quite a while which I used&lt;br /&gt;
for showing people new to OpenBSD how to get everyday things&lt;br /&gt;
done. I called it &lt;b&gt;Polarwave's Tips &amp; Tricks for Newbies&lt;/b&gt;. Saved&lt;br /&gt;
all the material and may eventually put it back up somewhere new,&lt;br /&gt;
but for now this blog will have to do. Some of the material was out&lt;br /&gt;
date as is a lot of the older entries here. Originally I started this blog&lt;br /&gt;
not so much as a tutorial site but more as an ongoing journal of my&lt;br /&gt;
experiences with OpenBSD. In the process I hope others got some&lt;br /&gt;
help from it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-6667771810703382508?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/6667771810703382508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=6667771810703382508' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6667771810703382508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6667771810703382508'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2011/07/no-more-website.html' title='No More Website'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-2305746877815496251</id><published>2011-07-10T22:06:00.003-05:00</published><updated>2011-07-10T22:40:11.448-05:00</updated><title type='text'>Lynx and URL Shortening</title><content type='html'>I use tmux and normally have 8 virtual terminals running inside&lt;br /&gt;
my xterm. Found out I didn't have to run a GUI browser with js&lt;br /&gt;
to be able to shorten links. &lt;a href="http://ur1.ca/"&gt;URL Generator&lt;/a&gt; does a real nice job&lt;br /&gt;
of it from inside lynx. This way I can run lynx in one virtual&lt;br /&gt;
terminal and &lt;a href="http://www.floodgap.com/software/ttytter"&gt;TTYtter&lt;/a&gt; inside another and copy my shortened&lt;br /&gt;
links over. That is if I do not wish to use Twitter's built-in URL&lt;br /&gt;
shortening service which works great in TTYtter. You type&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;/short http://somewebaddress.com&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

and it's darned near instantaneous. But there are other times I&lt;br /&gt;
can use the URL Generator too, like in mutt in a different terminal,&lt;br /&gt;
composing a message and wishing to put in a shortened URL.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-2305746877815496251?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://ur1.ca/' title='Lynx and URL Shortening'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/2305746877815496251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=2305746877815496251' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/2305746877815496251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/2305746877815496251'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2011/07/lynx-and-url-shortening.html' title='Lynx and URL Shortening'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-4190829833523571221</id><published>2011-01-26T20:56:00.006-06:00</published><updated>2011-01-26T21:25:42.042-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='port make'/><category scheme='http://www.blogger.com/atom/ns#' term='port hack'/><category scheme='http://www.blogger.com/atom/ns#' term='midnight commander'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><category scheme='http://www.blogger.com/atom/ns#' term='mc'/><category scheme='http://www.blogger.com/atom/ns#' term='ftpfs.c'/><title type='text'>Midnight Commander</title><content type='html'>Got around to try using &lt;b&gt;mc(1) (Midnight Commander)&lt;/b&gt;&lt;br /&gt;
for ftp and ssh file operations. Didn’t have any problem&lt;br /&gt;
with ssh, but I couldn’t get anything going with ftp except&lt;br /&gt;
errors, especially:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;ftpfs: invalid value for ai_flags&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

Read the man page and the Makefile, searched some of&lt;br /&gt;
the OpenBSD mailing lists, and came up with:&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://marc.info/?l=openbsd-ports&amp;m=128199783631829&amp;w=2"&gt;Midnight Commander error on 4.7:&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

Here’s a snippet from that link:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;I’m not a good C coder, so I just did some basic&lt;br /&gt;
research and replaced line 703 in ftpfs.c:&lt;br /&gt;
old: “hints.ai_flags = AI_ADDRCONFIG;”.&lt;br /&gt;
new: “hints.ai_flags = 1;”&lt;br /&gt;&lt;br /&gt;

Now it works as expected.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

I didn’t have any idea how to do the above, but figured&lt;br /&gt;
it was time I learned, so first I used &lt;b&gt;pkg_delete(1)&lt;/b&gt; to&lt;br /&gt;
uninstall &lt;b&gt;mc(1)&lt;/b&gt;. I knew when you build a port it will&lt;br /&gt;
download the port file and extract all its files in&lt;br /&gt;
subdirectories under &lt;b&gt;/usr/ports&lt;/b&gt;. I found the file I&lt;br /&gt;
needed, &lt;b&gt;ftpfs.c&lt;/b&gt;, under:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;/data2/mktemp/obj/mc-4.7.0.6p0/mc-4.7.0.6/lib/vfs/mc-vfs&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

That’s because of limited space on my main drive and&lt;br /&gt;
fixing that problem by creating &lt;b&gt;/etc/mk.conf&lt;/b&gt; and adding:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;WRKOBJDIR=/data2/mktemp/obj&lt;br /&gt;
DISTDIR=/data2/mktemp/distfiles&lt;br /&gt;
PACKAGE_REPOSITORY=/data2/mktemp/packages&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

I edited &lt;b&gt;ftpfs.c&lt;/b&gt; as described above, deleted the installed&lt;br /&gt;
package, changed directory into &lt;b&gt;/usr/ports/misc/mc&lt;/b&gt;,&lt;br /&gt;
and did:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;sudo make -D –with-vfs -D –with-samba \&lt;br /&gt;
-D –with-screen=slang -D –with-subshell \&lt;br /&gt;
-D –enable-charset&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

I don’t know if there is a way to tie all those together&lt;br /&gt;
without all the extra &lt;b&gt;-D’s&lt;/b&gt;, and comments are welcome,&lt;br /&gt;
but I was tired at that point of all the searching to fix the&lt;br /&gt;
problem, so I did it the long way and it worked. Then I&lt;br /&gt;
did make install, then opened mc and this time ftp worked.&lt;br /&gt;
Mission accomplished! :-)&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-4190829833523571221?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/4190829833523571221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=4190829833523571221' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4190829833523571221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4190829833523571221'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2011/01/midnight-commander.html' title='Midnight Commander'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-7166580738468658895</id><published>2011-01-09T18:14:00.004-06:00</published><updated>2011-01-09T18:56:35.419-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wordwrap'/><category scheme='http://www.blogger.com/atom/ns#' term='googlecl'/><category scheme='http://www.blogger.com/atom/ns#' term='character limit'/><title type='text'>GoogleCL Wordwrap Test</title><content type='html'>Was wondering how to create lengthy posts for Blogger from the command
line with GoogleCL since I know the sentences will wrap and eventually
I'll encounter the command line character limit. I keep remembering the
figure 255. Not sure if that still holds true or not.&lt;br /&gt;&lt;br /&gt;

The above paragraph was done from the command line with googlecl.&lt;br /&gt;
I used the following command:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;google blogger post --tags "googlecl, wordwrap, character limit" \&lt;br /&gt;
--title "GoogleCL Wordwrap Test" ~/path/file&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

I read at &lt;a href="https://code.google.com/p/googlecl/wiki/ExampleScripts"&gt;Google code googlecl&lt;/a&gt; that &lt;b&gt;--src&lt;/b&gt; is required which I took to&lt;br /&gt;
mean the path to the file that was being used for the post. When I tried&lt;br /&gt;
it, though, I got an error and it didn't post. I removed &lt;b&gt;--src&lt;/b&gt; from the&lt;br /&gt;
command line and it worked, the entry posted. So, I still have some&lt;br /&gt;
things to learn. :-)&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-7166580738468658895?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/7166580738468658895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=7166580738468658895' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/7166580738468658895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/7166580738468658895'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2011/01/googlecl-wordwrap-test.html' title='GoogleCL Wordwrap Test'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-6244881561080859019</id><published>2011-01-09T00:22:00.010-06:00</published><updated>2011-01-09T00:40:16.549-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='puffy'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><category scheme='http://www.blogger.com/atom/ns#' term='desktop wallpaper'/><category scheme='http://www.blogger.com/atom/ns#' term='2011 calendar'/><title type='text'>2011 OpenBSD Puffy Desktop Calendar</title><content type='html'>Made an OpenBSD Puffy desktop calendar wallpaper for myself. &lt;br /&gt;
It’s 406×700 pixels. You can put it on a black background or&lt;br /&gt;
copy and paste it into a plain black image of your own making&lt;br /&gt;
the size of your desktop. Took Puffy from a snapshot of the&lt;br /&gt;
OpenBSD ftp login screen and pasted it into the calendar image.&lt;br /&gt;
The characters and Puffy are kind of subdued terminal green color.&lt;br /&gt;&lt;br /&gt;

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_TWAd59NkkhM/TSlXqEXC9XI/AAAAAAAAAFs/Nd7vcLwFbyc/s1600/2011puffy.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 232px; height: 400px;" src="http://2.bp.blogspot.com/_TWAd59NkkhM/TSlXqEXC9XI/AAAAAAAAAFs/Nd7vcLwFbyc/s400/2011puffy.jpg" alt="" id="BLOGGER_PHOTO_ID_5560071595202114930" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-6244881561080859019?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/6244881561080859019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=6244881561080859019' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6244881561080859019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6244881561080859019'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2011/01/2011-openbsd-puffy-desktop-calendar.html' title='2011 OpenBSD Puffy Desktop Calendar'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_TWAd59NkkhM/TSlXqEXC9XI/AAAAAAAAAFs/Nd7vcLwFbyc/s72-c/2011puffy.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-8528301141773729705</id><published>2011-01-08T00:27:00.010-06:00</published><updated>2011-01-09T00:19:43.752-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='googlecl'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><title type='text'>GoogleCL on OpenBSD</title><content type='html'>Installed googlecl on OpenBSD 4.8 tonight. Looked at the port's&lt;br /&gt;
Makefile and didn't see anything special, so I just installed the&lt;br /&gt;
package. First time you run googlecl it creates its config file in&lt;br /&gt;
&lt;b&gt;~/.googlecl&lt;/b&gt;. When you run it there will be a long outputted&lt;br /&gt;
string and it'll tell you before you hit enter you will need to&lt;br /&gt;
okay access. You do that through the browser while in your&lt;br /&gt;
Google account in:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;My Account&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Change authorized websites&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

The catch is, I had to open my browser to do that, and it made no&lt;br /&gt;
difference to googlecl. Each time after okaying it in my account&lt;br /&gt;
settings in my browser googlecl still errored out. I added the&lt;br /&gt;
following to the config file to fix it:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;auth_browser = /usr/local/bin/seamonkey&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

This time when I hit enter it opened a new tab in my browser and&lt;br /&gt;
everything worked. After it was working I tried doing a listing of&lt;br /&gt;
my docs and it worked. Next I ran some commands that accessed&lt;br /&gt;
contacts, blogger, and calendar, and got all of them okayed in my&lt;br /&gt;
account settings. Still a lot to learn, but it's working okay now.&lt;br /&gt;
Just a matter of reading up more on it online and playing around&lt;br /&gt;
with it. Incidentally, I uploaded this post with googlecl. Didn't&lt;br /&gt;
format quite like I wanted and I had to do some editing from my&lt;br /&gt;
browser, but not bad first time out.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-8528301141773729705?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/8528301141773729705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=8528301141773729705' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/8528301141773729705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/8528301141773729705'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2011/01/googlecl.html' title='GoogleCL on OpenBSD'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-6691172338523803438</id><published>2010-12-24T22:22:00.008-06:00</published><updated>2011-01-07T23:10:53.424-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pf'/><category scheme='http://www.blogger.com/atom/ns#' term='router'/><category scheme='http://www.blogger.com/atom/ns#' term='irc'/><category scheme='http://www.blogger.com/atom/ns#' term='upgrade'/><category scheme='http://www.blogger.com/atom/ns#' term='silc'/><category scheme='http://www.blogger.com/atom/ns#' term='irssi'/><category scheme='http://www.blogger.com/atom/ns#' term='ipv6'/><category scheme='http://www.blogger.com/atom/ns#' term='icmp'/><category scheme='http://www.blogger.com/atom/ns#' term='tor'/><category scheme='http://www.blogger.com/atom/ns#' term='dd-wrt'/><title type='text'>End of the Year Hodge-Podge</title><content type='html'>Put off upgrading way too long. As to how long, I’m embarrassed&lt;br /&gt;
to say. Previously I could pretty much get things how I wanted&lt;br /&gt;
in a couple of days, even after doing a new install and getting&lt;br /&gt;
all my old stuff back in. This time it took a couple of weeks to&lt;br /&gt;
really get where I wanted to be with the system. Not keeping up&lt;br /&gt;
with changes can bite one in the butt.&lt;br /&gt;&lt;br /&gt;

I’ve got a Linksys WRT54G-TM router running DD-WRT v24-sp2&lt;br /&gt;
firmware. Got an account at &lt;a href="http://www.he.net/"&gt;Hurricane Electric&lt;/a&gt; and if you&lt;br /&gt;
have got IPv6 working already, &lt;a href="http://ipv6.he.net/"&gt;http://ipv6.he.net/&lt;/a&gt;. Also&lt;br /&gt;
have an account at DynDNS.com for when my ISP changes the&lt;br /&gt;
IP address on my cable modem and a hostname that synchronizes&lt;br /&gt;
with it so I can reach home when I’m traveling. I setup a&lt;br /&gt;
VPN too, and am now able to surf through it no matter where&lt;br /&gt;
I’m connected at. Good for for instance, we go to B&amp;N a lot&lt;br /&gt;
and they’ve got free Wifi. I connect to them, then activate&lt;br /&gt;
the the connection to my home VPN. Works great so far. Just&lt;br /&gt;
wish I’d figure out how to get IPv6 to work on the it. The&lt;br /&gt;
router does DHCP for my LAN and I’ve got it set to give the&lt;br /&gt;
same IP address to each box each time. Makes things easier&lt;br /&gt;
on me moving and copying files around the LAN. Ran into a&lt;br /&gt;
problem with my browser on a lot of IPv6 sites, where they’d&lt;br /&gt;
revert to IPv4 or not load at all. I had missed the option&lt;br /&gt;
mentioned in the man page ‘family inet6 inet4′ which sets&lt;br /&gt;
the preference to IPv6 as it’s first. When you use DHCP to&lt;br /&gt;
assign addresses, each time a box boots and starts the network,&lt;br /&gt;
/etc/resolv.conf gets overwritten. If you have some settings&lt;br /&gt;
you want in it like I did, you get around the overwrite&lt;br /&gt;
problem by putting the options in /etc/resolv.conf.tail and&lt;br /&gt;
then they show up in resolv.conf okay. Also had added some&lt;br /&gt;
stuff to /etc/pf.conf so icmp would be passed, as they’re&lt;br /&gt;
required for IPv6 to work right on my tunnel.&lt;br /&gt;&lt;br /&gt;

#Under the macros section:&lt;br /&gt;
icmp_types=”{ echoreq, echorep, unreach }”&lt;br /&gt;&lt;br /&gt;

#Under the rules section:&lt;br /&gt;
pass inet proto icmp all icmp-type $icmp_types&lt;br /&gt;
pass inet6 proto icmp6&lt;br /&gt;&lt;br /&gt;

***********************************************************&lt;br /&gt;&lt;br /&gt;

Fiddled around with tmux quite a bit, trying to get it configured&lt;br /&gt;
the way I need it. Hadn’t used it in a while and had forgotten quite&lt;br /&gt;
a bit. My setup is not real complicated, I just had problems with&lt;br /&gt;
how I was calling the program. Here’s my .tmux.conf:&lt;br /&gt;&lt;br /&gt;

# Default global options.&lt;br /&gt;
set status-bg yellow&lt;br /&gt;
set status-fg black&lt;br /&gt;
set default-command “exec /bin/ksh -l”&lt;br /&gt;
set -g status-right ‘%a %m/%d/%y %H:%M’&lt;br /&gt;
set -g status-interval 5&lt;br /&gt;
set bell-action current&lt;br /&gt;
set history-limit 2000&lt;br /&gt;&lt;br /&gt;

# Prefix key.&lt;br /&gt;
unbind C-b&lt;br /&gt;
set -g prefix C-s&lt;br /&gt;&lt;br /&gt;

# Keys to switch session.&lt;br /&gt;
bind q switch -t0&lt;br /&gt;
bind Q switch -t0&lt;br /&gt;
bind w switch -t1&lt;br /&gt;
bind W switch -t1&lt;br /&gt;
bind -r C-n next-window&lt;br /&gt;
bind -r C-p previous-window&lt;br /&gt;
bind ‘”‘ choose-window&lt;br /&gt;&lt;br /&gt;

# Other key bindings.&lt;br /&gt;
bind i list-windows&lt;br /&gt;
bind I list-windows&lt;br /&gt;
bind ‘-’ split-window -dv&lt;br /&gt;
bind ‘|’ split-window -dh&lt;br /&gt;
bind “‘” new-window&lt;br /&gt;
bind &lt; resize-pane -L 1&lt;br /&gt;
bind &gt; resize-pane -R 1&lt;br /&gt;
bind _ resize-pane -D 1&lt;br /&gt;
bind u resize-pane -U 1&lt;br /&gt;&lt;br /&gt;

# Session Initialization&lt;br /&gt;&lt;br /&gt;

# First Session.&lt;br /&gt;&lt;br /&gt;

new -d -s0 -nmain1&lt;br /&gt;&lt;br /&gt;
neww -d -nmutt&lt;br /&gt;
neww -d -nwork1&lt;br /&gt;
splitw -v -p 50 -t 2&lt;br /&gt;
splitw -h -p 50 -t 2&lt;br /&gt;
neww -d -nwork2&lt;br /&gt;
splitw -h -p 50 -t 3&lt;br /&gt;
neww -d -nnet&lt;br /&gt;
selectw -t 0&lt;br /&gt;&lt;br /&gt;

# Second Sesson.&lt;br /&gt;&lt;br /&gt;

new -d -s1 -nmain2&lt;br /&gt;
neww -d -nshell1&lt;br /&gt;
splitw -v -p 50 -t1&lt;br /&gt;
neww -d -nshell2&lt;br /&gt;
splitw -v -p 50 -t2&lt;br /&gt;
neww -d -nshell3&lt;br /&gt;
splitw -v -p 50 -t3&lt;br /&gt;
selectw -t 0&lt;br /&gt;&lt;br /&gt;

Lot of split panes and stuff there I probably don’t need,&lt;br /&gt;
but I needed to know how to do it, so I just did some&lt;br /&gt;
experimenting with it. Put a few aliases in ~/.kshrc:&lt;br /&gt;&lt;br /&gt;

alias tm0=’tmux attach-session -t 0′&lt;br /&gt;
alias tm1=’tmux attach-session -t 1′&lt;br /&gt;
alias tmk=’tmux kill-server’&lt;br /&gt;&lt;br /&gt;

***********************************************************&lt;br /&gt;&lt;br /&gt;

Side note while I’m thinking of it. Never had the occasion&lt;br /&gt;
to pipe anything to vim before. Started wondering how to&lt;br /&gt;
do it. Here’s how:&lt;br /&gt;&lt;br /&gt;

$ cat file.txt | vim -&lt;br /&gt;&lt;br /&gt;

***********************************************************&lt;br /&gt;&lt;br /&gt;

I built the gimp, sane-frontends, and sane-backends the other&lt;br /&gt;
day. I expected to have an ‘Acquire’ choice in the gimp menu&lt;br /&gt;
but it wasn’t there. Then my buddy in the local LUG reminded&lt;br /&gt;
me to install xsane. The gimp no longer has the ARG to build&lt;br /&gt;
it with mmx, but I had to put some extra switches on the make&lt;br /&gt;
command when I built&lt;br /&gt;&lt;br /&gt;

$ cd /usr/ports/graphics/sane-frontends/&lt;br /&gt;
sudo env FLAVOR=”gimp” make install&lt;br /&gt;&lt;br /&gt;

$ cd ../sane-backends/&lt;br /&gt;
sudo make -D --with-gphoto install&lt;br /&gt;&lt;br /&gt;

$ cd ../xsane/&lt;br /&gt;
sudo env FLAVOR=”gimp” make install&lt;br /&gt;&lt;br /&gt;

***********************************************************&lt;br /&gt;&lt;br /&gt;

Got tired of the nag on the console about clamav being out of&lt;br /&gt;
date. I had installed the package for 4.8 release, 0.96.1 which&lt;br /&gt;
was causing the nag. Uninstalled latest version, 0.96.4 and&lt;br /&gt;
built it. Seemed like it took a lot longer than it did with&lt;br /&gt;
previous versions, but it built and installed okay. That&lt;br /&gt;
version didn’t last long. Uninstalled it, then built 0.96.5&lt;br /&gt;
on 20101214. Built and installed okay. Just a pain in the butt&lt;br /&gt;
with the clamav uid and gid thing. Old version used _clamav.&lt;br /&gt;
Last few versions want clamav. You can change it using the&lt;br /&gt;
following to avoid the error when running ./configure:&lt;br /&gt;&lt;br /&gt;

sudo ./configure –with-group=_clamav –with-user=_clamav&lt;br /&gt;&lt;br /&gt;

***********************************************************&lt;br /&gt;&lt;br /&gt;

Have never used irc extensively but taught myself enough to&lt;br /&gt;
know how to configure and get around in irssi. Installed silc&lt;br /&gt;
which is supposed to be more secure than regular irc and is&lt;br /&gt;
built around irssi. Including some notes here on how I was&lt;br /&gt;
able to connect to a silc server over tor:&lt;br /&gt;&lt;br /&gt;

1) If you haven't done so already, install tor and socat

2) Start /usr/local/bin/tor which defaults to port 9050&lt;br /&gt;&lt;br /&gt;

*Side Note on tor*&lt;br /&gt;
To run it all the time you can start it in /etc/rc.local at&lt;br /&gt;
boot time:&lt;br /&gt;&lt;br /&gt;

fi&lt;br /&gt;&lt;br /&gt;

if [ -x /usr/local/bin/tor ]; then&lt;br /&gt;
echo -n ‘ starting tor’;&lt;br /&gt;
/usr/local/bin/tor&lt;br /&gt;
fi&lt;br /&gt;&lt;br /&gt;

3) Now run this command as root or with sudo:&lt;br /&gt;
socat TCP4-LISTEN:706,bind=localhost,range=127.0.0.1/32,fork \&lt;br /&gt;
SOCKS4A:127.0.0.1:silc.silcnet.org:706,socksport=9050 &gt; socat_log.$$ 2&gt;&amp;1 &amp;&lt;br /&gt;&lt;br /&gt;

4) Start silc&lt;br /&gt;&lt;br /&gt;

5) After entering password and silc is running:&lt;br /&gt;
/connect 127.0.0.1 706&lt;br /&gt;&lt;br /&gt;

A bit slower than a regular connection but much more secure&lt;br /&gt;
since your real IP address isn’t visible.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-6691172338523803438?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/6691172338523803438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=6691172338523803438' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6691172338523803438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6691172338523803438'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2010/12/end-of-year-hodge-podge.html' title='End of the Year Hodge-Podge'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-4071692682484741223</id><published>2010-10-10T13:28:00.003-05:00</published><updated>2010-10-10T13:38:32.034-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openbsd packages pkg_path alias pkg_find'/><title type='text'>PKG_PATH Tweaking</title><content type='html'>Saw these on the mailing list a few weeks back.&lt;br /&gt;
First example is a bit long and drawn out but it works:&lt;br /&gt;&lt;br /&gt;

PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/`uname -a | \&lt;br /&gt;
cut -d” ” -f 3`/packages/`uname -a |cut -d” ” -f 5`/&lt;br /&gt;&lt;br /&gt;

Second method is a bit neater:&lt;br /&gt;
PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`/&lt;br /&gt;&lt;br /&gt;

Create an alias in called pkg_find:&lt;br /&gt;&lt;br /&gt;

alias pkg_find=”echo ls | ftp -a $PKG_PATH |sed ‘s/.*\ //g’ |grep -i ”&lt;br /&gt;&lt;br /&gt;

Then, from the command prompt, do&lt;br /&gt;&lt;br /&gt;

$ pkg_find somepkg&lt;br /&gt;&lt;br /&gt;

and you’ll get the full package name.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-4071692682484741223?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/4071692682484741223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=4071692682484741223' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4071692682484741223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4071692682484741223'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2010/10/pkgpath-tweaking.html' title='PKG_PATH Tweaking'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-6326562897864403322</id><published>2010-05-08T00:18:00.007-05:00</published><updated>2010-05-08T01:05:41.879-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='free shell accounts'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><title type='text'>Free OpenBSD Shell Account Provider, Unix Shells</title><content type='html'>Found out about this site the other day. Nice folks, great site.&lt;br /&gt;
Here's a snippet from their manifesto:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;
Devio.us came about one afternoon while brainstorming&lt;br /&gt;
new possible projects. While other shell providers do&lt;br /&gt;
exist, most of them lack a clear goal, or are ran by an&lt;br /&gt;
inexperienced group of people. The servers are either&lt;br /&gt;
unstable, insecure or the hardware is just plain bad.&lt;br /&gt;
Realizing this sad state of of affairs, we set out to&lt;br /&gt;
create devio.us. While Kayla set out to design the site,&lt;br /&gt;
the rest of the team started working on writing all the&lt;br /&gt;
user administration utilities, automating tasks and&lt;br /&gt;
setting up the environment. Shortly thereafter, the&lt;br /&gt;
project was launched.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

Lots of FAQ's and help on the site. Check out the forums at&lt;br /&gt;&lt;br /&gt;

&lt;a hef="https://devio.us/forums/"&gt;Free Unix Shell Accounts - Devio.us Forums&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

or join in on the chat at &lt;b&gt;irc.freenode.net #devious&lt;/b&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-6326562897864403322?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://devio.us/' title='Free OpenBSD Shell Account Provider, Unix Shells'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/6326562897864403322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=6326562897864403322' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6326562897864403322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6326562897864403322'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2010/05/free-openbsd-shell-account-provider.html' title='Free OpenBSD Shell Account Provider, Unix Shells'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-6680339491816167606</id><published>2010-05-07T23:40:00.004-05:00</published><updated>2010-05-07T23:55:32.681-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pc-bsd'/><category scheme='http://www.blogger.com/atom/ns#' term='bsdtalk'/><category scheme='http://www.blogger.com/atom/ns#' term='bsd professional certification'/><category scheme='http://www.blogger.com/atom/ns#' term='dru lavigne'/><category scheme='http://www.blogger.com/atom/ns#' term='will blackman'/><title type='text'>bsdtalk 188 - Dru Lavigne</title><content type='html'>Interview with Dru Lavigne. We talk about her new book, The Definitive Guide to PC-BSD,&lt;br /&gt;
and also the upcoming BSD Professional Certification.&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://bsdtalk.blogspot.com/"&gt;Main Site for bsdtalk&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://bsdtalk.blogspot.com/2010/04/bsdtalk188-dru-lavigne.html"&gt;Interview mp3 link&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://cisx1.uma.maine.edu/~wbackman/bsdtalk/bsdtalk188.ogg"&gt;Interview ogg link&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-6680339491816167606?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://bsdtalk.blogspot.com/2010/04/bsdtalk188-dru-lavigne.html' title='bsdtalk 188 - Dru Lavigne'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/6680339491816167606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=6680339491816167606' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6680339491816167606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6680339491816167606'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2010/05/bsdtalk-188-dru-lavigne.html' title='bsdtalk 188 - Dru Lavigne'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-6589775094343600617</id><published>2010-05-07T23:24:00.004-05:00</published><updated>2010-05-07T23:54:35.686-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='search engines'/><title type='text'>Duck Duck Go</title><content type='html'>Not sure how long &lt;a href="http://duckduckgo.com/"&gt;Duck Duck Go&lt;/a&gt; has been around but I&lt;br /&gt;
found out about it tonight after I saw a link to it on IRC.&lt;br /&gt;
You want to check it out and read what all it's got, go to:&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://duckduckgo.com/about.html"&gt;About Duck Duck Go&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-6589775094343600617?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://duckduckgo.com/' title='Duck Duck Go'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/6589775094343600617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=6589775094343600617' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6589775094343600617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6589775094343600617'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2010/05/duck-duck-go.html' title='Duck Duck Go'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-1551627078858552416</id><published>2009-12-01T10:09:00.004-06:00</published><updated>2009-12-01T10:30:04.152-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='girish venkatachalam'/><category scheme='http://www.blogger.com/atom/ns#' term='bsdtalk'/><category scheme='http://www.blogger.com/atom/ns#' term='will blackman'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><title type='text'>bsdtalk180- OpenBSD Enthusiast Girish Venkatachalam</title><content type='html'>Interview with my programmer OpenBSD bud Girish Venkatachalam.&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://bsdtalk.blogspot.com/"&gt;Main Site for bsdtalk&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://cisx1.uma.maine.edu/~wbackman/bsdtalk/bsdtalk180.mp3"&gt;Interview mp3 link&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://cisx1.uma.maine.edu/~wbackman/bsdtalk/bsdtalk180.ogg"&gt;Interview ogg link&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-1551627078858552416?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://bsdtalk.blogspot.com/' title='bsdtalk180- OpenBSD Enthusiast Girish Venkatachalam'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/1551627078858552416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=1551627078858552416' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/1551627078858552416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/1551627078858552416'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/12/bsdtalk180-openbsd-enthusiast-girish.html' title='bsdtalk180- OpenBSD Enthusiast Girish Venkatachalam'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-826833479230254443</id><published>2009-11-24T16:13:00.004-06:00</published><updated>2009-11-24T16:38:43.662-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='usb minimal bootable image no x'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><title type='text'>Absolute Minimal OpenBSD USB Image</title><content type='html'>My friend Girish Venkatachalam has added another&lt;br /&gt;
OpenBSD USB bootable image, a very minimal 1GB&lt;br /&gt;
version without X and without a single package,&lt;br /&gt;
just the base install.&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://liveusb-openbsd.sourceforge.net/#Micromini"&gt;Absolute Minimal Version&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

Enjoy!&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-826833479230254443?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://liveusb-openbsd.sourceforge.net/#Micromini' title='Absolute Minimal OpenBSD USB Image'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/826833479230254443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=826833479230254443' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/826833479230254443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/826833479230254443'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/11/absolute-minimal-openbsd-usb-image.html' title='Absolute Minimal OpenBSD USB Image'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-8221138179683714742</id><published>2009-11-22T08:43:00.004-06:00</published><updated>2009-11-22T09:28:21.304-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sha1'/><category scheme='http://www.blogger.com/atom/ns#' term='sha512'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='cryptographic algorithms'/><category scheme='http://www.blogger.com/atom/ns#' term='rmd160'/><category scheme='http://www.blogger.com/atom/ns#' term='sysvsum'/><category scheme='http://www.blogger.com/atom/ns#' term='md5'/><category scheme='http://www.blogger.com/atom/ns#' term='encryption'/><category scheme='http://www.blogger.com/atom/ns#' term='sha256'/><category scheme='http://www.blogger.com/atom/ns#' term='cksum'/><category scheme='http://www.blogger.com/atom/ns#' term='hashes'/><category scheme='http://www.blogger.com/atom/ns#' term='md4'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><category scheme='http://www.blogger.com/atom/ns#' term='sum'/><category scheme='http://www.blogger.com/atom/ns#' term='sha384'/><title type='text'>Cksum</title><content type='html'>&lt;b&gt;Create Fingerprints Using Cksum&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;cksum(1)&lt;/b&gt; is a very important utility since it&lt;br /&gt;
can figure out the fingerprint/message digests&lt;br /&gt;
using several key algorithms employed in&lt;br /&gt;
cryptography.&lt;br /&gt;&lt;br /&gt;

&lt;pre&gt;
     1. cksum
     2. md4
     3. md5
     4. rmd160
     5. sha1
     6. sha256
     7. sha384
     8. sha512
     9. sum
    10. sysvsum
&lt;/pre&gt;

sha512 is the best algorithm to use since&lt;br /&gt;
it gives the longest output and there is&lt;br /&gt;
very little chance of collision.&lt;br /&gt;&lt;br /&gt;
 
I think this article is not going to make&lt;br /&gt;
much sense without explaining the rationale&lt;br /&gt;
and the math behind the idea of cryptographic&lt;br /&gt;
hashes of message digests.&lt;br /&gt;&lt;br /&gt;

The basic goal is quite easy to state and&lt;br /&gt;
understand. The idea of a message digest is&lt;br /&gt;
to create a fixed length "fingerprint" from&lt;br /&gt;
any input data of any length, be it 2 bytes&lt;br /&gt;
or 2 Terabytes. This is done in a such a way&lt;br /&gt;
that the output varies significantly for&lt;br /&gt;
slight changes in input data.&lt;br /&gt;&lt;br /&gt;

All that is fine and dandy but the most&lt;br /&gt;
important aspect of the checksum algorithm&lt;br /&gt;
is its ability to avoid collisions.&lt;br /&gt;
Collisions are input values for which the&lt;br /&gt;
checksum algorithm produces the same output.&lt;br /&gt;
This can be quite dangerous and defeats the&lt;br /&gt;
very purpose of having a checksum in the&lt;br /&gt;
first place.&lt;br /&gt;&lt;br /&gt;

But mathematically speaking, nature enforces&lt;br /&gt;
a limit to the probability or possibilty of&lt;br /&gt;
collisions. But in practice this works quite&lt;br /&gt;
well as long as your output sample space is&lt;br /&gt;
quite big. Which is the case with sha512&lt;br /&gt;
digests. MD4 is broken. Don't use it. MD5 is&lt;br /&gt;
weak too.&lt;br /&gt;&lt;br /&gt;

The importance of cryptographic hashing comes&lt;br /&gt;
from many angles. First thing is that it is key&lt;br /&gt;
to generating digital signatures. A signature&lt;br /&gt;
is a private key encrypted message digest of&lt;br /&gt;
the input message. Simple and straight.&lt;br /&gt;&lt;br /&gt;

Then you have something called HMAC or hashed&lt;br /&gt;
message authentication code where a secret key&lt;br /&gt;
is used for generating message digests.&lt;br /&gt;
Normally message digests do not employ any&lt;br /&gt;
secret information. It is completely open.&lt;br /&gt;
Anyone can generate cryptographic hashes since&lt;br /&gt;
the algorithm is well known, there are no keys&lt;br /&gt;
and given the input, the output is fixed.&lt;br /&gt;&lt;br /&gt;

This is alright when we want to detect accidental&lt;br /&gt;
changes or integrity of file transfers. But this&lt;br /&gt;
does not protect us from malicious tampering. For&lt;br /&gt;
that we normally encrypt the hash with a secret key.&lt;br /&gt;
Or append it with the message and encrypt it. That&lt;br /&gt;
way we can detect tampering.&lt;br /&gt;&lt;br /&gt;

However HMAC is different. In this method,&lt;br /&gt;
the cryptographic hash is protected with a&lt;br /&gt;
secret key and only if you possess the secret&lt;br /&gt;
key you can generate the hash.&lt;br /&gt;&lt;br /&gt;

HMAC is widely used in TLS or SSL web security.&lt;br /&gt;
We have already seen many applications for&lt;br /&gt;
message digests or cryptographic hashes.&lt;br /&gt;&lt;br /&gt;

There is one important detail however. All&lt;br /&gt;
the public key cryptosystems in particular&lt;br /&gt;
the most widely used RSA algorithm relies&lt;br /&gt;
on cryptographic hashes in a interesting way.&lt;br /&gt;&lt;br /&gt;

RSA is a little complicated to explain in&lt;br /&gt;
this article but my idea is to illustrate&lt;br /&gt;
that cryptographic hashes have a much bigger&lt;br /&gt;
role to play than simple integrity checking.&lt;br /&gt;&lt;br /&gt;

Cryptographic hash functions are also known&lt;br /&gt;
as one way hash functions. Which is to say&lt;br /&gt;
that the function is not reversible. There&lt;br /&gt;
is no inverse of the function. You can only&lt;br /&gt;
get an output from input, never the other&lt;br /&gt;
way round.&lt;br /&gt;&lt;br /&gt;

RSA is nothing but a one way hash function&lt;br /&gt;
of the input data with a key. RSA relies on&lt;br /&gt;
the prime number factorization problem. So&lt;br /&gt;
the idea here is that you can multiply two&lt;br /&gt;
prime numbers trivially but you cannot divide&lt;br /&gt;
them. You can of course but not without a&lt;br /&gt;
significant computational overhead.&lt;br /&gt;&lt;br /&gt;

Now that we have seen enough theory, let us&lt;br /&gt;
get to the practical side and figure out how&lt;br /&gt;
it can help us in real life. After all math&lt;br /&gt;
has a great real life significance.&lt;br /&gt;&lt;br /&gt;

$ cksum /etc/passwd&lt;br /&gt;
3171604895 3646 /etc/passwd&lt;br /&gt;&lt;br /&gt;

$ cksum -a sha512 /etc/passwd&lt;br /&gt;
SHA512 (/etc/passwd) =&lt;br /&gt;
b4d6a742cada5305686832f1037b60f79b56fe6dfdf99&lt;br /&gt;
04e6070295e74c2341535db26b731e27e04a73f0cb70b&lt;br /&gt;
b589d31b8e9e18e207a8aae5aa81d06ea29f5a&lt;br /&gt;
&lt;b&gt;(above cksum output line wrapped)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

$ cksum -a sha256 /etc/passwd&lt;br /&gt;
SHA256 (/etc/passwd) =&lt;br /&gt;
fd2626c043a288c0a25bdc9772af4b19e001c890e9317&lt;br /&gt;
0a4de40043a9516e94a&lt;br /&gt;
&lt;b&gt;(above cksum output line wrapped)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

$ cksum -a rmd160 /etc/passwd&lt;br /&gt;
RMD160 (/etc/passwd) =&lt;br /&gt;
70455b60aad955b556aa4052af017ecf61bfe5a1&lt;br /&gt;&lt;br /&gt;


$ cksum -a md5 /etc/passwd&lt;br /&gt;
MD5 (/etc/passwd) =&lt;br /&gt;
e7818836fe36fa1fde1ab6198ee2da77&lt;br /&gt;&lt;br /&gt;

$ cksum -a sha1 /etc/passwd&lt;br /&gt;
SHA1 (/etc/passwd) =&lt;br /&gt;
9c80fdd62b69909a705c64fe79b6294d778ffef6&lt;br /&gt;&lt;br /&gt;

You can avoid the above mentioned issue of&lt;br /&gt;
collisions with the cksum(1) utility since&lt;br /&gt;
you have access to several state of the art&lt;br /&gt;
checksum algorithms from one command/utility.&lt;br /&gt;
So if you are paranoid kindly compare the sha1&lt;br /&gt;
and sha256 sums of the same file at both sides&lt;br /&gt;
after transfer. That way you can avoid issues&lt;br /&gt;
with collision.&lt;br /&gt;&lt;br /&gt;

openssl(1) also comes built in with access to&lt;br /&gt;
several checksum algorithms and so can sha1 and&lt;br /&gt;
md5 commands help under OpenBSD. But cksum has&lt;br /&gt;
an advantage of supporting many algorithms. Moreover&lt;br /&gt;
all these utilities come with base OpenBSD. There&lt;br /&gt;
is never a need to install any specific package.&lt;br /&gt;
In other words you are guaranteed to find them,&lt;br /&gt;
on any OpenBSD box!&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;Note on Authorship:&lt;/b&gt;&lt;br /&gt;
This article was contributed by Girish Venkatachalam&lt;br /&gt;
who is also a co-author on &lt;a href="http://polarwave.openbsd101.com/blog/index.php"&gt;Denny's OpenBSD Newbies Blog&lt;/a&gt;.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-8221138179683714742?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/8221138179683714742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=8221138179683714742' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/8221138179683714742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/8221138179683714742'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/11/cksum.html' title='Cksum'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-6271741007708882078</id><published>2009-11-17T05:27:00.009-06:00</published><updated>2009-11-17T21:20:21.656-06:00</updated><title type='text'>Interfacing the Medical TranscriptionFoot Pedal With Mplayer</title><content type='html'>&lt;p&gt;
Those of you who are hearing mplayer for the first&lt;br /&gt;
time should certainly see &lt;a href="http://linuxjournal.com/article/9787"&gt;this article&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;
It is the best multimedia application out there and&lt;br /&gt;
it is written in pure C. It is amazing stuff. A grand&lt;br /&gt;
old project with an amazing cornucopia of features.
&lt;/p&gt;

&lt;p&gt;
Those of you who have not heard of the footpedal&lt;br /&gt;
do not need to worry. It is a footrest with three&lt;br /&gt;
buttons which you can press with the toe.&lt;br /&gt;
Here is a picture.
&lt;/p&gt;

&lt;p&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_TWAd59NkkhM/SwLTyhC4mMI/AAAAAAAAADI/9pP51j2avqI/s1600/footpedal_300x224.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 300px; height: 224px;" src="http://3.bp.blogspot.com/_TWAd59NkkhM/SwLTyhC4mMI/AAAAAAAAADI/9pP51j2avqI/s400/footpedal_300x224.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5405115367615404226" /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
It connects via the 9 pin serial connector to the&lt;br /&gt;
serial port of the computer. Before we get to the&lt;br /&gt;
technical details we do need to know something&lt;br /&gt;
about the medical transcription industry.
&lt;/p&gt;

&lt;p&gt;
Every technical problem needs a business goal to&lt;br /&gt;
meet. Sometimes it is not very obvious as in the&lt;br /&gt;
case of academic UNIX tools, but without having&lt;br /&gt;
an appreciation of the real purpose of the project,&lt;br /&gt;
one cannot do well in business. Technical solutions&lt;br /&gt;
do not exist in isolation.
&lt;/p&gt;

&lt;p&gt;
Medical transcription is the process of converting&lt;br /&gt;
a doctor's voice recordings into English text. The&lt;br /&gt;
doctor would have spoken at varying speeds and&lt;br /&gt;
with different accents. A medical transcriptionist&lt;br /&gt;
has the job of translating his spoken words into&lt;br /&gt;
the written word.
&lt;/p&gt;

&lt;p&gt;
I am sure you can imagine that this is no easy task.&lt;br /&gt;
The transcriptionist has to listen to the dictation&lt;br /&gt;
multiple times at various speeds to figure out what&lt;br /&gt;
on earth the doctor is trying to say.
&lt;/p&gt;

&lt;p&gt;
His/her fingers are typing the message in the audio,&lt;br /&gt;
and you wish to be able to rewind, pause/play and&lt;br /&gt;
fast forward the recording with the foot. That is&lt;br /&gt;
where a footpedal comes in. You can't use the mouse&lt;br /&gt;
or keyboard for this since the hands are busy typing&lt;br /&gt;
out text.
&lt;/p&gt;

&lt;p&gt;
While the hand is typing the foot will be interacting&lt;br /&gt;
with the audio player to help the transcriptionist to&lt;br /&gt;
accurately translate the dictation into English text.
&lt;/p&gt;

&lt;p&gt;
The footpedal is a passive device with no power and&lt;br /&gt;
no moving parts. There are 3 switches as you can see&lt;br /&gt;
above. The left pedal is connected to the DSR pin(8),&lt;br /&gt;
the middle pedal is connected to the CTS pin(6), and&lt;br /&gt;
the right pedal is connected to the DCD pin(1).
&lt;/p&gt;

&lt;p&gt;&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;
I figured this out using a perl script given here.&lt;br /&gt;
&lt;/p&gt;
&lt;pre&gt;&lt;font size="2" face="Times"&gt;
use Device::Modem;

  my $modem = new Device::Modem( port =&gt; '/dev/tty00' );

        /*
         if( $modem-&gt;connect( baudrate =&gt; 9600 ) ) {
             print "connected!\n";
         } else {
             print "sorry, no connection with serial port!\n";
         }
        */

        my %sig = $modem-&gt;status();
        for ('CTS','DSR','RLSD')
        {
                if($_ =~ /RLSD/) {
                        print "Signal DCD is: ", ($sig{$_} &gt; 0 ? 'on'
: 'off'), "\n";
                } else {
                        print "Signal $_  is: ", ($sig{$_} &gt; 0 ? 'on'
: 'off'), "\n";
                }
        }
&lt;/font&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;
The next thing to do was  figure out a way to do this&lt;br /&gt;
in C. That was the hard part but I got there. Check&lt;br /&gt;
out the code in &lt;a href="http://gayatri-hitech.com/languageclasses/"&gt;this page&lt;/a&gt; to interface with the serial&lt;br /&gt;
port on Windows and OpenBSD to recognize the pedal&lt;br /&gt;
presses.
&lt;/p&gt;

&lt;p&gt;
Okay now we are halfway through. We can recognize&lt;br /&gt;
the pedal presses.  But how to interface with the&lt;br /&gt;
audio player?
&lt;/p&gt;

&lt;p&gt;
Before that we have an even more important question&lt;br /&gt;
to tackle. 
&lt;/p&gt;

&lt;p&gt;
Which player should we use?
&lt;/p&gt;

&lt;p&gt;
I started working on &lt;a href="http://audacity.sf.net"&gt;audacity&lt;/a&gt; but
quickly realized that&lt;br /&gt;
it does not have the rewind and forward feature. Plus&lt;br /&gt;
I realized that most audio players don't have this at all.&lt;br /&gt;
Except of course mplayer. But before that I considered&lt;br /&gt;
and rejected sox and vlc.
&lt;/p&gt;

&lt;p&gt;
I looked at the mplayer input.c file, the way it interfaced&lt;br /&gt;
with the joystick and LIRC remote control. I know I could&lt;br /&gt;
copy the semantics and match it with key presses. I did the&lt;br /&gt;
project first on OpenBSD and then got it working under&lt;br /&gt;
Windows. It was a great project, I thoroughly enjoyed it.
&lt;/p&gt;

&lt;p&gt;
All the code in beautiful syntax highlighted fashion with&lt;br /&gt;
black background is &lt;a
href="http://gayatri-hitech.com/languageclasses/"&gt;here&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
However the work is not over yet. You need to recognize&lt;br /&gt;
the pedal presses with more care. Right now it is too&lt;br /&gt;
sensitive so to speak.  It has to have some back pressure&lt;br /&gt;
and hysteresis. I need to understand the needs of the&lt;br /&gt;
medical transcriptionist better. I shall finish this&lt;br /&gt;
project and add these details later.  At the moment, I&lt;br /&gt;
can say that the project is nearly over.
&lt;/p&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-6271741007708882078?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/6271741007708882078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=6271741007708882078' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6271741007708882078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6271741007708882078'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/11/interfacing-medical-transcription-foot.html' title='Interfacing the Medical Transcription&lt;br /&gt;Foot Pedal With Mplayer'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_TWAd59NkkhM/SwLTyhC4mMI/AAAAAAAAADI/9pP51j2avqI/s72-c/footpedal_300x224.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-129446329322750102</id><published>2009-11-14T02:35:00.006-06:00</published><updated>2009-11-17T10:50:15.223-06:00</updated><title type='text'>LiveUSB Image With OpenBSD</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;My programmer friend in India who is also a co-author on my&lt;br/&gt;other blog has created two usb OpenBSD bootable images.&lt;br/&gt;There is a 1Gb image and a 2Gb image. The instructions&lt;br/&gt;and download links are at:&lt;br/&gt;&lt;br/&gt;&lt;a href='http://liveusb-openbsd.sourceforge.net/' bitly='BITLY_PROCESSED'&gt;LiveUSB image with OpenBSD&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Cheers!&lt;br/&gt;&lt;br /&gt;&lt;/div&gt;

&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;
&lt;b&gt;Addendum:&lt;/b&gt;&lt;br /&gt;
There are 3 images now.&lt;br /&gt;&lt;br /&gt;

1. &lt;a href="http://liveusb-openbsd.sourceforge.net/#Minimal"&gt;Minimal version for 1GB without X&lt;/a&gt;&lt;br /&gt;
2. &lt;a href="http://liveusb-openbsd.sourceforge.net/#Lite"&gt;Lite version for 1 GB with X&lt;/a&gt;&lt;br /&gt;
3. &lt;a href="http://liveusb-openbsd.sourceforge.net/#Full"&gt;Full version for 2 GB&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-129446329322750102?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/129446329322750102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=129446329322750102' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/129446329322750102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/129446329322750102'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/11/liveusb-image-with-openbsd.html' title='LiveUSB Image With OpenBSD'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-1721457959612914242</id><published>2009-11-10T00:45:00.005-06:00</published><updated>2009-11-10T00:53:59.541-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='X desktop'/><category scheme='http://www.blogger.com/atom/ns#' term='calendar'/><category scheme='http://www.blogger.com/atom/ns#' term='perl'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><category scheme='http://www.blogger.com/atom/ns#' term='script'/><category scheme='http://www.blogger.com/atom/ns#' term='conky'/><title type='text'>Small Conky Calendar</title><content type='html'>I”m not a perl programmer and I’m sure my chances of having&lt;br /&gt;
come up with this on my own would be right up there with the&lt;br /&gt;
classic example about the monkeys with typewriters creating&lt;br /&gt;
the encyclopedia! :-) I got it off this mailing list:&lt;br /&gt;&lt;br /&gt;

freebsd-questions@freebsd.org&lt;br /&gt;&lt;br /&gt;

cal | perl -pe ’s/^/ /;s/$/ /;s/ ‘”$(date “+%e”)”‘ /\['"$(date "+%e")"']/’&lt;br /&gt;&lt;br /&gt;

I plugged it into the bottom of my .conkyrc file like so:&lt;br /&gt;&lt;br /&gt;

${color green}${execi 360 cal | perl -pe ’s/^/ /;s/$/ /;s/ ‘”$(date “+%e”)”‘ /\[
'"$(date "+%e")"']/’} ${color}&lt;br /&gt;&lt;br /&gt;

BTW, the above perl lines are wrapped, both the first which&lt;br /&gt;
is from the command line, and the second, which is the entire&lt;br /&gt;
line in .conkyrc. It shows the current day enclosed in brackets&lt;br /&gt;
in order to highlight it. Nice touch.&lt;br /&gt;&lt;br /&gt;

Cheers!&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-1721457959612914242?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/1721457959612914242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=1721457959612914242' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/1721457959612914242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/1721457959612914242'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/11/small-conky-calendar.html' title='Small Conky Calendar'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-3300837809485647312</id><published>2009-11-08T23:47:00.003-06:00</published><updated>2009-11-09T00:00:30.106-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xwd'/><category scheme='http://www.blogger.com/atom/ns#' term='xwdtopnm'/><category scheme='http://www.blogger.com/atom/ns#' term='fluxbox'/><category scheme='http://www.blogger.com/atom/ns#' term='desktop'/><category scheme='http://www.blogger.com/atom/ns#' term='import'/><category scheme='http://www.blogger.com/atom/ns#' term='xwininfo'/><category scheme='http://www.blogger.com/atom/ns#' term='pnmtopng'/><category scheme='http://www.blogger.com/atom/ns#' term='xwud'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><category scheme='http://www.blogger.com/atom/ns#' term='screenshot'/><title type='text'>Taking Desktop Screenshots</title><content type='html'>I was Googling around the other night looking for graphics&lt;br /&gt;
help and ran across this site where I learned about some&lt;br /&gt;
X stuff I didn’t even know was there on my box:&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://www.linuxjournal.com/article/8005"&gt;Useful Things You Can Do with FVWM&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;


Example of dumping the root screen using &lt;b&gt;xwd&lt;/b&gt;, part&lt;br /&gt;
of the X Window System included with OpenBSD:&lt;br /&gt;
&lt;b&gt;xwd -root -out file&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

Example of displaying the dumped image with &lt;b&gt;xwud&lt;/b&gt;,&lt;br /&gt;
again part of the X Window System:&lt;br /&gt;
&lt;b&gt;xwud -in file&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

Example of dumping the root screen &amp; outputting it to&lt;br /&gt;
jpg format using &lt;b&gt;xwdtopnm&lt;/b&gt; and &lt;b&gt;pnmtopng&lt;/b&gt;, both&lt;br /&gt;
included in the &lt;b&gt;netpbm&lt;/b&gt; port/package:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;xwd -root |xwdtopnm |pnmtopng &gt; file.jpg&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

Example of converting an existing screenshot taken with&lt;br /&gt;
&lt;b&gt;xwd&lt;/b&gt;, using &lt;b&gt;xwdtopnm&lt;/b&gt; and &lt;b&gt;pnmtopng&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;xwdtopnm &lt; file | pnmtopng &gt; file.png&lt;br /&gt;
xwdtopnm &lt; file | pnmtojpeg &gt; file.jpg&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

Example converting a screenshot taken with &lt;b&gt;xwd&lt;/b&gt; with&lt;br /&gt;
&lt;b&gt;convert&lt;/b&gt;, part of the &lt;b&gt;ImageMagick&lt;/b&gt; port/package:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;convert file file.png&lt;br /&gt;
convert file file.jpg&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

Cheers!&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-3300837809485647312?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com/blog/?p=342' title='Taking Desktop Screenshots'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/3300837809485647312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=3300837809485647312' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/3300837809485647312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/3300837809485647312'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/11/taking-desktop-screenshots_08.html' title='Taking Desktop Screenshots'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-3762176018354166702</id><published>2009-11-08T23:41:00.000-06:00</published><updated>2009-11-08T23:43:46.941-06:00</updated><title type='text'>Celebrate Freedom Nov 9 – Anniversary of the fall of the ‘Wall’</title><content type='html'>Nov 9, 1989. That’s the day the damnable Berlin Wall came down!&lt;br /&gt;
Celebrate freedom around the world today! Thanks, ‘Dutch’, I will&lt;br /&gt;
never forget your words:&lt;br /&gt;&lt;br /&gt;

“Mr. Gorbachev, tear down this wall!”&lt;br /&gt;&lt;br /&gt;

Cheers!&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-3762176018354166702?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://en.wikipedia.org/wiki/Tear_down_this_wall' title='Celebrate Freedom Nov 9 – Anniversary of the fall of the ‘Wall’'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/3762176018354166702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=3762176018354166702' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/3762176018354166702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/3762176018354166702'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/11/celebrate-freedom-nov-9-anniversary-of.html' title='Celebrate Freedom Nov 9 – Anniversary of the fall of the ‘Wall’'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-8648679049942789993</id><published>2009-11-08T23:09:00.004-06:00</published><updated>2009-11-08T23:24:16.061-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shell scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='cronjob'/><category scheme='http://www.blogger.com/atom/ns#' term='conky system statistics'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><title type='text'>Conky Update</title><content type='html'>Added some information at the end of &lt;a href="http://polarwave.openbsd101.com/conky.html"&gt;Conky System Statistics&lt;/a&gt;&lt;br /&gt;
on a new way to stop one version of Conky from a script that runs&lt;br /&gt;
from a cronjob and start a new version, again from a script run&lt;br /&gt;
from a cronjob. Hope if anyone used the old way they didn't have&lt;br /&gt;
the same problem I did. If so, sorry. The current way has been&lt;br /&gt;
working without issue for several days now.&lt;br /&gt;&lt;br /&gt;

Cheers!&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-8648679049942789993?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com/blog' title='Conky Update'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/8648679049942789993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=8648679049942789993' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/8648679049942789993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/8648679049942789993'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/11/taking-desktop-screenshots.html' title='Conky Update'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-5961497613062097180</id><published>2009-11-01T22:37:00.014-06:00</published><updated>2009-11-02T00:50:24.534-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shell scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='command line'/><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><category scheme='http://www.blogger.com/atom/ns#' term='twitter'/><category scheme='http://www.blogger.com/atom/ns#' term='tweeting'/><category scheme='http://www.blogger.com/atom/ns#' term='bsd'/><title type='text'>Tweeting From the Command Line</title><content type='html'>Recently ran across an article &lt;a href"http://blogs.techrepublic.com.com/opensource/?p=859"&gt;Tweeting from the command line&lt;/a&gt;,&lt;br /&gt;
so I thought I’d give it a try. Didn’t have a &lt;b&gt;Twitter&lt;/b&gt; account,&lt;br /&gt;
so that was the first step, creating one. Go to &lt;a href="http://www.twitter.com/"&gt;Twitter&lt;/a&gt; and &lt;br /&gt;
create your account.&lt;br /&gt;
After that, you need to copy the script and put in your username&lt;br /&gt;
and password and make the script executable. I placed my script&lt;br /&gt;
in &lt;b&gt;~/bin&lt;/b&gt; and did a &lt;b&gt;chmod 700 ~/bin/tweet.sh&lt;/b&gt; so the script&lt;br /&gt;
is only executable, readable, and writable by me. Here’s the script:&lt;br /&gt;&lt;br /&gt;

#!/bin/sh&lt;br /&gt;&lt;br /&gt;

tweet="${@}"&lt;br /&gt;&lt;br /&gt;

user="username"&lt;br /&gt;&lt;br /&gt;

pass="sekret"&lt;br /&gt;&lt;br /&gt;

if &amp;nbsp;[ $(echo &amp;nbsp;"${tweet}" | wc -c) -gt 140 ]; &amp;nbsp;then&lt;br /&gt;&lt;br /&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;echo "FATAL: The tweet is longer than 140 characters!"&lt;br /&gt;&lt;br /&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exit 1&lt;br /&gt;&lt;br /&gt;

fi&lt;br /&gt;&lt;br /&gt;

curl -k -u ${user}:${pass} -d status="${tweet}"&lt;br /&gt;
https://twitter.com/statuses/update.xml &gt;/dev/null 2&gt;&amp;1&lt;br /&gt;

if [ "$?" == "0" ]; then&lt;br /&gt;&lt;br /&gt;

     echo "Successful tweet!"&lt;br /&gt;&lt;br /&gt;

fi&lt;br /&gt;&lt;br /&gt;

The full instructions are at the link listed above at&lt;br /&gt;
the beginning of this blog entry. It mentions escaping&lt;br /&gt;
special characters such as &lt;b&gt;"?"&lt;/b&gt; and &lt;b&gt;"!"&lt;/b&gt; for one thing,&lt;br /&gt;
and that’s important. I read the other night where you&lt;br /&gt;
can’t edit a &lt;b&gt;"Tweet"&lt;/b&gt;, only delete it, going on to explain&lt;br /&gt;
that anyone following you would not be in sync with your&lt;br /&gt;
&lt;b&gt;Tweets&lt;/b&gt; if you deleted an entry and then entered a new&lt;br /&gt;
version of it. I erroneously thought, also, that to &lt;b&gt;Retweet&lt;/b&gt;&lt;br /&gt;
meant doing a &lt;b&gt;Tweet&lt;/b&gt; over, but it's actually more like&lt;br /&gt;
passing on what someone else has already &lt;b&gt;Tweeted&lt;/b&gt;.&lt;br /&gt; 
Obviously I've still got a lot to learn about &lt;b&gt;Twitter&lt;/b&gt;, but&lt;br /&gt;
the script above should get my fellow CLI geeks going. ;)&lt;br /&gt;&lt;br /&gt;

Cheers!&lt;br /&gt;&lt;br /&gt;


&lt;b&gt;Addendum:&lt;br /&gt;
TTYtter for Perl: More Tweeting from the command line&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://www.floodgap.com/software/ttytter/"&gt;TTYtter: an interactive console text-based command-line Twitter client and Perl platform&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

Just a follow up on &lt;b&gt;Tweeting from the command line.&lt;/b&gt;&lt;br /&gt;
Cool setup. &lt;b&gt;ANSI Graphics&lt;/b&gt;, too. Check it out.&lt;br /&gt;&lt;br /&gt;

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_TWAd59NkkhM/Su6AJW-TJ7I/AAAAAAAAACI/EL9F2dgCSSE/s1600-h/ttytter1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 393px; height: 400px;" src="http://1.bp.blogspot.com/_TWAd59NkkhM/Su6AJW-TJ7I/AAAAAAAAACI/EL9F2dgCSSE/s400/ttytter1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5399393901537863602" /&gt;&lt;/a&gt;&lt;br /&gt;

Cheers!&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-5961497613062097180?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com/blog' title='Tweeting From the Command Line'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/5961497613062097180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=5961497613062097180' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/5961497613062097180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/5961497613062097180'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/11/tweeting-from-command-line.html' title='Tweeting From the Command Line'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_TWAd59NkkhM/Su6AJW-TJ7I/AAAAAAAAACI/EL9F2dgCSSE/s72-c/ttytter1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-3042332159587089881</id><published>2009-10-31T22:44:00.035-05:00</published><updated>2009-11-01T01:51:44.125-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='patching'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><category scheme='http://www.blogger.com/atom/ns#' term='clamav update'/><title type='text'>ClamAv Update on OpenBSD Box</title><content type='html'>Updated my ClamAv today from version 0.95.2 to 0.95.3&lt;br /&gt;
and luckily read the warning about needing to patch it&lt;br /&gt;
on the download page at:&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://www.clamav.net/download/sources"&gt;Clam AntiVirus&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

There’s a link there to download the diff. I downloaded&lt;br /&gt;
everything, then ran gpg against the file and signature&lt;br /&gt;
file to verify:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;gpg –verify clamav-0.95.3.tar.gz.sig clamav-0.95.3.tar.gz&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
&lt;font size="1" face="Times"&gt;
gpg: Signature made Wed Oct 28 10:59:38 2009 CDT using DSA key ID 985A444B&lt;br /&gt;
gpg: Good signature from “Tomasz Kojm ”&lt;br /&gt;
gpg: aka “Tomasz Kojm ”&lt;br /&gt;
gpg: aka “Tomasz Kojm ”&lt;br /&gt;
gpg: WARNING: This key is not certified with a trusted signature!&lt;br /&gt;
gpg: There is no indication that the signature belongs to the owner.&lt;br /&gt;
Primary key fingerprint: 0DCA 5A08 407D 5288 279D B434 5482 2DC8 985A 444B&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;

After that, &lt;b&gt;cd /usr/ports/mystuff/&lt;/b&gt; and do:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;sudo tar xzvf /path/to/clamav-0.95.3.tar.gz&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

Next, I needed to uninstall the old version, but first I&lt;br /&gt;
had to stop the daemon running:&lt;br /&gt;

&lt;b&gt;ps auxw grep clamd&lt;br /&gt;
sudo kill PID#&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

Then:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;cd clamav-0.95.2&lt;br /&gt;
sudo ./configure&lt;br /&gt;
sudo make uninstall&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

There’s a warning in the docs about old librairies&lt;br /&gt;
and file versions on your system:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;Caveats:&lt;br /&gt;&lt;br /&gt;

1) Make sure that you haven’t got old libraries (libclamav.so)&lt;br /&gt;
lying around your filesystem. You can verify it using:&lt;br /&gt;&lt;br /&gt;

$ ldd `which freshclam`&lt;br /&gt;
/usr/local/bin/freshclam:&lt;br /&gt;
&lt;font size="1" face="Times"&gt;
Start&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;End&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Type &amp;nbsp;Open &amp;nbsp;Ref &amp;nbsp;GrpRef &amp;nbsp;Name&lt;br /&gt;

1c000000 &amp;nbsp;3c011000 &amp;nbsp;exe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/usr/local/bin/freshclam&lt;br /&gt;

0470f000 &amp;nbsp;24744000 &amp;nbsp;&amp;nbsp;rlib&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/usr/local/lib/libclamav.so.6.5&lt;br /&gt;

022d7000 &amp;nbsp;222db000 &amp;nbsp;rlib&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/usr/local/lib/libbz2.so.10.4&lt;br /&gt;

07d8b000 &amp;nbsp;27d93000 &amp;nbsp;rlib&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/usr/lib/libz.so.4.1&lt;br /&gt;

0cd94000 &amp;nbsp;2cd9d000 &amp;nbsp;rlib&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/usr/lib/libpthread.so.11.0&lt;br /&gt;

0c104000 &amp;nbsp;2c13a000 &amp;nbsp;&amp;nbsp;rlib&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/usr/lib/libc.so.48.0&lt;br /&gt;

05e7e000 &amp;nbsp;05e7e000 &amp;nbsp;&amp;nbsp;rtld&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/usr/libexec/ld.so&lt;/font&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;


With my previous version of Clamav I had the file&lt;br /&gt;
&lt;b&gt;/usr/local/lib/libclamav.so.6.4&lt;/b&gt; but the uninstall&lt;br /&gt;
removed it okay.&lt;br /&gt;&lt;br /&gt;

More warnings:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;2) Also make sure there is only one version of ClamAv&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;on your system.&lt;br /&gt;&lt;br /&gt;

3) whereis freshclam&lt;br /&gt;&lt;br /&gt;

4) whereis clamscan&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

In case anything went wrong I saved my old configuration&lt;br /&gt;
files in /usr/local/etc renaming them. Then:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;cd /usr/ports/mystuff/clamav-0.95.3/&lt;br /&gt;
cp /path/to/patch-0.95.3-bug1737.diff .&lt;br /&gt;
sudo patch -p1 &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

After everything built and installed successfully, all that&lt;br /&gt;
was left to do was go back into /usr/local/etc and configure&lt;br /&gt;
&lt;b&gt;clamd.conf&lt;/b&gt; and &lt;b&gt;freshclam.conf&lt;/b&gt;, then restart the daemon:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;sudo /usr/local/sbin/clamd&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

I want to stress like always that it pays to read&lt;br /&gt;
documentation. Where you want your &lt;b&gt;TemporaryDirectory&lt;/b&gt;,&lt;br /&gt;
where you want your &lt;b&gt;LocalSocket&lt;/b&gt; and &lt;b&gt;DatabaseDirectory&lt;/b&gt;&lt;br /&gt;
and so on. Same goes for your freshclam settings.&lt;br /&gt;
&lt;b&gt;READ THE DOCS!&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

If you’re going to go through all the above to have&lt;br /&gt;
Clamav on your system, then you’re probably going&lt;br /&gt;
to want to start it when your system boots. I’ve got&lt;br /&gt;
the following in &lt;b&gt;/etc/rc.local&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;if [ -x /bin/mkdir ]; then&lt;br /&gt;
/bin/mkdir /tmp/clamd &amp;amp;&amp;amp; chown clamav:clamav /tmp/clamd&lt;br /&gt;
fi&lt;br /&gt;&lt;br /&gt;

if [ -x /usr/local/sbin/clamd ]; then&lt;br /&gt;
/usr/local/sbin/clamd&lt;br /&gt;
fi&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

I do the above mkdir along with the ownership thing&lt;br /&gt;
since my sytem cleans out /tmp on reboot. It’s set in&lt;br /&gt;
&lt;b&gt;/etc/rc.conf.local&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;clear_tmp_enable=”YES” &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# &lt;font size="1" face="Times"&gt;clear /tmp on reboot&lt;/font&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

Cheers!&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-3042332159587089881?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com/' title='ClamAv Update on OpenBSD Box'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/3042332159587089881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=3042332159587089881' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/3042332159587089881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/3042332159587089881'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/10/clamav-update-on-openbsd-box.html' title='ClamAv Update on OpenBSD Box'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-528941202419945624</id><published>2009-10-31T22:25:00.005-05:00</published><updated>2009-11-01T02:03:22.327-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shell scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='awk'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><category scheme='http://www.blogger.com/atom/ns#' term='network usage tracking'/><category scheme='http://www.blogger.com/atom/ns#' term='netstat'/><title type='text'>Tracking Network Usage With a Shell Script</title><content type='html'>Every morning the daily output is waiting there for&lt;br /&gt;
me in my email. Part of the normal output under Ipkts&lt;br /&gt;
and Opkts shows what went through the interface:&lt;br /&gt;&lt;br /&gt;

Ipkts &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Opkts&lt;br /&gt;
2999812 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2509494&lt;br /&gt;&lt;br /&gt;

I don’t reboot very often but when I do, it seems the system&lt;br /&gt;
zeros this out and it starts all over again. I put together&lt;br /&gt;
a script that runs periodically from a cronjob:&lt;br /&gt;&lt;br /&gt;

#!/bin/sh&lt;br /&gt;
# Filename: netusage.sh&lt;br /&gt;&lt;br /&gt;

cd $HOME/bin&lt;br /&gt;

if grep ‘daily output’ $HOME/Mail/root/new/*; then&lt;br /&gt;
cat `grep -l ‘daily output’ ~/Mail/root/new/*` | \&lt;br /&gt;
grep xl0 |tail -1 |awk ‘{print $5}’ &gt; ibytes.out&lt;br /&gt;
cat `grep -l ‘daily output’ ~/Mail/root/new/*` | \&lt;br /&gt;
grep xl0 |tail -1 |awk ‘{print $7}’ &gt; obytes.out&lt;br /&gt;&lt;br /&gt;

else&lt;br /&gt;
echo “No daily output yet” &gt; /dev/null 2&gt;&amp;#38;1&lt;br /&gt;
fi&lt;br /&gt;
cd&lt;br /&gt;&lt;br /&gt;

At the end of the month I run another script to total&lt;br /&gt;
the network usage:&lt;br /&gt;&lt;br /&gt;

#!/bin/sh&lt;br /&gt;
# Filename: netusemonthly.sh&lt;br /&gt;
cd $HOME/bin&lt;br /&gt;
date &gt; `date +”%Y%m%d”`_endofmonthnetuse.log&lt;br /&gt;
echo “” &gt;&gt; `date +”%Y%m%d”`_endofmonthnetuse.log&lt;br /&gt;
echo “Monthly Ibytes” &gt;&gt; `date +”%Y%m%d”`_endofmonthnetuse.log&lt;br /&gt;
cat *ibytes.out |awk ‘{ SUM += $1 } END { print SUM }’ &gt;&gt; \&lt;br /&gt;
`date +”%Y%m%d”`_endofmonthnetuse.log&lt;br /&gt;
echo “” &gt;&gt; `date +”%Y%m%d”`_endofmonthnetuse.log&lt;br /&gt;
echo “Monthly Obytes” &gt;&gt; \&lt;br /&gt;
`date +”%Y%m%d”`_endofmonthnetuse.log&lt;br /&gt;
cat *obytes.out |awk ‘{ SUM += $1 } END { print SUM }’ &gt;&gt; \&lt;br /&gt;
`date +”%Y%m%d”`_endofmonthnetuse.log&lt;br /&gt;
mv -f *ibytes.out *obytes.out rebytes/&lt;br /&gt;
mv -f *endofmonthnetuse.log rebytes/&lt;br /&gt;
cd&lt;br /&gt;&lt;br /&gt;

The file names I used probably look ludicrous and they are all&lt;br /&gt;
completely arbitrary. If you try this out you can use whatever&lt;br /&gt;
file names and paths suit your needs. The whole thing was done&lt;br /&gt;
just to learn more about scripting, awk, and so forth. Also, to keep&lt;br /&gt;
the numbers right after a reboot, I added the following to&lt;br /&gt;
/etc/rc.shutdown:&lt;br /&gt;&lt;br /&gt;

netstat -ivn |head -8 |tail -1 |awk ‘{print $5}’ &gt; \&lt;br /&gt;
/home/useracct/bin/`date +”%Y%m%d%H:%M:%S”`_reboot_ibytes.out&lt;br /&gt;
netstat -ivn |head -8 |tail -1 |awk ‘{print $7}’ &gt; \&lt;br /&gt;
/home/useracct/bin/`date +”%Y%m%d%H:%M:%S”`_reboot_obytes.out&lt;br /&gt;
chown useracct:useracct /home/useracct/bin/*reboot_*bytes*&lt;br /&gt;&lt;br /&gt;

Like I said, this was all done just for learning purposes.&lt;br /&gt;
Maybe you can find a way to use some variation of the idea&lt;br /&gt;
on your own system.&lt;br /&gt;&lt;br /&gt;

Cheers!&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-528941202419945624?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com/' title='Tracking Network Usage With a Shell Script'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/528941202419945624/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=528941202419945624' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/528941202419945624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/528941202419945624'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/10/tracking-network-usage-with-shell.html' title='Tracking Network Usage With a Shell Script'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-4302081118894940707</id><published>2009-10-31T21:59:00.006-05:00</published><updated>2009-11-01T02:04:26.553-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mailing lists'/><category scheme='http://www.blogger.com/atom/ns#' term='shell scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='saving tips'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><title type='text'>Saving Tips From Mailing Lists</title><content type='html'>Besides my constant experimentation towards always&lt;br /&gt;
learning more about OpenBSD, one of my other means&lt;br /&gt;
of accumulating tips is from the mailing lists I&lt;br /&gt;
subscribe to. I put together a script to save messages&lt;br /&gt;
from the misc@openbsd mailing list. It finds all the&lt;br /&gt;
messages in thread in my mutt subdirectory under Mail&lt;br /&gt;
and concatenates all of them to a text file. It’s&lt;br /&gt;
interactive and it asks you for a search pattern,&lt;br /&gt;
where to search, and where to save the output to.&lt;br /&gt;
Here’s what it looks like:&lt;br /&gt;&lt;br /&gt;

#!/bin/sh&lt;br /&gt;
# Filename: obsd2tips.sh – save mailing list problem&lt;br /&gt;
# questions and resolutions to my BSD tips folder&lt;br /&gt;&lt;br /&gt;

echo “Enter your search pattern: ”&lt;br /&gt;
read r&lt;br /&gt;&lt;br /&gt;

echo “Enter your search path: ”&lt;br /&gt;
read R&lt;br /&gt;&lt;br /&gt;

echo “Enter file to save to: ”&lt;br /&gt;
read i&lt;br /&gt;&lt;br /&gt;

cat `grep -l “$r” $HOME/$R/*` | \&lt;br /&gt;
sed ‘/Return-Path/,/X-Virus-Checker-Version/d’ &gt;&gt; \&lt;br /&gt;
$HOME/bsd/$i.txt&lt;br /&gt;&lt;br /&gt;

The stuff like Return-Path and X-Virus-Checker-Version&lt;br /&gt;
are stuff in my header I don’t want in the saved tip.&lt;br /&gt;
If it was just a single message I could strip the entire&lt;br /&gt;
header with a sed command, but it doesn’t work when there&lt;br /&gt;
is more than one message in the thread. It gets even more&lt;br /&gt;
complicated on the script I use to do the same thing with&lt;br /&gt;
my freebsd-questions mailing list threads. Here’s that&lt;br /&gt;
script and you will see the difference:&lt;br /&gt;&lt;br /&gt;

#!/bin/sh&lt;br /&gt;
# Filename: fbsd2tips.sh – save mailing list problem&lt;br /&gt;
# questions and resolutions to my BSD tips folder&lt;br /&gt;&lt;br /&gt;

echo “Enter your search pattern: ”&lt;br /&gt;
read r&lt;br /&gt;&lt;br /&gt;

echo “Enter your search path: ”&lt;br /&gt;
read R&lt;br /&gt;&lt;br /&gt;

echo “Enter file to save to: ”&lt;br /&gt;
read i&lt;br /&gt;&lt;br /&gt;

cat `grep -l “$r” $HOME/$R/*` | \&lt;br /&gt;
sed ‘/Return-Path/,/X-Virus-Checker-Version/d’ | \&lt;br /&gt;
sed ‘/freebsd-questions/d’ |sed ‘/unsubscribe/d’ &gt;&gt; \&lt;br /&gt;
$HOME/bsd/$i.txt&lt;br /&gt;&lt;br /&gt;

Depending on your MUA you will have to adjust your&lt;br /&gt;
filtering. I’ve been using mutt for years and do not&lt;br /&gt;
have any intention of switching to anything else. So,&lt;br /&gt;
if you’re using mutt, it will be easy to implement&lt;br /&gt;
for you. If you’re using some other MUA YMMV. ;)&lt;br /&gt;&lt;br /&gt;

Cheers!&lt;br /&gt;&lt;br /&gt;

Sat Oct 31 14:35:33 CDT 2009&lt;br /&gt;
Addendum:&lt;br /&gt;&lt;br /&gt;

Made the script a bit more interactive and helpful.&lt;br /&gt;
Thanks go to my friend Girish for helping me on it,&lt;br /&gt;
too. Here’s the new script for searching through my&lt;br /&gt;
misc@openbsd mail threads:&lt;br /&gt;&lt;br /&gt;

#!/bin/sh&lt;br /&gt;
# Filename: obsd2tips.sh – save mailing list problem&lt;br /&gt;
# resolutions to my BSD tips folder&lt;br /&gt;
found=”N”&lt;br /&gt;
while [ "$found" = "N" ]; do&lt;br /&gt;
   echo “Enter your search pattern: ”&lt;br /&gt;
   read r&lt;br /&gt;&lt;br /&gt;

   echo “Enter your search path: ”&lt;br /&gt;
   read R&lt;br /&gt;&lt;br /&gt;

   echo “Enter file to save to: ”&lt;br /&gt;
   read i&lt;br /&gt;&lt;br /&gt;

   if grep $r $HOME/$R/* &gt; /dev/null 2&gt;&amp;1 ;&lt;br /&gt;
   then&lt;br /&gt;
      cat `grep -l “$r” $HOME/$R/*` | \&lt;br /&gt;
      sed ‘/Return-Path/,/X-Virus-Checker-Version/d’ &gt;&gt; \&lt;br /&gt;
      $HOME/bsd/$i.txt&lt;br /&gt;
      # XXX finish the program!&lt;br /&gt;
      found=”foo”&lt;br /&gt;
      else&lt;br /&gt;
         echo “Can’t find it! Check your search pattern and path.”&lt;br /&gt;
         # Rerun the search with new pattern and/or path&lt;br /&gt;
           found=”N”&lt;br /&gt;
        fi&lt;br /&gt;
done&lt;br /&gt;&lt;br /&gt;

I’d also like to add something at the end of the script where,&lt;br /&gt;
even after it finds what I’m looking for and writes it out to my&lt;br /&gt;
tips file, it will still come up and ask me if I’d like to enter&lt;br /&gt;
a new search. Anyone have a suggestion, please leave a comment.&lt;br /&gt;&lt;br /&gt;

Cheers!&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-4302081118894940707?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com/' title='Saving Tips From Mailing Lists'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/4302081118894940707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=4302081118894940707' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4302081118894940707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4302081118894940707'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/10/saving-tips-from-mailing-lists.html' title='Saving Tips From Mailing Lists'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-3348865967463326122</id><published>2009-10-18T04:38:00.003-05:00</published><updated>2009-11-01T02:05:38.173-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xargs'/><category scheme='http://www.blogger.com/atom/ns#' term='awk'/><category scheme='http://www.blogger.com/atom/ns#' term='ps'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><category scheme='http://www.blogger.com/atom/ns#' term='sed'/><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='conky'/><title type='text'>Find and Kill Process</title><content type='html'>I had used the following to find an instance of conky and&lt;br /&gt;
kill it in order to start a different conky configuration:&lt;br /&gt;&lt;br /&gt;

ps -U useracct |grep justweather |head -1 | \&lt;br /&gt;
cut -c 1-5 |sed -e ’s/[\ ]//g;/^$/d’ &gt; jwpid.out&lt;br /&gt;
kill -9 `cat jwpid.out`&lt;br /&gt;&lt;br /&gt;

That’s unnecessarily complicated compared to this simpler way:&lt;br /&gt;&lt;br /&gt;

ps -U useracct |grep justweather.conkyrc | awk ‘{print $1}’ | \&lt;br /&gt;
xargs kill -15&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-3348865967463326122?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com/' title='Find and Kill Process'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/3348865967463326122/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=3348865967463326122' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/3348865967463326122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/3348865967463326122'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/10/find-and-kill-process.html' title='Find and Kill Process'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-859578972139054002</id><published>2009-10-15T23:27:00.023-05:00</published><updated>2009-11-01T02:06:59.929-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='patching'/><category scheme='http://www.blogger.com/atom/ns#' term='notifications'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><title type='text'>Keeping Up With Security Patching</title><content type='html'>Put together a script that uses &lt;b&gt;lynx(1)&lt;/b&gt; and &lt;b&gt;sed(1)&lt;/b&gt; to download&lt;br /&gt;
and parse to a nice output the latest &lt;a href="http://www.openbsd.org/"&gt;OpenBSD&lt;/a&gt; security and&lt;br /&gt;
reliability notifications.&lt;br /&gt;&lt;br /&gt;

#!/bin/sh&lt;br /&gt;
# Filename: undead.sh&lt;br /&gt;&lt;br /&gt;

cd $HOME/bin/&lt;br /&gt;

echo "" &gt;  errata.out&lt;br /&gt;
echo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \&lt;br /&gt;
&gt;&gt; errata.out&lt;br /&gt;
echo "" &gt;&gt;  errata.out&lt;br /&gt;&lt;br /&gt;

echo "Undeadly.org" &gt;&gt; errata.out&lt;br /&gt;
echo "" &gt;&gt; errata.out&lt;br /&gt;&lt;br /&gt;

lynx -dump http://undeadly.org/ ¦sed -n '/OpenBSD Errata/,$p, ¦ \&lt;br /&gt;
sed '/OpenBSD Resources/q' ¦ sed -n -e :a -e '1,3!{P;N;D;};N;ba' ¦ \&lt;br /&gt;
sed 's/^[ \t]*//' &gt;&gt; errata.out&lt;br /&gt;&lt;br /&gt;

echo "" &gt;&gt; errata.out&lt;br /&gt;
echo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \&lt;br /&gt;
&gt;&gt; errata.out&lt;br /&gt;
echo "" &gt;&gt; errata.out&lt;br /&gt;&lt;br /&gt;

echo "OpenBSD Errata" &gt;&gt; errata.out&lt;br /&gt;
echo "" &gt;&gt; errata.out&lt;br /&gt;&lt;br /&gt;

lynx -dump http://www.openbsd.org/errata44.html ¦ \&lt;br /&gt;
sed -n '/OpenBSD\ FAQ/,$p' ¦ \&lt;br /&gt;
sed '1d ' ¦sed '/References/,$d' ¦sed '$d' &gt;&gt; errata.out&lt;br /&gt;&lt;br /&gt;

echo "" &gt;&gt; errata.out&lt;br /&gt;
echo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \&lt;br /&gt;
&gt;&gt; errata.out&lt;br /&gt;
echo "" &gt;&gt; errata.out&lt;br /&gt;&lt;br /&gt;

cat errata.out ¦mail -s "OpenBSD Daily Errata" dennyboy&lt;br /&gt;&lt;br /&gt;

cd&lt;br /&gt;&lt;br /&gt;

You can always subscribe to &lt;b&gt;security-announce@openbsd.org&lt;/b&gt;&lt;br /&gt;
but, sometimes, despite good intentions, things fall through the&lt;br /&gt;
cracks. In the end, at least IMHO, security is the responsibility of&lt;br /&gt;
the system admin, whether he's overseeing a server room full of&lt;br /&gt;
blade servers or if he's just a home user running one box.&lt;br /&gt;&lt;br /&gt;

Cheers!&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-859578972139054002?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com/' title='Keeping Up With Security Patching'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/859578972139054002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=859578972139054002' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/859578972139054002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/859578972139054002'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/10/keeping-up-with-security-patching.html' title='Keeping Up With Security Patching'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-8604237986543508938</id><published>2009-08-24T22:25:00.003-05:00</published><updated>2009-08-24T22:35:51.058-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bsd tips and tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='dru lavigne'/><category scheme='http://www.blogger.com/atom/ns#' term='bsd mag'/><title type='text'>Your Favourite BSD Tips &amp; Tricks?</title><content type='html'>Following from Dru Lavigne's blog:&lt;br /&gt;
&lt;a href="http://blogs.ittoolbox.com/unix/bsd/archives/"&gt;A Year in the Life of a BSD Guru&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://it.toolbox.com/blogs/bsd-guru/your-favourite-bsd-tips-tricks-33544?rss=1"&gt;Your Favourite BSD Tips &amp;amp; Tricks?&lt;/a&gt;: &amp;quot;BSD Mag has asked me to write another Tips &amp;amp; Tricks column for the upcoming 1/2010 issue of the magazine.&amp;quot;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-8604237986543508938?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://it.toolbox.com/blogs/bsd-guru/your-favourite-bsd-tips-tricks-33544?rss=1' title='Your Favourite BSD Tips &amp; Tricks?'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/8604237986543508938/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=8604237986543508938' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/8604237986543508938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/8604237986543508938'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/08/your-favourite-bsd-tips-tricks.html' title='Your Favourite BSD Tips &amp; Tricks?'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-3078052251318257733</id><published>2009-08-23T22:31:00.001-05:00</published><updated>2009-08-23T22:32:45.180-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='passive agressive spam filtering'/><category scheme='http://www.blogger.com/atom/ns#' term='pf'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><title type='text'>Passive Aggressive Spam Filtering</title><content type='html'>&lt;a href="http://undeadly.org/cgi?action=article&amp;amp;sid=20090717041621"&gt;Passive Aggressive Spam Filtering&lt;/a&gt;: "&lt;p&gt;
Using OpenBSD and &lt;a href="http://www.openbsd.org/cgi-bin/man.cgi?query=spamd&amp;amp;sektion=8"&gt;spamd&lt;/a&gt; for spam filtering and grey-listing is very old news but there are a few situations where it becomes politically and technically 
challenging to run in production.  Here was a simple yet (and in no way the best method) of using PF and some friends on the internet to help 'slow the flow' of offal from the Internet into your mail server.
&lt;/p&gt;
Read &lt;a href="http://undeadly.org/cgi?action=article&amp;amp;sid=20090717041621"&gt;more&lt;/a&gt;..."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-3078052251318257733?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://undeadly.org/cgi?action=article&amp;sid=20090717041621' title='Passive Aggressive Spam Filtering'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/3078052251318257733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=3078052251318257733' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/3078052251318257733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/3078052251318257733'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/08/passive-aggressive-spam-filtering.html' title='Passive Aggressive Spam Filtering'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-1900741674773194967</id><published>2009-08-23T22:25:00.001-05:00</published><updated>2009-08-23T22:26:02.288-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='4.6 pre-orders'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><title type='text'>OpenBSD 4.6 Pre-Orders Online!</title><content type='html'>&lt;a href="http://undeadly.org/cgi?action=article&amp;amp;sid=20090809155554"&gt;OpenBSD 4.6 Pre-Orders Online!&lt;/a&gt;: "&lt;p&gt;&lt;a href="http://www.openbsd.org/images/openbsd46_cover.gif"&gt;
&lt;img align="left" width="90" hspace="10" vspace="0" src="http://openbsd.org/images/cd46-s.gif" alt="OpenBSD 4.6 cover"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pre-orders are &lt;a href="https://https.openbsd.org/cgi-bin/order?CD46=1&amp;amp;CD46%2b=Add"&gt;now being accepted&lt;/a&gt; for &lt;a href="http://www.openbsd.org/46.html"&gt;OpenBSD 4.6&lt;/a&gt;, scheduled for release on October 1st, 2009.&lt;/p&gt;

&lt;p&gt;The developers bring us an amazing amount of cool new stuff (PF now &lt;a href="http://undeadly.org/cgi?action=article&amp;amp;sid=20090605213724"&gt;enabled by default&lt;/a&gt;, a new privilege-separated &lt;a href="http://www.openbsd.org/cgi-bin/man.cgi?query=smtpd&amp;amp;sektion=8"&gt;SMTP daemon&lt;/a&gt;, routing domain support and &lt;a href="http://www.openbsd.org/46.html#new"&gt;lots more&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Of course, &lt;a href="http://www.openbsd.org/tshirts.html#32"&gt;t-shirts&lt;/a&gt; and &lt;a href="http://www.openbsd.org/images/poster22.jpg"&gt;posters&lt;/a&gt; are available too. &lt;a href="https://https.openbsd.org/cgi-bin/order?CD46=1&amp;amp;CD46%2b=Add"&gt;Order&lt;/a&gt; your set NOW!&lt;/p&gt;"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-1900741674773194967?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://undeadly.org/cgi?action=article&amp;sid=20090809155554' title='OpenBSD 4.6 Pre-Orders Online!'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/1900741674773194967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=1900741674773194967' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/1900741674773194967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/1900741674773194967'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/08/openbsd-46-pre-orders-online.html' title='OpenBSD 4.6 Pre-Orders Online!'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-2932065680691488983</id><published>2009-08-23T22:06:00.001-05:00</published><updated>2009-08-23T22:07:26.468-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='load calculate'/><category scheme='http://www.blogger.com/atom/ns#' term='kernel'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><title type='text'>BSD load demystified</title><content type='html'>&lt;a href="http://undeadly.org/cgi?action=article&amp;amp;sid=20090715034920"&gt;BSD load demystified&lt;/a&gt;: "&lt;p&gt;Ariane van der Steldt (ariane@) &lt;a href="http://marc.info/?l=openbsd-misc&amp;amp;m=124410617931718&amp;amp;w=2"&gt;posted a reply&lt;/a&gt; to the OpenBSD misc mailing list last month that offered some valuable insight into how &lt;i&gt;load&lt;/i&gt; is calculated in the BSD kernel.  This is a topic that comes up routinely but remains largely misunderstood by the average user.&lt;/p&gt;

&lt;p&gt;Read on for Ariane's explanation and comparison to Linux load...&lt;/p&gt;
Read &lt;a href="http://undeadly.org/cgi?action=article&amp;amp;sid=20090715034920"&gt;more&lt;/a&gt;..."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-2932065680691488983?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://undeadly.org/cgi?action=article&amp;sid=20090715034920' title='BSD load demystified'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/2932065680691488983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=2932065680691488983' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/2932065680691488983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/2932065680691488983'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/08/bsd-load-demystified.html' title='BSD load demystified'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-9147358048421880936</id><published>2009-08-23T00:24:00.001-05:00</published><updated>2009-08-23T00:26:28.769-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='adding swap'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><title type='text'>SecPuffy:): OpenBSD tips and tricks - adding swap on the fly</title><content type='html'>&lt;a href="http://parvinderbhasin.blogspot.com/2009/08/openbsd-tips-and-tricks-adding-swap-on.html"&gt;SecPuffy:): OpenBSD tips and tricks - adding swap on the fly&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-9147358048421880936?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://parvinderbhasin.blogspot.com/2009/08/openbsd-tips-and-tricks-adding-swap-on.html' title='SecPuffy:): OpenBSD tips and tricks - adding swap on the fly'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/9147358048421880936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=9147358048421880936' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/9147358048421880936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/9147358048421880936'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/08/secpuffy-openbsd-tips-and-tricks-adding.html' title='SecPuffy:): OpenBSD tips and tricks - adding swap on the fly'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-564353469322894696</id><published>2009-08-10T21:17:00.007-05:00</published><updated>2009-08-24T22:53:02.280-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tarpit'/><category scheme='http://www.blogger.com/atom/ns#' term='greylisting'/><category scheme='http://www.blogger.com/atom/ns#' term='blacklists'/><category scheme='http://www.blogger.com/atom/ns#' term='email'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><category scheme='http://www.blogger.com/atom/ns#' term='antispam'/><title type='text'>Spam control with OpenBSD greylisting</title><content type='html'>New link for my friend in Tamil Nadu. He's renamed&lt;br /&gt;
his antispam product to SpamCheetah. He has been a&lt;br /&gt;
good friend over the years, helped me numerous times&lt;br /&gt;
with OpenBSD and other projects, and definitely knows&lt;br /&gt;
what he's doing. So if you're in need of an antispam&lt;br /&gt;
solution, he's definitely the guy to see! The link is&lt;br /&gt;
in the title but here it is again just to be safe:&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://spam-cheetah.com/"&gt;SpamCheetah - Main Site&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://spamcheetah.sf.net/"&gt;SpamCheetah - On SourceForge&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
Youtube videos about the product:&lt;br /&gt;
&lt;a href="http://www.youtube.com//watch?v=yNPKo-UNTNk"&gt;OpenBSD Tarpit&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.youtube.com/watch?v=3-6s8aRzOr4"&gt;SpamCheetah's Web Interface&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
There is both a commercial version with full tech-support and&lt;br /&gt;
the free downloadable open source version.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-564353469322894696?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://spam-cheetah.com' title='Spam control with OpenBSD greylisting'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/564353469322894696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=564353469322894696' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/564353469322894696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/564353469322894696'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/08/spam-control-with-openbsd-greylisting.html' title='Spam control with OpenBSD greylisting'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-8019016541005399636</id><published>2009-05-16T17:24:00.014-05:00</published><updated>2009-11-01T02:25:41.811-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='greasemonkey'/><category scheme='http://www.blogger.com/atom/ns#' term='seamonkey'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><category scheme='http://www.blogger.com/atom/ns#' term='youtube'/><title type='text'>Youtube Without Flash</title><content type='html'>&lt;br /&gt;
Check it out:&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://userscripts.org/scripts/show/24999"&gt;HQTube for Greasemonkey&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

Youtube live streaming without &lt;b&gt;flash&lt;/b&gt;, &lt;b&gt;gnash&lt;/b&gt;, etc. Yes, it works,&lt;br /&gt;
at least so far in &lt;b&gt;Seamonkey&lt;/b&gt; for me. Haven't tried it yet with&lt;br /&gt;
&lt;b&gt;Firefox&lt;/b&gt; but, going from past experience, &lt;b&gt;Firefox&lt;/b&gt; is easier to&lt;br /&gt;
work with than &lt;b&gt;Seamonkey&lt;/b&gt; and better supported in regards&lt;br /&gt;
to add-on's, but I choose &lt;b&gt;Seamonkey&lt;/b&gt; because it's just faster.&lt;br /&gt;
At least it always has been for me.&lt;br /&gt;&lt;br /&gt;

Audio is working great, no stuttering or distortion, and video&lt;br /&gt;
streaming over my broadband connection is good, no jerkiness&lt;br /&gt;
or distortion there either.&lt;br /&gt;&lt;br /&gt;

Before doing anything else, if you don't have them installed&lt;br /&gt;
already, install the &lt;b&gt;mplayer&lt;/b&gt; and &lt;b&gt;mplayerplug-in&lt;/b&gt;
packages.&lt;br /&gt;&lt;br /&gt;

Whether you're using &lt;b&gt;Firefox&lt;/b&gt; or &lt;b&gt;Seamonkey&lt;/b&gt;, you'll need to&lt;br /&gt;
install &lt;b&gt;Greasemonkey&lt;/b&gt;. For &lt;b&gt;Firefox&lt;/b&gt;, check out:&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://www.greasespot.net/"&gt;Greasespot&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

If you're using &lt;b&gt;Seamonkey&lt;/b&gt;, you'll have to install &lt;b&gt;xsidebar&lt;/b&gt;.&lt;br /&gt;
You can get it at:&lt;br /&gt;&lt;br /&gt;

&lt;a href="https://addons.mozilla.org/en-US/seamonkey/addon/3284"&gt;xSidebar :: Seamonkey Add-ons&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

Then you can get the &lt;b&gt;Seamonkey&lt;/b&gt; modified &lt;b&gt;Greasemonkey&lt;/b&gt;&lt;br /&gt;
version at:&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://xsidebar.mozdev.org/modifiedmisc.html#greasemonkey"&gt;mozdev.org - xsidebar: modifiedmisc: Greasemonkey&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

Here's what's in my &lt;b&gt;~/.mplayer/mplayerplug-in.conf&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;

vo=gl&lt;br /&gt;
cachesize=512&lt;br /&gt;
cache-percent=5&lt;br /&gt;
profile=plugin&lt;br /&gt;&lt;br /&gt;

Here's what's in my &lt;b&gt;~/.mplayer/config&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;

[plugin]&lt;br /&gt;
autosync=0&lt;br /&gt;
mc=0&lt;br /&gt;
correct-pts=yes&lt;br /&gt;&lt;br /&gt;

Those are straight out of the installation instructions for the&lt;br /&gt;
&lt;b&gt;HQTube for Greasemonkey&lt;/b&gt; script. So far I haven't had&lt;br /&gt;
to change that or add anything else.&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;Caveat:&lt;/b&gt;&lt;br /&gt;
Right now the script &lt;b&gt;only works with Youtube&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;
Sun Nov 1 02:13:41 CST 2009&lt;br /&gt;
Addendum:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;

Had to stop using HQTube. Started getting error messages saying&lt;br /&gt;
it was no longer compatible and needed upgrading. Unfortunately,&lt;br /&gt;
I couldn't find an upgrade. So, I did some searching and ran across&lt;br /&gt;
the following:&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://userscripts.org/scripts/show/34765"&gt;Free Youtube! for Greasemonkey&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

So far it's not working too badly in this old Seamonkey version I'm&lt;br /&gt;
running. Lazy old me, I haven't upgraded yet to OpenBSD 4.6 but it&lt;br /&gt;
is going to happen shortly. Already received my shiny new CD set! ;)&lt;br /&gt;
Only problem with Free Youtube! I've had so far is it doesn't want to&lt;br /&gt;
play the videos on the BSD Conference part of Youtube. Wouldn't you know&lt;br /&gt;
it? They seem to be laid out differently than regular Youtube videos.&lt;br /&gt;
Hopefully after I upgrade I'll get that going too.&lt;br /&gt;



Had to uninstall HQTube. Started getting error messages that&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-8019016541005399636?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://userscripts.org/scripts/show/2499' title='Youtube Without Flash'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/8019016541005399636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=8019016541005399636' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/8019016541005399636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/8019016541005399636'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2009/05/youtube-without-flash.html' title='Youtube Without Flash'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-288091442747283358</id><published>2008-11-14T02:21:00.001-06:00</published><updated>2008-11-14T02:21:29.237-06:00</updated><title type='text'>Customizing Seamonkey's Toolbar</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;&lt;a href='http://www.ehow.com/how_2033282_customize-seamonkey-toolbar.html'&gt;How to Customize the SeaMonkey Toolbar | eHow.com&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;I thought this had some pretty good tips in it&lt;br/&gt;for Seamonkey, which is my favorite browser.&lt;br/&gt;Much faster than Firefox, at least in my browsing&lt;br/&gt;experiences.&lt;br/&gt;&lt;br/&gt;&lt;blockquote/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-288091442747283358?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/288091442747283358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=288091442747283358' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/288091442747283358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/288091442747283358'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2008/11/customizing-seamonkey-toolbar.html' title='Customizing Seamonkey&amp;#39;s Toolbar'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-4023353618337311980</id><published>2008-07-09T17:42:00.008-05:00</published><updated>2008-07-09T17:58:59.324-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='ssh tunnels'/><category scheme='http://www.blogger.com/atom/ns#' term='socks 5 proxy'/><category scheme='http://www.blogger.com/atom/ns#' term='newbies'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><title type='text'>SSH &amp; Samba Write-up</title><content type='html'>I solved a windows network connectivity problem I was&lt;br /&gt;
having when I was using a socks 5 proxy through an ssh&lt;br /&gt;
tunnel to my OpenBSD box for safer browsing. I'd leave&lt;br /&gt;
the windows box running but not use it, sometimes for&lt;br /&gt;
hours, and more often than not, overnight. When I'd try&lt;br /&gt;
to get anywhere with the browser I no could. I still had&lt;br /&gt;
connectivity with the OpenBSD box, but that was it. I put&lt;br /&gt;
in a batch file that cleans up the local area connection&lt;br /&gt;
on the windows box and run it from windows scheduler&lt;br /&gt;
every 6 hours and it solved the problem. The addendum,&lt;br /&gt;
batch file, and link to the network article that helped me&lt;br /&gt;
are at the bottom of my original write-up at:&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://polarwave.openbsd101.com/sshsamba.html"&gt;SSH &amp; Samba&lt;/a&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-4023353618337311980?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com/sshsamba.html' title='SSH &amp; Samba Write-up'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/4023353618337311980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=4023353618337311980' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4023353618337311980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4023353618337311980'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2008/07/ssh-samba-write-up.html' title='SSH &amp; Samba Write-up'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-4899169462918206456</id><published>2008-07-04T02:31:00.003-05:00</published><updated>2008-07-04T02:44:36.223-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='shell scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='cronjob'/><category scheme='http://www.blogger.com/atom/ns#' term='newbies'/><category scheme='http://www.blogger.com/atom/ns#' term='fluxbox'/><category scheme='http://www.blogger.com/atom/ns#' term='wallpaper'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='desktop'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><title type='text'>Fluxbox Article</title><content type='html'>I've got a new write up on switching desktop wallpaper in&lt;br /&gt;
fluxbox automatically on a scheduled basis by using a script&lt;br /&gt;
and a cronjob to call it. I also made some additions to my&lt;br /&gt;
.kshrc file exporting some values into the environment for&lt;br /&gt;
when I login to the system that can be tested against and&lt;br /&gt;
also tell fluxbox which one of my wallpaper files to load&lt;br /&gt;
when it's starting.&lt;br /&gt;&lt;br /&gt;

&lt;a href="http:polarwave.openbsd101.com/fluxdesk.html"&gt;Fluxbox Desktop&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-4899169462918206456?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com/fluxdesk.html' title='Fluxbox Article'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/4899169462918206456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=4899169462918206456' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4899169462918206456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4899169462918206456'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2008/07/fluxbox-article.html' title='Fluxbox Article'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-2565208758378519123</id><published>2008-05-31T17:06:00.012-05:00</published><updated>2008-07-04T02:28:14.840-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='pf'/><category scheme='http://www.blogger.com/atom/ns#' term='newbies'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='persistent tables'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><category scheme='http://www.blogger.com/atom/ns#' term='system info'/><title type='text'>Recent Web Site Updates</title><content type='html'>I finally got a couple of pages up I'd been wanting to&lt;br /&gt;
despite a bunch of interruptions. One is on installing&lt;br /&gt;
and configuring &lt;a href="http://conky.sourceforge.net"&gt;Conky&lt;/a&gt; to display system info on your&lt;br /&gt;
desktop. It also shows how to pull in other information&lt;br /&gt;
like weather reports and some system info that I couldn't&lt;br /&gt;
get with Conky's regular functions, due to either my own&lt;br /&gt;
misunderstanding of the instructions, or else something in&lt;br /&gt;
my chipset that's incompatible with the program. Probably&lt;br /&gt;
some of both.&lt;br /&gt;&lt;br /&gt;

ADDENDUM: 2008-06-06&lt;br /&gt;

Pertaining to Conky above, I've added some info to the page&lt;br /&gt;
that shows how I'm now getting stock market data to display.&lt;br /&gt;&lt;br /&gt;

ADDENDUM: 2008-06-13&lt;br /&gt;
Again, pertaining to Conky above, added some info on how I&lt;br /&gt;
kludged together a script to filter out my daily Accuweather&lt;br /&gt;
forecast email message, format it and scp it from that box to&lt;br /&gt;
the box I'm using conky on to be displayed below the current&lt;br /&gt;
conditions feed I get from NOAA's weather site.&lt;br /&gt;&lt;br /&gt;

The other write up is on creating a file to be used as a&lt;br /&gt;
persistent table for OpenBSD's &lt;a href="http://www.openbsd.org/faq/pf/index.html"&gt;PF&lt;/a&gt; packet filter firewall,&lt;br /&gt;
how to automatically concatenate IP addresses of would&lt;br /&gt;
be intruders to the file using scripts that run on a schedule&lt;br /&gt;
from a cronjob, and then flush the one table that does the&lt;br /&gt;
collecting and reload the persistent file back into its own&lt;br /&gt;
table. This makes it truly persistent, since rebooting has no&lt;br /&gt;
effect. You don't have to start back all over again with loads&lt;br /&gt;
of intrusion attempts in your logs.The pages are at:&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://polarwave.openbsd101.com/conky.html"&gt;Conky&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://polarwave.openbsd101.com/attackers.html"&gt;PF with a Cumlative Table&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

ADDENDUM: 2008-07-04&lt;br /&gt;
Again I've added some more to the conky article above.&lt;br /&gt;
This addition describes how I run 2 instances of conky&lt;br /&gt;
and change one of them depending on the time of day and&lt;br /&gt;
the day of the week, since one configuration uses stock&lt;br /&gt;
market data and weather, while the other for the times&lt;br /&gt;
when the market is closed just displays the weather.&lt;br /&gt;
The change is accomplished using 2 short shell scripts&lt;br /&gt;
and 2 cronjobs. The last part of the entry shows how I&lt;br /&gt;
clean stale values from the environment in case I close&lt;br /&gt;
X but don't log out of the system, and then restart X.&lt;br /&gt;
From the value that gets exported from .xinitrc conky&lt;br /&gt;
determines which configuration file to use by comparing&lt;br /&gt;
that value with a small text file containing appropriate&lt;br /&gt;
times to load the file with stock market data. If it's&lt;br /&gt;
after hours or on the weekend when X restarts, it loads&lt;br /&gt;
just the weather version of conky on the one side of the&lt;br /&gt;
screen. The other conky running on the right side of the&lt;br /&gt;
screen doesn't change. It always shows system information.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-2565208758378519123?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com' title='Recent Web Site Updates'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/2565208758378519123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=2565208758378519123' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/2565208758378519123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/2565208758378519123'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2008/05/recent-web-site-updates.html' title='Recent Web Site Updates'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-8658187689189116884</id><published>2008-05-06T03:50:00.004-05:00</published><updated>2008-05-06T04:29:47.297-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='remote printing'/><category scheme='http://www.blogger.com/atom/ns#' term='newbies'/><category scheme='http://www.blogger.com/atom/ns#' term='color'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><category scheme='http://www.blogger.com/atom/ns#' term='xterm'/><title type='text'>4.3 Upgrade &amp; New Pages on Web Site</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;4.3 OpenBSD is out and I've got one box upgraded so far. Had a&lt;br/&gt;couple of problems which you can read about at:&lt;br/&gt;&lt;br/&gt;

&lt;a href="http://polarwave.openbsd101.com/blog"&gt;Denny’s OpenBSD Newbies blog&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;

Should be clear to see they were my fault. :-)&lt;br/&gt;&lt;br/&gt;

I also put up a couple of new pages under the tips &amp;amp; tricks section.&lt;br/&gt;
One on using colors in xterm and one on quick remote printing over ssh.&lt;br/&gt;&lt;br/&gt;


&lt;a href="http://polarwave.openbsd101.com/xtermcolor.html"&gt;Xterm and Color&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;
&lt;a href="http://polarwave.openbsd101.com/remoteprint.html"&gt;Quick Printing Over SSH&lt;/a&gt;&lt;br/&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-8658187689189116884?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/8658187689189116884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=8658187689189116884' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/8658187689189116884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/8658187689189116884'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2008/05/43-upgrade-new-pages-on-web-site.html' title='4.3 Upgrade &amp;amp; New Pages on Web Site'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-4619460357758622815</id><published>2008-04-16T13:02:00.009-05:00</published><updated>2008-05-06T04:26:24.128-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='newbies'/><category scheme='http://www.blogger.com/atom/ns#' term='tips and tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='firefox and external mailto links'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><category scheme='http://www.blogger.com/atom/ns#' term='new web site page'/><title type='text'>New Page on Web Site</title><content type='html'>&lt;p&gt;
Added a new page on my web site pertaining to using external&lt;br /&gt;
mailto links in Firefox with older text email programs like&lt;br /&gt;
mutt and pine. You can read it at:&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://polarwave.openbsd101.com/firefoxmail.html"&gt;Firefox and External Mailto Links&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

Only a couple of weeks until OpenBSD 4.3 is released! Yay! Time
to do the upgrade dance. Only thing I hate doing is messing with&lt;br /&gt;
nut on my one box. Took me a long time to figure it out. Even&lt;br /&gt;
after I thought I had it right, turned out I didn't and I had to do&lt;br /&gt;
some more reading and work on it. I've put off upgrading from&lt;br /&gt;
4.1 to 4.2, partly because of the libexpat issue, but mostly from&lt;br /&gt;
laziness and taking advantage of of the OpenBSD development&lt;br&gt;
team's kindness in providing security patches back 2 release&lt;br /&gt;
versions. I'd say that last reason probably makes up 90% of my&lt;br /&gt;
reason for being an upgrade laggard. :-)&lt;br /&gt;&lt;br /&gt;

I've had good success in getting &lt;b&gt;pf&lt;/b&gt; and &lt;b&gt;ssh&lt;/b&gt; working well with&lt;br /&gt;
my windows box and also with &lt;b&gt;pure-ftpd&lt;/b&gt;. I especially love&lt;br /&gt;
the &lt;b&gt;bruteforce&lt;/b&gt; rule capabilities!&lt;br /&gt;&lt;br /&gt;

That's it for now. Stay safe, stay secure. Use OpenBSD. That'll&lt;br /&gt;
take care of most of your security right there!&lt;br /&gt;
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-4619460357758622815?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com/firefoxmail.html' title='New Page on Web Site'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/4619460357758622815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=4619460357758622815' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4619460357758622815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4619460357758622815'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2008/04/new-page-on-web-site.html' title='New Page on Web Site'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-7052042061951435176</id><published>2008-03-24T02:56:00.004-05:00</published><updated>2008-03-24T03:25:47.274-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='at scheduler'/><category scheme='http://www.blogger.com/atom/ns#' term='tiips and tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='newbies'/><category scheme='http://www.blogger.com/atom/ns#' term='web site update'/><category scheme='http://www.blogger.com/atom/ns#' term='mutt gpg keys'/><category scheme='http://www.blogger.com/atom/ns#' term='chrooted pure-ftpd and pf'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><title type='text'>Three New Pages on Web Site</title><content type='html'>&lt;p&gt;
I've added three new pages to my website at:&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://polarwave.openbsd101.com/muttgpgkeys.html"&gt;Mutt &amp; GPG Keys&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://polarwave.openbsd101.com/scheduler.html"&gt;Simple Homemade Scheduler&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://polarwave.openbsd101.com/pure-ftpd.html"&gt;Pure-FTPd&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-7052042061951435176?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com' title='Three New Pages on Web Site'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/7052042061951435176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=7052042061951435176' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/7052042061951435176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/7052042061951435176'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2008/03/three-new-pages-on-web-site.html' title='Three New Pages on Web Site'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-4966042473352401116</id><published>2008-02-23T08:34:00.010-06:00</published><updated>2008-02-24T03:07:47.787-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='rsa keys'/><category scheme='http://www.blogger.com/atom/ns#' term='newbies'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='passwordless login'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><title type='text'>Web Site Update</title><content type='html'>&lt;p&gt;
Finally made good my threat and added a new page on using&lt;br /&gt;
SSH, Samba, and Cygwin on Windows to forward ports for secure&lt;br /&gt;
browsing, file management, and so forth, from Windows boxen&lt;br /&gt;
to OpenBSD boxen. Includes a howto on generating passwordless&lt;br /&gt;
SSH RSA keys which is what I believe is safer than typing in&lt;br /&gt;
cleartext passwords. Page is at:&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://http://polarwave.openbsd101.com/sshsamba.html"&gt;SSH &amp;amp; Samba&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;

I also added a link to a site where you can pick up binary updates&lt;br /&gt;
for OpenBSD. When I checked it there were currently 3 available,&lt;br /&gt;
4.0, 4.1 and 4.2. Here's the link again:&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://www.z74.net/openbsd.html"&gt;Binary Updates for OpenBSD&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-4966042473352401116?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com/sshsamba.html' title='Web Site Update'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/4966042473352401116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=4966042473352401116' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4966042473352401116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4966042473352401116'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2008/02/web-site-update.html' title='Web Site Update'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-6792148881481103691</id><published>2008-02-06T04:07:00.000-06:00</published><updated>2008-02-06T04:22:17.696-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='web site server problem'/><title type='text'>My Web Site Server Error Messages</title><content type='html'>&lt;p&gt;
I ran into the familiar "Forbidden You don't have permission thing"&lt;br /&gt;
myself the other day when I was testing links for typos. All I can&lt;br /&gt;
say is, there must've been a server problem at the time. As soon&lt;br /&gt;
as I got the message about it happening to someone else, I tested&lt;br /&gt;
the links again from this blog and they're all working. So that's&lt;br /&gt;
why I say it must've been a server problem. If anyone experiences&lt;br /&gt;
this again, please leave me a comment. I certainly want it to be&lt;br /&gt;
accessible to to all visitors.&lt;br /&gt;&lt;br /&gt;
&lt;/p&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-6792148881481103691?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com' title='My Web Site Server Error Messages'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/6792148881481103691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=6792148881481103691' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6792148881481103691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6792148881481103691'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2008/02/my-web-site-server-error-messages.html' title='My Web Site Server Error Messages'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-4725780180381001101</id><published>2008-02-04T01:34:00.000-06:00</published><updated>2008-02-06T04:28:09.523-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openbsd tips tricks newbies multimedia dvd ripping burning'/><title type='text'>Updates</title><content type='html'>&lt;p&gt;
I updated my blog entry of Saturday, September 01, 2007 titled&lt;br /&gt;
&lt;b&gt;&amp;quot;More Multimedia&amp;quot;&lt;/b&gt; pertaining to some things I found recently&lt;br /&gt;
to help when you get errors using mplex to recombine *.m2v and&lt;br /&gt;
and *ac3 files together again for final mpeg output. Includes a link&lt;br /&gt;
to the article at:&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://polarwave.openbsd101.com/dvd.html"&gt;http://polarwave.openbsd101.com/dvd.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;/p&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-4725780180381001101?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com/dvd.html' title='Updates'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/4725780180381001101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=4725780180381001101' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4725780180381001101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4725780180381001101'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2008/02/updates.html' title='Updates'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-4816784975877550990</id><published>2008-01-24T21:24:00.001-06:00</published><updated>2008-02-06T04:28:49.502-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='web site blog'/><category scheme='http://www.blogger.com/atom/ns#' term='samba'/><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='news feeds'/><title type='text'>Web Site Updates</title><content type='html'>&lt;p&gt;
I've put up some new stuff on the web site.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;New feeds at &lt;a href="http://polarwave.openbsd101.com/feeds.html"&gt;Feeds Page&lt;/a&gt;
&lt;li&gt;New entry on &lt;a href="http://polarwave.openbsd101.com/blog"&gt;Blog&lt;/a&gt; about Samba 
and Firefox over SSH.
&lt;/ul&gt;&lt;br /&gt;
&lt;/p&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-4816784975877550990?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/4816784975877550990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=4816784975877550990' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4816784975877550990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4816784975877550990'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2008/01/web-site-updates.html' title='Web Site Updates'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-7302148210226414669</id><published>2008-01-07T02:28:00.000-06:00</published><updated>2008-02-06T04:24:32.706-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shell scripting'/><category scheme='http://www.blogger.com/atom/ns#' term='package update checking'/><category scheme='http://www.blogger.com/atom/ns#' term='command line ftp'/><category scheme='http://www.blogger.com/atom/ns#' term='web site update'/><category scheme='http://www.blogger.com/atom/ns#' term='.netrc'/><title type='text'>Recent Web Site Update</title><content type='html'>&lt;p&gt;
I was reading an article by Dru Lavigne at:&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://www.onlamp.com/pub/a/onlamp/excerpt/BSDHacks_chap1/index1.html"&gt;
Hack #51. Get the Most Out of FTP&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

I used the info on .netrc along with a script I put together to&lt;br /&gt;
login anonymously automatically, get a directory listing of the&lt;br /&gt;
packages and diff it against a earlier existing directory listing&lt;br /&gt;
in my home directory to see if any packages had been updated.&lt;br /&gt;
It was fun as I went along, learing more about scripting and&lt;br /&gt;
command line ftp.&lt;br /&gt;
&lt;a href="http://polarwave.openbsd101.com/morepkgs.html"&gt;More Packages&lt;/a&gt;&lt;br&gt;&lt;br /&gt;

&lt;/p&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-7302148210226414669?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com/morepkgs.html' title='Recent Web Site Update'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/7302148210226414669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=7302148210226414669' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/7302148210226414669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/7302148210226414669'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2008/01/recent-web-site-update.html' title='Recent Web Site Update'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-1131845913634291942</id><published>2008-01-02T02:56:00.000-06:00</published><updated>2008-02-06T04:23:50.438-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='mutt'/><category scheme='http://www.blogger.com/atom/ns#' term='mailing list help'/><category scheme='http://www.blogger.com/atom/ns#' term='vim'/><category scheme='http://www.blogger.com/atom/ns#' term='newbies'/><category scheme='http://www.blogger.com/atom/ns#' term='web site update'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='ntpd'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><title type='text'>New Updates on Web Site</title><content type='html'>&lt;p&gt;
Added some pages to the new web site. There's help there on&lt;br /&gt;
vim, mutt, getting help on OpenBSD mailing lists, NTPD, dump&lt;br /&gt;
and restore, working with packages, and a page on scripting&lt;br /&gt;
help and .profile aliases to keep from opening the same program&lt;br /&gt;
twice.&lt;br /&gt;
&lt;a href="http://polarwave.openbsd101.com/tipstricks.html"&gt;Polarwave's Tips &amp;amp; Tricks&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;/p&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-1131845913634291942?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com' title='New Updates on Web Site'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/1131845913634291942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=1131845913634291942' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/1131845913634291942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/1131845913634291942'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2008/01/new-updates-on-web-site.html' title='New Updates on Web Site'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-6942053952631346729</id><published>2007-12-19T04:43:00.000-06:00</published><updated>2008-02-06T04:23:00.721-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openbsd tips tricks newbies'/><title type='text'>New Subdomain</title><content type='html'>&lt;p&gt;
Well, it's not my own domain, but a subdomain serves the purpose&lt;br /&gt;
and was a very nice gesture of the owner of the domain. I've begun&lt;br /&gt;
putting up tips and tricks for newbies there for OpenBSD. Going to&lt;br /&gt;
be some work and will take time, but time I got. Now money, that's&lt;br /&gt;
another story. :-) Site is at:&lt;br /&gt;
&lt;a href="http://polarwave.openbsd101.com"&gt;http://polarwave.openbsd101.com&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/p&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-6942053952631346729?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://polarwave.openbsd101.com' title='New Subdomain'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/6942053952631346729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=6942053952631346729' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6942053952631346729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6942053952631346729'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2007/12/new-subdomain.html' title='New Subdomain'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-4450341266178492072</id><published>2007-09-17T10:33:00.000-05:00</published><updated>2007-09-17T11:10:32.426-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openbsd scripting system maintenance'/><title type='text'>Maintenance Scripts</title><content type='html'>&lt;p&gt;
These probably aren't the most professional system maintenance&lt;br /&gt;
scripts ever written, but they get the job done. The first one,&lt;br /&gt;
logroll.sh, does just what it says. It rolls over my procmail&lt;br /&gt;
and getmail logs, saving them with the date appended and starts&lt;br /&gt;
a new log like so:&lt;br /&gt;&lt;br /&gt;

#!/bin/sh&lt;br /&gt;
#&lt;br /&gt;
# Script to rotate ~/.procmail/.procmail-log and&lt;br /&gt;
# ~/.getmail/log every week so they don't start to&lt;br /&gt;
# take on huge proportions.&lt;br /&gt;
#&lt;br /&gt;
cp ~/.procmail/.procmail-log \&lt;br /&gt;
~/.procmail/`date +"%Y%m%d"`.procmail-log.txt&lt;br /&gt;
#&lt;br /&gt;
echo &gt; ~/.procmail/.procmail-log&lt;br /&gt;
#&lt;br /&gt;
cp ~/.getmail/log ~/.getmail/`date +"%Y%m%d"`.log.txt&lt;br /&gt;
echo &gt; ~/.getmail/log&lt;br /&gt;&lt;br /&gt;

There's a harder way which I tried first, not thinking, where&lt;br /&gt;
the log is copied with the date appended, then delete the log,&lt;br /&gt;
then recreate with touch, then chmod to 0600. Lot of work and&lt;br /&gt;
unnecessary. All you have to do is copy it with the date and&lt;br /&gt;
then echo nothing into it like 'echo &gt;'. Still the same file&lt;br /&gt;
as before, just nothing in it, starting over fresh.&lt;br /&gt;&lt;br /&gt;

The next one is for root, to backup changes in /etc and /var/db&lt;br /&gt;
without having to do a dump, just using rsync:&lt;br /&gt;&lt;br /&gt;

#!/bin/sh&lt;br /&gt;
#&lt;br /&gt;
# Weelky rsync changes in /etc/ &amp; /var/db to /data2/backups&lt;br /&gt;
#&lt;br /&gt;
/usr/local/bin/rsync -arvvgt /etc/ /data2/backups/etc &amp;&amp; \&lt;br /&gt;
/usr/local/bin/rsync -arvvgt /var/db/ /data2/backups/db/&lt;br /&gt;&lt;br /&gt;

The double 'vv' is for very verbose to give lots of info.&lt;br /&gt;&lt;br /&gt;

The last script's comments make it pretty self explanatory.&lt;br /&gt;
Just a way to keep track of what you've installed lately.&lt;br /&gt;&lt;br /&gt;

#!/bin/sh&lt;br /&gt;
#&lt;br /&gt;
# Script lists /var/db/pkg &amp; outputs it to a file with&lt;br /&gt;
# the date appended. Then it diffs it against the previous&lt;br /&gt;
# list from the week before &amp; outputs the differences to a&lt;br /&gt;
# separate file with the date appended. Then it takes the&lt;br /&gt;
# most recent list wth date appended &amp; copies/overwrites&lt;br /&gt;
# the previous weeks listing to be current.&lt;br /&gt;
#&lt;br /&gt;
cd /data2/backups&lt;br /&gt;
ls -al /var/db/pkg &gt; `date +"%Y%m%d"`pkgs.txt&lt;br /&gt;
diff pkgs.inst.list.txt `date +"%Y%m%d"`pkgs.txt &gt; \&lt;br /&gt;
`date +"%Y%m%d"`chgs.txt&lt;br /&gt;&lt;br /&gt;
mv pkgs.inst.list.txt `date +"%Y%m%d"`previous.week.pkgs.txt&lt;br /&gt;
cp `date +"%Y%m%d"`pkgs.txt pkgs.inst.list.txt&lt;br /&gt;&lt;br /&gt;
&lt;/p&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-4450341266178492072?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/4450341266178492072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=4450341266178492072' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4450341266178492072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/4450341266178492072'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2007/09/maintenance-scripts.html' title='Maintenance Scripts'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-8228332981090151946</id><published>2007-09-16T13:19:00.000-05:00</published><updated>2007-09-16T22:48:46.016-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openbsd cups samba pnm2ppa foomatic-rip'/><title type='text'>CUPS Printing Problems</title><content type='html'>&lt;p&gt;
Been a rough week and a half. For a long time now I just&lt;br /&gt;
used OpenBSD to print mostly plaintext documentation to&lt;br /&gt;
a windows shared printer. Now I'd like to be able to print&lt;br /&gt;
other stuff too. Graphics, web pages, etc. I installed cups,&lt;br /&gt;
samba, and pnm2ppa which built okay on my system but it's&lt;br /&gt;
not included in the ports and packages. I downloaded it&lt;br /&gt;
from http://www.superbhosting.net/sourceforge.php and built&lt;br /&gt;
it on my OpenBSD 4.1 box. I already had foomatic-rip and&lt;br /&gt;
foomatic-gwrapper in /usr/local/bin so I renamed them to&lt;br /&gt;
stop any confusion, since cups installs foomatic-rip when&lt;br /&gt;
you install it cups. I finally figured out how to print to&lt;br /&gt;
my windows shared printer with it, but that was just the&lt;br /&gt;
tip of the iceberg. I couldn't stop the shearing problem&lt;br /&gt;
no matter what I tried when I'd try to print a web page.&lt;br /&gt;
And, it was running off the bottom of the page despite the&lt;br /&gt;
fact I had it set for letter, not a4 mode. I finally went&lt;br /&gt;
into firefox's page setup, unchecked the box that says to&lt;br /&gt;
fit to page, and manually set it to 75 percent, and told&lt;br /&gt;
it to print images and colors. Also, when you configure&lt;br /&gt;
cups from the browser interface at localhost:631 under the&lt;br /&gt;
printer options section, I told it to use the ordered mode&lt;br /&gt;
under the dithering algorithm instead of Floyd Steinberg&lt;br /&gt;
which promises higher quality, and set the bidirectional&lt;br /&gt;
printing to on for faster speed, although it says without&lt;br /&gt;
it you'll get better quality. Now I'm still getting some&lt;br /&gt;
shearing on some letters, but not too much. When I print&lt;br /&gt;
just a text web page like at the rfc web site, it comes&lt;br /&gt;
out pretty good. I'll have to learn how to do more stuff&lt;br /&gt;
with it from the command line. Maybe I can tweak it some&lt;br /&gt;
more. I downloaded a new HP-DeskJet_722C-pnm2ppa.ppd for&lt;br /&gt;
pnm2ppa to use for my 722C printer. The cupsd daemon man&lt;br /&gt;
page says the default is to run in the background as a&lt;br /&gt;
daemon, so all I added this to /etc/rc.local:&lt;br /&gt;&lt;br /&gt;

if [ -x  /usr/local/sbin/cupsd ]; then&lt;br /&gt;
         /usr/local/sbin/cupsd&lt;br /&gt;
fi&lt;br /&gt;&lt;br /&gt;

And, to run samba as a daemon, I added:&lt;br /&gt;&lt;br /&gt;

if [ -x /usr/local/libexec/smbd ]; then&lt;br /&gt;
        /usr/local/libexec/smbd -D&lt;br /&gt;
fi&lt;br /&gt;&lt;br /&gt;

if [ -x /usr/local/libexec/nmbd ]; then&lt;br /&gt;
        /usr/local/libexec/nmbd -D&lt;br /&gt;
fi&lt;br /&gt;&lt;br /&gt;

That did the trick. They start up fine on boot. Anyone&lt;br /&gt;
reading this who has some experience with the shearing&lt;br /&gt;
problem with cups, foomatic-rip, and pnm2ppa, please&lt;br /&gt;
share it if you have time. That's it for today.&lt;br /&gt;&lt;br /&gt;
&lt;/p&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-8228332981090151946?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/8228332981090151946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=8228332981090151946' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/8228332981090151946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/8228332981090151946'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2007/09/cups-printing-problems.html' title='CUPS Printing Problems'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-238189737092321441</id><published>2007-09-01T02:12:00.000-05:00</published><updated>2008-02-04T01:13:58.082-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='multimedia dvdbackup streamdvd streamanalyze dvdauthor lsdvd tcprobe openbsd'/><title type='text'>More Multimedia</title><content type='html'>&lt;p&gt;
DVD Ripping and Burning Tips&lt;br /&gt;&lt;br /&gt;

I usually use 1 of 2 methods for finding out&lt;br /&gt;
what's on a dvd. First, I run&lt;br /&gt;&lt;br /&gt;

lsdvd&lt;br /&gt;&lt;br /&gt;

to see how many titles and chapters are on the dvd,&lt;br /&gt;
and I look for the main title. More often than not,&lt;br /&gt;
it's the first one, but not always. Good example was&lt;br /&gt;
one I ran across that had five 24 minute episodes and&lt;br /&gt;
then one large file with all 5 in it. When I played&lt;br /&gt;
the dvd with mplayer, I saw on the menu you could&lt;br /&gt;
choose each individual episode, or you could choose&lt;br /&gt;
the menu listing 'play all'. The combined file was&lt;br /&gt;
too large for a single-layer dvd, but I could rip each&lt;br /&gt;
individual episode and put 3 on one dvd and the other&lt;br /&gt;
2 on a 2nd dvd. Here's how I did it, starting with&lt;br /&gt;
episode 1:&lt;br /&gt;&lt;br /&gt;

mplayer dvd://1 -dumpaudio -dumpfile episode1.ac3&lt;br /&gt;
mplayer dvd://1 -dumpvideo -dumpfile episode1.m2v&lt;br /&gt;
mplex -f 8 -o episode1.vob episode1.ac3 episode1.m2v&lt;br /&gt;&lt;br /&gt;

So, in the above scenario, title one was just one episode,&lt;br /&gt;
not the main movie file with all the episodes in it.&lt;br /&gt;&lt;br /&gt;

The other program I use to check the dvd is streamanalyze,&lt;br /&gt;
part of the streamdvd package, which includes lsdvd, at&lt;br /&gt;
least in the OpenBSD version of it. Do this:&lt;br /&gt;&lt;br /&gt;

streamanalyze -i /dev/rcd0c -t 1&lt;br /&gt;
(assuming title 1 is the main title)&lt;br /&gt;&lt;br /&gt;

That'll show you what's in title 1. File formats look like:&lt;br /&gt;&lt;br /&gt;

Videostream id's always start with '0xen' where n is the&lt;br /&gt;
track number. In most cases a video dvd contains only one&lt;br /&gt;
video stream '0xe0' but multiangle videos might contain&lt;br /&gt;
more video streams.&lt;br /&gt;&lt;br /&gt;

Audiostream id's always start with '0x8n' where n is the&lt;br /&gt;
track number. Most video dvd's contain multiple audiostreams&lt;br /&gt;
in different languages, director comments, etc. There's a&lt;br /&gt;
special case for mpeg audiostreams that are pretty rare for&lt;br /&gt;
find. If you have a dvd containing mpeg audiostreams and want&lt;br /&gt;
to select one of them, use '0xcn' as an identifier where n is&lt;br /&gt;
the tracknumber (also special, counting starts from 1).&lt;br /&gt;&lt;br /&gt;

Subpicturestream id's always start with '0x2n' where n is&lt;br /&gt;
the track number. Most video DVDs contain multiple subpicture&lt;br /&gt;
streams in different languages.&lt;br /&gt;&lt;br /&gt;

The above info on streamanalyze and streamdvd can be found&lt;br /&gt;
in readme files installed with the programs. On my OpenBSD&lt;br /&gt;
box, the readme are in:&lt;br /&gt;&lt;br /&gt;

/usr/local/share/doc/streamdvd/README.streamanalyze&lt;br /&gt;
/usr/local/share/doc/streamdvd/README.streamdvd&lt;br /&gt;&lt;br /&gt;

* NOTE *&lt;br /&gt;
You can use streamdvd to rip and shrink a dvd movie, but be&lt;br /&gt;
forewarned, YMMV! I did okay with it on smaller movies, and&lt;br /&gt;
even on shrinking some larger ones, but when it came to&lt;br /&gt;
extracting particular streams rather than just everything, the&lt;br /&gt;
program choked up on me more often than not. It may have&lt;br /&gt;
something to do with the way it interfaces with dvdauthor:&lt;br /&gt;&lt;br /&gt;

dvdauthor -t -o /path/to/save -f 'streamdvd -i /dev/rcd0c \&lt;br /&gt;
nbsp&amp;;nbsp&amp;;nbsp&amp;;nbsp&amp;;-t 1-s 0xe0,0x80,0x20 -c 1-9 |'&lt;br /&gt;&lt;br /&gt;

That's a good example. It's trying to get title 1, the main&lt;br /&gt;
video, the first audio, and the first subtitle, chapters 1&lt;br /&gt;
through 9. That's what the docs say. But, it always seems to&lt;br /&gt;
run into problems. That's why I turned to mplayer in the first&lt;br /&gt;
place.&lt;br /&gt;&lt;br /&gt;

Before leaving this section, tcprobe deserves mention. It's&lt;br /&gt;
part of transcode but can be used independently for medium&lt;br /&gt;
and print information. The command&lt;br /&gt;&lt;br /&gt;

tcprobe -i foo.avi&lt;br /&gt;

will print interesting information about the avi file itself&lt;br /&gt;
and its video audio content. It has some interesting switches&lt;br /&gt;
you can tack ontothe command. As always in the 'nix' world, try&lt;br /&gt;&lt;br /&gt;

man 1 tcprobe. Yep, READ THE FINE MANUAL! ;)&lt;br /&gt;&lt;br /&gt;

Before doing any ripping, if you see the main title is really a&lt;br /&gt;
whopper, like 8GB or so, you can rip the movie in 2 parts with&lt;br /&gt;
mplayer. Let's say&lt;br /&gt;&lt;br /&gt;

lsdvd reports there are 24 chapters in the main title. To split&lt;br /&gt;
the dvd:&lt;br /&gt;&lt;br /&gt;

mplayer dvd://1 -chapter 1-12 -dumpstream -dumpfile movie1st.vob&lt;br /&gt;
mplayer dvd://1 -chapter 13-24 -dumpstream -dumpfile movie2nd.vob&lt;br /&gt;
 
But, if you see your movie will fit on a single-layer dvd, or&lt;br /&gt;
that it looks close anyway, just do this:&lt;br /&gt;&lt;br /&gt;

mplayer dvd://# -dumpstream -dumpfile movie.vob&lt;br /&gt;&lt;br /&gt;

To play the movie with english subtitles, do this:&lt;br /&gt;&lt;br /&gt;

mplayer -sid 0 movie.vob&lt;br /&gt;&lt;br /&gt;

If your movie won't fit on a single-layer dvd, but it doesn't&lt;br /&gt;
look too awfully big, after you've ripped it, do the following:&lt;br /&gt;&lt;br /&gt;

Extract audio:&lt;br /&gt;
tcextract -i movie.vob -t vob -x ac3 -a 0 &gt; audio.ac3&lt;br /&gt;&lt;br /&gt;

Extract video:&lt;br /&gt;
tcextract -i movie.vob -t vob -x mpeg2 &gt; movie.m2v&lt;br /&gt;&lt;br /&gt;

If you need subtitles use spububmux from dvdauthor and ifo_dump&lt;br /&gt;
from libdvdread-utils. Check for color palette:&lt;br /&gt;&lt;br /&gt;

ifo_dump /dev/rcd0c 1 |grep Color |sed 's/Color ..: \&lt;br /&gt;
00//' &gt; palette.yuv&lt;br /&gt;&lt;br /&gt;

Generate picture PNG in format 4.12&lt;br /&gt;
spuunmux -s 1 -p palette.yuv movie.vob&lt;br /&gt;
This command generates PNG files and command file sub.xml&lt;br /&gt;

Calculate the exact shrinkage factor with this formula:&lt;br /&gt;
requant_factor = (video_size / (4700000000 - audio_size)) * 1.04&lt;br /&gt;
* NOTE: This worked perfectly for me first time out. YMMV *&lt;br /&gt;&lt;br /&gt;

Now use the factor derived from the formula above to&lt;br /&gt;
shrink the video:&lt;br /&gt;&lt;br /&gt;

tcrequant -i movie.m2v -o new.m2v -f (shrinkage factor)&lt;br /&gt;&lt;br /&gt;

*NOTE*&lt;br /&gt;
From everything I've read on shrinking, you shouldn't&lt;br /&gt;
go larger than a 1.5 factor. It degrades the quality too&lt;br /&gt;
much. If after running the formula above you find the&lt;br /&gt;
factor exceeds 1.5, you should probably split the movie.&lt;br /&gt;&lt;br /&gt;

Now recombine new.m2v with the audio file audio.ac3:&lt;br /&gt;
mplex -f 8 -o new.mpg new.m2v audio.ac3&lt;br /&gt;&lt;br /&gt;

&lt;b&gt;*UPDATE*&lt;/b&gt;&lt;br /&gt;
There's a newer version of this article up on my web site&lt;br /&gt;
with additional information about how to handle mplex errors.&lt;br /&gt;
I think it comes about because of the newer copy protection.&lt;br /&gt;
I know when I first added this article to my blog, I wasn't&lt;br /&gt;
having those sort of problems with mplex. I could be wrong,&lt;br /&gt;
though. Feel free to leave a comment. When you get to the page,&lt;br /&gt;
search for &amp;quot;&lt;b&gt;Nasty DVD's&lt;/b&gt;&amp;quot;. Article is here:&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://polarwave.openbsd101.com/dvd.html"&gt;DVD's - Analyze Rip Burn&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

At this point, you can insert subtitles.&lt;br /&gt;
spumux sub.xml &lt; new.mpg &gt; new.vob&lt;br /&gt;&lt;br /&gt;

Now that you've got your movie ripped and/or shrunk, you&lt;br /&gt;
setup the dvd file structure with dvdauthor. First, create&lt;br /&gt;
dvd.xml and name it whatever you want. Just be sure to have&lt;br /&gt;
an .xml extension&lt;br /&gt;&lt;br /&gt;

&amp;lt;dvdauthor&amp;gt;&lt;br /&gt;
&amp;lt;vmgm /&amp;gt;&lt;br /&gt;
&amp;lt;titleset&amp;gt;&lt;br /&gt;
&amp;lt;titles&amp;gt;&lt;br /&gt;
&amp;lt;pgc&amp;gt;&lt;br /&gt;
&amp;lt;vob file="new.vob" /&amp;gt;&lt;br /&gt;
&amp;lt;/pgc&amp;gt;&lt;br /&gt;
&amp;lt;/titles&amp;gt;&lt;br /&gt;
&amp;lt;/titleset&amp;gt;&lt;br /&gt;
&amp;lt;/dvdauthor&amp;gt;&lt;br /&gt;&lt;br /&gt;

Pass the xml file to dvdauthor for authoring:&lt;br /&gt;

dvdauthor -o /path/you/saved/to -x dvd.xml&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;

Dvdauthor creates 2 subdirectories below where you're at,&lt;br /&gt;
AUDIO_TS &amp; VIDEO_TS. Let's say you're in /data/dvdfiles.&lt;br /&gt;&lt;br /&gt;

* NOTE *&lt;br /&gt;
I don't know if I can stress the value of dvd rewritables&lt;br /&gt;
enough! Catch some on sale and get them. They'll save you&lt;br /&gt;
coasters and frisbees, for sure. I got some half-priced&lt;br /&gt;
recently by watching the Sunday ads. Of course, you can&lt;br /&gt;
take your changes on eBay. I haven't run into hardly any&lt;br /&gt;
problems in three years. 'X' Those are crossed fingers. ;)&lt;br /&gt;
Anyway, here's some info on rewritables:&lt;br /&gt;&lt;br /&gt;

To blank a dvd-rw that already has been written to, and&lt;br /&gt;
really wipe everything off of it, do:&lt;br /&gt;&lt;br /&gt;

dvd+rw-format -blank=full /dev/rcd0c&lt;br /&gt;&lt;br /&gt;

That does a full blanking. This will take about one hour&lt;br /&gt;
on 1x media. A fast blanking can be done by:&lt;br /&gt;&lt;br /&gt;

dvd+rw-format -blank /dev/rcd0c&lt;br /&gt;&lt;br /&gt;

On to the burning.&lt;br /&gt;&lt;br /&gt;

To create an image to burn, do this:&lt;br /&gt;&lt;br /&gt;

mkisofs -dvd-video -udf -o new.iso /data/dvdfiles/&lt;br /&gt;&lt;br /&gt;

To burn the image, do this:&lt;br /&gt;&lt;br /&gt;

growisofs -Z /dev/rcd0c=new.iso&lt;br /&gt;&lt;br /&gt;

To skip the last 2 steps &amp; burn directly to dvd, do this:&lt;br /&gt;&lt;br /&gt;

growisofs -dvd-compat -dvd-video -udf -Z /dev/rcd0c \&lt;br /&gt;
/data/dvdfiles&lt;br /&gt;
(Assuming /dev/rcd0c is your burning device and&lt;br /&gt;
/data/dvdfiles is theoutput directory of dvdauthor)&lt;br /&gt;&lt;br /&gt;

or, for the directory containing AUDIO_TS and VIDEO_TS:&lt;br /&gt;&lt;br /&gt;

growisofs -dvd-compat -Z /dev/rcd0c -dvd-video .&lt;br /&gt;&lt;br /&gt;

(and don't forget the . on the end)&lt;br /&gt;&lt;br /&gt;

* NOTE on burning devices *&lt;br /&gt;
On other 'nix' type systems, your burning device might be and&lt;br /&gt;
probably is something other than /dev/rcd0c but I'm writing as&lt;br /&gt;
an OpenBSD user, and that's what my device is.&lt;br /&gt;&lt;br /&gt;

gopher://sdf.lonestar.org/00/users/dancer68/multimedia/&lt;br /&gt;
dvdripping.txt.txt&lt;br /&gt;

(the double extension's NOT a typo)&lt;br /&gt;&lt;br /&gt;

As a side note, here's an alternative to streaming with vlc using&lt;br /&gt;
nc or netcat:&lt;br /&gt;&lt;br /&gt;

On your streaming client, type this first:&lt;br /&gt;&lt;br /&gt;

$ nc -l 1234 | mplayer -cache 8192 -&lt;br /&gt;&lt;br /&gt;

Then walk to your streaming server and push the file&lt;br /&gt;
down the network's throat.&lt;br /&gt;&lt;br /&gt;

Filename is just an example.&lt;br /&gt;&lt;br /&gt;

$ cat Aerosmith-Amazing.mpg | nc 192.168.1.5 1234&lt;br /&gt;&lt;br /&gt;

If the streaming client IP is 192.168.1.5...&lt;br /&gt;&lt;br /&gt;

That is all. It works. Really cool. :)&lt;br /&gt;&lt;br /&gt;

If you're on the client end, you could still use vlc to do&lt;br /&gt;
the same thing I just outlined with vlc to save the stream.&lt;br /&gt;&lt;br /&gt;


Some links that helped me:&lt;br /&gt;&lt;br /&gt;

http://www.brandonhutchinson.com/Burning_Video_DVDs_&lt;br /&gt;
in_Linux.html&lt;br /&gt;&lt;br /&gt;
http://www.ericdugas.com/howtos/ripDVDWithMplayer/&lt;br /&gt;
ripDVDWithMplayer.php&lt;br /&gt;&lt;br /&gt;
http://www.dizwell.com/prod/node/47&lt;br /&gt;&lt;br /&gt;
http://forum.freespire.org/archive/index.php/t-2978.html&lt;br /&gt;&lt;br /&gt;
http://www.linuxquestions.org/linux/answers/Applications_GUI_&lt;br /&gt;
Multimedia/DVD9_to_DVD5_guide&lt;br /&gt;&lt;br /&gt;
http://wiki.videolan.org/index.php/VLC_command-line_help&lt;br /&gt;&lt;br /&gt;
http://digg.com/software/How_to_Rip_DVDs_with_VLC&lt;br /&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-238189737092321441?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/238189737092321441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=238189737092321441' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/238189737092321441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/238189737092321441'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2007/09/more-multimedia.html' title='More Multimedia'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-3186013079398454924</id><published>2007-08-19T02:34:00.000-05:00</published><updated>2007-08-19T03:02:41.320-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenBSD system df script'/><title type='text'>Drive Free Space Script</title><content type='html'>&lt;p&gt;
I originally got this script from:&lt;br /&gt;&lt;br /&gt;

http://64.233.169.104/search?q=cache:aIS0abHfbL4J:&lt;br /&gt;
techrepublic.com.com/i/tr/downloads/home/&lt;br /&gt;
milton_ingram_scripts.pdf+milton_ingram_scripts&lt;br /&gt;
&amp;hl=en&amp;ct=clnk&amp;cd=1&amp;gl=us&amp;lr=lang_en&amp;client=firefox-a&lt;br /&gt;
&lt;br /&gt;

That's in html for convenience. There's also a pdf file:&lt;br /&gt;&lt;br /&gt;

http://techrepublic.com.com/i/tr/downloads/&lt;br /&gt;
home/milton_ingram_scripts.pdf&lt;br /&gt;&lt;br /&gt;

I changed it around a little. My way reads in gigabytes and I&lt;br /&gt;
dressed up the right side under 'Mounted on' to align left to&lt;br /&gt;
make it neater and look like the regular output of df.&lt;br /&gt;
You'll have to play around with the heading spacing on&lt;br /&gt;
Filesystem, Total, Used, and so forth. I'm no good at&lt;br /&gt;
html and besides, the formatting of this template on&lt;br /&gt;
my blog wouldn't allow the lines to appear as they do&lt;br /&gt;
in the script anyway. For instance, the ==== lines have&lt;br /&gt;
29 cut off the end to make it fit here. Any questions, I&lt;br /&gt;
can always send the script to anyone interested. I just&lt;br /&gt;
liked it since it helps me keep track of how much free&lt;br /&gt;
space I have.&lt;br /&gt;&lt;br /&gt;

#!/bin/ksh&lt;br /&gt;
# Generate a readable disk free listing&lt;br /&gt;
# MWI 0310&lt;br /&gt;
#&lt;br /&gt;
echo "======================================= "&lt;br /&gt;
echo "File System Report in GB :" `date`&lt;br /&gt; 
echo "======================================= "&lt;br /&gt;
echo "Filesystem  Total    Used   Avail  Capacity  Mounted on "&lt;br /&gt;
echo "======================================= "&lt;br /&gt;
df -k | sort -k6 |awk '$1!="swap" &amp;&amp; $1!="Filesystem" \&lt;br /&gt;
{tt+=$2;tu+=$3;tr+=$4;printf "%-9s %10.2f %10.2f %10.2f %9s \&lt;br /&gt;
     %-13s\n", $1, $2/1048576, $3/1048576, $4/1048576, $5, $6} \&lt;br /&gt;
END{printf "\nTotal GB  %10.2f %10.2f %10.2f\n", tt/1048576, \&lt;br /&gt;
 tu/1048576, tr/1048576 }'&lt;br /&gt;
echo "======================================= "&lt;br /&gt;&lt;br /&gt;

&lt;/p&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-3186013079398454924?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/3186013079398454924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=3186013079398454924' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/3186013079398454924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/3186013079398454924'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2007/08/drive-free-space-script.html' title='Drive Free Space Script'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-5325961991283253950</id><published>2007-08-17T12:57:00.000-05:00</published><updated>2007-08-17T16:15:21.149-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='multimedia dvdbackup streamdvd streamanalyze dvdauthor lsdvd tcprobe openbsd'/><title type='text'>Multimedia on OpenBSD</title><content type='html'>&lt;p&gt;
Been a while since a posting. Been trying to learn how to&lt;br /&gt;
rip and burn dvds. When the content is equal or smaller&lt;br /&gt;
than single-layer size, 4.7GB, it's been a breeze, using&lt;br /&gt;
dvdbackup. But, a marjority of dvd content is larger than&lt;br /&gt;
that. In that case, I've mostly used streamanalyze, lsdvd&lt;br /&gt;
and tcprobe to look into the dvd structure; streamdvd and&lt;br /&gt;
dvdauthor to rip and then restructure the content to be&lt;br /&gt;
burned. For burning, I've been using growisofs. There have&lt;br /&gt;
been instances where nothing worked for me. I could rip the&lt;br /&gt;
dvd but not just the one title with just its chapters and&lt;br /&gt;
audio, so I never even got to the point where I could shrink&lt;br /&gt;
it to fit on a single-layer. Streamdvd choked on the dvd's&lt;br /&gt;
structure, sometimes dumping its core.&lt;br /&gt;&lt;br /&gt;

I've had good luck with radio programs. I love to listen&lt;br /&gt;
to several that come on late at night, but if I have to get&lt;br /&gt;
up early, that's out. So, I have a small program I call from&lt;br /&gt;
a cronjob in a script with the url of the program. It takes&lt;br /&gt;
an integer after it for the number of minutes it should run&lt;br /&gt;
mplayer, streaming in the audio and dumping it to mp3. Here's&lt;br /&gt;
the code for it. Just compile it with gcc. Name the outfile&lt;br /&gt;
whatever you want.&lt;br /&gt;&lt;br /&gt;

------------------&lt;br /&gt;&lt;br /&gt;

#include &lt;stdio.h&gt;&lt;br /&gt;
#include &lt;sys/types.h&gt;&lt;br /&gt;
#include &lt;unistd.h&gt;&lt;br /&gt;
#include &lt;stdlib.h&gt;&lt;br /&gt;
#include &lt;signal.h&gt;&lt;br /&gt;
#include &lt;sys/time.h&gt;&lt;br /&gt;&lt;br /&gt;

extern char *__progname;&lt;br /&gt;&lt;br /&gt;

/* This program self destructs after a specified time */&lt;br /&gt;
int main(int argc, char **argv) {&lt;br /&gt;&lt;br /&gt;

        int ret;&lt;br /&gt;
        long minutes;&lt;br /&gt;
        struct timeval t, t2;&lt;br /&gt;
        pid_t child;&lt;br /&gt;
        if (argc &lt; 3) {&lt;br /&gt;
                printf("Usage: %s &lt;minutes&gt; &lt;mplayer arguments&gt; \n",&lt;br /&gt;
                                __progname);&lt;br /&gt;
                exit(128);&lt;br /&gt;
                /* NOT REACHED */&lt;br /&gt;
        }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;


        if ( (child =  fork()) != 0) {&lt;br /&gt;
                /* I am the parent process */&lt;br /&gt;
                minutes = strtol(argv[1], NULL, 10);&lt;br /&gt;
                sleep(60 * minutes);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;


                /* I am done! */&lt;br /&gt;
                kill(child, SIGINT);&lt;br /&gt;
                exit(0);&lt;br /&gt;&lt;br /&gt;

        } else {&lt;br /&gt;
                /* I am the child */&lt;br /&gt;
                execv("/usr/local/bin/mplayer", argv + 1);&lt;br /&gt;&lt;br /&gt;

                exit(0);&lt;br /&gt;
        }&lt;br /&gt;
}&lt;br /&gt;&lt;br /&gt;
       
------------------&lt;br /&gt;&lt;br /&gt;

Here's an example script to call from a cron job&lt;br /&gt;
to record your radio program, assuming you named&lt;br /&gt;
the compiled output of the above code to streamdump.&lt;br /&gt;
And, make sure it's in your path, like mine is ~/&lt;br /&gt;
or somewhere like /usr/local/bin.&lt;br /&gt;&lt;br /&gt;

------------------&lt;br /&gt;&lt;br /&gt;

#!/bin/sh&lt;br /&gt;  
#&lt;br /&gt;
# script called from a cronjob to save an audiocast&lt;br /&gt;
~/streamdump 120 -dumpstream mms://adressofstream \&lt;br /&gt;
-dumpfile /data/xxx/mp3/show/`date +"%Y%m%d"`xxx.mp3&lt;br /&gt;
#&lt;br /&gt;&lt;br /&gt;

Streamdump runs mplayer 120 minutes, dumps the stream&lt;br /&gt;
into the dumpfile switch which saves the output to a&lt;br /&gt;
directory in mp3 format. the `date +"%Y%m%d"` adds the&lt;br /&gt;
date on the frontend of xxx.mp3 to make your shows&lt;br /&gt;
easier to keep track of. In the url, it may be something&lt;br /&gt;
other than mms like http or whatever. You'll have to find&lt;br /&gt;
that out from where you're streaming from.&lt;br /&gt;&lt;br /&gt;

------------------&lt;br /&gt;&lt;br /&gt;

That's it from the coast for right now. Have to get&lt;br /&gt;
started trying a different print setup on my bsd boxes.&lt;br /&gt;
I've always been lazy before, being setup to just print&lt;br /&gt;
text via a network shared printer on my windows box.&lt;br /&gt;
Anything graphic I did directly from the windows box.&lt;br /&gt;
I have a Deskjet 722C printer. It was part of a short-&lt;br /&gt;
lived series of printers HP put out. The only driver&lt;br /&gt;
I've ever had that works with it has been:&lt;br /&gt;&lt;br /&gt;

HP-DeskJet_722C-pnm2ppa.ppd&lt;br /&gt;&lt;br /&gt;

Got that from linuxprinting.org a long while back.&lt;br /&gt;
Here's what my /etc/printcap has looked like up until&lt;br /&gt;
now:&lt;br /&gt;&lt;br /&gt;

#       $OpenBSD: printcap,v 1.4 2003/03/28 21:32:30 jmc Exp $&lt;br /&gt;
lp|windows line printer:\&lt;br /&gt;
        :rp=HPDeskJet:\&lt;br /&gt;
        :rm=dancer:\&lt;br /&gt;
        :af=/etc/foomatic/HP-DeskJet_722C-pnm2ppa.ppd:\&lt;br /&gt;
        :if=/usr/local/bin/foomatic-rip:\&lt;br /&gt;
        :sd=/var/spool/output:\&lt;br /&gt;
        :mx#0:\&lt;br /&gt;
        :sh&lt;br /&gt;&lt;br /&gt;

But, I can't print from firefox or the gimp like this.&lt;br /&gt;
So, I'm going to try installing apsfilter and see how&lt;br /&gt;
it goes. I once read an old nix hand's opinion of bsd&lt;br /&gt;
printing, describing it as a convoluted zen-like&lt;br /&gt;
experience. ;) That's pretty much been my experience!&lt;br /&gt;&lt;br /&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-5325961991283253950?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/5325961991283253950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=5325961991283253950' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/5325961991283253950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/5325961991283253950'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2007/08/multimedia-on-openbsd.html' title='Multimedia on OpenBSD'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-1207893333492784803</id><published>2007-07-13T22:03:00.001-05:00</published><updated>2007-07-13T23:47:08.917-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='procmail'/><category scheme='http://www.blogger.com/atom/ns#' term='mutt'/><category scheme='http://www.blogger.com/atom/ns#' term='openbsd'/><category scheme='http://www.blogger.com/atom/ns#' term='getmail'/><title type='text'>The Joys of Procmail</title><content type='html'>Procmail, possibly from the root word proctology. ;)
Had one heck of a time setting it up with mutt and getmail
but it's a done deal, up and running finally. I'm putting
in the configuration below. Possibly someone having the
problems I did will be googling and find it. We can only
hope. I want to stress the importance, too, of the order
in which the below values are placed. Pay attention to
that when you're creating your own configuration. And do
not put anything in you don't need. Also, VERBOSE=off
stopped a good amount of the problems I was having when
I'd run getmail and it'd call procmail. Procmail choked
on the output. Once verbose was turned off, things got
immediately better.&lt;br /&gt;&lt;br /&gt;

VERBOSE=off&lt;br /&gt;
PMDIR=$HOME/.procmail&lt;br /&gt;
LOGFILE=$PMDIR/.procmail-log&lt;br /&gt;
MAILDIR=$HOME/Mail&lt;br /&gt;
DEFAULT=$MAILDIR/inbox&lt;br /&gt;
LOCKFILE=$HOME/.lockmail&lt;br /&gt;
COMSAT=no&lt;br /&gt;
PER=(mypersonal@gmail\.com|mypersonal@linux\.org)&lt;br /&gt;
FBSDQUESTIONS=(owner-freebsd-questions@freebsd\.org)&lt;br /&gt;
FBSDSTABLE=(owner-freebsd-stable@freebsd\.org)&lt;br /&gt;
FBSDCVSALL=(owner-cvs-all@freebsd\.org)&lt;br /&gt;
OBSDALL=(owner-misc@openbsd\.org)&lt;br /&gt;
OBSDSEC=(owner-security-annouce@openbsd\.org)&lt;br /&gt;&lt;br /&gt;
:0&lt;br /&gt;
*$ ^From:.*$PER&lt;br /&gt;
per/&lt;br /&gt;&lt;br /&gt;
:0&lt;br /&gt;
*$ ^From:.*$FBSDQUESTIONS&lt;br /&gt;
fbsd/&lt;br /&gt;&lt;br /&gt;
:0&lt;br /&gt;
*$ ^From:.*$FBSDSTABLE&lt;br /&gt;
fbsd/&lt;br /&gt;&lt;br /&gt;
:0&lt;br /&gt;
*$ ^From:.*$FBSDCVSALL&lt;br /&gt;
fbsd/&lt;br /&gt;&lt;br /&gt;
:0&lt;br /&gt;
*$ ^From:.*$OBSDALL&lt;br /&gt;
obsd/&lt;br /&gt;&lt;br /&gt;
:0&lt;br /&gt;
*$ ^From:.*$OBSDSEC&lt;br /&gt;
obsdsec/&lt;br /&gt;&lt;br /&gt;

I have lots of individual entries below the section listed,
but for brevity's sake, that's all I'm putting in for now.
You'll have to read the "fine" manual to see other ways
to filter. There are lots and it can get really complicated.
Here's how I have getmail setup:&lt;br /&gt;&lt;br /&gt;

[options]&lt;br /&gt;
verbose = 0&lt;br /&gt;
read_all = false&lt;br /&gt;
delete = true&lt;br /&gt;
message_log = ~/.getmail/log&lt;br /&gt;&lt;br /&gt;

[retriever]&lt;br /&gt;
type = SimplePOP3Retriever&lt;br /&gt;
server = myispmailserver&lt;br /&gt;
username = myusername&lt;br /&gt;
password = mypassword&lt;br /&gt;&lt;br /&gt;

[destination]&lt;br /&gt;
#type = Maildir&lt;br /&gt;
#path = /home/dennyboy/Mail/&lt;br /&gt;
type = MDA_external&lt;br /&gt;
path = /usr/local/bin/procmail&lt;br /&gt;
unixfrom = true&lt;br /&gt;&lt;br /&gt;

Setting up .muttrc is a real joy too. ;) I'll have to recount
that some other time. It goes without saying there's a lot of
reading. It pays to to read the instructions. People in the
mailing lists are notoriously recalcitrant about helping you
if they think you haven't really tried on your own, especially
when it comes to reading the man pages and installed docs.
Rightfully so, too. I worked on this mess, on and off, for
over a week. I finally did ask on the openbsd misc mailing
list, but just like when you were back in grade school doing
your math for the teacher, you need to "show your work". I got
a really good answer and after a little editing with vim, I
finally had everything working in a short time.

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-1207893333492784803?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/1207893333492784803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=1207893333492784803' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/1207893333492784803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/1207893333492784803'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2007/07/joys-of-procmail.html' title='The Joys of Procmail'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-1308663442568400632</id><published>2007-06-15T03:14:00.000-05:00</published><updated>2007-06-15T03:32:21.148-05:00</updated><title type='text'>OpenBSD 4.1 Install</title><content type='html'>&lt;p&gt;
Finally some time to do it! I recently acquired an old Dell
2.2 Celeron. At the time I got it, it had Windows XP on it,
along with AOL and only 384M of ram. And, it hadn't been
defragged in who knows how long. Slower than molasses! I
yanked the hard drive, used a special usb to ata adapter
line to back everything up to dvd for the people who gave
me the box, put the hard drive back along with a new 160G
second hard drive, added a Diamond Stealth 256M video card
with an extra pci mounted fan to keep it cool, and fianlly
added memory for a total of 1.5G. Tried running Fedora 6
on it for a while and it was real nice, but I just couldn't
stay away from OpenBSD. Got my new cd's, installed 4.1,
configured X, actually built java 1.5 without mishap, and
added most of my favorite programs. Still have to finish
setting mutt and getmail up. I promised a friend I would
try to wean myself off old reliable pine and fetchmail.
Also trying to get started on C programming since that's
the backbone of bsd. Also applied all the latest patches.
I still have to hook my old Epson scanner up and install
the sane-backends and frontends along with the gimp and
xsane. Hopefully that'll go off without a hitch like the
rest has. Nice to be able to rebuild my kernel in about
15 minutes as opposed to before on my old PIII 800 where
it takes about about 35 to 40 minutes. I shared a lot of
good articles off my Google Reader, so check them out.
&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-1308663442568400632?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/1308663442568400632/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=1308663442568400632' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/1308663442568400632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/1308663442568400632'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2007/06/openbsd-41-install.html' title='OpenBSD 4.1 Install'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-3729895068501878344</id><published>2007-06-01T02:34:00.000-05:00</published><updated>2007-06-01T04:43:32.717-05:00</updated><title type='text'>Mount Partitions to Restore Backups</title><content type='html'>&lt;p&gt;
I've been asking myself what do I do if a partition
gets corrupted? Yeah, I do dumps regularly to another
disk, but when you boot from an OpenBSD install cd
there's no matching /dev/wd1d there. There are no
devices with wd1, only wd0. There's MAKEDEV but it
says that the operation isn't permitted when I type
./MAKEDEV wd1d. What's going on here? I don't have
to worry about being root, this is an installation
cd. Actually I've shelled out of the install routine.
Let's do ls -l and see what we get. I'll be darned,
MAKEDEV is not executable. chmod +x MAKEDEV
and that solves that problem.&lt;br /&gt;&lt;br /&gt;
Once again, I type ./MAKEDEV wd1d and hit enter.
This time there's no error message. Another quick
ls -l shows all kinds of wd1 listings now including
wd1d. Now I mount -r /dev/wd1d /mnt and no error
message. Let's see what mount shows. Cool, wd1d is
mounted. I do a ls -l on it and sure enough, there's
my /data partition on the hard drive where all the
dumps are stored.&lt;br /&gt;&lt;br /&gt;
Now if a partition gets corrupted, all I have to do
is boot up on the cd, make the device, run newfs on
the corrupted partition, mount the partition with
the backups on it as shown above, mount the newly
formatted partition in write mode, change directory
into it and restore the appropriate dump.
Life is good!&lt;br /&gt;&lt;br /&gt;
Someone may say you don't need the cd to boot from,
you just boot the bsd.rd kernel, and that's okay,
that is if your / partition isn't the corrupted
one. Also, remember, restore is in /sbin. I don't
think there's anything wrong with using the cd to
work from. That is, unless you didn't install off
a cd and don't have one. I think it's a good idea
to keep one one hand.&lt;br /&gt;&lt;br /&gt;
This is probably kindergarden stuff for most of the
guys on the OpenBSD mailing list, but for me it's
like when the apple hit old Isaac on the head! It's
a revelation! ;) I'm putting this up here in hopes
someday some poor newbie having the same problem
googles around and finds it. That'd be cool.&lt;br /&gt;&lt;br /&gt;
Everytime I do a fresh install of OpenBSD, I create
a wd1a partition on a 2nd hard drive the same size
as my root partition on the primary hard drive and
label it altroot. In root's crontab, right below my
env settings SHELL, PATH, and HOME, I enter
ROOTBACKUP=1. That way, every day the system will
backup /root to /altroot. Alternately, you can edit
/etc/daily.local and enter the same ROOTBACKUP=1
line.&lt;br /&gt;&lt;br /&gt;
In either case, you also have to remember to enter
the partition info in /etc/fstab. The format is a
little different too, than the format the others
partitions use: /dev/wd1a /altroot ffs xx 0 0&lt;br /&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-3729895068501878344?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/3729895068501878344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=3729895068501878344' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/3729895068501878344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/3729895068501878344'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2007/06/mounting-partitions-problem.html' title='Mount Partitions to Restore Backups'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-8456301798420481438</id><published>2007-03-23T13:48:00.000-05:00</published><updated>2007-06-01T04:27:10.324-05:00</updated><title type='text'>All Hail the Supreme Nerd God!</title><content type='html'>&lt;p&gt;
Yes, that's me! ;) By some fluke of fate, I scored even higher
than my most revered BSD Guru, Dru Lavigne! Blind, outhouse luck
is what I say! ;) Here's my reward:&lt;br /&gt;&lt;br /&gt;


&lt;a href="http://www.nerdtests.com/ft_nq.php?im"&gt;&lt;img src="http://www.nerdtests.com/images/ft/nq.php?val=4789" alt="I am nerdier than 96% of all people. Are you nerdier? Click here to find out!" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;


More will follow. Long time since the my last entry, the interim
being fraught with computer rescues for others, system rebuilds
for myself, experimentation with Fedora Linux, a new (newer than
any of my old boxes) computer given to me for testing new stuff,
hardware crashes, and so on. Been an interesting time for sure!
&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-8456301798420481438?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/8456301798420481438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=8456301798420481438' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/8456301798420481438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/8456301798420481438'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2007/03/all-hail-supreme-nerd-god.html' title='All Hail the Supreme Nerd God!'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-6352632679394207777</id><published>2007-02-03T04:11:00.000-06:00</published><updated>2007-02-03T05:08:02.270-06:00</updated><title type='text'>YouTube - Installing OpenBSD in 5 minutes</title><content type='html'>&lt;p&gt;
I thought this was a fitting link for my blog. Pretty&lt;br /&gt;
cool video!&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://www.youtube.com/watch?v=N0cPFRdT7mQ"&gt;YouTube - Installing OpenBSD in 5 minutes&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-6352632679394207777?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.youtube.com/watch?v=N0cPFRdT7mQ' title='YouTube - Installing OpenBSD in 5 minutes'/><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/6352632679394207777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=6352632679394207777' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6352632679394207777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/6352632679394207777'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2007/02/youtube-installing-openbsd-in-5-minutes.html' title='YouTube - Installing OpenBSD in 5 minutes'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-1546556148153757376</id><published>2007-02-02T18:43:00.000-06:00</published><updated>2007-02-03T01:00:28.175-06:00</updated><title type='text'>February Update</title><content type='html'>&lt;p&gt;
January was a busy month. I had put off updating OpenBSD too&lt;br /&gt;
long and finally got around to it towards the latter part of&lt;br /&gt;
of the month. Read the upgrade faq at:&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://www.openbsd.org/faq/upgrade40.html"&gt;OpenBSD Upgrade Guide&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
Doesn't help when you don't pay attention to detail, which is&lt;br /&gt;
what I was guilty of. I left out a few important steps that you&lt;br /&gt;
always have to do. Since I figured I should probably start over&lt;br /&gt;
from scratch and had a good backup (what, you don't backup?),&lt;br /&gt;
I downloaded a snapshot and installed it. Everything went fine&lt;br /&gt;
and about a week later, I tried it again just to see if I was&lt;br /&gt;
just plain lucky the first time. Once again, rock solid OpenBSD&lt;br /&gt;
came through. Since then, I've gotten into a lot of cd burning&lt;br /&gt;
since my significant other got me involved in replicating some&lt;br /&gt;
Vietnamese Buddhist cd's to be donated to the temple. I put the&lt;br /&gt;
original cd in and ran:&lt;br /&gt;&lt;br /&gt;
cdparanoia -B&lt;br /&gt;&lt;br /&gt;
to copy all the tracks into the directory I was in. Then:&lt;br /&gt;&lt;br /&gt;
sudo cdrecord -v speed=12 driveropts=burnfree /dev/rcd0c -audio -pad *wav&lt;br /&gt;&lt;br /&gt;
The hard part was using the labeling program on the windows box.&lt;br /&gt;
Reason being, I wanted to get the Vietnamese words along with the&lt;br /&gt;
diacritics right on the label. I tried several Vietnamese keyboard&lt;br /&gt;
programs, and then found out I could insert special symbols right&lt;br /&gt;
from the fonts with the labeling program. After that, print the&lt;br /&gt;
labels and put them on the cd's. Done! Also did quite a bit of&lt;br /&gt;
playing around with ffmpeg and grip. There are still licensing&lt;br /&gt;
issues with flash, so I decided to give gnash a try. It does okay&lt;br /&gt;
on simple and older flash stuff, but tends to choke and dump core&lt;br /&gt;
on other newer and either more complicated or poorly put together&lt;br /&gt;
flash files. It's still in development, so that's to be expected.&lt;br/&gt;
Been using gvim a lot and loving it. Great editor!&lt;br /&gt;
I've recently put up some stuff on my gopherspace; helpfiles, etc.&lt;br /&gt;
For those running IE, you have to go through a proxy, and any html&lt;br /&gt;
files will have to viewed by choosing view source or saving it to&lt;br /&gt;
disk. Hey, if you're diehard windows, you can always install cgywin!
&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://gopher.floodgap.com/gopher/gw?a=gopher://sdf.lonestar.org/11/users/dancer68"&gt;My Gopherspace&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
For others running Firefox, Seamonkey, Netscape, Lynx, etc., go to:&lt;br /&gt;&lt;br /&gt;
&lt;a href="gopher://sdf.lonestar.org/11/users/dancer68"&gt;My Gopherspace&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
There are lots of other things I've been trying, but as usual, I'm&lt;br /&gt;
up burning the midnight oil and have other projects early in the&lt;br /&gt;
morning, so that's it for now.&lt;br /&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-1546556148153757376?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/1546556148153757376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=1546556148153757376' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/1546556148153757376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/1546556148153757376'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2007/02/february-update.html' title='February Update'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-116487480451841530</id><published>2006-11-30T00:32:00.000-06:00</published><updated>2006-12-14T07:54:47.723-06:00</updated><title type='text'>Geek Awareness</title><content type='html'>&lt;p&gt;I've been sitting here after midnight, doing what seems, upon&lt;br /&gt;
reflection, geeky things. I've been listening to jazz, reading&lt;br /&gt;
some social comment stuff, studying the &lt;a href="http://www.lyx.org/"&gt;Lyx&lt;/a&gt; introduction&lt;br /&gt;
and tutorial since I'm interested in doing some publishing,&lt;br /&gt;
running an ssh mission over to an &lt;a href="http://www.microsoft.com/windowsxp/"&gt;XP&lt;/a&gt; box to see if certain&lt;br /&gt;
files were installed in &lt;a href="http://www.cygwin.com/"&gt;Cygwin&lt;/a&gt; like what I'm using on this&lt;br /&gt;
&lt;a href="http://www.openbsd.org/"&gt;OpenBSD&lt;/a&gt; box, using &lt;a href="http://freshmeat.net/projects/snownews/"&gt;Snownews&lt;/a&gt; to read &lt;a  href="http://web.resource.org/rss/1.0/"&gt;RSS&lt;/a&gt; feeds from&lt;br /&gt;
various &lt;a href="http://www.opensource.org/"&gt;OpenSource&lt;/a&gt; projects around the &lt;a href="http://www.w3.org/"&gt;Web&lt;/a&gt; , especially&lt;br /&gt;
from &lt;a href="http://blogs.ittoolbox.com/unix/bsd/"&gt;Dru Lavigne's Blog&lt;/a&gt; , accessing it with &lt;a href="http://lynx.browser.org/"&gt;Lynx&lt;/a&gt; , my&lt;br /&gt;
text-based browser, registered at the &lt;a href="http://www.linuxformat.co.uk/"&gt;LXF (Linux Format)&lt;/a&gt;&lt;br /&gt;
web site and retrieved my new password once again using&lt;br /&gt;
&lt;a href="http://www.openssh.com/"&gt;SSH&lt;/a&gt; to login to my &lt;a href="http://www.unix.org/"&gt;Unix&lt;/a&gt; shell account and use &lt;a href="http://www.washington.edu/pine/faq/whatis.html"&gt;Pine&lt;/a&gt; to&lt;br /&gt;
read my email at &lt;a href="http://sdf.lonestar.org/"&gt;SDF&lt;/a&gt; , and so on.&lt;br /&gt;&lt;br /&gt;
I remember back in the early 90's when I was just starting&lt;br /&gt;
out with computers and trying to get everything I could free,&lt;br /&gt;
since money is always an item to consider when you're still&lt;br /&gt;
raising a family. Now, with all the resources listed above,&lt;br /&gt;
I'm slowly but surely weaning myself away from &lt;a href="http://www.microsoft.com/"&gt;Microsoft&lt;/a&gt; ,&lt;br /&gt;
not because I don't like the system or the people developing&lt;br /&gt;
 and selling it, but once again due to the expense of keeping&lt;br /&gt;
up with it, as opposed to relying almost solely on opensource&lt;br /&gt;
to get my computing done. But hey, maybe one of these days&lt;br /&gt;
I'll have more money again and invest in a brand new shiny&lt;br /&gt;
&lt;a href="http://www.microsoft.com/windowsvista/"&gt;Vista&lt;/a&gt; cd or dvd set! Keyword here is "MAYBE". ;)&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-116487480451841530?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/116487480451841530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=116487480451841530' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/116487480451841530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/116487480451841530'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/11/geek-awareness.html' title='Geek Awareness'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-116450867358450230</id><published>2006-11-25T20:25:00.000-06:00</published><updated>2006-11-25T20:47:37.806-06:00</updated><title type='text'>Keeping Up with Packages</title><content type='html'>I like to follow the OpenBSD advice that it's better&lt;br /&gt;
to install their binary packages, rather than build&lt;br /&gt;
programs from ports, unless there's a particular need&lt;br /&gt;
not covered by a package. That being said, I wanted&lt;br /&gt;
an easy way to keep abreast of package updates and&lt;br /&gt;
additions without subscribing to any more mail lists&lt;br /&gt;
than I already have, so I kludged up a script to run&lt;br /&gt;
from a cronjob every morning. Then I could check it&lt;br /&gt;
when I was up and about. Some folks read the paper.&lt;br /&gt;
Not me. ;) The script runs something like this:&lt;br /&gt;&lt;br /&gt;

----------------------------------------------------&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# just a script to update my package index file&lt;br /&gt;
# without a bunch of typing! ;)&lt;br /&gt;
#&lt;br /&gt;
wget ftp://ftp.openbsd.org/pub/OpenBSD/3.9/packages/i386/&lt;br /&gt;
index.txt &amp;&amp; mv index.txt index.`date +"%Y%m%d%H%M%S"`.txt&lt;br /&gt;
#&lt;br /&gt;
----------------------------------------------------&lt;br /&gt;&lt;br /&gt;

Wget fetches the file index.txt, and then uses mv with&lt;br /&gt;
the date function to create a unique file that can be&lt;br /&gt;
diffed against older versions. Simple but effective.&lt;br /&gt;
Too bad the funnies don't come with it. ;)&lt;br /&gt;&lt;br /&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-116450867358450230?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/116450867358450230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=116450867358450230' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/116450867358450230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/116450867358450230'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/11/keeping-up-with-packages.html' title='Keeping Up with Packages'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-116379597024537508</id><published>2006-11-17T14:38:00.000-06:00</published><updated>2006-11-17T14:39:30.880-06:00</updated><title type='text'>Cygin Login Errors from OpenBSD Box</title><content type='html'>Updated Cygwin on my XP box. Thought because it stopped&lt;br /&gt;
several times before finishing and having to choose a&lt;br /&gt;
different server, that that had something to do with it.&lt;br /&gt;
Apparently not. Searched the Cygwin mailing list archives&lt;br /&gt;
and found the following:&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://cygwin.com/ml/cygwin/2006-10/msg00283.html"&gt;Fixing /etc/profile&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

You just copy C:\cygwin\etc\defaults\etc\profile over&lt;br /&gt;
C:\cygwin\etc\profile and restart cygwin. After that,&lt;br /&gt;
everything goes back to normal. Just another day in puter&lt;br /&gt;
paradise. Speaking of which, I'm always bragging about&lt;br /&gt;
how I never have to reboot OpenBSD all the time like I&lt;br /&gt;
do "Winblows". ;) Sitting here this morning, reading&lt;br /&gt;
the news in Firefox on the OpenBSD box, and BOOM, down&lt;br /&gt;
she went! I've read all sorts of problems and responses&lt;br /&gt;
in the OpenBSD mailing lists with spontaneous reboots,&lt;br /&gt;
and nobody wants to think their hardware's crapping out,&lt;br /&gt;
but in my experience, that's almost always what's caused&lt;br /&gt;
it on any of my boxes. Case in point: Same box, last year&lt;br /&gt;
maybe, or earlier this year, everytime I'd drag a large&lt;br /&gt;
file across from XP to some dir on the OpenBSD box, it'd&lt;br /&gt;
reboot. Upon careful examination of the mobo, turned out&lt;br /&gt;
to be some leaking capacitors. Changed out the mobo and,&lt;br /&gt;
while I was at it, put in a new power supply too. It sure&lt;br /&gt;
didn't last very long. All boxes here are hooked into UPS's,&lt;br /&gt;
which is a prerequisite around this area. The power company&lt;br /&gt;
is always dropping power off, especially since Katrina came&lt;br /&gt;
to see us in 2005. I guess it's a moot point, though. I've&lt;br /&gt;
always had good luck with power supplies, but I guess I&lt;br /&gt;
just got a bad apple out of the barrel last time.&lt;br /&gt;&lt;br /&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-116379597024537508?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/116379597024537508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=116379597024537508' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/116379597024537508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/116379597024537508'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/11/cygin-login-errors-from-openbsd-box.html' title='Cygin Login Errors from OpenBSD Box'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-116370887884504634</id><published>2006-11-16T13:39:00.000-06:00</published><updated>2006-11-16T15:22:13.656-06:00</updated><title type='text'>OpenBSD - Create &amp; Burn ISO's</title><content type='html'>This is a subject that confused me early on, so
I thought it might help someone to gather some
common facts and links in one spot.&lt;br /&gt;&lt;br /&gt;
After you've got your sources in place, in my case&lt;br /&gt;
/data/user/openbsd4.0/i386&lt;br /&gt;
you can create your iso image. Here's what I did:&lt;br /&gt;&lt;br /&gt;

cd /data/user/openbsd4.0/&lt;br /&gt;
mkisofs \&lt;br /&gt;
-v \&lt;br /&gt;
-r \&lt;br /&gt;
-T \&lt;br /&gt;
-J \&lt;br /&gt;
-V "OpenBSD-4.0-Release" \&lt;br /&gt;
-b i386/cdrom40.fs \&lt;br /&gt;
-c boot.catalog \&lt;br /&gt;
-o /data/user/OpenBSD-4.0-Release.iso \&lt;br /&gt;
-A "OpenBSD 4.0 Release" \&lt;br /&gt;
.&lt;br /&gt;&lt;br /&gt;
Don't forget that last dot. It'll befuddle you&lt;br /&gt;
and kick your butt if you do!&lt;br /&gt;&lt;br /&gt;
Now you're ready to burn the iso image to a cd.&lt;br /&gt;
I like to use a cd rewritable the first time just&lt;br /&gt;
in case I screw things up, so I don't waste a cd.&lt;br /&gt;
This is what I did:&lt;br /&gt;&lt;br /&gt;
sudo cdrecord blank=fast dev=/dev/cd0c:0,0,0&lt;br /&gt;
(your hardware configuration may differ)&lt;br /&gt;
sudo cdrecord -v dev=/dev/rcd0c /data/user/OpenBSD-4.0-Release.iso&lt;br /&gt;&lt;br /&gt;
My cd is setup in /etc/fstab. Yours might not be.&lt;br /&gt;
Here's how mine is setup:&lt;br /&gt;&lt;br /&gt;
/dev/cd0a /mntcd1 cd9660 ro,noauto 0 0&lt;br /&gt;&lt;br /&gt;
I mounted it like so to check if everything got burned right:&lt;br /&gt;&lt;br /&gt;
sudo mount /mntcd1&lt;br /&gt;&lt;br /&gt;
Everything checked out, so the cd's ready to boot from&lt;br /&gt;
and start the upgrade process. In case you don't have&lt;br /&gt;
your cd in /etc/fstab,  using my hardware config as an&lt;br /&gt;
example, I could mount it like so:&lt;br /&gt;&lt;br /&gt;
sudo mount -r -t cd9660 /dev/cd0a /mntcd1&lt;br /&gt;
or&lt;br /&gt;
sudo mount_cd9660 /dev/cd0a /mntcd1&lt;br /&gt;&lt;br /&gt;
Here are some links you can check out:&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://www.shockley.net/obsd-bootcd.asp"&gt;How to make a bootable
OpenBSD CD&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.openbsd.org/faq/upgrade40.html"&gt;OpenBSD Upgrade Guide&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.openbsd.org/faq/faq4.html"&gt;OpenBSD 4.0 Installation Guide&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
As a last thought, I know there were a lot of sudo's&lt;br /&gt;
in my examples. Setting up individually permitted tasks&lt;br /&gt;
in /etc/sudoers can be a chore. As an alternative, root&lt;br /&gt;
can choose to allow everyone in the wheel group to do just&lt;br /&gt;
about anything by changing the following:&lt;br /&gt;&lt;br /&gt;
# Uncomment to allow people in group wheel to run all commands&lt;br /&gt;
# %wheel&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;ALL=(ALL)&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;ALL&lt;br /&gt;
(Uncomment means to remove the leading #)&lt;br /&gt;&lt;br /&gt;
And, if root really wants to live dangerously:&lt;br /&gt;&lt;br /&gt;
# Same thing without a password&lt;br /&gt;
# %wheel&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;ALL=(ALL)&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;NOPASSWD:&amp;#160;ALL&lt;br /&gt;&lt;br /&gt;
Always check your man pages. Everyone hates to be told&lt;br /&gt;
"RTFM you damned lazy troll newbie" or something to that&lt;br /&gt;
effect. ;) In the preceding example, you could read up on:&lt;br /&gt;
"man sudo" or "man sudoers"&lt;br /&gt;
Hope the preceding helps someone out along the way.&lt;br /&gt;
Please leave a comment if I've screwed something up here.&lt;br /&gt;
I have been known to do that on occasion. ;) And, please&lt;br /&gt;
leave a comment if it helped you. It's encouraging, from&lt;br /&gt;
time to time. That's it for today.&lt;br /&gt;&lt;br /&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-116370887884504634?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/116370887884504634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=116370887884504634' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/116370887884504634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/116370887884504634'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/11/openbsd-create-burn-isos.html' title='OpenBSD - Create &amp; Burn ISO&apos;s'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-116340933180854371</id><published>2006-11-13T02:27:00.000-06:00</published><updated>2007-07-14T02:05:27.287-05:00</updated><title type='text'>Veterans Day</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5078/212/1600/usa.1.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/5078/212/320/usa.1.gif" border="0" alt="" /&gt;&lt;/a&gt;
&lt;p&gt;
To all Americans, and especially to fellow vets, have a safe
and happy Veterans Day. For once, this post has nothing to do
with OpenBSD. Just been doing a lot of thinking, especially
since the election results and Mr Rumsfeld's unceremonious
removal. I know he could've been a little more flexible, but I
remember too, what it seems a lot have either forgotten or never
knew to begin with; not only are we at war, but we've been in it
for one hell of a long time now, way way before Desert Storm. I
guess Mr Rumsfeld's answer to a question from the audience after
his speech in Kansas is mostly what finally set me off. The guy
had asked him about how to get the average American to show more
of an "investment" in the war. How could you get Joe Dokes who
comes home from work, showers, eats, watches American Idol,
then goes to bed, more involved, committed, interested, more
something! (I injected some into that last). Mr Rumsfeld talked
about how he remembered the rationing of WWII, the sacrifices
those who stayed at home made, buying bonds, showing support for
the troops, doing without some things for the war effort, and so
forth. I remember my folks talking about it. I was born in 1947,
but everything stayed pretty fresh in everyone's mind for quite
some time after the war. The guy had also mentioned how we are
basically not even inconvenienced by the war, for the most part.
It's mostly just the men and women who are over there putting
their butts on the line every day, and their families, who are
bearing the brunt. Now I'm reading the news online, saying they
want to cut back on the troops there. Wow, there's a great idea!
First they say we didn't send enough over there to do the job,
and now they want to leave even less! Why don't we really cut
back and see if we can match the debacle of Dien Bien Phu? Let's
just let them be surrounded and overrun! What a great strategy!
Either we fight, or we get our guys and gals the hell out of there!
We tell the Iraqis we freed them and helped them setup a democratic
government, and it's time for them to to get off the pot and do the
deed! We're not going to stay there and be police for them while they
carry on their age old infighting. I've heard so many people run down
President Bush, Mr Rumsfeld, and all the rest over the war. Are we
supposed to wait until they hit us here again, right in our own
backyard? I'd lots rather see the enemy get the hell kicked out of
them over there in their own frontyard! I always thought and said so,
to my family and friends, that President Bush made a good military
decision and a bad political one, when he set everything in motion.
You choose the the killing ground yourself, you don't wait for the
enemy to do it. Then you draw them out, engage them, and kill
them. Oh my God, how politically incorrect I am! Sorry folks,
that's war. My generation had great teachers, the VC and NVA.
I hate to quote from a certain movie, but hey, it holds true.
They did draw first blood! Whether you're Republican, Democrat,
or whatever, those are our kids over there fighting those animals.
And yep, they are animals! They don't qualify to be included in
humanity. People who hide inside and set ambushes from, the very
mosques they accuse us of descecrating. People who saw innocent
victims' heads off on the internet. They hate us, they are out
to destroy us, it's been going on for a hell of a long time, and
they're not going to go away. We can't wish them away! Get used
to it! Chamberlain tried placating Hitler. Peace in our time,
right? Didn't work, did it? I can't quote it word for word, but
everyone surely must've heard the old adage, "he who fails to
learn from history's mistakes is bound to repeat them". Like
Forrest Gump, that's all I have to say about that! Really, the
only thing left to say is, God bless our folks over there in
harm's way, and God bless the good old USA!&lt;/p&gt;&lt;br /&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-116340933180854371?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/116340933180854371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=116340933180854371' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/116340933180854371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/116340933180854371'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/11/veterans-day.html' title='Veterans Day'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-116323390443095770</id><published>2006-11-11T02:25:00.000-06:00</published><updated>2006-11-20T13:03:40.380-06:00</updated><title type='text'>Gopher</title><content type='html'>&lt;p&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5078/212/1600/gopher_sm.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/5078/212/400/gopher_sm.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
Here's some old time stuff I've been messing around with.&lt;br /&gt;
Back in the early days when Al Gore had first invented&lt;br /&gt;
the internet (chortle guffaw), everyone used to use telnet&lt;br /&gt;
and host gopher pages to share info. I set mine up on my&lt;br /&gt;
Unix shell account at:&lt;br /&gt;&lt;br /&gt;
&lt;a href="gopher://sdf.lonestar.org/11/users/dancer68"&gt;
Dancer68's Gopherspace&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
Lynx handles gopher fine, and so does Firefox and Opera&lt;br /&gt;
on this OpenBSD 3.9 box, but I can't swear for all other&lt;br /&gt;
browsers. You'll just have to try it out and see. If you&lt;br /&gt;
can't see it with your browser, try this:&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://gopher.floodgap.com/gopher/gw?a=gopher://sdf.lonestar.org/11/users/dancer68"&gt;Dancer68  via Floodgap Gopher Proxy&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-116323390443095770?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/116323390443095770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=116323390443095770' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/116323390443095770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/116323390443095770'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/11/gopher.html' title='Gopher'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-116322995031755100</id><published>2006-11-11T01:18:00.000-06:00</published><updated>2006-11-13T04:21:50.006-06:00</updated><title type='text'>OpenBSD Firefox Install Problem</title><content type='html'>Thought this might help someone out who's running OpenBSD.&lt;br /&gt;
I first tried pkg_add -ui for updating in interactive mode.&lt;br /&gt;
Chose the next version of Firefox. Wouldn't do it. Here's&lt;br /&gt;
what it said:&lt;br /&gt;&lt;br /&gt;

Can't install mozilla-firefox-1.5.0.7 because of conflicts&lt;br /&gt;
(.libs-mozilla-firefox-1.5.0.5)&lt;br /&gt;&lt;br /&gt;

Here's the link where I read up on how to fix this problem:&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://archives.neohapsis.com/archives/openbsd/2006-05/3003.html"&gt;
Neohapis OpenBSD Archives&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;

Should've ran 'script' before hand. Did a pkg_delete, but it&lt;br /&gt;
wouldn't remove some directories /usr/local/mozilla-firefox/&lt;br /&gt;
extensions and components. Did it manually. Ran Pkg_add for&lt;br /&gt;
next firefox version and got the same error message again.&lt;br /&gt;
Ran pkg_delete .libs-mozilla-firefox-1.5.0.5 and that fixed the&lt;br /&gt;
problem. Originally posted this from my Diigo account and also&lt;br /&gt;
bookmarked there, too, but had to go into my Blogger account&lt;br /&gt;
and edit it. Haven't figured out all the bells and whistles in&lt;br /&gt;
Diigo yet.&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://www.diigo.com/user/dancer68"&gt;Dancer68's Bookmarks on Diigo&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
Final note: Yes, I'm lazy by nature. I keep my OpenBSD complete&lt;br /&gt;
source tree on a separate drive, but that's no work. It gets&lt;br /&gt;
updated every night with a cronjob. And no, I haven't updated to&lt;br /&gt;
OpenBSD 4.0 yet, but am looking forward to it, when time allows,&lt;br /&gt;
especially to see if my scanner will work better with The Gimp&lt;br /&gt;
and xscanimage. To my credit, all patches are up to date, backups&lt;br /&gt;
are recent, and, if I hadn't have been a dummy and rebooted when I&lt;br /&gt;
first had the problem with Firefox, my uptime would've been right&lt;br /&gt;
at 30 days now. Live and learn.&lt;br /&gt;&lt;br /&gt;
&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-116322995031755100?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/116322995031755100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=116322995031755100' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/116322995031755100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/116322995031755100'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/11/openbsd-firefox-install-problem.html' title='OpenBSD Firefox Install Problem'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-115759535826435037</id><published>2006-09-06T20:32:00.000-05:00</published><updated>2006-09-06T21:59:27.676-05:00</updated><title type='text'>Security Patch &amp; New Programs</title><content type='html'>Always keep up with your patches, boys and girls. Maybe you're
not into running current, you have packages installed instead
of ports to follow the project's advice and to keep things more
simple, and you hate the thought of maybe having to uninstall
all your 3rd party stuff and rebuild userland and your kernel
too often. Well, you still need to keep up with vulnerabilities
that are discovered and patched! Here, for instance, is the url
for OpenBSD errata along with the url for the latest patch.
&lt;br /&gt;&lt;br /&gt;

&lt;a href="http://www.openbsd.org/security.html"&gt;OpenBSD Security Page&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.openbsd.org/security.html#39"&gt;009: SECURITY FIX: September 2, 2006&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;

Added a couple of nifty programs today; Xpdf for reading portable
document format files, and Xchm, for accessing windows compiled
helpfiles. So far, no problem at all. Nice and solid. Here's a
screenshot:&lt;br /&gt;&lt;br /&gt;

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://
photos1.blogger.com/blogger/5078/212/1600/desktop4.0.jpg"&gt;&lt;img style="cursor:pointer; 
cursor:hand;" src="http://photos1.blogger.com/blogger/5078/212/320/desktop4.0.jpg" 
border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-115759535826435037?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/115759535826435037/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=115759535826435037' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/115759535826435037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/115759535826435037'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/09/security-patch-new-programs.html' title='Security Patch &amp; New Programs'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-115699975812355818</id><published>2006-08-30T23:41:00.000-05:00</published><updated>2006-08-30T23:56:37.680-05:00</updated><title type='text'>More Desktp and Scanner Fun</title><content type='html'>I guess, unless I want to run OpenBSD current, which I don't,
or if I can figure out how to get the os to pickup correctly
on my Epson scanner, I'll never be able to use it again, at
least directly, with The Gimp. I can use&lt;br /&gt;&lt;br /&gt;

xscanimage epson:/dev/uscanner&lt;br /&gt;&lt;br /&gt;

and it works fine in XWindows, but at the terminal, scanimage
just doesn't find the scanner. It shows up fine in dmesg, and
I can use sane-find-scanner and it finds it, though the info
for it like manufacturer, etc., is lacking with usual advice
about adding the info to the kernel or using libusb. Guess I
should count my blessings it works at all. Insert smiley. Ha!
&lt;br /&gt;
Also have been having a lot of problems with Firefox crashing,
but it's a lot more stable if I disable all the extensions. I
hate doing that, especially for the Wizz News Reader and a few
others, but it's not worth much if it's always crashing. Opera
does fine, as long as I don't mess with news feeds. It chokes
immediately and does a core dump if I load news feeds. So, I
went back to an old friend, Snownews. It works great from the
terminal, and the only drawback is it won't load some of the
php or atom feeds. For the most part, though, it works fine.

Took another shot of the desktop with The Gimp and am putting
it in here. If anyone reads about some of these problems and
has anything to add that might help, please leave a comment.&lt;br /&gt;
&lt;br /&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5078/212/1600/screenshot2.2.3.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/5078/212/320/screenshot2.2.3.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-115699975812355818?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/115699975812355818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=115699975812355818' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/115699975812355818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/115699975812355818'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/08/more-desktp-and-scanner-fun.html' title='More Desktp and Scanner Fun'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-115307097359812789</id><published>2006-07-16T12:16:00.000-05:00</published><updated>2006-07-27T00:53:52.550-05:00</updated><title type='text'>Laptop Adventures</title><content type='html'>I've got an old Toshiba 4015CDT PII 266 that I haven't used much
for quite a while now. Used to use it for a secure email station.
Recently installed OpenBSD 3.9 on it (no Xwindows) and everything
looked great. Then I got to reading dmesg closer and saw where I
had the old problem as a long time ago:
WARNING: can't reserve area for I/O APIC
WARNING: can't reserve area for Local APIC
I googled around and actually found an old post of mine asking help
on the issue. Only at the time, I was looking to resolve an Intel
Memory Managent issue and had already resolved the APIC issue. Went
into config, disabled pcibios0, saved the kernel, rebooted, all was
well. Also, and it should be noted that I'm only an end user and not
a programmer or developer, the code must've changed since my 3.3 days
to resolve the memory management issue. No errors in dmesg. So, after
rebuilding the kernel, although I had only updated my /usr/src to the
patch branch, I figured I'd experiment with building userland and see
how the old laptop did. Went to bed, got up, everything finished. But,
/usr was full. Oops! ;) Had to do some housecleaning before I could
even install the mergemaster package. Finally got /etc merged okay.
From now on, I'll only apply errata patches due to limited disk space,
and only rebuild the kernel when the patch needs it, not userland.
Lesson learned. Although, to my credit, I didn't panic. I had seen
the same thing in messages in the OpenBSD misc mailing list before
and fortunately knew how to handle it. There was a time, when I was
still a really new "Newbie", when I would've reinstalled everything.
So, if any "Newbies" read this, make sure you have enough disk space
to what you want to do before you do it! ;) To all the BSD's credit,
there is a builtin safety margin to keep you from overfilling any of
your partitions. It'll show full before it actually is totally full.
That's when you really need to pay attention. I'll always consider
myself in "Newbie" status, mostly due to what I already stated, that
I'm not a programmer. Maybe in time. I've hacked a few makefiles to
get them to work, and written some scripts in FreeBSD for cronjobs
to do some automated tasks, but that's about it.&lt;br /&gt;&lt;br /&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-115307097359812789?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/115307097359812789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=115307097359812789' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/115307097359812789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/115307097359812789'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/07/laptop-adventures.html' title='Laptop Adventures'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-115252670158154573</id><published>2006-07-10T05:18:00.000-05:00</published><updated>2006-07-27T00:15:13.010-05:00</updated><title type='text'>Talk the SNMP Talk</title><content type='html'>I'm not sure if it'll apply to what I want to do, or to be more&lt;br /&gt;exact, if it's not a needless excercise, considering you could&lt;br /&gt;just have a cronjob that pings your ISP on a regular basis and&lt;br /&gt;logs it. Not that it'd hold up, if you were to go to the ISP and&lt;br /&gt;demand a prorate for the month due to their excessive down&lt;br /&gt;time. That dog ain't gonna hunt, at least with most of them.&lt;br /&gt;They will, all probability, tell you they do not guarantee 100%&lt;br /&gt;or even close to it, uptime. Maybe for a commercial account,&lt;br /&gt;but not for a home user. Be that as it may, I thought it would&lt;br /&gt;be a good learning experiment. There are links on the page&lt;br /&gt;to other subsequent followup articles.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.onlamp.com/pub/a/bsd/2000/08/10/Big_Scary_Daemons.html"&gt;ONLamp.com -- Talk the SNMP Talk&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-115252670158154573?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/115252670158154573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=115252670158154573' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/115252670158154573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/115252670158154573'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/07/talk-snmp-talk.html' title='Talk the SNMP Talk'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-115252498011644474</id><published>2006-07-10T04:49:00.000-05:00</published><updated>2007-01-25T11:14:13.153-06:00</updated><title type='text'>Converting FAT32 to NTFS</title><content type='html'>&lt;p&gt;
I started into this not expecting what I was about to encounter.&lt;br /&gt;
I was wanting to convert an external usb 2.0 160G Seagate hd&lt;br /&gt;
from fat32 to ntfs. Downloading Bootitng, putting it on a floppy,&lt;br /&gt;
rebooting, and doing the realigning went quickly. Rebooted to XP&lt;br /&gt;
and the fun started. I told it to do a full defrag of the drive&lt;br /&gt;
and it took all night and all day. When I ran convert, it had&lt;br /&gt;
file errors it couldn't fix, probably from one of many of good&lt;br /&gt;
old "Windoze" lockups and reboots. Checked the drive, fixed the&lt;br /&gt;
errors, and finally was able to convert it to ntfs. I have cygwin&lt;br /&gt;
on the box with accounts and directories for all the users on the&lt;br /&gt;
LAN, each of which has a cronjob that uses rsync to backup the users&lt;br /&gt;
home directory to the XP box nightly. I wanted an environment&lt;br /&gt;
where owneship is pretty much followed, the same way it is on&lt;br /&gt;
all the OpenBSD boxes. It's done now, and my butt is dragging&lt;br /&gt;
as usually does after fooling around with a multios environment.&lt;br /&gt;
But hey, it works! ;)&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://aumha.org/win5/a/ntfscvt.php"&gt;Converting FAT32 to NTFS in Windows XP&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-115252498011644474?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/115252498011644474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=115252498011644474' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/115252498011644474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/115252498011644474'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/07/converting-fat32-to-ntfs.html' title='Converting FAT32 to NTFS'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-115251237872994343</id><published>2006-07-10T00:39:00.000-05:00</published><updated>2007-08-17T17:41:37.029-05:00</updated><title type='text'>OpenBSD Desktop</title><content type='html'>&lt;p&gt;
Who says you can't do desktop with OpenBSD? Of course,&lt;br /&gt;
this took several months to accomplish. Long nights of&lt;br /&gt;
sweating buckshot on the keyboard, reading books and&lt;br /&gt;
mailing list archives, googling, asking questions and&lt;br /&gt;
being told to RTFM. ;) But, things aren't too bad at&lt;br /&gt;
this point. Got sound with xmms and mp3blaster playing&lt;br /&gt;
all my oldies. I can make my own iso images and burn cds.&lt;br /&gt;
I can print across my LAN to either one of my other&lt;br /&gt;
printers. I got BitTorrent working and regularly download&lt;br /&gt;
BSD and Linux iso images. Know how to update my source&lt;br /&gt;
code and my system, along with how to tweak my kernel.&lt;br /&gt;
All users have automated nightly backups to external&lt;br /&gt;
storage using rsync in cronjobs. The list goes on.&lt;br /&gt;
Happy OpenBSD camper at this point! ;)&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/5078/212/1600/screenshot2.1.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger/5078/212/320/screenshot2.1.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-115251237872994343?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/115251237872994343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=115251237872994343' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/115251237872994343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/115251237872994343'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/07/openbsd-desktop.html' title='OpenBSD Desktop'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-115191245207454479</id><published>2006-07-03T02:40:00.000-05:00</published><updated>2007-01-26T01:29:17.490-06:00</updated><title type='text'>Weeks Following 3.9 Upgrade</title><content type='html'>&lt;p&gt;
Probably one of the most productive periods I've spent in the&lt;br /&gt;
last few years, the last few weeks since I upgraded OpenBSD to&lt;br /&gt;
3.9 on my number one work box, and also on my old HP Netserver.&lt;br /&gt;
I had run FreeBSD on it for a long time, and then when I went&lt;br /&gt;
to upgrade from 5.4 to 5.5 I ran into all sorts of problems.&lt;br /&gt;
OpenBSD, on the other hand, went in flawlessly. As a plus, I&lt;br /&gt;
didn't have to rebuild the kernel like I would've had to, had&lt;br /&gt;
I succeeded in installing FreeBSD. I loaded the bsd.mp kernel&lt;br /&gt;
and it took off fine and has ran fine since. All I had to do&lt;br /&gt;
was do a config on it to make up for CDT and keep the operating&lt;br /&gt;
system and the hardware clock in sync. With 3.9 I was able to&lt;br /&gt;
finally get the sane-frontends installed and can scan fine now&lt;br /&gt;
with my Epson using The Gimp. Only thing I haven't been able to&lt;br /&gt;
do is scan from another box on the local area network. I have&lt;br /&gt;
tried over and over with every kind of switch and configuration&lt;br /&gt;
I can think of, to get the xsane program to do it from the Cygwin&lt;br /&gt;
bash shell on the windows box, but I guess that dog ain't gonna&lt;br /&gt;
hunt. I also tried from the othe obsd box to do it, but no luck&lt;br /&gt;
there either. On the plus side, my OpenBSD box can do everything&lt;br /&gt;
now that that my windows box does. That's been my goal for now,&lt;br /&gt;
for a very long time. It just took some free time to devote to&lt;br /&gt;
learning enough to be able to accomplish it. I can burn cd's and&lt;br /&gt;
create iso images, have users do automated nightly backups over&lt;br /&gt;
the local area network using ssh, rsync and cron, scp files back&lt;br /&gt;
and forth easily taking advantage of rsa keys with ssh along with&lt;br /&gt;
authorized_keys files, use ICQ through an ncurses program MICQ. I&lt;br /&gt;
have done dumps and, more importantly, restores successfully.&lt;br /&gt;
Learned that when I did a typo one day, deleting something from&lt;br /&gt;
the usr dir. That was before the upgrade, but it's stuck with me,&lt;br /&gt;
especially the need to backup regularly.&lt;br /&gt;&lt;br /&gt;
Lately I've been listening to BSD podcasts from a really cool weg&lt;br /&gt;
site, bsdtalk.blogspot.com and have learned quite a bit from them.&lt;br /&gt;
Listened to Dru Lavigne the other night and started salivating,&lt;br /&gt;
thinking of how cool it'd be to get to go to FreeBSD bootcamp in&lt;br /&gt;
Ottawa. Better get back to work first and get some money coming&lt;br /&gt;
in for that. :-) I'm also trying to learn more about blogging. I&lt;br /&gt;
feel like I'm back in school, carrying one heck of a course load.&lt;br /&gt;
I'm able to pick up my blog in my Wizz RSS reader in Firefox, and&lt;br /&gt;
I've registered with Performancing. Got that extension installed&lt;br /&gt;
in Firefox, too. That's where I'm creating this latest entry right&lt;br /&gt;
now. If it comes out screwed up, don't blame it on Blogger, Firefox&lt;br /&gt;
or Performancing. I'm sure it'll be caused from my own ignorance of&lt;br /&gt;
how they all interoperate.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-115191245207454479?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/115191245207454479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=115191245207454479' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/115191245207454479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/115191245207454479'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/07/weeks-following-39-upgrade.html' title='Weeks Following 3.9 Upgrade'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-114984316121670416</id><published>2006-06-09T03:52:00.000-05:00</published><updated>2007-01-25T12:18:11.430-06:00</updated><title type='text'>Emacs Tips: Windows and Buffers</title><content type='html'>&lt;p&gt;
&lt;a href="http://www.linux.com/article.pl?sid=06/05/19/1440247"&gt;Linux.com | Emacs tips: Windows and buffers&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
I mostly use Vi, but I'm eventually going to try get more&lt;br /&gt;
proficient with Emacs, too. So, saved this for myself and&lt;br /&gt;
whomever else is interested.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-114984316121670416?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/114984316121670416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=114984316121670416' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/114984316121670416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/114984316121670416'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/06/emacs-tips-windows-and-buffers.html' title='Emacs Tips: Windows and Buffers'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-114984305057526015</id><published>2006-06-09T03:50:00.000-05:00</published><updated>2007-01-25T12:31:35.160-06:00</updated><title type='text'>Top 10 Tips Dealing With Vi Editor</title><content type='html'>&lt;p&gt;
&lt;a href="http://ashterix.blogspot.com/2006/05/top-10-tips-dealing-with-v_114879750064948246.html"&gt;Top 10 vi Tips&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
This is my baby. :-) Saved this for myself and whomever else is&lt;br /&gt;
interested. Emacs is great, but Vi is what I first learned on.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p class="poweredbyperformancing"&gt;powered by &lt;a ref="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-114984305057526015?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/114984305057526015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=114984305057526015' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/114984305057526015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/114984305057526015'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/06/top-10-tips-dealing-with-vi-editor.html' title='Top 10 Tips Dealing With Vi Editor'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-114983761869745543</id><published>2006-06-09T02:20:00.000-05:00</published><updated>2006-07-27T00:30:39.900-05:00</updated><title type='text'>OpenBSD 3.9 Upgrade</title><content type='html'>3.9 upgrade went pretty good, considering after I'd used pkg_delete to
get rid of all installed ports and packages, I forgot to get rid of all
the installed directories where all were installed at, /usr/local/. I 
didn't realize it until I after the upgrade was done and I was installing
the newer versions of everything I needed. SpamAssassin is where the
"file collisions" started. It was a mess! Looking back, and considering
how quickly OpenBSD packages install, I probably should've redone the
pkg_delete thing, but I'm hard-headed. Anyway, got it all done and tonight
I did a few image scans. Had to use xscanimage. The Gimp couldn't acquire
the image. Have to figure it out as I go along, I suppose.
Later Addendum:
Figured out what conf files to configure. Now The Gimp is acquiring fine.
&lt;br /&gt;&lt;br /&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-114983761869745543?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/114983761869745543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=114983761869745543' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/114983761869745543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/114983761869745543'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/06/openbsd-39-upgrade.html' title='OpenBSD 3.9 Upgrade'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-114941406683124975</id><published>2006-06-04T03:58:00.000-05:00</published><updated>2007-08-17T17:58:30.073-05:00</updated><title type='text'>Long Time Since Last Post</title><content type='html'>&lt;p&gt;
Yep, busy as heck. Lots of personal issues as usual.&lt;br /&gt;
Finally got my OpenBSD 3.9 cds and my new wireframe&lt;br /&gt;
daemon t-shirt. So busy, haven't had time to update&lt;br /&gt;
my system. And now, FreeBSD is out with version 5.5&lt;br /&gt;
which, as I understand it, will be the last in the&lt;br /&gt;
5-STABLE branch. I'd like to try 6.1 but I'm not too&lt;br /&gt;
sure how well it'd run on my old HP Netserver. 5.4&lt;br /&gt;
cadillacs on it, considering how old the hardware is.&lt;br /&gt;
As I'm writing this, I've got my latest backups on the&lt;br /&gt;
OpenBSD box tarred/gzipped and I'm running rsync to&lt;br /&gt;
update the mirrored backups here on the windoze box.&lt;br /&gt;
Working great. Had a hell of a time teaching myself&lt;br /&gt;
the ins and outs of rsync, but I've got it doing all I&lt;br /&gt;
need it to do, now. It probably is childs play for old&lt;br /&gt;
"nix" hands, but I have trouble finding time around here&lt;br /&gt;
to keep on learning all I need to know to run these&lt;br /&gt;
systems proficiently. I added another account from the&lt;br /&gt;
FreeBSD box here on the windoze box and ran into some&lt;br /&gt;
issues with my cygwin stuff, but it's ironed out now,&lt;br /&gt;
too. I've got cronjobs setup on both BSD boxes for the&lt;br /&gt;
users to be able to do backups across the LAN with rysnc&lt;br /&gt;
for their home directories, mail, and so forth. I've got&lt;br /&gt;
a new Seagate USB 2.0 160G external harddrive on this&lt;br /&gt;
windoze box now, and it's sure nice to have room for a&lt;br /&gt;
change to do the backups that have to be done. Found&lt;br /&gt;
out one day, after hosing my usr partition on my OpenBSD&lt;br /&gt;
box just how nice backups are. I had never done a restore&lt;br /&gt;
before and wasn't too sure I could pull it off, but it worked&lt;br /&gt;
like a champ. I had just done a full dump a few hours before,&lt;br /&gt;
lucky for me.&lt;br /&gt;&lt;br /&gt;
Got my hands on an old DEC Prioris dual-processor box that&lt;br /&gt;
got abandoned by the yacht club in Gulfport, and picked up&lt;br /&gt;
a serial cable to be able to run it without a keyboard or&lt;br /&gt;
monitor, but haven't gotten around to doing all the setup&lt;br /&gt;
yet. Now I've got OpenBSD 3.8 on it, and it ran okay, but&lt;br /&gt;
I had a kernel panic on it when I tried booting it with&lt;br /&gt;
the mp kernel. I haven't had a chance to go back and&lt;br /&gt;
reproduce it yet so I can run a trace on it and try to see&lt;br /&gt;
if it can be debugged. Not really sure if the cpus are&lt;br /&gt;
supported for smp in OpenBSD. I'll have to investigate&lt;br /&gt;
that before I fool around with the mp stuff again. Might&lt;br /&gt;
have to do some hard wiring, bios work, and kernel tweaking&lt;br /&gt;
if it is supported. Time will tell.&lt;br /&gt;&lt;br /&gt;
I got an old Epson scanner off of eBay and it works great&lt;br /&gt;
on the windoze box, and I got the sane backends to build&lt;br /&gt;
on the OpenBSD box, but not the frontends. I tried hacking&lt;br /&gt;
some stuff, but to no avail. Got a lot of help from the&lt;br /&gt;
port maintainer, but he finally got too busy to help any&lt;br /&gt;
further. It's supposed to be fully supported now, in the&lt;br /&gt;
new 3.9 release, so I'll need to get off my duff and get&lt;br /&gt;
it installed so I can try it again. X is working great on&lt;br /&gt;
it with the old voodoo card. I need to get some speakers&lt;br /&gt;
on it so I can fool around with the sound and some music.&lt;br /&gt;
Creating iso images, writing cds, erasing rewritables,&lt;br /&gt;
and so forth is a snap on it. Got foomatic stuff on both&lt;br /&gt;
BSD boxes and am able to print everything I need to over&lt;br /&gt;
here on the windoze box on the old HP Deskjet. Also can&lt;br /&gt;
print from here to the old Star dot-matrix printer on the&lt;br /&gt;
FreeBSD box, and also to it from the OpenBSD box. I want&lt;br /&gt;
to get to the point where, if this windoze box craps out,&lt;br /&gt;
I won't be pressured to hurry up and fix it or replace it.&lt;br /&gt;
Trying to get weaned as soon as possible. I know, almost&lt;br /&gt;
for sure, that I'm not going to be able to afford the&lt;br /&gt;
hardware I'll need to run Vista when the final version is&lt;br /&gt;
released. Not that I'd want to spend that much money anyway,&lt;br /&gt;
on a MS product, though, in retrospect, I can say that XP&lt;br /&gt;
has been darned reliable. I probably would've never gotten&lt;br /&gt;
involved in computers, as much as I have, it weren't for&lt;br /&gt;
Microsoft. It's just all the damned security issues that&lt;br /&gt;
worry me. Which brings to mind another project I want to&lt;br /&gt;
start, getting pf setup on the OpenBSD box, spamassassin,&lt;br /&gt;
and maybe clamd to protect the box as much as possible.&lt;br /&gt;
I've already got some basic pf stuff down, but now nearly&lt;br /&gt;
as much as I need do have. Well, as can probably be seen&lt;br /&gt;
from the timestamp on this post, this is about the only&lt;br /&gt;
time I really get anymore to do much on my blog. And with&lt;br /&gt;
that in mind, my old butt needs to hit the rack for a while.&lt;br /&gt;
Hope it's not so long until I can get on here again.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-114941406683124975?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/114941406683124975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=114941406683124975' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/114941406683124975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/114941406683124975'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/06/long-time-since-last-post.html' title='Long Time Since Last Post'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-114304296611332898</id><published>2006-03-22T09:11:00.000-06:00</published><updated>2006-07-16T13:07:49.510-05:00</updated><title type='text'>Finally, another update</title><content type='html'>Been too busy working my job, contending with family matters,
and trying to hack my way through FreeBSD and OpenBSD, all the
while making them work together harmoniously with my XP box.
My biggest headache lately has been trying to print to my
HP DeskJet 722C on my XP box from the two BSD boxes. Tried
all kinds of stuff like apsfilter, cups, and so forth. Now
I've got a rather simple setup on both BSD boxes for printcap.
I'm using foomatic-rip and ghostscript, along with pnm2ppa.ppd,
the printer file from linuxprinting.org for my DeskJet printer.
It was pretty open and above board on the FreeBSD box, since
foomatic-rip is by itself in the ports tree. But, in OpenBSD,
it's underneath /print/cups/files, and it took me a while to
snap to all I needed to do was copy it to /usr/local/bin along
with pnm2ppa.ppd, and then setup /etc/printcap. Ghostscript
was already in place due to another ports needed dependencies.
Been applying security patches lately, too, on both BSD boxes,
rather than going through all the rebuilding song and dance.
That's due to the fact that both OS's are coming out with a
new release shortly. I've already preordered my OpenBSD cd's,
and need to get off my duff (and wallet) and due the same for
FreeBSD. I highly encourage anyone who reads this blog and is
interested in running either operating system to order cd's.
You can ftp the FreeBSD iso's, and with OpenBSD, you can d/l
all the files and create your own iso's and burn them, but it
doesn't help the ongoing expenses for the developers. Most of
them work regular jobs and do their coding voluntarily, using
their own personal time. That's pretty strong commitment, and
I think it deserves some real support. Here's a good example
of how you can learn either system, along with NetBSD too,
even if you've always been a windoze addict like myself, just
by reading the man pages and accompanying docs, and not being
afraid of sweating over the keyboard a little and experimenting. 
Right now, on my OpenBSD system, which is running on a PIII
box with 256MB of ram and two IDE h/d's, I can surf the net
in Xwindows using either Firefox or Opera or, in text mode,
Lynx. I do email, I'm learning how to setup spam control and
firewall security. I can create my own iso images from source
and burn them to cd's. I can print to my old Star 2410NX dot-
matrix printer on my FreeBSD HP Netserver or to my HP DeskJet
722C on my XP box. The only hurdle I still have to get over
is getting a scanner to work on the OpenBSD box. It's a PIII
and has USB ports, which the old Netserver doesn't, so it's
the natural choice. I've got an old HP ScanJet 3400C, but it
seems to have crapped out during Hurricane Katrina, probably
due to all the moisture in the house while we were gone for
the evacuation. So, I've been nosing around the Sane Project
site and eBay, trying to make a choice. The whole point of
this ongoing exercise in opensource is to finally, once and
for all, drop out of the Bill Gates financial support team.
I have nothing against him or Microsoft. But, I'd rather
run a system that's pretty damned secure from jump and is
opensource, than pay an arm and a leg for a system that's
constantly riddled with vulnerabilities. And, find myself
waitiing for weeks and sometimes, even months, for a patch,
when both OpenBSD and FreeBSD developers are constantly
monitoring and testing their code for insecurities, and
are always up front and honest when they find them, and
are quick to fix them and get them up on the net for users.
Okay, I am now climbing down from my soapbox. 'Nuff said
on that issue. Until next time, happy hacking!&lt;br /&gt;&lt;br /&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-114304296611332898?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/114304296611332898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=114304296611332898' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/114304296611332898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/114304296611332898'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2006/03/finally-another-update.html' title='Finally, another update'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-113578738431053858</id><published>2005-12-28T10:03:00.000-06:00</published><updated>2006-07-27T00:32:04.000-05:00</updated><title type='text'>Long Time No Blog</title><content type='html'>What an exciting time! :-) Not really. Started new job.
Not usually fun, especially around the holidays. As usual,
I've run into conflicts on one of my BSD boxes between
perl modules and ports. I tried deleting some modules,
went too far, and couldn't get back into the CPAN shell.
Really buggered it up. I had done a full dump of /usr
several days before, but had never done a restore before.
After some experimenting, did the following:

 1) Rebooted into single-user mode
 2) Remounted / in rw mode, since it said it had to write
    some stuff there. Now I don't think so, but it's not
    important. It may have been referring to restoresymtable
    which gets written to the root of the directory you're
    doing a restore in, which, in this case, was /usr.
    This morning, after rebuilding the kernel and while
    rebuilding userland, I remembered to delete the file,
    which the man page says you should do.
 3) Mounted the /usr slice rw in /mnt and ran newfs on it.
 4) Mounted /data2 slice which held the dump backup.
 5) Cd into /usr and ran restore rf /data2/backups/usr.

Miracuously, everything worked out fine! Later, I ran a
perl script that lists all installed modules and removed
several, and then reinstalled them from /usr/ports.
Still having some problems, though. Couldn't do a make
install on SpamAssassin. It looked on a bunch of servers
before finally finding the source code, but then it said
the checksum was bad. I'll have to experiment with it
some more later. Below is some of the perl stuff I found
to help me out:

http://www.cpan.org/misc/cpan-faq.html#How_delete_Perl_modules
How do I remove installed Perl modules?

By using the ExtUtils::Installed and ExtUtils::Packlist
modules that come with Perl as in the example below. There
is also a more elaborate example in the ExtUtils::Packlist
man page.


#!/usr/local/bin/perl -w

use ExtUtils::Packlist;
use ExtUtils::Installed;

$ARGV[0] or die "Usage: $0 Module::Name\n";

my $mod = $ARGV[0]; 

my $inst = ExtUtils::Installed-&gt;new();

    foreach my $item (sort($inst-&gt;files($mod))) {
             print "removing $item\n";
             unlink $item;
          }

     my $packfile = $inst-&gt;packlist($mod)-&gt;packlist_file();
          print "removing $packfile\n";
          unlink $packfile;
  

How do I find out what modules are already installed on my system?

    * perldoc perllocal

      Each time a module is installed on your system, it appends
information like the following to a file called perllocal.pod which
can be found in /usr/local/lib/perl5/version number/architecture/ or
something akin to that. The path for your specific installation is
in your @INC which you can divine with perl -V.

=head2 Wed May 12 13:42:53 1999: C&lt;Module&gt; L&lt;Data::Dumper&gt;

=over 4

=item *

C&lt;installed into: /usr/local/lib/perl5/5.00503&gt;

=item *

C&lt;LINKTYPE: dynamic&gt;

=item *

C&lt;VERSION: 2.101&gt;

=item *

C&lt;EXE_FILES: &gt;

=back

      Each entry includes the Module name, date and time it was
installed, where it was installed, linktype [ static or dynamic ],
version and executables, if any, included with the module.
    * Use the ExtUtils::Installed module

      ExtUtils::Installed provides a standard way to find out what
core and module files have been installed. It uses the information
stored in .packlist files created during installation to provide
this information. In addition it provides facilities to classify
the installed files and to extract directory information from the
.packlist files.


#!/usr/local/bin/perl

use ExtUtils::Installed;
my $instmod = ExtUtils::Installed-&gt;new();
foreach my $module ($instmod-&gt;modules()) {
my $version = $instmod-&gt;version($module) || "???";
       print "$module -- $version\n";
}

      produces the following list of modules and their version


Apache::DBI -- 0.87
Apache::DBILogConfig -- 0.01
Apache::DBILogger -- 0.93
AppConfig -- 1.52
Archive::Tar -- 0.22
BerkeleyDB -- 0.06
CGI -- 2.74
CPAN -- 1.59
CPAN::WAIT -- 0.27
Catalog -- 1.00
Compress::Zlib -- 1.11
Config::IniFiles -- 2.14
Convert::BER -- 1.26
Coy -- ???
Crypt::Rot13 -- 0.04
Crypt::SSLeay -- 0.16
DBI -- 1.14
[.....]&lt;br /&gt;&lt;br /&gt;

&lt;p class="poweredbyperformancing"&gt;powered by &lt;a href="http://performancing.com/firefox"&gt;performancing firefox&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-113578738431053858?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/113578738431053858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=113578738431053858' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/113578738431053858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/113578738431053858'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/12/long-time-no-blog.html' title='Long Time No Blog'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-112908128018694880</id><published>2005-10-11T20:33:00.000-05:00</published><updated>2006-07-27T00:32:29.516-05:00</updated><title type='text'>Recent BSD Endeavors</title><content type='html'>Really weird! Started rebuilding everything last night on
the OpenBSD box and on the old Netserver with FreeBSD on
it. Finished up today when I got up. Had to get some sleep
after starting the new job last night. Everything went okay
on the OpenBSD box, but I had to reboot the old Netserver to
be able to do make kernel install on it. Kept hanging up. I
had to temporarily comment out the NFS imports off the Obsd
box before I rebooted. I could've umounted them, but wanted
to do a clean boot and see what happened. After that, okay.
Did the usual mergemaster song and dance on both okay, too.
Was a little scared on the Obsd box. It's not as simple and
you have to let it do a makedev, too. Anyways, both are back
up and running fine.
Installed portsnap on the Fbsd box the other night and really
like it, so far. No problems yet with it.
portsnap fetch
portsnap update
cd /usr/ports &amp;&amp; make fetchindex
portsdb -u
portaudit -Fda
portversion -l "&lt;"
portupgrade -arR
Last one only needed if portversion comes up with something
that's outdated. Saw today that one of the new fortune ports
shows broken. No big deal.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-112908128018694880?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/112908128018694880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=112908128018694880' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/112908128018694880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/112908128018694880'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/10/recent-bsd-endeavors.html' title='Recent BSD Endeavors'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-112769667866022790</id><published>2005-09-25T20:04:00.000-05:00</published><updated>2006-07-27T00:32:58.763-05:00</updated><title type='text'>Build the System from Source - Building X</title><content type='html'>Here's an excerpt from the OpenBSD docs, pertaining to my earlier post:

X uses a different build process than the rest of the OpenBSD tree, as it is based on imake, rather than the standard make(1) process. One consequence of this is there is no &amp;quot;obj&amp;quot; directory, generated binaries end up being intermixed with the source code, which can cause problems (or at least, excessive output) with cvs(1). A solution to this problem is to use lndir(1) to make a &amp;quot;shadow directory&amp;quot; consisting of symbolic links to the actual source directory for the XF4 tree.

    i386 only: XF86Setup, used to configure XF3 servers on the i386 platform (and ONLY the i386 platform) requires the &amp;quot;tcl&amp;quot; and &amp;quot;tk&amp;quot; packages be installed before building X (found in the ports tree at /usr/ports/lang/tcl/8.4/ and /usr/ports/x11/tk/8.4/. Installing the &amp;quot;tk&amp;quot; package will install &amp;quot;tcl&amp;quot; as a dependency). As usual, installing a package is much faster than installing these applications from source. Failing to install these packages before building X is somewhat frustrating, as the system will work for some time before erroring out. 

To compile X using the &amp;quot;shadow directory&amp;quot; of /usr/Xbld, use the following steps, compiling and installing new binaries into the proper directories, follow these steps:

# rm -rf /usr/Xbld
# mkdir -p /usr/Xbld
# cd /usr/Xbld 
# lndir ../XF4
   [...lots of output...]
# make build
   [...lots of output...]"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-112769667866022790?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/112769667866022790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=112769667866022790' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/112769667866022790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/112769667866022790'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/09/build-system-from-source-building-x.html' title='Build the System from Source - Building X'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-112769641524788261</id><published>2005-09-25T19:49:00.000-05:00</published><updated>2006-07-27T00:33:24.516-05:00</updated><title type='text'>Read the fine print!</title><content type='html'>Yep, it pays to do that even when you're not buying something,
like when you're supposed to be reading the docs, but you're
just casually scanning through, hitting the high spots, and
then doing something like "make build". You know, something
small and inconsequential. :-) Been working with OpenBSD on
an extra computer I got back from my son, since coming back
from the hurricane Katrina evacuation. Didn't realize how
much I'd forgotten. As for the allusion to fine print, it had
to do with XF4, building the xwindows stuff, after I had done
a cvsup to get all new source, ports, docs &amp; so forth. Built
the new kernel. No problem. Did all the necessary prework and
then built all the userland stuff. No problem. Did the after
work stuff like httpd docs, mergemaster, &amp;amp; so on. No problem.
Then I did the prework stuff you're supposed to do before you
mess with XF4, but I failed to read the part about tk-8.4.7
and tcl-8.4.7p1 needing to be installed, or the XF4 build would
fail, which it did. So, remember kiddies, READ THE FINE PRINT!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-112769641524788261?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/112769641524788261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=112769641524788261' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/112769641524788261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/112769641524788261'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/09/read-fine-print.html' title='Read the fine print!'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-112045429397339298</id><published>2005-07-04T00:08:00.000-05:00</published><updated>2006-07-27T00:33:46.670-05:00</updated><title type='text'>BSD Update</title><content type='html'>Wow, it's been over a month since I posted on
here! Been really busy, day and night, working
on the old Netserver, adding ports, learning
port maintenance, picking up all kinds of tips
on Dru Lavigne's blog at Oreilly, recompiling
kernels, doing complete src upgrade rebuilds,
even tried creating a src repository, but ran
into some problems. I also tried using cvsup
on my xp box, but it was a lot of work for
nothing. Always had problems with corrupted
mac messages when running cvsup. Read a lot
on it and the main problem is, ssh having to
be patched to run on anything but OpenBSD.
At least that's what I gleaned from it. It
even has problems sometimes on FreeBSD, but
it always links back up and starts d/l again
after a time-out. Windows wouldn't do that.
I've even got some "invisible" files left
behind in my home dir in cygwin on the xp
box from cvsup. Can't delete them, either.
What a trip! Took my son's old PIII 800 box
and setup PC-BSD on it. Tried Ubuntu first,
but ran into big time problems with setting
up Xwindows, so I just blew that one off.
Had a really nice desktop, but I never could
get it out of 480x640 mode. When I did, it
all went to hell. Only problems I ran into
with PC-BSD was with the menu editor. I got
my one account so screwed up, I just wiped
it out and recreated it. Too used to working
at the terminal, typing everything in. Never
have had great luck with X in nix or bsd's.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-112045429397339298?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/112045429397339298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=112045429397339298' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/112045429397339298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/112045429397339298'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/07/bsd-update.html' title='BSD Update'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-111684300469908119</id><published>2005-05-23T05:02:00.000-05:00</published><updated>2006-07-27T00:34:09.180-05:00</updated><title type='text'>NFS and Windows Services for Unix</title><content type='html'>Tried several 3rd party NFS clients to be able to
access my home folders on the FreeBSD Netserver,
without much luck. Downloaded MS Windows Services
for Unix, set it up, had a hell of time with the
the settings, but it's up and running finally.
Kind of flaky on copying some files back and forth,
but maybe with some tweaking, it'll all iron out ok.
NFS was tricky to set up on the FreeBSD box, but I
got a lot of help off the internet, especially at
Oreilly's web site. As always, Dru Lavigne's site
was helpful, too. Next project will be getting my
old laptop still running OpenBSD 3.3 to mount the
exported folders from the FreeBSD box.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-111684300469908119?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/111684300469908119/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=111684300469908119' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111684300469908119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111684300469908119'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/05/nfs-and-windows-services-for-unix.html' title='NFS and Windows Services for Unix'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-111657163396077202</id><published>2005-05-20T01:41:00.000-05:00</published><updated>2006-07-27T00:34:38.033-05:00</updated><title type='text'>CMOS Mess</title><content type='html'>Talk about! I keep getting this when I boot:

unknown: PNP0303 can't assign resources (port)
unknown: PNP0f13 can't assign resources (irq)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0700 can't assign resources (port)
unknown: PNP0401 can't assign resources (port) 

(There a left and right brackets around the
PNP errors, but I can't put it in here, since
it gets interpreted as html tags when the page
is parsed).

Did a lot of Googling, and read where you no
longer can compile in support for the problem.
So, I kept fooling around with pci, irq, and
port settings in the bios. Eventually, I went
to far, to say the least. Machine flat would
not boot. Had to shut down, disconnect power,
remove and reseat the cmos battery, reset all
my bios settings, save and reboot. Still have
the error messages in dmesg, but at least I'm
back up and running.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-111657163396077202?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/111657163396077202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=111657163396077202' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111657163396077202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111657163396077202'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/05/cmos-mess.html' title='CMOS Mess'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-111647086106574167</id><published>2005-05-18T21:42:00.000-05:00</published><updated>2006-07-27T00:36:21.516-05:00</updated><title type='text'>XWindows on FreeBSD 5.4</title><content type='html'>Hallelujah! That about sums up the way I feel.
I've never gotten X to look so good before. I
thought the install had been broken last night
when it stopped towards the end. Did a massive
clean up after all the installing. Tried Window
Maker today after running the X configuration
utility. Took several tries and doing some guess
work as to the video, but it's running now and
looks great. Hope the Thunderbird email program
and Enigmail for encryption go as well tonight.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-111647086106574167?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/111647086106574167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=111647086106574167' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111647086106574167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111647086106574167'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/05/xwindows-on-freebsd-54.html' title='XWindows on FreeBSD 5.4'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-111637497468399312</id><published>2005-05-17T18:54:00.000-05:00</published><updated>2006-07-27T00:36:52.966-05:00</updated><title type='text'>Pine and Gpg Update</title><content type='html'>Okay, found out my last post on using Gpg
and Pine leaves out some things that I've
since had to work out. Here's what I did.
In Pine, go to Setup, then Config. Go down
until you see default-composer-hdrs. Enter

X-GPG-PUBLIC_KEY: http://wwwkeys.nl.pgp.net
X-GPG-FINGERPRINT: your id fingerprint here

Go further down to display filters. Enter

_LEADING("-----BEGIN PGP SIGNED MESSAGE")_ /usr/local/bin/gpg --decrypt
_LEADING("-----BEGIN PGP MESSAGE")_ /usr/local/bin/gpg --decrypt

Go on down to sending filters. Enter

/usr/local/bin/gpg -sae (this 1st one for encryption)
/usr/local/bin/gpg --clearsign (this one for signing)

There's only one person I send anything encrypted
to, so the following work around isn't too much of
a bother. Guess it could get worse if I had to start
encrypting a message to a whole bunch of recipients.
Anyway, when I address the message, I first put in
the intended recipient, then myself to be carbon
copied. When I send the message, I choose the first
gpg filter which encrypts and signs, type in my
password when it asks, and then gpg asks me for
recipient(s). First I type in the intended one and
hit enter. Then I type in myself and hit enter.
Then enter one more time on a blank line. Message
is sent to us both, he can read it, I can read the
copy in my sent messaages folder, and all's well.
I'm using FreeBSD 3.7 Release, GPG 1.4.1 and
Pine 4.62, so if anyone else knows of a better
way to do the above with installing a bunch of
God awful scripts and so forth, in other words,
just some settings I can change, &amp; you read this,
please let me know!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-111637497468399312?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/111637497468399312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=111637497468399312' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111637497468399312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111637497468399312'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/05/pine-and-gpg-update.html' title='Pine and Gpg Update'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-111621418822850552</id><published>2005-05-15T22:29:00.000-05:00</published><updated>2007-07-14T02:10:14.373-05:00</updated><title type='text'>Pine and Gpg on FreeBSD 5.4</title><content type='html'>&lt;p&gt;
Had a terrible time getting Pine and GPG
to work together on the HP Netserver with
freebsd. Here are the program versions:&lt;br /&gt;&lt;br /&gt;

FreeBSD - 5.4 Release&lt;br /&gt;
Gnupg   - 1.4.1&lt;br /&gt;
Pine    - 4.62&lt;br /&gt;&lt;br /&gt;

Probably mentionedd it before. I'm still
running an old version of OpenBSD (3.3)
on my old laptop. GPG is on there with
Pine and works great and was easy to set
up. This new version was easy, once I'd
messed with it most of all day Sunday. :-)
Okay, here's the setup in Pine:&lt;br /&gt;&lt;br /&gt;

display-filters&lt;br /&gt;
&amp;nbsp;(1st filter, all on one line)&lt;br /&gt;
&amp;nbsp;"_LEADING(-----BEGIN PGP SIGNED MESSAGE)_" /usr/local/bin/gpg -decrypt&lt;br /&gt;&lt;br /&gt;

(2nd filter, all on one line)&lt;br /&gt;
"_LEADING(-----BEGIN PGP MESSAGE)_" /usr/local/bin/gpg -decrypt&lt;br /&gt;&lt;br /&gt;

sending-filters&lt;br /&gt;
&amp;nbsp;(1st filter, all on one line)&lt;br /&gt;
&amp;nbsp;/usr/local/bin/gpg -eas -r youremail@youremailprovider&lt;br /&gt;
&amp;nbsp;(2nd filter, all on one line)&lt;br /&gt;
&amp;nbsp;/usr/local/bin/gpg --clearsign&lt;br /&gt;&lt;br /&gt;

On the 1st sending filter, be sure to put
your email address. That's where I had so
much trouble, trying to figure out why I
could send an encrypted message to someone
on my keyring and they could read it, but
I couldn't read the same sent message in
my box.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-111621418822850552?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/111621418822850552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=111621418822850552' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111621418822850552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111621418822850552'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/05/pine-and-gpg-on-freebsd-54.html' title='Pine and Gpg on FreeBSD 5.4'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-111613685562493544</id><published>2005-05-15T00:52:00.000-05:00</published><updated>2006-07-27T00:37:46.860-05:00</updated><title type='text'>FreeBSD HP NetServer Continued</title><content type='html'>Been playing with the system a lot today.
Installed portupgrade on it, read up on
ports at Oreillynet. Lots of good stuff
there, especially from Dru Lavigne. Only
problem in the last 24 hours was when I
ran a cvsup for the ports tree. Left it
running when I went to bed, since it's
a long process sometimes. When I got up,
system was froze up. Had to cold boot it,
and naturally it bitched when booting as
to the system not being unmounted properly.
Wasn't too damned much I could do about
that!
On a windows security note, finally found
a damned key logger on my winbox. Gone
now, but it's worrisome. Found a really
good security site with lots of free stuff
at http://www.sysinternals.com and d/l a
lot of freebies. The most interesting one
was rootkit revealer. Previously, rootkits
were mostly, from what I understand, found
on unix type systems. Now they're making
there way into the windows world. Oh joy!
As if there's not always enough security
stuff to worry about!

Addendum (following a.m.)
Whew! I remember reading how long it can
take to install Gentoo, especially if you
are really a geek and build it from one of
the first stages. :-) I started installing
windowmaker and then firefox last night.
Got up this a.m. and it's still going hot
and heavy. Ran df on /usr last night and
got 15% used. Ran it just now and it's at
28%. I think that particular partition is
about 8 or 9GB. This is kind of like when
you install MS stuff. Eeooouuuhhhh!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-111613685562493544?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/111613685562493544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=111613685562493544' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111613685562493544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111613685562493544'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/05/freebsd-hp-netserver-continued.html' title='FreeBSD HP NetServer Continued'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-111597314081719981</id><published>2005-05-13T03:24:00.000-05:00</published><updated>2006-07-27T00:38:12.493-05:00</updated><title type='text'>FreeBSD on HP LC II NetServer</title><content type='html'>What a chore! Thought I had both cpu's working
properly on the HP Netserver, only to find out
tonight the 2nd one wasn't. Turned out to be a
controller seating problem on the mobo. Got
that ironed out now, I hope.
Installed FreeBSD 5.4 Release on it, installed
some ports I needed, rebuilt the kernel for
SMP support, and it's working okay so far. Now
I'm installing Xorg and later Fluxbox for the
desktop. I'm sure there are some things I left
out, like certain compile arguments, but it's
just for experimentation right now, anyway.
Also added an extra 9GB h/d for storage and
backup. Ran sysinstall and used fdisk and
disklabel. That went okay, too. Hope the xorg
and fluxbox install goes as well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-111597314081719981?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/111597314081719981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=111597314081719981' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111597314081719981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111597314081719981'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/05/freebsd-on-hp-lc-ii-netserver.html' title='FreeBSD on HP LC II NetServer'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-111561951033586997</id><published>2005-05-09T01:09:00.000-05:00</published><updated>2006-07-27T00:38:44.163-05:00</updated><title type='text'>Downloading with Torrent</title><content type='html'>Been fiddling around with torrent files the last
couple of nights. Ran into NAT problems and fixed
them finally tonight. Had to go into the router
config and forward port 6881 calls to the box I'm
using Azureus on, using both TCP and UDP. Enabled
UPnP in Azureus. Had to allow the program access
in the machines firewall config, and fiddle with
the max u/l number and kb's. It's working ok now.
Got interested in it, since a lot of distros out
there aren't in iso format. You can ftp the whole
directory of all the files and create your own iso,
but in some cases, you're not going to get all the
other cd's you might need, like with packages and
ports. Or, you can get the .torrent files and d/l
everything, no sweat, into iso's. Debian's a good
case in point, the one I'm getting right now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-111561951033586997?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/111561951033586997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=111561951033586997' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111561951033586997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111561951033586997'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/05/downloading-with-torrent.html' title='Downloading with Torrent'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-111544226056179874</id><published>2005-05-06T23:58:00.000-05:00</published><updated>2006-07-27T00:39:07.413-05:00</updated><title type='text'>FreesBIE</title><content type='html'>Burned the latest FreesBIE cd tonight and used it as
live cd. Before I booted it, I disabled Plug &amp; Play
in the BIOS. Got it up and running, no sweat. Chose
Fluxbox for the GUI. I like it better than most. It's
more low overhead than the others and does everything
I want it to. Sound worked fine. Network was no sweat
setting from the terminal with ifconfig, route, and
echo for the nameserver. Used smbclient to print to
the old winbox on the lan. Still have to get the usb
Sandisk mounted, but it's late. I'll fool around with
it tomorrow night.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-111544226056179874?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/111544226056179874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=111544226056179874' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111544226056179874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111544226056179874'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/05/freesbie.html' title='FreesBIE'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-111540329370401845</id><published>2005-05-06T13:12:00.000-05:00</published><updated>2006-07-27T00:39:36.773-05:00</updated><title type='text'>Google Web Accelerator</title><content type='html'>Thought this was an interesting to check out
and keep up with as it progresses in the news.
Has to do with Googles new web accelerator.

http://fantomaster.com/fantomNews/archives/2005
/05/05/fantomtiphow-to-block-google%e2%80%99s-web
-accelerator/

I didn't like the idea to begin with. Just
didn't seem like a smart, safe or secure thing
to do.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-111540329370401845?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/111540329370401845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=111540329370401845' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111540329370401845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111540329370401845'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/05/google-web-accelerator.html' title='Google Web Accelerator'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-111535575055372444</id><published>2005-05-05T23:53:00.000-05:00</published><updated>2006-07-27T00:40:00.996-05:00</updated><title type='text'>FreeBSD LiveCD</title><content type='html'>Been way too long since I worked with any BSD!
Downloaded LiveBSD-5_3-KDE-3_3-BETA1.iso from
www.livebsd.com. Wanted to try it out without
having to install on a h/d. Went fine up until
I wanted to get out on the Internet. I kept on
trying echo "nameserver xx.xxx.x.xxx" but didn't
remember to end it with &gt;&gt; /etc/resolv.conf.
Works a lot better when you do! Anyway, I highly
recommend the distro for those who want to play
around with FreeBSD &amp; learn some about it and
don't want to do a h/d install. Also tried out
Dragonfly's latest livecd, Damned Small Linux,
and Slax. All of them were fun and worked great.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-111535575055372444?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/111535575055372444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=111535575055372444' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111535575055372444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111535575055372444'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/05/freebsd-livecd.html' title='FreeBSD LiveCD'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-111514036569480275</id><published>2005-05-03T12:11:00.000-05:00</published><updated>2006-07-27T00:40:23.943-05:00</updated><title type='text'>Back Online</title><content type='html'>Back online, finally, after financial difficulties,
back on the Internet! Just downloaded the current
OpenBSD files and created an ISO. 'Bout time to update
my old laptop. Way overdue! Funny how you fall back on
old friends to keep your sanity when things are going
badly. Reread most of all my favorite Steinbeck books
over the last few months and am currently rereading
Zen and the Art of Motorcycle Maintenance for probably
the 3rd or 4th time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-111514036569480275?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/111514036569480275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=111514036569480275' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111514036569480275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/111514036569480275'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2005/05/back-online.html' title='Back Online'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-108719261170972107</id><published>2004-06-14T00:54:00.000-05:00</published><updated>2006-07-27T00:41:08.346-05:00</updated><title type='text'>Assembly Language</title><content type='html'>Found some good links to assembly language programming
tools, books, tutorials &amp; IDE's tonight:
http://webster.cs.ucr.edu/
http://radasm.visualassembler.com/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-108719261170972107?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/108719261170972107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=108719261170972107' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/108719261170972107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/108719261170972107'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2004/06/assembly-language.html' title='Assembly Language'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-108563938801749872</id><published>2004-05-27T01:21:00.000-05:00</published><updated>2007-01-26T02:17:06.561-06:00</updated><title type='text'>OpenBSD Patching</title><content type='html'>Applied patch couple of nights ago to my "aging" OpenBSD 3.3
system on my Toshiba laptop. Everything went okay! Following
is the patch itself, &amp; then some info on the into the nature
of the vulnerability:

------------------------------------------------------------

Apply by doing:
 cd /usr/src
 patch -p0 &lt; 022_cvs.patch

And then rebuild and install cvs:
 cd gnu/usr.bin/cvs
 make -f Makefile.bsd-wrapper obj
 make -f Makefile.bsd-wrapper
 make -f Makefile.bsd-wrapper install

Index: gnu/usr.bin/cvs/src/client.c
===========================================================
RCS file: /cvs/src/gnu/usr.bin/cvs/src/client.c,v
retrieving revision 1.10
retrieving revision 1.10.4.1
diff -u -p -r1.10 -r1.10.4.1
--- gnu/usr.bin/cvs/src/client.c 6 Jul 2002 04:41:29 -0000 1.10
+++ gnu/usr.bin/cvs/src/client.c 1 May 2004 00:17:34 -0000 1.10.4.1
@@ -1003,6 +1003,20 @@ call_in_directory (pathname, func, data)
     char *rdirp;
     int reposdirname_absolute;
 
+    /*
+     * For security reasons, if PATHNAME is absolute or attempts to
+     * ascend outside of the current sandbox, we abort.  The server should not
+     * send us anything but relative paths which remain inside the sandbox
+     * here.  Anything less means a trojan CVS server could create and edit
+     * arbitrary files on the client.
+     */
+    if (isabsolute (pathname) || pathname_levels (pathname) &gt; 0)
+    {
+        error (0, 0,
+               "Server attempted to update a file via an invalid pathname:");
+        error (1, 0, "`%s'.", pathname);
+    }
+
     reposname = NULL;
     read_line (&amp;reposname);
     assert (reposname != NULL);
Index: gnu/usr.bin/cvs/src/modules.c
===========================================================
RCS file: /cvs/src/gnu/usr.bin/cvs/src/modules.c,v
retrieving revision 1.1.1.14
retrieving revision 1.1.1.14.8.2
diff -u -p -r1.1.1.14 -r1.1.1.14.8.2
--- gnu/usr.bin/cvs/src/modules.c   28 Sep 2001 22:45:38 -0000   1.1.1.14
+++ gnu/usr.bin/cvs/src/modules.c   1 May 2004 00:17:35 -0000  1.1.1.14.8.2
@@ -159,6 +159,24 @@ do_module (db, mname, m_type, msg, callb
     }
 #endif
 
+    /* Don't process absolute directories.  Anything else could be a security
+     * problem.  Before this check was put in place:
+     *
+     *   $ cvs -d:fork:/cvsroot co /foo
+     *   cvs server: warning: cannot make directory CVS in /: Permission denied
+     *   cvs [server aborted]: cannot make directory /foo: Permission denied
+     *   $
+     */
+    if (isabsolute (mname))
+ error (1, 0, "Absolute module reference invalid: `%s'", mname);
+
+    /* Similarly for directories that attempt to step above the root of the
+     * repository.
+     */
+    if (pathname_levels (mname) &gt; 0)
+ error (1, 0, "up-level in module reference (`..') invalid: `%s'.",
+               mname);
+
     /* if this is a directory to ignore, add it to that list */
     if (mname[0] == '!' &amp;&amp; mname[1] != '\0')
     { 
============================================================

------------------------------------------------------------

Info on cvs vulnerability from:

http://www.securitytracker.com/alerts/2004/May/1010074.html

SecurityTracker Alert ID:  1010074
CVE Reference:  CAN-2004-0405   (Links to External Site)
Date:  May 5 2004
Impact:  Disclosure of user information
Fix Available:  Yes   Vendor Confirmed:  Yes  
Version(s): 1.11.15
Description:  A vulnerability was reported in CVS. A remote
authenticated user may be able to view arbitrary RCS files on
the server.

It is reported that a remote authenticated user can invoke a piped
checkout of paths above $CVSROOT to view the contents of RCS archive
files anywhere on a CVS server. This flaw can reportedly be triggered
using relative pathnames containing the '../' directory traversal strings.

Debian credited Derek Robert Price with discovering this flaw.
Impact:  A remote authenticated user can view RCS files located anywhere
on the target system.
Solution:  OpenBSD has issued the following patches:

ftp://ftp.openbsd.org/pub/OpenBSD/patches/3.5/common/002_cvs.patch
ftp://ftp.openbsd.org/pub/OpenBSD/patches/3.4/comm on/017_cvs.patch
ftp://ftp.openbsd.org/pub/OpenBSD/patches/3.3/common/022_cvs.patch
Vendor URL:  www.cvshome.org/ (Links to External Site)
Cause:  Access control error, Input validation error
Underlying OS:  UNIX (OpenBSD)
Underlying OS Comments:  3.3, 3.4, 3.5
Reported By:  Otto Moerbeek &lt;otto@drijf.net&gt;
Message History:   This archive entry is a follow-up to the message
listed below. Apr 19 2004 CVS Server Piped Checkout Input Validation
Flaw Discloses RCS Files to Remote Authenticated Users&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-108563938801749872?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/108563938801749872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=108563938801749872' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/108563938801749872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/108563938801749872'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2004/05/openbsd-patching.html' title='OpenBSD Patching'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-108428043133654281</id><published>2004-05-11T07:56:00.000-05:00</published><updated>2006-07-27T00:42:10.253-05:00</updated><title type='text'>ISO Making Batchfile</title><content type='html'>Here's the batch file I use to create OpenBSD
    ISO's from the snapshots I download:

    cd c:cd c:\openbsd
    c:\cdrtools\mkisofs -v -r -T -l -L -J -V "OpenBSD3.5-current" -b
    3.5/i386/cdrom35.fs -c boot.catalog -o
    c:/openbsd/snapshot/iso/OpenBSD3.5-current.iso -A "OpenBSD 3.5-current
    Install"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-108428043133654281?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/108428043133654281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=108428043133654281' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/108428043133654281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/108428043133654281'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2004/05/iso-making-batchfile.html' title='ISO Making Batchfile'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5642827.post-107968773015905901</id><published>2004-03-19T03:15:00.000-06:00</published><updated>2006-07-27T00:42:39.186-05:00</updated><title type='text'>OpenBSD Patching</title><content type='html'>Applied 2 more patches to my OpenBSD 3.3 system on my Toshiba 4015CDT
laptop, 020_isakmpd2.patch &amp; 021_openssl.patch

020_isakmpd2.patch:
Defects in the payload validation and processing functions of isakmpd(8)
have been discovered. An attacker could send malformed ISAKMP messages
and cause isakmpd to crash or to loop endlessly. This patch fixes these problems
and removes some memory leaks.

021_openssl.patch:
A missing check for a NULL-pointer dereference has been found in ssl(3). A
remote attacker can use the bug to cause an OpenSSL application to crash;
this may lead to a denial of service.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5642827-107968773015905901?l=polarwave.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://polarwave.blogspot.com/feeds/107968773015905901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5642827&amp;postID=107968773015905901' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/107968773015905901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5642827/posts/default/107968773015905901'/><link rel='alternate' type='text/html' href='http://polarwave.blogspot.com/2004/03/openbsd-patching.html' title='OpenBSD Patching'/><author><name>Dennyboy</name><uri>http://www.blogger.com/profile/13324432306008847912</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-OuXHjhtrbUQ/TlHu_3b0RDI/AAAAAAAAAcA/N62a27mByK0/s1600/gpluscropper.png'/></author><thr:total>0</thr:total></entry></feed>
