<?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-1158065405652563750</id><updated>2011-11-27T19:12:34.537-05:00</updated><category term='9.04'/><category term='auto-update'/><category term='mediawiki'/><category term='documentation'/><category term='mythmusic'/><category term='9.10'/><category term='7.10'/><category term='hang'/><category term='update-manager'/><category term='8.10'/><category term='vm'/><category term='apt-get'/><category term='opendns'/><category term='dpms'/><category term='tomato router'/><category term='skype'/><category term='printing'/><category term='10.10'/><category term='wine'/><category term='lirc'/><category term='apt-key'/><category term='upgrading'/><category term='firefox'/><category term='evernote'/><category term='mythtv-status'/><category term='audio'/><category term='8.04'/><category term='apt-cacher'/><category term='sound'/><category term='tips'/><category term='host clock rate change'/><category term='mystery'/><category term='logwatch'/><category term='video'/><category term='email'/><category term='7.04'/><category term='performance'/><category term='zap2it'/><category term='nfs'/><category term='eclipse'/><category term='cron'/><category term='hdtv'/><category term='hardware'/><category term='schedules direct'/><category term='apache'/><category term='mediakeys'/><category term='virtualbox'/><category term='10.04'/><category term='usb'/><category term='vmware'/><category term='security'/><category term='open-issue'/><category term='bad idea'/><category term='automount'/><category term='mythweb'/><category term='music'/><category term='ssh'/><category term='screensaver'/><category term='lifehacker'/><category term='nikto'/><category term='memory'/><category term='mythtv'/><category term='django'/><category term='ntp'/><category term='dyndns'/><category term='wpa'/><category term='networking'/><category term='wireless'/><category term='mythbuntu'/><category term='headset'/><category term='ddclient'/><category term='dropbox'/><category term='samba'/><category term='sbackup'/><category term='gcc'/><category term='6.10'/><category term='itunes'/><title type='text'>Von's Ubuntu Experiences</title><subtitle type='html'>My ongoing experiences with Ubuntu, and later Mythbuntu, as a media center with MythTV. I'm also using the system for a virtual machine server, a mediawiki server and a general all around home infrastructure base.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default?start-index=101&amp;max-results=100'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>121</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-800183578290699457</id><published>2010-12-15T20:43:00.000-05:00</published><updated>2010-12-15T20:43:15.498-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='automount'/><category scheme='http://www.blogger.com/atom/ns#' term='10.10'/><category scheme='http://www.blogger.com/atom/ns#' term='usb'/><title type='text'>USB drives not automounting</title><content type='html'>I noticed that after &lt;a href="http://v2kblog.blogspot.com/2010/10/upgrading-laptop-from-910-to-1004-to.html"&gt;upgrading my laptop to Ubuntu 10.10&lt;/a&gt;, USB drives weren't automounting.&lt;br /&gt;&lt;br /&gt;My first clue was in &lt;a href="http://tips4linux.com/usb-devices-not-mounting-in-lucid-heres-a-fix/#comment-1903"&gt;this comment&lt;/a&gt;, I didn't have the usb_storage kernel module loaded:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# lsmod | grep usb&lt;br /&gt;usbhid                 36882  0 &lt;br /&gt;hid                    67742  1 usbhid&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;So I loaded the usb_storage module:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# modprobe usb_storage&lt;br /&gt;WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.&lt;br /&gt;# lsmod | grep usb&lt;br /&gt;usb_storage            40172  1 &lt;br /&gt;usbhid                 36882  0 &lt;br /&gt;hid                    67742  1 usbhid&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;And at this point USB drives mounted just fine. To make it permanent, I followed the directions in &lt;a href="http://ubuntuforums.org/showthread.php?p=9919742"&gt;this post&lt;/a&gt;, added "usb_storage" to /etc/modules and rebooted. USB automounting working fine now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-800183578290699457?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/800183578290699457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=800183578290699457' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/800183578290699457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/800183578290699457'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2010/12/usb-drives-not-automounting.html' title='USB drives not automounting'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-7569238031166019170</id><published>2010-10-22T09:06:00.000-04:00</published><updated>2010-10-22T09:06:36.962-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='9.10'/><category scheme='http://www.blogger.com/atom/ns#' term='upgrading'/><category scheme='http://www.blogger.com/atom/ns#' term='10.10'/><category scheme='http://www.blogger.com/atom/ns#' term='10.04'/><title type='text'>Upgrading laptop from 9.10 to 10.04 to 10.10</title><content type='html'>&lt;ol&gt;&lt;li&gt;Installed all Updates&lt;/li&gt;&lt;li&gt;Clicked 'Upgrade' in the Update Manager to update to 10.04.1 LTS&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Some Third party sources disabled.&lt;/li&gt;&lt;li&gt;~1.7GB download&lt;/li&gt;&lt;li&gt;Couple hours and a number of dialog boxes later upgrade was done.&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;First boot after upgrade I get an error message: "An error occurred while mounting /proc/bus/usb". &lt;a href="http://ubuntuforums.org/showthread.php?t=1468486"&gt;Solution&lt;/a&gt;&amp;nbsp;found in the forums.&lt;/li&gt;&lt;li&gt;Ran Update Manager again, system was up-to-date, installed 6 updates.&lt;/li&gt;&lt;li&gt;Still didn't show upgrade to 10.10. Had to click on Settings and then under Release upgrade, select Normal Releases. Clicked Close and then Check again. Now Upgrade button was available.&lt;/li&gt;&lt;li&gt;Clicked 'Upgrade' to upgrade to 10.10&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Another ~1.7 GB of download.&lt;/li&gt;&lt;li&gt;Few hours later and a reboot and I'm at 10.10&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-7569238031166019170?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/7569238031166019170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=7569238031166019170' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7569238031166019170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7569238031166019170'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2010/10/upgrading-laptop-from-910-to-1004-to.html' title='Upgrading laptop from 9.10 to 10.04 to 10.10'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-64618937582581431</id><published>2010-06-22T10:22:00.000-04:00</published><updated>2010-06-22T10:22:23.790-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mythbuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='10.04'/><title type='text'>Installing Mythbuntu 10.04 from scratch (part one).</title><content type='html'>&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;As I mentioned in my previous post, I decided to install &lt;a href="http://www.mythbuntu.org/downloads"&gt;Mythbuntu&lt;/a&gt; to use with my&amp;nbsp;&lt;a href="http://www.hauppauge.com/site/products/data_hvr1600.html"&gt;Hauppauge WinTV HVR-1600&lt;/a&gt; (model 01199) tuner card. I started by installing Mythbuntu 10.04 from the CD and I followed the &lt;a href="http://www.mythtv.org/wiki/Hauppauge_HVR-1600"&gt;Happauge HVR-1600 directions from the MythTV website&lt;/a&gt;. Note that I am only configuring the ATSC digital over-the-air tuner and not the analog tuner.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;First I went through the standard install screens (language, time zone, keyboard layout, etc.). For partitioning, I used a 80GB partition for the root partition, created a 19GB swap partition and a 50GB /home partition.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;For installation type, I chose "Primary Backend w/Frontend."&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;For services I left the defaults: SSH and Samba.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;I enabled a Remote Control and chose "Haupauge TV-Card" as I didn't see HVR-1600 and that seemed most logical. I left "Enable Dynamic Button Mappings" checked and "Generate Frontend Restart Mapping" unchecked.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;For Graphics Driver I chose "NVDIA Graphics" since I have &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;an NVIDIA card and have &lt;a href="http://v2kblog.blogspot.com/2007/03/ubuntu-video-performance-woes.html"&gt;been through this before&lt;/a&gt;. I left TV-Out disabled.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;After about 10 minutes of installation, a screen came up to configure the Backend and I launched MythT Setup:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Under "General" I changed nothing.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Under "Capture Cards" I created a new capture card of type "DVB DTV capture card (v3.x)". Under Recording options I set the max recordings to 1. (This all per the MythTV web page at the start of this post.)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Under "Video Sources" I added a new video source of type "Transmitted guide only (EIT)". Don't forget to give it a name or it will be a blank line on the video sources list which will confuse you into thinking it wasn't added.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Under "Input Connections" I selected the DVB capture device and set the video source to the video source I just just added in the previous step. Then I selected "Scan for Channels" which found roughly a dozen ATSC channels I inserted, plus two MPEG channels I inserted.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Under the "Channel Editor" I saw what looked like a reasonable list of over-the-air channels for my area. I didn't do anything under this option.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;When I exited MythTV Setup I was prompted to run mythfilldatabase, which I did. It didn't have any apparent effect.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;That completed installation, CD ejected and system rebooted.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Hmmm, as the system went down for the reboot I got a bunch of "end_request: I/O error, dev sr0, sector &lt;various numbers=""&gt;" errors and the system hung. So I power cycled it.&lt;/various&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;When the system came up I got a dialog box about Ubuntu running in low-graphics mode with a "Failed to initialize NVIDIA graphics device" error.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span id="btAsinTitle"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;I selected "Reconfigure graphics" and then "Create new configuration for the hardware". That seemed to generate a new configuration and I restarted X. MythTV came up fine.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;I tried watching TV at this point and tuning seemed to be working, but I didn't appear to be getting audio...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Before I tackled the audio problem, I decided to do some basic system administration. I exited MythTV and fired up a terminal (under Applications/Accessories).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;From there I did a update of the system (took about 10 minutes) followed by a reboot:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 19px;"&gt;sudo apt-get update&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 19px;"&gt;sudo apt-get dist-upgrade&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 19px;"&gt;sudo reboot&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 19px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;When the system came up I got the same "running in low-graphics mode" dialog box. I did the same "Reconfigure graphics" and restart of X as last time. Another problem on the stack...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;I checked and tuning still working fine (and still no audio).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;My next step was to configure the system with a static IP address. I followed the same &lt;a href="http://www.cyberciti.biz/tips/howto-ubuntu-linux-convert-dhcp-network-configuration-to-static-ip-configuration.html"&gt;directions&lt;/a&gt; I have before, but when I ran "/etc/init.d/networking restart" I got a "SIOCDELRT: No such process" error. Wow, this was becoming a painful install.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Ah, I found&amp;nbsp;&lt;a href="http://www.jonathanmoeller.com/screed/?p=1669"&gt;these directions&lt;/a&gt;&amp;nbsp;and doing a "ifup eth0" did indeed restart the interface with a static IP address. I then rebooted the system to make sure the configuration persisted and it did.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;OK, now I could install my SSH public key and, ahhh, easy access from my laptop. Much better.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Looking into low-graphics mode problem... I noticed I had no /etc/X11/xorg.conf file, but I did have a /xorg.conf.new, so I copied it to /etc/X11/xorg.conf and rebooted. Now the system didn't complain about being in a low resolution mode, but my monitor did complain about "non optimal mode" and my keyboard didn't seem to work. So I moved it aside and rebooted again. This time the system came up without any warnings about low-graphics mode. Weird. I rebooted again just to make sure and it worked. OK, don't understand it, but problem considered solved for the moment.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Looking into lack of audio... ah, I actually do have audio, it's just really soft. I have to crank the volume and I can hear it. Even if I turned the volume up to 100% (using F11) it was still really soft.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Hmm, I'm also noticing my video is somewhat jittery, like I experienced &lt;a href="http://v2kblog.blogspot.com/2007/03/ubuntu-video-performance-woes.html"&gt;before&lt;/a&gt; when I wasn't using the NVIDIA drivers.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana, arial, helvetica, sans-serif; font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 19px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: large; line-height: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 19px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: large; line-height: normal;"&gt;Well, that's enough for this post. I'll pick it up in my next post...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-64618937582581431?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/64618937582581431/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=64618937582581431' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/64618937582581431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/64618937582581431'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2010/06/installing-mythbuntu-1004-from-scratch.html' title='Installing Mythbuntu 10.04 from scratch (part one).'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8662280068628045305</id><published>2010-06-08T09:04:00.000-04:00</published><updated>2010-06-08T09:04:53.707-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mythbuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='mythtv'/><category scheme='http://www.blogger.com/atom/ns#' term='hdtv'/><category scheme='http://www.blogger.com/atom/ns#' term='10.04'/><title type='text'>Back in the saddle again with Mythbuntu and HDTV OTA...</title><content type='html'>Well, after deciding &lt;a href="http://v2kblog.blogspot.com/2010/01/so-long-mythbuntu.html"&gt;I didn't need MythTV any more&lt;/a&gt;, I've changed my mind. Mainly because we dropped cable tv and are now relying on over the air (OTA) HDTV, so my old Series 1 Tivo, with only an analog tuner, doesn't do me a lot of good any more.&lt;br /&gt;&lt;br /&gt;So, I bought a &lt;a href="http://www.hauppauge.com/site/products/data_hvr1600.html"&gt;Hauppauge HVR-1600 (model 1099)&lt;/a&gt; with the idea of running MythTV again, this time tuning in OTA HDTV. I've going to install &lt;a href="http://www.mythbuntu.org/downloads"&gt;Mythbuntu&lt;/a&gt; 10.04 from scratch and go from there.&lt;br /&gt;&lt;br /&gt;Stay tuned...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8662280068628045305?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8662280068628045305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8662280068628045305' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8662280068628045305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8662280068628045305'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2010/06/back-in-saddle-again-with-mythbuntu-and.html' title='Back in the saddle again with Mythbuntu and HDTV OTA...'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-5866210271843418804</id><published>2010-02-06T19:25:00.003-05:00</published><updated>2010-02-06T19:28:11.335-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dyndns'/><category scheme='http://www.blogger.com/atom/ns#' term='tomato router'/><title type='text'>Using Tomato router for DynDNS updates</title><content type='html'>Since I &lt;a href="http://v2kblog.blogspot.com/2010/01/so-long-mythbuntu.html"&gt;reinstalled my OS&lt;/a&gt;, I hadn't done my &lt;a href="http://v2kblog.blogspot.com/2008/09/configuring-automatic-update-of-ip.html"&gt;dyndns updating&lt;/a&gt; yet. Instead of doing it on my Ubuntu box, I decided to have my Tomato router do it instead following &lt;a href="http://blog.dreamdevil.com/index.php/2008/10/23/tomato-firmware_dynamic-dns-with-dyndns/"&gt;these directions&lt;/a&gt;. I also followed the suggestion in the first comment to force a daily update similar to &lt;a href="http://v2kblog.blogspot.com/2009/07/another-dyndns-false-alarm-put-weekly.html"&gt;what I did before&lt;/a&gt;.&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-5866210271843418804?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/5866210271843418804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=5866210271843418804' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/5866210271843418804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/5866210271843418804'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2010/02/using-tomato-router-for-dyndns-updates.html' title='Using Tomato router for DynDNS updates'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-7834691346897585619</id><published>2010-01-12T20:30:00.000-05:00</published><updated>2010-01-12T21:36:55.167-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='9.10'/><category scheme='http://www.blogger.com/atom/ns#' term='mythbuntu'/><title type='text'>So long mythbuntu...</title><content type='html'>So we recently got a new HD Tivo, which left my ten year-old series one Tivo available. I decided to move it down to my den and remove mythbuntu from my linux box and make it media server.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;My experience with mythbuntu was pretty good over all, the only real sore spot being occasional problems with &lt;a href="http://v2kblog.blogspot.com/search/label/lirc"&gt;lirc&lt;/a&gt;. Certainly if I didn't have a Tivo available, I'd still be using it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Since I didn't really want to keep any of the recordings I had, I decided to reinstall the system from scratch. Here's my journey...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I choose &lt;a href="http://www.ubuntu.com/getubuntu/download-server"&gt;Ubuntu Server 9.10&lt;/a&gt; as my OS. Really the choice was between 9.10 and 8.04 LTS. I decided I wanted the latest and greatest more than stability. So I grabbed the ubuntu-9.10-server-amd64.iso, burned a CD and away I went.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Next decision was partitioning my three disks: sda @ 250GB, sdb @ 1TB, sdc @ 250GB. I decided to make sda my root and virtual machine partition. sdb was going to be for backups and then sdc for holding my media. So sda broke down as a 80GB root partition, a 1 GB /boot partition, a 19GB swap partition and the remainder (~150GB) as /vms. sdb and sdc were simply /mnt/backups and /mnt/media respectively.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The default install had me doing LVM (logical volume manager), but frankly I couldn't figure out how to getting it reconfigured correctly at a level that I was confident I knew what I was doing, so I disabled it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Other options selected during the install:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Set to do security updates automatically&lt;/li&gt;&lt;li&gt;I installed: OpenSSH server, Samba Server and the LAMP Server.&lt;/li&gt;&lt;li&gt;I set the mysql root password to my password&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;After the install was complete I did the following:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;I set a &lt;a href="http://www.cyberciti.biz/tips/howto-ubuntu-linux-convert-dhcp-network-configuration-to-static-ip-configuration.html"&gt;static IP address&lt;/a&gt;&lt;/li&gt;&lt;li&gt;I &lt;a href="http://v2kblog.blogspot.com/2008/10/installing-apt-cacher.html"&gt;installed apt-cacher&lt;/a&gt;. This time I did not do the path_map configuration. I then created /etc/apt/apt.conf/90local-proxy&lt;/li&gt;&lt;li&gt;Good time for a quick update: apt-get dist-upgrade&lt;/li&gt;&lt;li&gt;I &lt;a href="http://v2kblog.blogspot.com/2009/03/trying-out-unattended-upgrades-to.html"&gt;installed automatic updates&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;I &lt;a href="http://v2kblog.blogspot.com/2008/09/getting-outgoing-email-working.html"&gt;got email working&lt;/a&gt;. I edited /etc/aliases to forward root and postmaster to my personal address, and added a .forward in my home directory to do the same.&lt;/li&gt;&lt;li&gt;I &lt;a href="http://v2kblog.blogspot.com/2008/11/installing-logwatch.html"&gt;installed logwatch&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;I &lt;a href="http://v2kblog.blogspot.com/2008/10/sbackup-without-gui.html"&gt;set up automatic back ups&lt;/a&gt;, backing up /etc, /home, /mnt/media. I intentionally didn't back up the virtual machine partition this way, since I want to run a script to shut those down and then backup their disks.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Todo at this point:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://v2kblog.blogspot.com/2008/09/installing-samba.html"&gt;Configure Samba&lt;/a&gt; to serve /mnt/media and /mnt/backups&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-7834691346897585619?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/7834691346897585619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=7834691346897585619' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7834691346897585619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7834691346897585619'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2010/01/so-long-mythbuntu.html' title='So long mythbuntu...'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8935505367469646147</id><published>2009-12-13T07:00:00.000-05:00</published><updated>2009-12-13T08:04:09.034-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='9.04'/><category scheme='http://www.blogger.com/atom/ns#' term='9.10'/><category scheme='http://www.blogger.com/atom/ns#' term='upgrading'/><title type='text'>Upgrading laptop from 9.04 to 9.10</title><content type='html'>&lt;div&gt;&lt;a href="hhttp://www.ubuntu.com/getubuntu/upgrading#Network%20Upgrade%20for%20Ubuntu%20Desktops%20%28Recommended%29"&gt;Upgraded my Ubuntu laptop&lt;/a&gt; from 9.04 to 9.10. No major issues.&lt;/div&gt;http://www.ubuntu.com/getubuntu/upgrading&lt;br /&gt;&lt;br /&gt;As with &lt;a href="http://v2kblog.blogspot.com/2008/11/upgrading-my-laptop-to-ubuntu-810.html"&gt;8.10 upgrade&lt;/a&gt;, my Firefox is all messed up. Google toolbar and all my other extension buttons are gone. To get them back I had to disable the "Ubuntu Firefox Modifications" and then I was able to restore everything. &lt;div id="ui-datepicker-div" style="display: none;"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8935505367469646147?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8935505367469646147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8935505367469646147' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8935505367469646147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8935505367469646147'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/12/upgrading-laptop-from-904-to-910.html' title='Upgrading laptop from 9.04 to 9.10'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-3443066664291253426</id><published>2009-11-29T17:42:00.008-05:00</published><updated>2009-11-29T18:10:55.701-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='virtualbox'/><category scheme='http://www.blogger.com/atom/ns#' term='usb'/><title type='text'>Virtualbox USB devices greyed out</title><content type='html'>Running WinXP inside of VirtualBox and wanting to re-program my Harmony Remote, but all the USB devices were grey out. I followed &lt;a href="https://help.ubuntu.com/community/VirtualBox/USB"&gt;these directions&lt;/a&gt; to fix.&lt;br /&gt;&lt;br /&gt;First I added myself to vboxusers group:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;# grep vbox /etc/group&lt;br /&gt;vboxusers:x:128:&lt;br /&gt;# usermod -G vboxusers -a von&lt;/code&gt;&lt;/pre&gt;In order to get this group change to take effect in my login session, I had to logout and back in again.&lt;br /&gt;&lt;br /&gt;Then I edited /etc/fstab to add /proc/bus/usb. I had an old entry I had to comment out.&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;# vi /etc/fstab&lt;br /&gt;# tail -2 /etc/fstab&lt;br /&gt;#/dev/bus/usb /proc/bus/usb usbfs auto 0 0&lt;br /&gt;none /proc/bus/usb usbfs devgid=128,devmod=644 0 0&lt;/code&gt;&lt;/pre&gt;I had to unmount the old /proc/bus/usb and then remount it:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;# umount /proc/bus/usb&lt;br /&gt;# mount -a&lt;/code&gt;&lt;/pre&gt;At this point I restarted VirtualBox and was able to mount USB devices.&lt;br /&gt;&lt;br /&gt;&lt;div id="ui-datepicker-div" style="display: none;"&gt;&lt;/div&gt;&lt;div id="ui-datepicker-div" style="display: none;"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-3443066664291253426?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/3443066664291253426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=3443066664291253426' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/3443066664291253426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/3443066664291253426'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/11/virtualbox-usb-devices-greyed-out.html' title='Virtualbox USB devices greyed out'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-2813378378263256917</id><published>2009-08-14T18:58:00.003-04:00</published><updated>2009-08-14T19:00:54.995-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apt-get'/><category scheme='http://www.blogger.com/atom/ns#' term='open-issue'/><title type='text'>apt-get failed to fetch errors...</title><content type='html'>I'm seeing the following errors running 'apt-get update'. Not sure why. /var/log/apt-cacher/error.log shows no errors.&lt;br /&gt;&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;% sudo apt-get update&lt;br /&gt;...&lt;br /&gt;Err http://us.archive.ubuntu.com jaunty/multiverse Translation-en_US          &lt;br /&gt; Error reading from server - read (104 Connection reset by peer)&lt;br /&gt;...&lt;br /&gt;Err http://us.archive.ubuntu.com jaunty-updates/universe Translation-en_US&lt;br /&gt; Error reading from server - read (104 Connection reset by peer)&lt;br /&gt;...&lt;br /&gt;Hit http://us.archive.ubuntu.com jaunty-updates/multiverse Sources&lt;br /&gt;W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/multiverse/i18n/Translation-en_US.bz2  Error reading from server - read (104 Connection reset by peer)&lt;br /&gt;&lt;br /&gt;W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty-updates/universe/i18n/Translation-en_US.bz2  Error reading from server - read (104 Connection reset by peer)&lt;br /&gt;&lt;br /&gt;E: Some index files failed to download, they have been ignored, or old ones used instead.&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-2813378378263256917?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/2813378378263256917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=2813378378263256917' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2813378378263256917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2813378378263256917'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/08/apt-get-failed-to-fetch-errors.html' title='apt-get failed to fetch errors...'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-3985445857347381730</id><published>2009-08-14T18:49:00.003-04:00</published><updated>2009-08-14T18:53:31.962-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apt-key'/><category scheme='http://www.blogger.com/atom/ns#' term='update-manager'/><title type='text'>apt-get update missing GPG key</title><content type='html'>I was seeing the following error when running "Check" on the update-manager, or 'apt-get update':&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 248DD1EEBC8EBFE8&lt;/code&gt;&lt;/pre&gt;Answer, kudos to &lt;a href="http://gentoo-blog.de/ubuntu/ubuntu-gpg-error-httpppalaunchpadnet-intrepid-release/"&gt;Gentoo Blog&lt;/a&gt;:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;% gpg --keyserver subkeys.pgp.net --recv 248DD1EEBC8EBFE8&lt;br /&gt;gpg: requesting key BC8EBFE8 from hkp server subkeys.pgp.net&lt;br /&gt;gpg: key BC8EBFE8: public key "Launchpad PPA for Network-manager" imported&lt;br /&gt;gpg: Total number processed: 1&lt;br /&gt;gpg:               imported: 1  (RSA: 1)&lt;br /&gt;% gpg --export --armor 248DD1EEBC8EBFE8 | sudo apt-key add -&lt;br /&gt;OK&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-3985445857347381730?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/3985445857347381730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=3985445857347381730' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/3985445857347381730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/3985445857347381730'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/08/apt-get-update-missing-gpg-key.html' title='apt-get update missing GPG key'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6058831128014606948</id><published>2009-07-30T17:56:00.004-04:00</published><updated>2009-07-30T18:05:24.587-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mystery'/><category scheme='http://www.blogger.com/atom/ns#' term='virtualbox'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>Networking didn't work after kernel upgrade: br0?</title><content type='html'>I did an 'apt-get dist-upgrade' and there was a kernel upgrade, so I rebooted. When the system came back there was no functional networking. Everything looked fine, I couldn't reach anything besides loopback.&lt;br /&gt;&lt;br /&gt;On a hunch, I commented out &lt;a href="http://v2kblog.blogspot.com/2009/06/installing-virtualbox-and-creating.html"&gt;br0 interface&lt;/a&gt; from /etc/network/interfaces and bounced networking (/etc/init.d/network restart) and all OK.&lt;br /&gt;&lt;br /&gt;Then for grins I added br0 interface back and bounced networking again and, huh, all now seemed OK.&lt;br /&gt;&lt;br /&gt;So I tried rebooted and all was still OK.&lt;br /&gt;&lt;br /&gt;Chalking it up to a mystery for now unless problem returns.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6058831128014606948?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6058831128014606948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6058831128014606948' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6058831128014606948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6058831128014606948'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/07/networking-didnt-work-after-kernel.html' title='Networking didn&apos;t work after kernel upgrade: br0?'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8807422304500573695</id><published>2009-07-25T08:04:00.000-04:00</published><updated>2009-07-25T08:06:00.282-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dyndns'/><category scheme='http://www.blogger.com/atom/ns#' term='ddclient'/><title type='text'>Another dyndns false alarm - put weekly force into place</title><content type='html'>I got another &lt;a href="http://v2kblog.blogspot.com/2009/05/dyndns-false-alarm.html"&gt;ddclient false alarm&lt;/a&gt;, where my daily cron job seems to lag just a day behind dyndns sending me an email warning.&lt;br /&gt;&lt;br /&gt;This time I decided to add a cron job that does a forced update once a week to get rid of this race condition. Start my copying over the daily cron job:&lt;br /&gt;&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;# cp /etc/cron.daily/ddclient /etc/cron.weekly/&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;And then editing it to include '-force':&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;# vi /etc/cron.weekly/ddclient&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;End result looks like this:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;#!/bin/sh&lt;br /&gt;/usr/sbin/ddclient -syslog -force&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8807422304500573695?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8807422304500573695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8807422304500573695' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8807422304500573695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8807422304500573695'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/07/another-dyndns-false-alarm-put-weekly.html' title='Another dyndns false alarm - put weekly force into place'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-4904962241188628627</id><published>2009-07-05T19:59:00.003-04:00</published><updated>2009-07-05T20:08:48.746-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='virtualbox'/><title type='text'>Upgraded to Virtualbox 3.0</title><content type='html'>I notiec that &lt;a href="http://www.virtualbox.org/"&gt;Virtualbox&lt;/a&gt; 3.0 was released, so I upgraded my &lt;a href="http://v2kblog.blogspot.com/2009/05/installing-virtual-box.html"&gt;previous instal&lt;/a&gt;l using the directions from &lt;a href="http://www.virtualbox.org/wiki/Linux_Downloads"&gt;www.virtualbox.org&lt;/a&gt;. This time I went the route of editing /etc/apt/sources.list by adding the following line:&lt;br /&gt;&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;deb http://download.virtualbox.org/virtualbox/debian jaunty non-free&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Then adding the Sun VBox key:&lt;br /&gt;&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Then did the install:&lt;br /&gt;&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;apt-get install virtualbox-3.0&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Then I also downloaded and installed the new 3.0 version of the SDK from the &lt;a href="http://www.virtualbox.org/wiki/Downloads"&gt;Virtualbox download page&lt;/a&gt; (which seems to have been updated to work with Python 2.6 btw).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-4904962241188628627?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/4904962241188628627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=4904962241188628627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/4904962241188628627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/4904962241188628627'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/07/upgraded-to-virtualbox-30.html' title='Upgraded to Virtualbox 3.0'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-2619532735489902816</id><published>2009-06-29T21:40:00.000-04:00</published><updated>2009-06-29T22:37:28.393-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='django'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><title type='text'>Getting Django running under Apache</title><content type='html'>I heard a number of good things about &lt;a href="http://www.djangoproject.com/"&gt;Django&lt;/a&gt; and wanted to give it a try. After following the &lt;a href="http://docs.djangoproject.com/en/dev/intro/tutorial01/"&gt;tutorial&lt;/a&gt; and playing around with it, I found it really cool. BTW, there is also good documentation to be found at the &lt;a href="http://www.djangobook.com/"&gt;Django Book&lt;/a&gt; site.&lt;br /&gt;&lt;br /&gt;After playing a little, I decided I wanted to try deploying Django into my existing Apache instance. And well, I found the &lt;a href="http://docs.djangoproject.com/en/dev/howto/deployment/#howto-deployment-index"&gt;documentation&lt;/a&gt; for doing this somewhat lacking (even in the &lt;a href="http://www.djangobook.com/en/2.0/chapter12/"&gt;book&lt;/a&gt;). But I forged ahead and catched what it took here. Hopefully it will either be helpful or someone can come along and tell me I missed something.&lt;br /&gt;&lt;br /&gt;First, I started by installing Django on my Ubuntu server. I already had Apache installed and working btw.&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;sudo apt-get install python-django&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Reading through the Django document I decided to go the &lt;a href="http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/"&gt;modwsgi&lt;/a&gt; route since that seem to be the recommended course. I followed the &lt;a href="http://code.google.com/p/modwsgi/wiki/InstallationOnLinux"&gt;directions&lt;/a&gt; for installing modwsgi:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;sudo apt-get install libapache2-mod-wsgi&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Then I created a Django site to run my applications in. Pick the name of your site carefully - as far as I can tell, it will appear in all your URLs (maybe I'm wrong on this as I haven't experimented too much):&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;cd /usr/local&lt;br /&gt;sudo django-admin startproject django_site&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Now, you could just go ahead and make your site owned by the Apache user (www-data), but I decided to make it owned by me so that I could easily edit things:&lt;br /&gt;sudo chown -R vwelch django_site&lt;br /&gt;Now create /usr/local/django_site/django.wgsi that looks like the following:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;import os&lt;br /&gt;import sys&lt;br /&gt;&lt;br /&gt;os.environ['DJANGO_SETTINGS_MODULE'] = 'django_site.settings'&lt;br /&gt;sys.path.append('/usr/local')&lt;br /&gt;sys.path.append('/usr/local/django_site')&lt;br /&gt;&lt;br /&gt;import django.core.handlers.wsgi&lt;br /&gt;application = django.core.handlers.wsgi.WSGIHandler()&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Now go ahead and edit /usr/local/django_site/settings.py and set up your database. I used SQLite3 since it was the simplest. You will need to put the database somewhere the Apache user (www-data) has write access. In my case I created a directory just for this purpose:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;sudo mkdir /usr/local/django_db&lt;br /&gt;sudo chown www-date /usr/local/django_db&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;So the relevant two lines of my settings.py file looked like:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;DATABASE_ENGINE = 'sqlite3'&lt;br /&gt;DATABASE_NAME = '/usr/local/django_db/database.db'&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Now go ahead and create the database - you must do this as the Apache user:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;sudo -u www-data ./manage.py syncdb&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Time to proceed with Apache configuration. Create the file /etc/apache2/sites-available/django.conf (using 'sudo vi') so that it looks like the following. Note that I believe the first argument to WSGIScriptAlias "/django_site" must patch your site name. The second line lets the admin application find it's CSS (I haven't dealt with the case another application also wants CSS).&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;WSGIScriptAlias /django_site /usr/local/django_site/django.wsgi&lt;br /&gt;Alias /media /var/lib/python-support/python2.6/django/contrib/admin/media&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Now enable the site in Apache and restart it:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;sudo a2ensite django.conf&lt;br /&gt;sudo apache2ctl restart&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now visit you should be able to visit http://hostname/django_site and get a Django welcome page. If not, well, something is wrong :-/&lt;br /&gt;&lt;br /&gt;At this point you can add applications under /usr/local/django_site as you normally would and have them appear at http://hostname/django_site/appname&lt;br /&gt;&lt;br /&gt;Good luck. And as I mentioned I figured this out through mostly trial and error. If anyone can correct me or point me at better docs, I'd be grateful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-2619532735489902816?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/2619532735489902816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=2619532735489902816' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2619532735489902816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2619532735489902816'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/06/getting-django-running-under-apache.html' title='Getting Django running under Apache'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-17854215205640827</id><published>2009-06-14T15:50:00.010-04:00</published><updated>2009-06-14T17:39:26.015-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><title type='text'>Uninstalling VMWare 2.0.1, installing VMWare 1.0.9 on Ubuntu 9.0.4</title><content type='html'>I had previously &lt;a href="http://v2kblog.blogspot.com/2009/05/installing-vmserver-201.html"&gt;installed VMWare 2.0.1&lt;/a&gt; and I hate it. I'm probably going to &lt;a href="http://v2kblog.blogspot.com/2009/05/installing-virtual-box.html"&gt;move to VirtualBox&lt;/a&gt;, but I need VMWare for a while until I transition, so I decided to take another run at getting VMWare 1.0.9 to install.&lt;br /&gt;&lt;br /&gt;First, to uninstall VMWare 2.0.1:&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 102, 102);"&gt;/usr/bin/vmware-uninstall.pl&lt;/span&gt;&lt;/blockquote&gt;Then I downloaded VMWare 1.0.9 from the &lt;a href="http://www.vmware.com/download/server/"&gt;VMWare website&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Previously I had run into &lt;a href="https://bugs.launchpad.net/ubuntu/+bug/363462"&gt;this bug&lt;/a&gt; which caused the vmmon build to fail.&lt;br /&gt;&lt;br /&gt;The trick to getting it to build is to use &lt;a href="http://www.insecure.ws/warehouse/vmware-update-2.6.27-5.5.7-2.tar.gz"&gt;this patch&lt;/a&gt; following the directions from &lt;a href="http://ubuntu-tutorials.com/2008/11/01/vmware-server-107-on-ubuntu-810-intrepid-2627-7-generic/"&gt;this tutorial&lt;/a&gt;, which worked for me despite it being for an older version.&lt;br /&gt;&lt;code&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-17854215205640827?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/17854215205640827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=17854215205640827' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/17854215205640827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/17854215205640827'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/06/uninstalling-vmware-201-installing.html' title='Uninstalling VMWare 2.0.1, installing VMWare 1.0.9 on Ubuntu 9.0.4'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6452955016104201819</id><published>2009-06-14T13:46:00.004-04:00</published><updated>2009-06-14T14:19:35.301-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='usb'/><title type='text'>USB thumb drive mounting writable only by root...</title><content type='html'>I had a thumb drive that was mounting on my Ubuntu laptop OK, but was writable only by root.&lt;br /&gt;&lt;br /&gt;Long story short, I figured out it was something about the way it was formatted. When I tried to put the same thumb drive into my Mac, it wouldn't mount it and I had to reformat it. After that it mounted just fine on my Ubuntu laptop and was owned by when when I did so.&lt;br /&gt;&lt;br /&gt;Not sure how I formatted it in the first place, but lesson learned is that certain formats mount OK but will not be user writable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6452955016104201819?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6452955016104201819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6452955016104201819' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6452955016104201819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6452955016104201819'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/06/usb-thumb-drive-mounting-writable-only.html' title='USB thumb drive mounting writable only by root...'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-9040658921897099447</id><published>2009-06-08T22:00:00.001-04:00</published><updated>2009-07-05T20:24:57.720-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vm'/><category scheme='http://www.blogger.com/atom/ns#' term='virtualbox'/><title type='text'>Installing Virtualbox and creating Ubuntu VMs on headless Ubuntu 9.04 server</title><content type='html'>Here's my situation: Ubuntu 9.04 server, headless and I want to install Virtualbox on it and get Ubuntu 8.04 LTS servers running as root.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 1: Install Virtualbox&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Following the directions at the &lt;a href="http://www.virtualbox.org/wiki/Linux_Downloads"&gt;Virtualbox Linux download page&lt;/a&gt; I did the following:&lt;br /&gt;&lt;br /&gt;1a) Edited /etc/apt/sources.list and add the virtual box repository:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;deb http://download.virtualbox.org/virtualbox/debian jaunty non-free&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;1b) Add the virtualbox key to the apt keyring:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;1c) And install:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;apt-get install virtualbox-2.2&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step2: Configured bridged networking&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I basically followed the directions on the &lt;a href="https://help.ubuntu.com/community/VirtualBox/Networking"&gt;help.ubuntu.com wiki&lt;/a&gt;.:&lt;br /&gt;&lt;br /&gt;2a) Install bridge-utils:&lt;pre class="source-code"&gt;&lt;code&gt;&lt;br /&gt;apt-get install bridge-utils&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;2b) Now edit /etc/network/interfaces and add the br0 interface with the same address as your primary interface (eth0 in my case). Note that these directions assume you are using a static IP, if not you are on your own. My /etc/network/interfaces now looks like this:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;&lt;br /&gt;auto lo&lt;br /&gt;iface lo inet loopback&lt;br /&gt;auto eth0&lt;br /&gt;iface eth0 inet static&lt;br /&gt;    address 192.168.1.10&lt;br /&gt;    netmask 255.255.255.0&lt;br /&gt;    network 192.168.1.0&lt;br /&gt;    broadcast 192.168.1.255&lt;br /&gt;    gateway 192.168.1.1&lt;br /&gt;&lt;br /&gt;# Configured per https://help.ubuntu.com/community/VirtualBox/Networking&lt;br /&gt;# Address of br0 should be the same as eth0&lt;br /&gt;auto br0&lt;br /&gt;iface br0 inet static&lt;br /&gt;address 192.168.1.10&lt;br /&gt;netmask 255.255.255.0&lt;br /&gt;gateway 192.168.1.1&lt;br /&gt;bridge_ports eth0 vbox0 vbox1&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;2c) Now restart the networking:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;&lt;br /&gt;/etc/init.d/networking restart&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;...wait a couple minutes for the network to come back - my SSH session survived the restart YMMV...&lt;br /&gt;&lt;br /&gt;Now I have a br0 interface:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;&lt;br /&gt;# ifconfig br0&lt;br /&gt;br0       Link encap:Ethernet  HWaddr 00:18:8b:76:32:11&lt;br /&gt;      inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0&lt;br /&gt;      inet6 addr: fe80::218:8bff:fe76:3211/64 Scope:Link&lt;br /&gt;      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;      RX packets:87 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;      TX packets:74 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;      collisions:0 txqueuelen:0&lt;br /&gt;      RX bytes:6130 (6.1 KB)  TX bytes:11447 (11.4 KB)&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;2d) Create /etc/vbox/interfaces:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;vi /etc/vbox/interfaces&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;So that it looks like:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;vbox root br0&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;2e) Restart virtualbox networking, but hmmm, I don't have /etc/init.d/vboxnet, but I do have /etc/init.d/vboxdrv so I restarted that instead:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;/etc/init.d/vboxdrv restart&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;2f) I skipped setting permissions on /dev/net/tun since I'm running VMs as root.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 3: Create a VM&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I basically followed &lt;a href="http://www.howtoforge.com/vboxheadless-running-virtual-machines-with-virtualbox-2.0-on-a-headless-ubuntu-8.04-server"&gt;these directions&lt;/a&gt;, updated as I went. Also kudos to &lt;a href="http://forums.virtualbox.org/viewtopic.php?f=7&amp;amp;t=18309#p78949"&gt;Sasquatch&lt;/a&gt; for the nic1 and bridgeadapter1 options.&lt;br /&gt;&lt;br /&gt;3a) Create the new VM. You should be able to set the memory as you see fit. Other options you probably don't want to mess with.&lt;br /&gt;&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;VBoxManage -q createvm -name Ubuntu-Server -register&lt;br /&gt;VBoxManage -q modifyvm Ubuntu-Server -memory 384MB -acpi on -ostype ubuntu -pae on -nic1 bridged -bridgeadapter1 br0&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Note that if you have other VMs using vrdp you probably want to add "-vrdpport &lt;span style="font-style: italic;"&gt;#&lt;/span&gt;" to use an available port (default port is 3389).&lt;br /&gt;&lt;br /&gt;3b) Create disk for the new VM and attach it. I created an 8GB disk based on &lt;a href="http://v2kblog.blogspot.com/2009/04/upgrading-ubuntu-804-desktop-vm-to-904.html"&gt;my experiences&lt;/a&gt; trying to use smaller disks.&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;VBoxManage -q createhd -filename "Ubuntu-Server.dvi" -size 8192 -register&lt;br /&gt;VBoxManage -q modifyvm Ubuntu-Server -hda Ubuntu-Server.dvi&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;3c) Download the iso for 8.04 server from &lt;a href="http://www.ubuntu.com/getubuntu/download-server"&gt;Ubuntu&lt;/a&gt;. Note I use 8.04 since it has long-term support and hence I won't have to worry about upgraded the OS on the VM as often. Note that while the Ubuntu page tried to get me to use the 64 bit version, I found it did not work for me (I got the following error trying to boot with it: "This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot - please use a kernel appropriate for your CPU.") so I used the 32 bit version instead. You should also choose a copy from a local mirror.&lt;br /&gt;&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;wget http://osmirrors.cerias.purdue.edu/pub/ubuntu-releases/hardy/ubuntu-8.04.2-server-i386.iso&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;3d) Register the iso image and attach it to the VM:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;VBoxManage -q registerimage dvd /path/to/ubuntu-8.04.2-server-i386.iso&lt;br /&gt;VBoxManage -q modifyvm Ubuntu-Server -dvd /path/to/ubuntu-8.04.2-server-i386.iso&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Ok, we now have a VM that's ready to boot and install Ubuntu...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 4: Start the VM and Connect to it via vrdp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4a) Start the VM in &lt;a href="http://www.ubuntugeek.com/vrdp-virtualbox-remote-desktop-protocol.html"&gt;vrdp&lt;/a&gt; mode:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;VBoxManage -q startvm Ubuntu-Server --type vrdp&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;4b) Connect using a remote desktop client. What I found worked for me from my Ubuntu 9.04 laptop was 'rdesktop' from the commandline:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;rdesktop server-name&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Or from my Mac, &lt;a href="http://www.apple.com/downloads/macosx/networking_security/remotedesktopconnectionclient.html"&gt;Remote Desktop Connection&lt;/a&gt;, though it does give a warning  about "Remote Desktop Connection cannot verify the identity of the computer that you want to connect to."&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 5: Do a standard Ubuntu Install&lt;/span&gt;&lt;br /&gt;Ok, you should now be looking at the console on the VM which has booted from the CD. Go ahead and do your standard Ubuntu install.&lt;br /&gt;&lt;br /&gt;When the install completed, I found the system automatically rebooted from the hard drive without me having to do anything to unmount iso image.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 6: Clean up&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The only thing to do is detact the iso from the VM. After powering off the VM, do the following:&lt;br /&gt;&lt;pre class="source-code"&gt;&lt;code&gt;VBoxManage -q modifyvm Ubuntu-Server -dvd none&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-9040658921897099447?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/9040658921897099447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=9040658921897099447' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/9040658921897099447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/9040658921897099447'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/06/installing-virtualbox-and-creating.html' title='Installing Virtualbox and creating Ubuntu VMs on headless Ubuntu 9.04 server'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-7883423812744531034</id><published>2009-06-06T15:08:00.002-04:00</published><updated>2009-06-06T15:11:49.430-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='open-issue'/><title type='text'>sftp subsystem dying</title><content type='html'>I tried to open a nautilus bookmark of a sftp session to my server today and it closed immediate with a "Could not open location 'sftp://vwelch@host' ssh program unexpectedly exited' message.&lt;br /&gt;&lt;br /&gt;Running a sshd in debug mode on the server and I saw the following:&lt;br /&gt;&lt;blockquote&gt;subsystem request for sftp&lt;br /&gt;debug1: subsystem: exec() /usr/lib/openssh/sftp-server&lt;br /&gt;debug1: Received SIGCHLD.&lt;/blockquote&gt;So for some reason my sftp-server subsyst is immediately failing. No idea why. Will update here when I figure it out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-7883423812744531034?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/7883423812744531034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=7883423812744531034' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7883423812744531034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7883423812744531034'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/06/sftp-subsystem-dying.html' title='sftp subsystem dying'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8228736741461612006</id><published>2009-06-06T08:12:00.012-04:00</published><updated>2009-06-09T10:07:48.378-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vm'/><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='virtualbox'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>Making a SSH connection to a NAT'ed Virtualbox VM</title><content type='html'>I found myself wanting to SSH to a NAT'ed virtualbox VM. I discovered &lt;a href="http://kdl.nobugware.com/post/2009/02/17/virtualbox-nat-ssh-guest/"&gt;this post&lt;/a&gt; which nicely described how to use VBoxManage to accomplish this. The only change I had to make on my Ubuntu box was to use 'pcnet' instead of 'e1000'.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8228736741461612006?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8228736741461612006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8228736741461612006' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8228736741461612006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8228736741461612006'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/06/making-ssh-connectin-to-nated.html' title='Making a SSH connection to a NAT&apos;ed Virtualbox VM'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8048161752573442745</id><published>2009-05-28T22:00:00.001-04:00</published><updated>2009-05-29T16:28:44.233-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='virtualbox'/><title type='text'>Installing Virtual Box</title><content type='html'>I recently &lt;a href="http://v2kblog.blogspot.com/2009/05/installing-vmserver-201.html"&gt;upgraded to VMServer 2.0.1&lt;/a&gt; on my Ubuntu laptop and I'm very unhappy. The new console is very slow and it hangs often. I'm tried of watching "loading" message. Certainly my laptop is  a little old (1.5GHz Celeron M processor) and maybe that is a contributor. On the other hand if you google the net, you'll find no shortage of other people with the same opinion.&lt;br /&gt;&lt;br /&gt;I installed &lt;a href="http://www.virtualbox.org/"&gt;VirtualBox&lt;/a&gt; on my Mac laptop and found I really liked it. So I figured I'd give it a try on my Ubuntu laptop as well.&lt;br /&gt;&lt;br /&gt;First you need to choose between the &lt;a href="http://www.virtualbox.org/wiki/Editions"&gt;Open vs Closed Source editions&lt;/a&gt;. Despite being a fan of open source I went with the closed source, mainly because the Remote Display Protocol server sounded like useful functionality I might want.&lt;br /&gt;&lt;br /&gt;Install was fairly straight forward, I went to the &lt;a href="http://www.virtualbox.org/wiki/Linux_Downloads"&gt;VirtualBox Linux Downloads page&lt;/a&gt; and clicked on the &lt;a href="http://download.virtualbox.org/virtualbox/2.2.2/virtualbox-2.2_2.2.2-46594_Ubuntu_jaunty_i386.deb"&gt;Ubuntu .deb link&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;One annoyance is that it didn't install an entry in the Applications menu, so I had to start it from the command line:&lt;br /&gt;&lt;blockquote&gt;% &lt;span style="color: rgb(255, 0, 0);"&gt;/usr/X11R6/bin/VirtualBox&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;I did add an icon on the panel using the following steps:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Right Click on Application Panel&lt;/li&gt;&lt;li&gt;Select "Add to Panel"&lt;/li&gt;&lt;li&gt;Select "Custom Application Launcher" and "Add"&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Type is "Application"&lt;/li&gt;&lt;li&gt;Name is "VirtualBox"&lt;/li&gt;&lt;li&gt;Command is "/usr/X11R6/bin/VirtualBox"&lt;/li&gt;&lt;li&gt;Click OK.&lt;/li&gt;&lt;/ol&gt;This will create an icon with the default "spring" image. If anyone knows where I can find a stash of images for applications, please let me know.&lt;br /&gt;&lt;br /&gt;That's it. If I like it on my laptop, next step will be installing it on my server which will be more interesting since I'll want to have unattended, automatically starting VMs and I'll also want to re-use my existing VMWare images (the images on my laptop don't have enough state for me to worry about).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8048161752573442745?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8048161752573442745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8048161752573442745' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8048161752573442745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8048161752573442745'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/05/installing-virtual-box.html' title='Installing Virtual Box'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-4641320129967828793</id><published>2009-05-28T18:41:00.002-04:00</published><updated>2009-05-28T18:47:29.672-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mythtv'/><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><title type='text'>MythTV Volume too low</title><content type='html'>I noticed the volume on MythTV seemed rather low. Poking around the net I found &lt;a href="http://forums.whirlpool.net.au/forum-replies-archive.cfm/838474.html"&gt;this thread&lt;/a&gt; and followed the directions as follows:&lt;br /&gt;&lt;blockquote&gt;% &lt;span style="color: rgb(255, 0, 0);"&gt;alsamixer&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;And set Master and PCM volume to 100% (Master was down at 70%). That fixed my problem.&lt;br /&gt;&lt;br /&gt;Then as suggested later in the thread, I saved the results (has to be done as root):&lt;br /&gt;&lt;blockquote&gt;%&lt;span style="color: rgb(255, 0, 0);"&gt; sudo alsactl store&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-4641320129967828793?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/4641320129967828793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=4641320129967828793' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/4641320129967828793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/4641320129967828793'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/05/mythtv-volume-too-low.html' title='MythTV Volume too low'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-9020634294246485566</id><published>2009-05-26T23:05:00.002-04:00</published><updated>2009-05-26T23:13:02.486-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dyndns'/><category scheme='http://www.blogger.com/atom/ns#' term='ddclient'/><title type='text'>DynDNS false alarm</title><content type='html'>I previously set up &lt;a href="http://v2kblog.blogspot.com/2008/09/configuring-automatic-update-of-ip.html"&gt;automatic updating of DynDNS&lt;/a&gt;. Today I got an email warning me "Your account vwelch at DynDNS.com is due to expire in 5 days."&lt;br /&gt;&lt;br /&gt;Hmmm, I'd seen this problem &lt;a href="http://v2kblog.blogspot.com/2009/03/ddclient-woes.html"&gt;before&lt;/a&gt;. So I logged into my server, but no hung ddclient processes:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;% &lt;span style="color: rgb(255, 0, 0);"&gt;ps auxwww | grep ddclient&lt;/span&gt;&lt;br /&gt;%&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Hmmm, poking around some more, looks like the problem maybe fixed itself?&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;%&lt;span style="color: rgb(255, 0, 0);"&gt;grep ddclient /var/log/daemon.log&lt;/span&gt;&lt;br /&gt;May 25 08:21:48 casey ddclient[13892]: WARNING:  forcing update of Home from 98.222.63.70 to 98.222.63.70; 30 days since last update on Fri Apr 24 21:31:51 2009.&lt;br /&gt;May 25 08:21:48 casey ddclient[13892]: WARNING:  forcing update of vwelch.dyndns.org from 98.222.63.70 to 98.222.63.70; 30 days since last update on Fri Apr 24 21:31:51 2009.&lt;br /&gt;May 25 08:21:50 casey ddclient[13892]: SUCCESS:  updating Home: good: IP address set to 98.222.63.70&lt;br /&gt;May 25 08:21:50 casey ddclient[13892]: SUCCESS:  updating vwelch.dyndns.org: good: IP address set to 98.222.63.70&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Sure enough, logging into &lt;a href="https://www.dyndns.com/account/services/hosts/"&gt;DynDNS&lt;/a&gt; showed a last update time from this morning.&lt;br /&gt;&lt;br /&gt;So apparently there is a race condition between the email warning and the ddclient forcing a refresh.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-9020634294246485566?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/9020634294246485566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=9020634294246485566' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/9020634294246485566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/9020634294246485566'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/05/dyndns-false-alarm.html' title='DynDNS false alarm'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8503363724677507342</id><published>2009-05-09T14:00:00.005-04:00</published><updated>2009-05-29T16:27:32.758-04:00</updated><title type='text'>dbus-daemon: Rejected send message</title><content type='html'>Since my &lt;a href="http://v2kblog.blogspot.com/2009/04/upgrading-ubuntu-desktop-from-810-to.html"&gt;Ubuntu laptop upgrade to 9.04&lt;/a&gt; I'm seeing the following messages every 10 minutes in /var/log/auth.log and in my &lt;a href="http://v2kblog.blogspot.com/2008/11/installing-logwatch.html"&gt;logwatch&lt;/a&gt; emails:&lt;br /&gt;&lt;blockquote&gt;   dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.36" (uid=1000 pid=3697 comm="/usr/lib/indicator-&lt;div id=":zx" class="ii gt"&gt;&lt;wbr&gt;applet/indicator-applet --oaf-a") interface="org.freedesktop.&lt;wbr&gt;DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.1421" (uid=0 pid=22921 comm="/USR/SBIN/CRON ")): 1 Time(s)&lt;br /&gt; dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.36" (uid=1000 pid=3697 comm="/usr/lib/indicator-&lt;wbr&gt;applet/indicator-applet --oaf-a") interface="org.freedesktop.&lt;wbr&gt;DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.1422" (uid=0 pid=22923 comm="/USR/SBIN/CRON ")): 1 Time(s)&lt;br /&gt; dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.36" (uid=1000 pid=3697 comm="/usr/lib/indicator-&lt;wbr&gt;applet/indicator-applet --oaf-a") interface="org.freedesktop.&lt;wbr&gt;DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.1423" (uid=0 pid=22928 comm="/USR/SBIN/CRON ")): 1 Time(s)&lt;/div&gt;&lt;/blockquote&gt;&lt;div id=":zx" class="ii gt"&gt;&lt;/div&gt;Poking around the net I found &lt;a href="http://ubuntuforums.org/showthread.php?t=1136335"&gt;this bug&lt;/a&gt; and in particular &lt;a href="https://bugs.launchpad.net/indicator-applet/+bug/346513/comments/6"&gt;this comment&lt;/a&gt;. I applied the suggested fix:&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 102, 102);"&gt;cd /etc/dbus-1&lt;/span&gt;&lt;br /&gt;# &lt;span style="color: rgb(255, 102, 102);"&gt;cp system.conf system.conf.orig&lt;/span&gt;&lt;br /&gt;# &lt;span style="color: rgb(255, 102, 102);"&gt;vi system.conf&lt;/span&gt;&lt;br /&gt;# &lt;span style="color: rgb(255, 102, 102);"&gt;diff system.conf.orig system.conf&lt;/span&gt;&lt;br /&gt;66a67,70&lt;br /&gt;&gt;     &lt;!-- Added per https://bugs.launchpad.net/indicator-applet/+bug/346513 --&gt;&lt;br /&gt;&gt;     &lt;allow send_interface="org.freedesktop.DBus.Properties"&lt;br /&gt;&gt;     send_type="method_call"&lt;br /&gt;&gt;     send_member="Get"/&gt;&lt;/blockquote&gt;After that I tried restarting dbus ('/etc/init.d/dbus restart') but that resulted in logging me out, so I suggest just rebooting instead.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8503363724677507342?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8503363724677507342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8503363724677507342' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8503363724677507342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8503363724677507342'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/05/dbus-daemon-rejected-send-message.html' title='dbus-daemon: Rejected send message'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-3176683863983207088</id><published>2009-05-03T13:27:00.008-04:00</published><updated>2009-05-03T14:53:42.742-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='upgrading'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><title type='text'>Installing VMServer 2.0.1</title><content type='html'>Having just &lt;a href="http://v2kblog.blogspot.com/2009/04/upgrading-ubuntu-desktop-from-810-to.html"&gt;upgraded to 9.04&lt;/a&gt;, it seemed like a good time to catch up on my VMWare server upgrades, since I was still on 1.0.7, which is getting a little old.&lt;br /&gt;&lt;br /&gt;I started by trying to upgrade to 1.0.9, but&lt;span class="smaller"&gt; I could not get the vmmon module to build...&lt;br /&gt;&lt;br /&gt;So, I shifted gears and tried installing 2.0.1 following the directions at &lt;a href="https://help.ubuntu.com/community/VMware/Server#Ubuntu%209.04%20%28VMWare%20Server%202.0.1%20Build%20156745%29"&gt;VMWare Server 2.01 on Ubuntu 9.04&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I downloaded the 2.0.1 tarball and tried installing it following those directions.&lt;br /&gt;&lt;blockquote&gt;$&lt;span style="color: rgb(255, 0, 0);"&gt;tar xvfz ~/Downloads/VMware-server-2.0.1-156745.i386.tar.gz&lt;/span&gt;&lt;br /&gt;$&lt;span style="color: rgb(255, 0, 0);"&gt;cd vmware-server-distrib/&lt;/span&gt;&lt;br /&gt;$&lt;span style="color: rgb(255, 0, 0);"&gt;patch ./bin/vmware-config.pl ~/Downloads/vmware-config.pl.patch.tx&lt;/span&gt;t&lt;br /&gt;$&lt;span style="color: rgb(255, 0, 0);"&gt;sudo ./vmware-install.pl&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;I took the default answers except for the following:&lt;br /&gt;&lt;blockquote&gt;Your computer has multiple ethernet network interfaces available: eth0, pan0,&lt;br /&gt;wlan0. Which one do you want to bridge to vmnet0? [eth0] &lt;span style="color: rgb(255, 0, 0);"&gt;wlan0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The current administrative user for VMware Server  is ''.  Would you like to&lt;br /&gt;specify a different administrator? [no] &lt;span style="color: rgb(255, 0, 0);"&gt;yes&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote&gt;Please specify the user whom you wish to be the VMware Server administrator&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;von&lt;/span&gt;&lt;/blockquote&gt;I actually goofed typing in my serial number, but looks like my existing VMServer 1.0 license worked.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-3176683863983207088?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/3176683863983207088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=3176683863983207088' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/3176683863983207088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/3176683863983207088'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/05/installing-vmserver-201.html' title='Installing VMServer 2.0.1'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6871246370948665902</id><published>2009-05-03T13:18:00.005-04:00</published><updated>2009-05-29T14:54:04.253-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open-issue'/><category scheme='http://www.blogger.com/atom/ns#' term='dropbox'/><title type='text'>apt-get nautilus-dropbox errors</title><content type='html'>Hmmm. After upgrading my laptop to 9.04, I'm seeing the following error:&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;apt-get dist-upgrade&lt;/span&gt;&lt;br /&gt;Reading package lists... Done&lt;br /&gt;Building dependency tree     &lt;br /&gt;Reading state information... Done&lt;br /&gt;Calculating upgrade... Done&lt;br /&gt;The following packages will be upgraded:&lt;br /&gt; nautilus-dropbox&lt;br /&gt;1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;Need to get 77.5kB of archives.&lt;br /&gt;After this operation, 0B of additional disk space will be used.&lt;br /&gt;Do you want to continue [Y/n]?&lt;br /&gt;WARNING: The following packages cannot be authenticated!&lt;br /&gt; nautilus-dropbox&lt;br /&gt;Install these packages without verification [y/N]? y&lt;br /&gt;Get:1 http://linux.getdropbox.com jaunty/main nautilus-dropbox 0.6.1 [77.5kB]&lt;br /&gt;Fetched 77.5kB in 0s (670kB/s)   &lt;br /&gt;Failed to fetch http://linux.getdropbox.com/ubuntu/dists/jaunty/main/binary-i386/nautilus-dropbox_0.6.1_i386.deb  Size mismatch&lt;br /&gt;E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;So far I haven't figure out how to solve this. Will post an update here when I have.&lt;br /&gt;&lt;br /&gt;Update 5/29/09: I fixed this by installing it manually as follows.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 102, 102);"&gt;wget https://www.getdropbox.com/download?dl=packages/nautilus-dropbox_0.6.1_i386_ubuntu_9.04.deb&lt;/span&gt;&lt;br /&gt;--2009-05-29 13:51:23--  https://www.getdropbox.com/download?dl=packages/nautilus-dropbox_0.6.1_i386_ubuntu_9.04.deb&lt;br /&gt;Resolving www.getdropbox.com... 174.36.30.67&lt;br /&gt;Connecting to www.getdropbox.com|174.36.30.67|:443... connected.&lt;br /&gt;HTTP request sent, awaiting response... 302 FOUND&lt;br /&gt;Location: http://linux.getdropbox.com/packages/nautilus-dropbox_0.6.1_i386_ubuntu_9.04.deb [following]&lt;br /&gt;--2009-05-29 13:51:24--  http://linux.getdropbox.com/packages/nautilus-dropbox_0.6.1_i386_ubuntu_9.04.deb&lt;br /&gt;Resolving linux.getdropbox.com... 174.36.30.67&lt;br /&gt;Connecting to linux.getdropbox.com|174.36.30.67|:80... connected.&lt;br /&gt;HTTP request sent, awaiting response... 200 OK&lt;br /&gt;Length: 77528 (76K) [application/octet-stream]&lt;br /&gt;Saving to: `nautilus-dropbox_0.6.1_i386_ubuntu_9.04.deb'&lt;br /&gt;&lt;br /&gt;100%[======================================&gt;] 77,528       316K/s   in 0.2s   &lt;br /&gt;&lt;br /&gt;2009-05-29 13:51:25 (316 KB/s) - `nautilus-dropbox_0.6.1_i386_ubuntu_9.04.deb' saved [77528/77528]&lt;br /&gt;&lt;br /&gt;# &lt;span style="color: rgb(255, 102, 102);"&gt;dpkg -i nautilus-dropbox_0.6.1_i386_ubuntu_9.04.deb&lt;/span&gt;&lt;br /&gt;(Reading database ... 193825 files and directories currently installed.)&lt;br /&gt;Preparing to replace nautilus-dropbox 0.6.1 (using nautilus-dropbox_0.6.1_i386_ubuntu_9.04.deb) ...&lt;br /&gt;Unpacking replacement nautilus-dropbox ...&lt;br /&gt;Setting up nautilus-dropbox (0.6.1) ...&lt;br /&gt;&lt;br /&gt;Dropbox installation successfully completed! Please log out and log back in to complete the integration with your desktop. You can start Dropbox from your applications menu.&lt;br /&gt;&lt;br /&gt;Processing triggers for man-db ...&lt;br /&gt;Processing triggers for libc6 ...&lt;br /&gt;ldconfig deferred processing now taking place&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6871246370948665902?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6871246370948665902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6871246370948665902' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6871246370948665902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6871246370948665902'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/05/apt-get-nautilus-dropbox-errors.html' title='apt-get nautilus-dropbox errors'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-7922706599875232744</id><published>2009-05-03T13:00:00.003-04:00</published><updated>2009-05-03T13:14:53.041-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='9.04'/><category scheme='http://www.blogger.com/atom/ns#' term='apt-cacher'/><title type='text'>ttf-mscorefonts-installer, apt-cacher and .exe files</title><content type='html'>Since &lt;a href="http://v2kblog.blogspot.com/2009/05/upgrading-mythbuntu-from-810-to-904.html"&gt;upgrading to 9.04&lt;/a&gt; I was still having problems upgrading ttf-mscorefonts-installer. The 'apt-get dist-upgrade' would die with the following error:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;--2009-05-03 12:00:35--  http://heanet.dl.sourceforge.net/sourceforge/corefonts/andale32.exe&lt;br /&gt;Resolving localhost... 127.0.0.1&lt;br /&gt;Connecting to localhost|127.0.0.1|:3142... connected.&lt;br /&gt;Proxy request sent, awaiting response... 403 Sorry, not allowed to fetch that type of file: andale32.exe&lt;br /&gt;2009-05-03 12:00:36 ERROR 403: Sorry, not allowed to fetch that type of file: andale32.exe.&lt;br /&gt;&lt;/blockquote&gt;Poking around, I found &lt;a href="http://polibyte.com/blog/change_filetypes_cached_by_apt-cacher"&gt;this post&lt;/a&gt; which explained that apt-cacher had a list of allowed file types and '.exe' wasn't on it. Unforunately, the apt-cacher script had changed and the patch in the post wasn't relevant any more. Here is my fix:&lt;br /&gt;&lt;blockquote&gt;#&lt;span style="color: rgb(255, 0, 0);"&gt;cd /usr/share/apt-cacher&lt;/span&gt;&lt;br /&gt;#&lt;span style="color: rgb(255, 0, 0);"&gt;cp apt-cacher-lib.pl apt-cacher-lib.pl.20090503&lt;/span&gt;&lt;br /&gt;#&lt;span style="color: rgb(255, 0, 0);"&gt;vi apt-cacher-lib.pl&lt;/span&gt;&lt;br /&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;diff -c apt-cacher-lib.pl.20090503 apt-cacher-lib.pl&lt;/span&gt;&lt;br /&gt;*** apt-cacher-lib.pl.20090503  2009-05-03 12:06:48.000000000 -0500&lt;br /&gt;--- apt-cacher-lib.pl   2009-05-03 12:07:15.000000000 -0500&lt;br /&gt;***************&lt;br /&gt;*** 57,62 ****&lt;br /&gt;--- 57,63 ----&lt;br /&gt;                 package_files_regexp =&gt; '(?:' . join('|',&lt;br /&gt;                                                      ('\.deb',&lt;br /&gt;                                                       '\.rpm',&lt;br /&gt;+                                                       '\.exe',&lt;br /&gt;                                                       '\.dsc',&lt;br /&gt;                                                       '\.tar\.gz',&lt;br /&gt;                                                       '\.diff\.gz',&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;The I restarted apt-cacher:&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;/etc/init.d/apt-cacher restart&lt;/span&gt;&lt;/blockquote&gt;Then I reran 'apt-get dist-upgrade' and it installed fine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-7922706599875232744?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/7922706599875232744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=7922706599875232744' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7922706599875232744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7922706599875232744'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/05/ttf-mscorefonts-installer-apt-cacher.html' title='ttf-mscorefonts-installer, apt-cacher and .exe files'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-1653460725405283762</id><published>2009-05-02T08:07:00.025-04:00</published><updated>2009-05-02T21:27:14.623-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='9.04'/><category scheme='http://www.blogger.com/atom/ns#' term='mythbuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='upgrading'/><category scheme='http://www.blogger.com/atom/ns#' term='apt-cacher'/><category scheme='http://www.blogger.com/atom/ns#' term='8.10'/><title type='text'>Upgrading Mythbuntu from 8.10 to 9.04</title><content type='html'>Time to upgrade my Mythbuntu box to 9.04 from &lt;a href="http://v2kblog.blogspot.com/2008/11/upgrading-to-ubuntu-810.html"&gt;8.10&lt;/a&gt;. I followed the &lt;a href="http://www.ubuntu.com/getubuntu/upgrading#Network%20Upgrade%20for%20Ubuntu%20Servers%20%28Recommended%29"&gt;Network Upgrade directions&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Not unsurprisingly, update-manage-core was already installed, so on to the upgrade (only showing highlights):&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;# do-release-upgrade&lt;br /&gt;...&lt;br /&gt;8 packages are going to be removed. 82 new packages are going to be&lt;br /&gt;installed. 731 packages are going to be upgraded.&lt;br /&gt;...&lt;br /&gt;What is the password for the MySQL administrator account 'root':&lt;/blockquote&gt;Hmmm. I just enter here, I got an error about a database connection being refused and the upgrade continued. AFAICT, it worked out OK.&lt;br /&gt;&lt;blockquote&gt;...&lt;br /&gt;Will you be using this webserver exclusively with mythweb? &lt;span style="color: rgb(255, 0, 0);"&gt;Yes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Configuration file `/etc/services'&lt;br /&gt;==&gt; Modified (by you or by a script) since installation.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Y or I  : install the package maintainer's version&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;I got asked about apt-cacher.conf - I hit "D" to get diffs and I got an error and the install went on. Fortunately I got another chance at this later...&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;What would you like to do about smb.conf? &lt;span style="color: rgb(255, 0, 0);"&gt;I  kept the local version currently installed&lt;/span&gt;&lt;br /&gt;...&lt;br /&gt;Configuration file `/etc/apt-cacher/apt-cacher.conf'&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;N or O  : keep your currently-installed version&lt;/span&gt;&lt;br /&gt;...&lt;br /&gt;&lt;/blockquote&gt;The ending of the upgrade did not look good:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;--2009-05-02 10:23:29--  http://switch.dl.sourceforge.net/sourceforge/corefonts/andale32.exe&lt;br /&gt;Resolving localhost... 127.0.0.1&lt;br /&gt;Connecting to localhost|127.0.0.1|:3142... connected.&lt;br /&gt;Proxy request sent, awaiting response... 403 Sorry, not allowed to fetch that type of file: andale32.exe&lt;br /&gt;2009-05-02 10:23:29 ERROR 403: Sorry, not allowed to fetch that type of file: andale32.exe.&lt;br /&gt;&lt;br /&gt;andale32.exe: No such file or directory&lt;br /&gt;&lt;br /&gt;All done, errors in processing 1 file(s)&lt;br /&gt;dpkg: error processing ttf-mscorefonts-installer (--configure):&lt;br /&gt;subprocess post-installation script returned error exit status 1&lt;br /&gt;Errors were encountered while processing:&lt;br /&gt;ttf-mscorefonts-installer&lt;br /&gt;&lt;/blockquote&gt;I'm not sure what ttf-mscorefonts is, but doesn't seem to have any major impact.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Upgrade complete.&lt;br /&gt;&lt;br /&gt;The upgrade is completed but there were errors during the upgrade&lt;br /&gt;process.&lt;br /&gt;&lt;/blockquote&gt;Ok, not the best message at the end, but at leat things have finished.&lt;br /&gt;&lt;br /&gt;First thing I noticed is I started getting emails from cron:&lt;br /&gt;&lt;span class="gI"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span class="gI"&gt;Subject: Cron &lt;root@casey&gt; [ -x /etc/init.d/mythtv-status ] &amp;amp;&amp;amp; /etc/init.d/mythtv-status reload &gt; /dev/null&lt;br /&gt;&lt;/root@casey&gt;&lt;/span&gt;Sorry, failed to fetch &lt;a href="http://localhost:6544/xml" target="_blank"&gt;http://localhost:6544/xml&lt;/a&gt;.&lt;br /&gt;&lt;/blockquote&gt;Hmmm. Well, first things first, just on principle:&lt;br /&gt;&lt;blockquote&gt;#&lt;span style="color: rgb(255, 0, 0);"&gt;reboot&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;System comes up fine in MythTV. Everything seems to be working well.&lt;br /&gt;&lt;br /&gt;Hmmm, another email from cron:&lt;br /&gt;&lt;br /&gt;&lt;span class="gI"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span class="gI"&gt;Subject: Cron &lt;root@casey&gt; [ -x /etc/init.d/mythtv-status ] &amp;amp;&amp;amp; /etc/init.d/mythtv-status reload &gt; /dev/null&lt;br /&gt;&lt;/root@casey&gt;&lt;/span&gt;mv: cannot stat `/var/run/motd.new': No such file or directory&lt;br /&gt;&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;Update:&lt;/span&gt; This problem was caused by two cron jobs both trying to modify /etc/motd at the same time (every 10 minutes)! The update-motd cron job moves /var/run/motd.new out from underneath the mythtv-status job. You can see the two jobs in /etc/cron.d:&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;grep 10 /etc/cron.d/mythtv-status /etc/cron.d/update-motd&lt;/span&gt;&lt;br /&gt;/etc/cron.d/mythtv-status:*/10 *        * * *   root    [ -x /etc/init.d/mythtv-status ] &amp;amp;&amp;amp; /etc/init.d/mythtv-status reload &gt; /dev/null&lt;br /&gt;/etc/cron.d/update-motd:*/10 * * * *    root    [ -x /usr/sbin/update-motd ] &amp;amp;&amp;amp; /usr/sbin/update-motd 2&gt;/dev/null&lt;br /&gt;&lt;/blockquote&gt;I believe what should really be happening is myth-status should be run by update-motd every 10 minutes instead of independently. Here is what I did to make that happen:&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;rm /etc/cron.d/mythtv-status&lt;/span&gt;&lt;br /&gt;# cd /etc/update-motd.d/&lt;br /&gt;# ln -s /usr/bin/mythtv-status 50-mythtv-status&lt;br /&gt;&lt;/blockquote&gt;Test it out...&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;/usr/sbin/update-motd&lt;/span&gt;&lt;br /&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;cat /etc/motd&lt;/span&gt;&lt;br /&gt;Linux casey 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686&lt;br /&gt;...typical motd stuff...&lt;br /&gt;&lt;br /&gt;MythTV status for localhost&lt;br /&gt;===========================&lt;br /&gt;...typical mythtv-status stuff...&lt;br /&gt;&lt;br /&gt;0 packages can be updated.&lt;br /&gt;0 updates are security updates.&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;End Update.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Checked on vmware and it wasn't running. Usual problem:&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;/etc/init.d/vmware start&lt;/span&gt;&lt;br /&gt;VMware Server is installed, but it has not been (correctly) configured&lt;br /&gt;for the running kernel. To (re-)configure it, invoke the&lt;br /&gt;following command: /usr/bin/vmware-config.pl.&lt;br /&gt;&lt;/blockquote&gt;Usual fix:&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;/usr/bin/vmware-config.pl&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;I took all the defaults. Afterwards, don't forget to &lt;a href="http://v2kblog.blogspot.com/2009/03/host-clock-rate-changes-again.html"&gt;fix /etc/vmware/config&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I then checked /usr/share/apt-cacher/apt-cacher-report.pl to see if I needed to &lt;a href="http://v2kblog.blogspot.com/2009/03/fixing-apt-cache-reportpl.html"&gt;patch it&lt;/a&gt; and it had been fixed in the distribution - yeah!&lt;br /&gt;&lt;br /&gt;Well, I think that's it. Will update this post if I run into any more problems.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Update:&lt;/span&gt; This system also acts as my apt-cacher, and when I went to upgrade the next system I got "104 Connection reset by peer" errors. Turns out I had to use the new /etc/apt-cacher/apt-acher.conf file:&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;cd /etc/apt-cacher&lt;/span&gt;&lt;br /&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;mv apt-cacher.conf apt-cacher.conf.8.10&lt;/span&gt;&lt;br /&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;cp apt-cacher.conf.dpkg-dist apt-cacher.conf&lt;/span&gt;&lt;br /&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;/etc/init.d/apt-cacher restart&lt;/span&gt;&lt;br /&gt;Restarting Apt-Cacher: apt-cacher.&lt;br /&gt;&lt;/blockquote&gt;For the record, here's the diff:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;diff apt-cacher.conf.8.10 apt-cacher.conf&lt;/span&gt;&lt;/blockquote&gt;&lt;pre&gt;&lt;br /&gt;26c26&lt;br /&gt;&lt; # optional setting, binds the listening daemon to one specified IP. Use IP --- &gt; # optional setting, binds the listening daemon to specified IP(s). Use IP&lt;br /&gt;40c40&lt;br /&gt;&lt; allowed_hosts="192.168.1.0/24,"&gt; allowed_hosts=*&lt;br /&gt;43c43&lt;br /&gt;&lt; # And similiarly for IPv6 with allowed_hosts_6 and denied_hosts_6. --- &gt; # And similarly for IPv6 with allowed_hosts_6 and denied_hosts_6.&lt;br /&gt;49c49&lt;br /&gt;&lt; # This thing can be done by Apache but is much simplier here - limit access to --- &gt; # This thing can be done by Apache but is much simpler here - limit access to&lt;br /&gt;112a113,117&lt;br /&gt;&gt; # This sets the interface to use for the upstream connection.&lt;br /&gt;&gt; # Specify an interface name, an IP address or a host name.&lt;br /&gt;&gt; # If unset, the default route is used.&lt;br /&gt;&gt; #interface=&lt;br /&gt;&gt;&lt;br /&gt;125,126c130,131&lt;br /&gt;&lt; # To enable data checksumming, install libdbd-sqlite3-perl and set this option &lt; # to 1. Then wait untill the Packages/Sources files have been refreshed once --- &gt; # To enable data checksumming, install libberkeleydb-perl and set this option&lt;br /&gt;&gt; # to 1. Then wait until the Packages/Sources files have been refreshed once&lt;br /&gt;133c138&lt;br /&gt;&lt; # apt-cacher server is beeing relocated (via apt-get's error messages while --- &gt; # apt-cacher server is being relocated (via apt-get's error messages while&lt;br /&gt;140,143c145,147&lt;br /&gt;&lt; # also the only method to use FTP access to the target hosts. The syntax is simple, the part of the beginning to replace, followed by a list of mirror urls, all space separated. Multiple profile are separated by semicolons &lt; # path_map = debian ftp.uni-kl.de/pub/linux/debian ftp2.de.debian.org/debian ; ubuntu archive.ubuntu.com/ubuntu ; security security.debian.org/debian-security ftp2.de.debian.org/debian-security &lt; path_map =" debuntu"&gt; # also the only method to use FTP access to the target hosts. The syntax is&lt;br /&gt;&gt; # simple, the part of the beginning to replace, followed by a list of mirror&lt;br /&gt;&gt; # urls, all space separated. Multiple profile are separated by semicolons&lt;br /&gt;146a151,163&lt;br /&gt;&gt; # path_map = debian ftp.uni-kl.de/pub/linux/debian ftp2.de.debian.org/debian ; ubuntu archive.ubuntu.com/ubuntu ; security security.debian.org/debian-security ftp2.de.debian.org/debian-security&lt;br /&gt;&gt;&lt;br /&gt;&gt; # Permitted package files - this is a perl regular expression which matches all&lt;br /&gt;&gt; # package-type files (files that are uniquely identified by their filename).&lt;br /&gt;&gt; # The default is:&lt;br /&gt;&gt; #package_files_regexp = (?:\.deb|\.rpm|\.dsc|\.tar\.gz|\.diff\.gz|\.udeb|index\.db-.+\.gz|\.jigdo|\.template)$&lt;br /&gt;&gt;&lt;br /&gt;&gt; # Permitted Index files - this is the perl regular expression which matches all&lt;br /&gt;&gt; # index-type files (files that are uniquely identified by their full path and&lt;br /&gt;&gt; # need to be checked for freshness).&lt;br /&gt;&gt; #The default is:&lt;br /&gt;&gt; #index_files_regexp = (?:Index|Packages\.gz|Packages\.bz2|Release|Release\.gpg|Sources\.gz|Sources\.bz2|Contents-.+\.gz|pkglist.*\.bz2|release|release\..*|srclist.*\.bz2|Translation-.+\.bz2)$&lt;br /&gt;&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-1653460725405283762?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/1653460725405283762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=1653460725405283762' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/1653460725405283762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/1653460725405283762'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/05/upgrading-mythbuntu-from-810-to-904.html' title='Upgrading Mythbuntu from 8.10 to 9.04'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8583877648158804133</id><published>2009-04-26T21:41:00.003-04:00</published><updated>2009-04-26T21:54:05.024-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='evernote'/><category scheme='http://www.blogger.com/atom/ns#' term='wine'/><title type='text'>Evernote under Ubuntu with wine</title><content type='html'>I've been using &lt;a href="http://www.evernote.com/"&gt;EverNote&lt;/a&gt; for a while. It's nice on my Mac with the native client, and I have been using it via the web interface from my Ubuntu laptop. Looks like &lt;a href="http://abbysays.wordpress.com/2008/05/24/how-to-install-evernote-30-on-ubuntu/"&gt;others have had success running it under wine&lt;/a&gt;, so I thought I'd give it a try.&lt;br /&gt;&lt;br /&gt;I started by downloading the windows binary from &lt;a href="http://www.evernote.com/about/download/"&gt;http://www.evernote.com/about/download/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then I ran the installer under wine:&lt;br /&gt;&lt;blockquote&gt;% &lt;span style="color: rgb(255, 0, 0);"&gt;cd ~/Downloads/&lt;/span&gt;&lt;br /&gt;% &lt;span style="color: rgb(255, 0, 0);"&gt;wine Evernote_3.1.0.1139.exe &lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;There was a lot of warnings printed to the shell, but the install worked (I chose the "Express" option BTW).&lt;br /&gt;&lt;br /&gt;EverNote started up. The first thing it does is sync and the message telling you it's syncing is a small message in the lower right, which is easy to overlook it turn giving the false impression it's hung. But after a couple minute it finished and I saw all my notes.&lt;br /&gt;&lt;br /&gt;I've played with it a little so far. The video is a little sluggish, but still more spry than the web interface, so I'm happy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8583877648158804133?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8583877648158804133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8583877648158804133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8583877648158804133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8583877648158804133'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/04/evernote-under-ubuntu-with-wine.html' title='Evernote under Ubuntu with wine'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6006708463929044980</id><published>2009-04-26T11:43:00.003-04:00</published><updated>2009-04-26T12:00:09.705-04:00</updated><title type='text'>Installing TweetDeck on Ubuntu</title><content type='html'>I was interested in a Twitter client I could use cross-platform so I decided to try out &lt;a href="http://www.tweetdeck.com/"&gt;TweetDeck&lt;/a&gt;. Here's my install process on Ubuntu.&lt;br /&gt;&lt;br /&gt;I started by installing &lt;a href="http://get.adobe.com/air/"&gt;Adobe Air&lt;/a&gt;:&lt;br /&gt;&lt;blockquote&gt;% &lt;span style="color: rgb(255, 0, 0);"&gt;wget http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRInstaller.bin&lt;/span&gt;&lt;br /&gt;% &lt;span style="color: rgb(255, 0, 0);"&gt;chmod +x AdobeAIRInstaller.bin&lt;/span&gt;&lt;br /&gt;% &lt;span style="color: rgb(255, 0, 0);"&gt;sudo ./AdobeAIRInstaller.bin &lt;/span&gt;&lt;/blockquote&gt;Then I went to install TweetDeck. I could not get it to work from the &lt;a href="http://www.tweetdeck.com/beta/"&gt;TweekDeck homepage&lt;/a&gt; (I would click on the download button but nothing would happen), but it did work for me through &lt;a href="http://www.adobe.com/cfusion/marketplace/index.cfm?event=marketplace.offering&amp;amp;offeringid=10187&amp;amp;marketplaceid=1"&gt;the Adobe site&lt;/a&gt;. The installer ran and it just worked.&lt;br /&gt;&lt;br /&gt;It did mention it would install Adobe Air in the process, so it is possible I could have skipped the first part of this post.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6006708463929044980?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6006708463929044980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6006708463929044980' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6006708463929044980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6006708463929044980'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/04/installing-tweetdeck-on-ubuntu.html' title='Installing TweetDeck on Ubuntu'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-4892335131432619294</id><published>2009-04-25T14:01:00.005-04:00</published><updated>2009-04-25T22:11:58.730-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apt-cacher'/><title type='text'>Had to re-patch apt-cacher-report.pl</title><content type='html'>Looks like around April 15 a new version of apt-cacher got pushed out, which overwrote my &lt;a href="http://v2kblog.blogspot.com/2009/03/fixing-apt-cache-reportpl.html"&gt;previous fixes&lt;/a&gt;. The file apt-cacher-report.pl didn't change though, so I just re-applied the same fixes and saved a copy of the patched script in case it happens again.&lt;br /&gt;&lt;br /&gt;BTW, here are the latest numbers. apt-cacher has saved me 10GB in traffic over the past 6 months.&lt;br /&gt;&lt;h2 align="center"&gt;cache efficiency&lt;/h2&gt;  &lt;table align="center" bgcolor="#000000" border="0" cellpadding="3" cellspacing="1" width="600"&gt;&lt;tbody&gt;&lt;tr bgcolor="#9999cc"&gt;&lt;th&gt;&lt;br /&gt;&lt;/th&gt;&lt;th&gt;Cache hits&lt;/th&gt;&lt;th&gt;Cache misses&lt;/th&gt;&lt;th&gt;Total&lt;/th&gt;&lt;/tr&gt;  &lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; Requests &lt;/td&gt;&lt;td&gt;31818 (65.15%)&lt;/td&gt;&lt;td&gt;17015 (34.84%)&lt;/td&gt;&lt;td&gt;48833&lt;/td&gt;&lt;/tr&gt;  &lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; Transfers &lt;/td&gt;&lt;td&gt;10.641 GB (72.34%)&lt;/td&gt;&lt;td&gt;4.068 GB (27.65%)&lt;/td&gt;&lt;td&gt;14.71 GB&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-4892335131432619294?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/4892335131432619294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=4892335131432619294' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/4892335131432619294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/4892335131432619294'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/04/had-to-re-patch-apt-cacher-reportpl.html' title='Had to re-patch apt-cacher-report.pl'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6632496328198327948</id><published>2009-04-25T13:37:00.001-04:00</published><updated>2009-04-25T13:38:26.138-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lifehacker'/><title type='text'>LifeHacker Top 10 Ubuntu Downloads</title><content type='html'>&lt;a href="http://lifehacker.com/5227309/top-10-ubuntu-downloads"&gt;Nice list&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6632496328198327948?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6632496328198327948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6632496328198327948' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6632496328198327948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6632496328198327948'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/04/lifehacker-top-10-ubuntu-downloads.html' title='LifeHacker Top 10 Ubuntu Downloads'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-935955921358564215</id><published>2009-04-25T11:55:00.006-04:00</published><updated>2009-04-25T13:48:57.879-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='9.04'/><category scheme='http://www.blogger.com/atom/ns#' term='upgrading'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><category scheme='http://www.blogger.com/atom/ns#' term='bad idea'/><category scheme='http://www.blogger.com/atom/ns#' term='8.04'/><title type='text'>Upgrading Ubuntu 8.04 Desktop VM to 9.04</title><content type='html'>Short version: Don't try upgrading a 8.04 Ubuntu Desktop VM with only 4GB of disk to 8.10 - there isn't enough disk space.&lt;br /&gt;&lt;br /&gt;I decided to start playing with &lt;a href="http://www.ubuntu.com/products/whatisubuntu/904features/"&gt;Ubuntu 9.04&lt;/a&gt; by upgrading a 8.04 Ubuntu Desktop VM I had.  Since it was two version behind I followed the &lt;a href="https://help.ubuntu.com/community/IntrepidUpgrades#Network%20Upgrade%20for%20Ubuntu%20Desktops%20%28Recommended%29"&gt;upgrade directions&lt;/a&gt; to bring it up to 8.10 first. A key bit in the directions is opening Software Sources and selecting "Normal releases" under the Updates tab, otherwise Update Manager won't show the update version.&lt;br /&gt;&lt;br /&gt;I fired up the Update Manager, upgraded a number of packages, and then fired up the upgrade to 8.10. Unfortunately it died with the following message:&lt;br /&gt;&lt;blockquote style="color: rgb(102, 102, 102);"&gt;The upgrade aborts now. The upgrade needs a total of 649M free space on disk '/'. Please free at least an additional 243M of disk space on '/'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.&lt;/blockquote&gt;So I did as it suggested and ran 'apt-get clean', which seemed to free up ~720MB of disk space:&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;apt-get clean&lt;/span&gt;&lt;br /&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;df -k&lt;/span&gt;&lt;br /&gt;Filesystem           1K-blocks      Used Available Use% Mounted on&lt;br /&gt;/dev/sda1              3920768   2993528    729644  81% /&lt;br /&gt;...&lt;br /&gt;&lt;/blockquote&gt;Now I trued Update Manager again, but it failed again with a similar message:&lt;br /&gt;&lt;blockquote&gt;The upgrade aborts now. The upgrade needs a total of 975M free space on disk '/'. Please free at least an additional 306M of disk space on '/'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.&lt;br /&gt;&lt;/blockquote&gt;So now I need 975MB of space. I give up.&lt;br /&gt;&lt;br /&gt;Lesson learned, give Ubuntu more than 4GB if you think you might want to upgrade it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-935955921358564215?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/935955921358564215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=935955921358564215' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/935955921358564215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/935955921358564215'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/04/upgrading-ubuntu-804-desktop-vm-to-904.html' title='Upgrading Ubuntu 8.04 Desktop VM to 9.04'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-469548161667721880</id><published>2009-04-24T23:49:00.002-04:00</published><updated>2009-04-24T23:55:55.236-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><title type='text'>New VM checklist</title><content type='html'>Things to do in a new Ubuntu VM after I create it:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Install a &lt;a href="http://v2kblog.blogspot.com/2008/10/installing-apt-cacher.html"&gt;apt-cacher proxy&lt;/a&gt;. This involved editing /etc/hosts to add the caching host and then creating /etc/apt/apt.conf.d/90local-proxy with contents of: Acquire::http::Proxy "http://cache-host:3142";&lt;/li&gt;&lt;li&gt;&lt;a href="http://ubuntu-tutorials.com/2008/06/07/how-to-install-vmware-tools-on-ubuntu-804-guests/"&gt;Install vmware-tools&lt;/a&gt;.&lt;/li&gt;&lt;/ol&gt;That's it for now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-469548161667721880?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/469548161667721880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=469548161667721880' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/469548161667721880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/469548161667721880'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/04/new-vm-checklist.html' title='New VM checklist'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-1113584420916318599</id><published>2009-04-24T23:10:00.028-04:00</published><updated>2009-05-02T16:30:14.905-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='9.04'/><category scheme='http://www.blogger.com/atom/ns#' term='upgrading'/><category scheme='http://www.blogger.com/atom/ns#' term='wireless'/><category scheme='http://www.blogger.com/atom/ns#' term='8.10'/><title type='text'>Upgrading Ubuntu Desktop from 8.10 to 9.04 - wireless woes again.</title><content type='html'>Turning now to upgrading my Ubuntu laptop from &lt;a href="http://v2kblog.blogspot.com/2008/11/upgrading-my-laptop-to-ubuntu-810.html"&gt;8.10&lt;/a&gt; to 9.04 using the Network Upgrade method. I started by checking to make sure I'm up to date:&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;apt-get dist-upgrade&lt;/span&gt;&lt;br /&gt;Reading package lists... Done&lt;br /&gt;Building dependency tree   &lt;br /&gt;Reading state information... Done&lt;br /&gt;Calculating upgrade... Done&lt;br /&gt;0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.&lt;br /&gt;&lt;/blockquote&gt;Then I ran System/Administration/Update Manager, hit Upgrade and followed the directions.&lt;br /&gt;&lt;br /&gt;The irst time through I saw the following, which turned out to be caused by a misconfigured apt-cacher on my apt-cacher system (which I had &lt;a href="http://v2kblog.blogspot.com/2009/05/upgrading-mythbuntu-from-810-to-904.html"&gt;just upgraded&lt;/a&gt;):&lt;br /&gt;&lt;blockquote&gt;Third party sources disabled&lt;br /&gt;&lt;br /&gt;Some third party entries in your sources.list were disabled. You can re-enable them after the upgrade with the 'software-properties' tool or your package manager.&lt;/blockquote&gt;Followed by:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Error during update&lt;br /&gt;&lt;br /&gt;A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry.&lt;br /&gt;&lt;br /&gt;W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/restricted/i18n/Translation-en_US.bz2  Error reading from server - read (104 Connection reset by peer)&lt;br /&gt;, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/multiverse/i18n/Translation-en_US.bz2  Error reading from server - read (104 Connection reset by peer)&lt;br /&gt;, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty-updates/restricted/i18n/Translation-en_US.bz2  Error reading from server - read (104 Connection reset by peer)&lt;br /&gt;, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/restricted/i18n/Translation-en_US.bz2  Error reading from server - read (104 Connection reset by peer)&lt;br /&gt;, E:Some index files failed to download, they have been ignored, or old ones used instead.&lt;br /&gt;&lt;/blockquote&gt;After fixing apt-cacher, I ran System/Administration/Update Manager again and it went much more smoothly. Questions asked during the upgrade and my answers:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;Replace /etc/services? &lt;span style="color: rgb(255, 0, 0);"&gt;Yes&lt;/span&gt;&lt;blockquote&gt;&lt;/blockquote&gt; &lt;/blockquote&gt;...&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Could not install 'b43-fwcutter'&lt;br /&gt;subprocess post-installation script returned error exit status 1&lt;br /&gt;&lt;/blockquote&gt;This turned out to be the sources of wireless woes (more about that later).&lt;br /&gt;&lt;br /&gt;Then a couple scary messages I think related to the b43-fwcutter failure.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Could not install the upgrades&lt;br /&gt;The upgrade is now aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a).&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;...&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Upgrade complete&lt;br /&gt;&lt;br /&gt;The upgrade is completed but there were errors during the upgrade process.&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;...&lt;br /&gt;&lt;br /&gt;Then I went ahead and did a...&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;#&lt;span style="color: rgb(255, 0, 0);"&gt;reboot&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;Booting the system did a "Routine check of drives" took several minutes&lt;br /&gt;&lt;br /&gt;And then when it came up, I had no wireless, like&lt;a href="http://v2kblog.blogspot.com/2008/11/upgrading-my-laptop-to-ubuntu-810.html"&gt; last time&lt;/a&gt;. I plugged into wired ethernet and that worked - so that's better than last time. First thing I tried was re-enabling third party sources and seeing if there was a new Network Manager. I edited /etc/apt/sources.list and uncommented the following lines:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# Latest version of Network Manager&lt;br /&gt;deb http://ppa.launchpad.net/network-manager/ubuntu jaunty main # disabled on upgrade to jaunty&lt;br /&gt;deb-src http://ppa.launchpad.net/network-manager/ubuntu jaunty main # disabled on upgrade to jaunty&lt;br /&gt;&lt;br /&gt;# Dropbox&lt;br /&gt;deb http://linux.getdropbox.com/ubuntu jaunty main # disabled on upgrade to jaunty&lt;br /&gt;deb-src http://linux.getdropbox.com/ubuntu jaunty main # disabled on upgrade to jaunty&lt;br /&gt;&lt;br /&gt;#WineHQ - Ubuntu 8.10 "Intrepid Ibex"&lt;br /&gt;deb http://wine.budgetdedicated.com/apt jaunty main # disabled on upgrade to jaunty&lt;br /&gt;&lt;br /&gt;# SKYPE&lt;br /&gt;deb http://download.skype.com/linux/repos/debian/ stable non-free # disabled on upgrade to jaunty&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;And then I ran:&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;apt-get update&lt;/span&gt;&lt;br /&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;apt-get upgrade&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;But the only packages that were upraded were nautilus-dropbox and wine. So no luck there.&lt;br /&gt;&lt;br /&gt;Ok, going back to b43-fwcutter, I tried the following:&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;/usr/share/b43-fwcutter/install_bcm43xx_firmware.sh&lt;/span&gt;&lt;br /&gt;...&lt;br /&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;reboot&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;And that did the trick!&lt;br /&gt;&lt;br /&gt;Now I just did the usual vmware re-configure:&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;/usr/bin/vmware-config.pl&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;I accepted all the default. Afterwards, don't forget to &lt;a href="http://v2kblog.blogspot.com/2009/03/host-clock-rate-changes-again.html"&gt;fix /etc/vmware/config&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;At this point everything seems good...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-1113584420916318599?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/1113584420916318599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=1113584420916318599' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/1113584420916318599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/1113584420916318599'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/04/upgrading-ubuntu-desktop-from-810-to.html' title='Upgrading Ubuntu Desktop from 8.10 to 9.04 - wireless woes again.'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-7303496954864070797</id><published>2009-04-24T23:07:00.021-04:00</published><updated>2009-04-26T00:06:06.633-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='9.04'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><category scheme='http://www.blogger.com/atom/ns#' term='8.10'/><title type='text'>Upgrading Ubuntu server VMs from 8.10 to 9.04</title><content type='html'>After my first attempt to upgrade a Ubuntu VM desktop image &lt;a href="http://v2kblog.blogspot.com/2009/04/upgrading-ubuntu-804-desktop-vm-to-904.html"&gt;didn't work work due to lack of disk space&lt;/a&gt;, I decided to try my Ubuntu server VMs, which I had previously &lt;a href="http://v2kblog.blogspot.com/2008/11/upgrading-to-ubuntu-810.html"&gt;upgraded to 8.10&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I started by backing up the virtual machines (basically shut them down and tar'ed them up). Then I followed the &lt;a href="http://www.ubuntu.com/getubuntu/upgrading#Network%20Upgrade%20for%20Ubuntu%20Servers%20%28Recommended%29"&gt;direction for doing a network upgrade for Ubuntu servers&lt;/a&gt;. BTW, this took a while, I should have done it inside a &lt;a href="http://www.gnu.org/software/screen/"&gt;screen&lt;/a&gt; session.&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="color: rgb(102, 102, 102);"&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;apt-get install update-manager-core&lt;/span&gt;&lt;br /&gt;Reading package lists... Done&lt;br /&gt;Building dependency tree      &lt;br /&gt;Reading state information... Done&lt;br /&gt;update-manager-core is already the newest version.&lt;br /&gt;&lt;/blockquote&gt;Presumably I did that during the 8.10 upgrade, so on to step 2:&lt;br /&gt;&lt;blockquote style="color: rgb(102, 102, 102);"&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;do-release-upgrade&lt;/span&gt;&lt;br /&gt;Checking for a new ubuntu release&lt;br /&gt;Done Upgrade tool signature&lt;br /&gt;Done Upgrade tool&lt;br /&gt;Done downloading           &lt;br /&gt;extracting 'jaunty.tar.gz'&lt;br /&gt;authenticate 'jaunty.tar.gz' against 'jaunty.tar.gz.gpg'&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;...a few minutes go by here...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1 package is going to be removed. 23 new packages are going to be&lt;br /&gt;installed. 270 packages are going to be upgraded.&lt;br /&gt;&lt;br /&gt;You have to download a total of 188M. This download will take about&lt;br /&gt;15 minutes with your connection.&lt;br /&gt;&lt;br /&gt;Fetching and installing the upgrade can take several hours. Once the&lt;br /&gt;download has finished, the process cannot be cancelled.&lt;br /&gt;&lt;br /&gt; Continue [yN]  Details [d]&lt;span style="color: rgb(255, 0, 0);"&gt;y&lt;/span&gt;&lt;br /&gt;Fetching&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;...25 minutes of downloading go by here...&lt;/span&gt;&lt;/blockquote&gt;At this point installs started and I answered various questions. I won't mention all of them, just hit the highlights...&lt;br /&gt;&lt;br /&gt;I kept my version of the following files:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;/etc/apache2/ports.conf and /etc/apache2/sites-available/default&lt;/li&gt;&lt;li&gt;/etc/apt/apt.conf.d/50unattended-upgrades&lt;/li&gt;&lt;li&gt;smb.conf&lt;/li&gt;&lt;/ul&gt;I went ahead and said "yes" to "17 packages are going to be removed."&lt;br /&gt;&lt;br /&gt;Then I went ahead and answered yes to reboot and when the VM came back up, all looked good.&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="color: rgb(102, 102, 102);"&gt;$ &lt;span style="color: rgb(255, 0, 0);"&gt;cat /etc/lsb-release &lt;/span&gt;&lt;br /&gt;DISTRIB_ID=Ubuntu&lt;br /&gt;DISTRIB_RELEASE=9.04&lt;br /&gt;DISTRIB_CODENAME=jaunty&lt;br /&gt;DISTRIB_DESCRIPTION="Ubuntu 9.04"&lt;/blockquote&gt;VMWare tools were even running:&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="color: rgb(102, 102, 102);"&gt;$ &lt;span style="color: rgb(255, 0, 0);"&gt;ps auxwww | grep vmware&lt;/span&gt;&lt;br /&gt;root      2448  0.3  0.1   2204   660 ?        Ss   22:21   0:02 /usr/sbin/vmware-guestd --background /var/run/vmware-guestd.pid&lt;br /&gt;&lt;/blockquote&gt;That's it.&lt;br /&gt;&lt;br /&gt;Upgrading another VM, I saw the following message, which I thought was interesting. I went ahead and said "y":&lt;br /&gt;&lt;blockquote style="color: rgb(102, 102, 102);"&gt;Continue running under SSH?&lt;br /&gt;              &lt;br /&gt;This session appears to be running under ssh. It is not recommended&lt;br /&gt;to perform a upgrade over ssh currently because in case of failure it&lt;br /&gt;is harder to recover.&lt;br /&gt;&lt;br /&gt;If you continue, a additional ssh daemon will be started at port&lt;br /&gt;'9004'.&lt;br /&gt;Do you want to continue? &lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-7303496954864070797?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/7303496954864070797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=7303496954864070797' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7303496954864070797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7303496954864070797'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/04/upgrading-mythbuntu-from-804-to-904.html' title='Upgrading Ubuntu server VMs from 8.10 to 9.04'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-4123100637088742368</id><published>2009-04-24T22:11:00.004-04:00</published><updated>2009-04-24T22:34:57.747-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dyndns'/><category scheme='http://www.blogger.com/atom/ns#' term='ddclient'/><title type='text'>whatismyip quit working for ddclient... change to checkip.dyndns.com</title><content type='html'>Suddenly ddclient started generating errors trying to determine my local IP address:&lt;br /&gt;&lt;blockquote style="color: rgb(51, 51, 51);"&gt;/etc/cron.daily/ddclient:&lt;br /&gt;WARNING:  cannot connect to &lt;a href="http://whatismyip.org/" target="_blank"&gt;whatismyip.org:80&lt;/a&gt; socket: IO::Socket::INET: connect: Connection timed out&lt;br /&gt;WARNING:  unable to determine IP address&lt;br /&gt;&lt;/blockquote&gt;Pointing a browser at  &lt;a href="http://whatismyip.org/" target="_blank"&gt;whatismyip.org:80&lt;/a&gt; seemed to confirm the site is down - just kept getting connection refused.&lt;br /&gt;&lt;br /&gt;Well, time to find an alternative for whatismyip. Poking around with google, I found &lt;a href="http://adamnoffie.blogspot.com/2007/10/setup-ddclient-for-dyndns-and-opendns.html"&gt;this page&lt;/a&gt; which described using &lt;a href="http://checkip.dyndns.com/"&gt;checkip.dyndns.com&lt;/a&gt;. Following those directions I edited /etc/ddclient.conf and replaced the following line:&lt;br /&gt;&lt;blockquote&gt;use=web, web=whatismyip.org&lt;br /&gt;&lt;/blockquote&gt;With:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;use=web, web=checkip.dyndns.com/, web-skip='Current IP Address: '&lt;br /&gt;&lt;/blockquote&gt;And then ran ddclient again to check:&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;/etc/cron.daily/ddclient &lt;/span&gt;&lt;br /&gt;#&lt;br /&gt;&lt;/blockquote&gt;No output, all seems well....But no, it isn't. Visiting &lt;a href="https://www.dyndns.com/account/services/hosts/"&gt;DynDNS&lt;/a&gt; indicates I still haven't updated my information recently. Remembering &lt;a href="http://v2kblog.blogspot.com/2009/03/ddclient-woes.html"&gt;my previous experience&lt;/a&gt; with ddclient hanging, I checked for a hung process and sure enough, there was one:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;ps auxwww | grep ddcl&lt;/span&gt;&lt;br /&gt;root     15725  0.0  0.0   7548  3032 ?        S    Mar29   0:00 ddclient - read from whatismyip.org port 80&lt;br /&gt;root     30771  0.0  0.0   3240   804 pts/2    S+   21:26   0:00 grep ddcl&lt;/blockquote&gt;So I killed it:&lt;br /&gt;&lt;blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;kill -9 15725&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;And reran ddclient (I found I hat to use the -force flag to get it to do anything):&lt;br /&gt;&lt;blockquote&gt;# &lt;span style="color: rgb(255, 0, 0);"&gt;/usr/sbin/ddclient -force&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;And all was good.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-4123100637088742368?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/4123100637088742368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=4123100637088742368' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/4123100637088742368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/4123100637088742368'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/04/whatismyip-quit-working-for-ddclient.html' title='whatismyip quit working for ddclient... change to checkip.dyndns.com'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-841167297806395528</id><published>2009-03-29T14:55:00.000-04:00</published><updated>2009-03-29T14:56:16.243-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='auto-update'/><title type='text'>Trying out 'unattended upgrades' to replace cron-apt</title><content type='html'>A while back I posted about a problem I was having with my &lt;a href="http://v2kblog.blogspot.com/2009/02/redoing-auto-updates-to-reduce-email.html"&gt;auto update process&lt;/a&gt; sometimes getting &lt;a href="http://v2kblog.blogspot.com/2009/01/cron-apt-and-reboot-needed.html"&gt;hung up reinstalling a kernel update over and over&lt;/a&gt;. A reader left a comment about not having a similar problem with the "unattended upgrades" paclage.&lt;br /&gt;&lt;br /&gt;I poked around the net, but could not find a lot of information about this package. The best information I found was &lt;a href="http://www.vanutsteen.nl/2008/06/09/unattended-upgrades-on-a-ubuntu-hardy-server/"&gt;this blog post on vanutsteen.nl&lt;/a&gt;, which was enough to go on.&lt;br /&gt;&lt;br /&gt;At this point I've installed unattended upgrades on one of my virtual machines. I haven't noticed any difference so far, but I haven't had a kernel upgrade such as the one that caused my problems, so I'm in a waiting mode now.&lt;br /&gt;&lt;br /&gt;Here is what I did to install unattended upgrades, based on the &lt;a href="http://www.vanutsteen.nl/2008/06/09/unattended-upgrades-on-a-ubuntu-hardy-server/"&gt;vanutsteen.nl post&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;First, install the package and got rid of cron-apt:&lt;br /&gt;&lt;blockquote style="color: rgb(51, 51, 51);"&gt;# apt-get install unattended-upgrades update-notifier-common&lt;br /&gt;# apt-get remove cron-apt&lt;br /&gt;&lt;/blockquote&gt;Then I edited /etc/apt/apt.conf.d/50unattended-upgrades and uncommented the following line:&lt;br /&gt;&lt;blockquote style="color: rgb(51, 51, 51);"&gt;        "Ubuntu intrepid-updates";&lt;br /&gt;&lt;/blockquote&gt;Then I edited /etc/apt/apt.conf.d/10periodic to look like:&lt;br /&gt;&lt;blockquote style="color: rgb(51, 51, 51);"&gt;APT::Periodic::Update-Package-Lists "1";&lt;br /&gt;APT::Periodic::Download-Upgradeable-Packages "1";&lt;br /&gt;APT::Periodic::AutocleanInterval "1";&lt;br /&gt;APT::Periodic::Unattended-Upgrade "1";&lt;br /&gt;&lt;/blockquote&gt;That's it. I'll post again when I come to some conclusion about unattended upgrades vs cron-apt.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-841167297806395528?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/841167297806395528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=841167297806395528' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/841167297806395528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/841167297806395528'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/03/trying-out-unattended-upgrades-to.html' title='Trying out &apos;unattended upgrades&apos; to replace cron-apt'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6185518300185240683</id><published>2009-03-29T13:44:00.000-04:00</published><updated>2009-03-29T14:44:36.993-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='auto-update'/><category scheme='http://www.blogger.com/atom/ns#' term='cron'/><title type='text'>Redoing auto-updates to reduce email</title><content type='html'>I've gotten a little tired about the amount of email I receive daily from my automatic daily &lt;a href="http://v2kblog.blogspot.com/2008/05/fixing-auto-updating.html"&gt;package&lt;/a&gt; &lt;a href="http://v2kblog.blogspot.com/2008/10/auto-updates-under-mythbuntu.html"&gt;updates&lt;/a&gt;, particularly now that I've installed &lt;a href="http://v2kblog.blogspot.com/2008/11/installing-logwatch.html"&gt;logwatch&lt;/a&gt;, which provides me with much of the same information.&lt;br /&gt;&lt;br /&gt;I have two types of machines that I want to update:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Virtual machines that I just want to auto update and I don't want to hear about it unless there is an error. Yes, I understand I risk configuration problems, but so far this hasn't been a problem so I'm happy living on the edge.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;My key server and my laptop. On these machines I do the conservative download the packages and once a week, on the weekend, I sit down and manually install them. (If some critical security update occurs, I assume I will hear about it via other channels and jump in manually).&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;"&gt;On all systems: make cron-apt quiet&lt;/span&gt;&lt;br /&gt;I started by editing cron-apt configuration on all my systems and configuring it so it only sends email on errors by changing the MAILON value to "error":&lt;br /&gt;&lt;blockquote&gt;# vi /etc/cron-apt/config&lt;br /&gt;# grep ^MAILON /etc/cron-apt/config&lt;br /&gt;MAILON="error"&lt;br /&gt;&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;Key Server and Laptop&lt;/span&gt;&lt;br /&gt;Then I turned to my server system and laptop. I want to run cron-apt daily and then once per week send me a reminder to update (assuming there is something to update, which generally there is). I could just run cron-apt weekly, but this way if there is a critical security update, it will already be downloaded and I just have to install it.&lt;br /&gt;&lt;br /&gt;To run cron-apt dailly, I add it to /etc/cron.daily:&lt;br /&gt;&lt;blockquote&gt;# ln -s /usr/sbin/cron-apt /etc/cron.daily/&lt;br /&gt;&lt;/blockquote&gt;Then I created the following script to send me a weekly reminder me to install the upgrades (based on the script from &lt;a href="http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html"&gt;this page&lt;/a&gt;):&lt;br /&gt;&lt;blockquote&gt;# vi /etc/cron.weekly/show-upgrades&lt;br /&gt;# chmod +x show-upgrades&lt;br /&gt;&lt;/blockquote&gt;And here is the script:&lt;br /&gt;&lt;pre&gt;#!/bin/sh&lt;br /&gt;tmpFile=`mktemp`&lt;br /&gt;apt-get --simulate dist-upgrade &gt; $tmpFile 2&gt;&amp;amp;1&lt;br /&gt;if test $? -ne 0 ; then&lt;br /&gt;   echo "Error running apt-get --simulate dist-upgrade:"&lt;br /&gt;   cat $tmpFile&lt;br /&gt;   rm -f $tmpFile&lt;br /&gt;   exit 1&lt;br /&gt;fi&lt;br /&gt;grep Inst $tmpFile &gt; /dev/null&lt;br /&gt;if test $? -eq 0; then&lt;br /&gt;   echo "Upgrades are pending. Run 'apt-get dist-upgrade' to install."&lt;br /&gt;   grep Inst $tmpFile&lt;br /&gt;   echo&lt;br /&gt;   echo "Full output:"&lt;br /&gt;   cat $tmpFile&lt;br /&gt;fi&lt;br /&gt;rm -f $tmpFile&lt;br /&gt;exit 0&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-weight: bold;"&gt;Virtual Machines&lt;/span&gt;&lt;br /&gt;Now, turning to my virtual machines. What I wanted here was automatically daily upgrade of all new packages with no output unless there was an error. This involved editing to the auto-update script I had created &lt;a href="http://v2kblog.blogspot.com/2008/05/fixing-auto-updating.html"&gt;previously&lt;/a&gt;:&lt;br /&gt;&lt;blockquote&gt;# vi /etc/cron.daily/auto-update&lt;br /&gt;&lt;/blockquote&gt;Here is the script:&lt;br /&gt;&lt;pre&gt;#!/bin/bash&lt;br /&gt;/usr/sbin/cron-apt&lt;br /&gt;tmpFile=`mktemp`&lt;br /&gt;/usr/bin/apt-get -y dist-upgrade &gt; $tmpFile 2&gt;&amp;amp;1&lt;br /&gt;if test $? -ne 0 ; then&lt;br /&gt;     echo "Error doing '/usr/bin/apt-get -y dist-upgrade':"&lt;br /&gt;     cat $tmpFile&lt;br /&gt;fi&lt;br /&gt;rm -f $tmpFile&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6185518300185240683?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6185518300185240683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6185518300185240683' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6185518300185240683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6185518300185240683'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/02/redoing-auto-updates-to-reduce-email.html' title='Redoing auto-updates to reduce email'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-5917012312494974927</id><published>2009-03-29T09:36:00.004-04:00</published><updated>2009-04-16T22:33:36.821-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='host clock rate change'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><title type='text'>host clock rate changes again</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Updated April 16, 2009: &lt;/span&gt;And the answer is running 'vmware-config.pl', which I did recently after a kernel update, causes the 'host.useFastClock = FALSE' line to disappear from /etc/vmware/config.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Original post follows...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Argh, &lt;a href="http://v2kblog.blogspot.com/2009/01/my-mythbuntu-box-hung-and-host-clock.html"&gt;once again&lt;/a&gt; my syslog on my VMWare server was getting filled up with host clock rate change messages:&lt;br /&gt;&lt;blockquote style="color: rgb(51, 51, 51);"&gt;# tail /var/log/syslog&lt;br /&gt;Mar 29 08:31:46 casey kernel: [1894820.064260] [925]: host clock rate change request 54 -&gt; 58&lt;br /&gt;Mar 29 08:31:57 casey kernel: [1894831.040153] [925]: host clock rate change request 58 -&gt; 24&lt;br /&gt;Mar 29 08:31:57 casey kernel: [1894831.040272] [925]: host clock rate change request 24 -&gt; 54&lt;br /&gt;Mar 29 08:31:59 casey kernel: [1894832.676158] [925]: host clock rate change request 54 -&gt; 58&lt;br /&gt;&lt;/blockquote&gt;Once again "host.useFastClock = FALSE" was missing from /etc/vmware/config&lt;br /&gt;&lt;br /&gt;Once again, I added it and restarted vmware (/etc/init.d/vmware restart).&lt;br /&gt;&lt;br /&gt;Once again, this cleared up the problem.&lt;br /&gt;&lt;br /&gt;I decided to add a daily check for this line to try and figure out why it disappears:&lt;br /&gt;&lt;blockquote style="color: rgb(51, 51, 51);"&gt;# vi check-vmware-config&lt;br /&gt;# cat /etc/cron.daily/check-vmware-config&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;#!/bin/sh&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;grep "useFastClock" /etc/vmware/config &gt; /dev/null&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;if test $? -ne 0 ; then&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;  echo "WARNING: useFastClock line not found in /etc/vmware/config"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;fi&lt;/span&gt;&lt;br /&gt;# chmod +x /etc/cron.daily/check-vmware-config&lt;/blockquote&gt;Nothing to do now but sit back and wait....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-5917012312494974927?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/5917012312494974927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=5917012312494974927' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/5917012312494974927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/5917012312494974927'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/03/host-clock-rate-changes-again.html' title='host clock rate changes again'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-1779510514962615877</id><published>2009-03-29T09:09:00.004-04:00</published><updated>2009-04-24T22:57:46.847-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dyndns'/><category scheme='http://www.blogger.com/atom/ns#' term='ddclient'/><title type='text'>ddclient woes</title><content type='html'>I previously &lt;a href="http://v2kblog.blogspot.com/2008/09/configuring-automatic-update-of-ip.html"&gt;setup automatic updates of my dyndns account&lt;/a&gt;. This had been working fine, until this morning when I got the following email from DynDNS:&lt;br /&gt;&lt;blockquote style="color: rgb(102, 102, 102);"&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;Your account vwelch at DynDNS.com is due to expire in 5 days.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);"&gt; DynDNS.com expires accounts that have no activity during a 30 day period.&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;So I logged into my server and checked to see what was going on. First thing I notices is I had a lot of ddclient processes running,  hung reading from whatismyip.org:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;# ps auxwww | grep ddclient | wc&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;     23     386    2486&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;# ps auxwww | grep ddclient&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;root     22048  0.0  0.1   6196  4184 ?        SN   Mar10   0:00 ddclient - read from whatismyip.org port 80&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;root     24041  0.0  0.1   6196  4224 ?        SN   Mar24   0:10 ddclient - read from whatismyip.org port 80&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;root     24791  0.0  0.1   6196  4180 ?        SN   Mar17   0:00 ddclient - read from whatismyip.org port 80&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;root     26332  0.0  0.1   6196  4224 ?        SN   Mar11   0:04 ddclient - reading from whatismyip.org port 80&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;root     28622  0.0  0.1   6196  4224 ?        SN   Mar25   0:09 ddclient - read from whatismyip.org port 80&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;My guess here is that at some point there was a network problem that gummed verything up. I started by killing off all of these hung processes:&lt;br /&gt;&lt;blockquote style="color: rgb(51, 51, 51);"&gt;# killall -9 ddclient&lt;br /&gt;# ps auxwww | grep ddclient&lt;br /&gt;root     15680  0.0  0.0   3236   796 pts/1    S+   08:12   0:00 grep ddclient&lt;br /&gt;&lt;/blockquote&gt;Looking at the daily cron script I had previously written, use of the '-daemon' flag seems wrong since I'm running it regularly from cron. When the script runs, I want it to do its thing and exit. So I took the -daemon flag out, leaving /etc/cron.daily/ddclient looking as follows:&lt;br /&gt;&lt;blockquote style="color: rgb(51, 51, 51);"&gt;#!/bin/sh&lt;br /&gt;/usr/sbin/ddclient -syslog&lt;br /&gt;&lt;/blockquote&gt;After this, I ran the script and turned my browser to &lt;a href="https://www.dyndns.com/account/services/hosts/"&gt;DynDNS&lt;/a&gt; and saw that my Last Updated field was current.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-1779510514962615877?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/1779510514962615877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=1779510514962615877' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/1779510514962615877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/1779510514962615877'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/03/ddclient-woes.html' title='ddclient woes'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-2141464338198634180</id><published>2009-03-18T21:04:00.004-04:00</published><updated>2009-03-18T21:18:37.432-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cron'/><title type='text'>Using cronic to reduce "cram" (cron spam)</title><content type='html'>I'm working on reducing the about of email I'm getting from my cron jobs. One thing I stumbled across is &lt;a href="http://habilis.net/cronic/"&gt;cronic&lt;/a&gt;. I used it as following to quiet my cron jobs.&lt;br /&gt;&lt;br /&gt;First, to install it:&lt;br /&gt;&lt;blockquote&gt;# wget -O /usr/local/bin/cronic http://habilis.net/cronic/cronic&lt;br /&gt;...&lt;br /&gt;# chmod 755 /usr/local/bin/cronic&lt;br /&gt;&lt;/blockquote&gt;Now to use it, edit your cron scripts to use cronic as a wrapper. Before:&lt;br /&gt;&lt;blockquote&gt;# cat /etc/cron.daily/backup-web-server&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;#!/bin/sh&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt; /usr/local/bin/backup-web-server.py /etc/backup-web-server.conf&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;And after:&lt;br /&gt;&lt;blockquote&gt;# vi /etc/cron.daily/backup-webserver&lt;br /&gt;# cat /etc/cron.daily/backup-web-server&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;#!/bin/sh&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;/usr/local/bin/cronic /usr/local/bin/backup-web-server.py /etc/backup-web-server.conf&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;That's it. Now unless your cron job either has output to stderr or returns non-zero, it will produce no output.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-2141464338198634180?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/2141464338198634180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=2141464338198634180' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2141464338198634180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2141464338198634180'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/03/using-cronic-to-reduce-cram-cron-spam.html' title='Using cronic to reduce &quot;cram&quot; (cron spam)'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-1609862922807172338</id><published>2009-03-13T16:35:00.004-04:00</published><updated>2009-05-02T12:22:28.971-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apt-cacher'/><title type='text'>Fixing apt-cache-report.pl</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Update:&lt;/span&gt; Looks like this is fixed as of Ubuntu 9.04&lt;br /&gt;&lt;br /&gt;I previously &lt;a href="http://v2kblog.blogspot.com/2009/02/apt-cacher-report-not-updating.html"&gt;reported apt-cache-report was not working&lt;/a&gt;. In this post I will set about fixing it.&lt;br /&gt;&lt;br /&gt;What I discoved is the apt-cacher log format has changed. Old log:&lt;br /&gt;&lt;blockquote&gt;# gzip -dc /var/log/apt-cacher/access.log.6.gz | head -1&lt;br /&gt;Thu Oct 30 22:01:39 2008|192.168.1.12|MISS|189|security.ubuntu.com_ubuntu_dists_hardy-security_Release.gpg&lt;/blockquote&gt;New log:&lt;br /&gt;&lt;blockquote&gt;# head -1 /var/log/apt-cacher/access.log&lt;br /&gt;Tue Mar 10 01:45:59 2009|19924|127.0.0.1|EXPIRED|189|archive.ubuntu.com_ubuntu_dists_intrepid-updates_Release.gpg&lt;br /&gt;&lt;/blockquote&gt;So the new format has an extra column (second column, I have no idea what it is) and rearranged a little. I started in changing /usr/share/apt-cacher/apt-cacher-report.pl to compensate for this. Not that it still needed to be able to parse the old logs, so some logic was involved to distinguish.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;# cd /usr/share/apt-cacher/&lt;br /&gt;# cp apt-cacher-report.pl apt-cacher-report.pl.orig&lt;br /&gt;# vi apt-cacher-report.pl&lt;br /&gt;# diff -c apt-cacher-report.pl.orig apt-cacher-report.pl&lt;/blockquote&gt;&lt;pre&gt;&lt;br /&gt;*** apt-cacher-report.pl.orig   2009-03-13 15:35:14.000000000 -0500&lt;br /&gt;--- apt-cacher-report.pl        2009-03-13 17:04:45.000000000 -0500&lt;br /&gt;***************&lt;br /&gt;*** 109,121 ****&lt;br /&gt; {&lt;br /&gt;       #$logfile_line =~ s/ /\+/g;&lt;br /&gt;       @line = split /\|/, $logfile_line;&lt;br /&gt;!       $req_date = $line[0];&lt;br /&gt;! #     $req_ip   = $line[1];&lt;br /&gt;!       $req_result = $line[2];&lt;br /&gt;!       $req_bytes  = 0;&lt;br /&gt;!       $req_bytes  = $line[3] if $line[3] =~ /^[0-9]+$/;&lt;br /&gt;! #     $req_object = $line[4];&lt;br /&gt;!&lt;br /&gt;       $lastrecord = $req_date;&lt;br /&gt;       if(!$firstrecord) {&lt;br /&gt;               $firstrecord = $req_date;&lt;br /&gt;--- 109,133 ----&lt;br /&gt; {&lt;br /&gt;       #$logfile_line =~ s/ /\+/g;&lt;br /&gt;       @line = split /\|/, $logfile_line;&lt;br /&gt;!       if (scalar(@line) == 5)&lt;br /&gt;!       {&lt;br /&gt;!               # 5 columns == old format&lt;br /&gt;!               $req_date = $line[0];&lt;br /&gt;! #             $req_ip   = $line[1];&lt;br /&gt;!               $req_result = $line[2];&lt;br /&gt;!               $req_bytes  = 0;&lt;br /&gt;!               $req_bytes  = $line[3] if $line[3] =~ /^[0-9]+$/;&lt;br /&gt;! #             $req_object = $line[4];&lt;br /&gt;!       } else {&lt;br /&gt;!               # Assume new 6 column format&lt;br /&gt;!               $req_date = $line[0];&lt;br /&gt;!               # I don't know what $line[1] is&lt;br /&gt;! #             $req_ip   = $line[2];&lt;br /&gt;!               $req_result = $line[3];&lt;br /&gt;!               $req_bytes  = 0;&lt;br /&gt;!               $req_bytes  = $line[4] if $line[4] =~ /^[0-9]+$/;&lt;br /&gt;! #             $req_object = $line[5];&lt;br /&gt;!       }&lt;br /&gt;       $lastrecord = $req_date;&lt;br /&gt;       if(!$firstrecord) {&lt;br /&gt;               $firstrecord = $req_date;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now to test things, by rerunning apt-cacher:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# /etc/cron.daily/apt-cacher&lt;br /&gt;...this takes a while (~5 min)...&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;And then I browsed to http://localhost:3142/report/ and now I see an updated report:&lt;br /&gt;&lt;br /&gt;&lt;h2 align="center"&gt;summary&lt;/h2&gt; &lt;table align="center" bgcolor="#000000" border="0" cellpadding="3" cellspacing="1" width="600"&gt; &lt;tbody&gt;&lt;tr bgcolor="#9999cc"&gt;&lt;th bgcolor="#9999cc"&gt; Item &lt;/th&gt;&lt;th&gt; Value &lt;/th&gt;&lt;/tr&gt; &lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; Report generated &lt;/td&gt;&lt;td&gt; 2009-03-13 17:04:50 &lt;/td&gt;&lt;/tr&gt; &lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; Administrator &lt;/td&gt;&lt;td&gt; &lt;a href="mailto:root@localhost"&gt;root@localhost&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; First request &lt;/td&gt;&lt;td&gt; Thu Oct 30 22:01:39 2008 &lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; Last request &lt;/td&gt;&lt;td&gt; Fri Mar 13 16:46:42 2009 &lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; Total requests &lt;/td&gt;&lt;td&gt; 37119 &lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; Total traffic &lt;/td&gt;&lt;td&gt; 11.487 GB &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h2 align="center"&gt;cache efficiency&lt;/h2&gt;  &lt;table align="center" bgcolor="#000000" border="0" cellpadding="3" cellspacing="1" width="600"&gt;&lt;tbody&gt;&lt;tr bgcolor="#9999cc"&gt;&lt;th&gt;&lt;br /&gt;&lt;/th&gt;&lt;th&gt;Cache hits&lt;/th&gt;&lt;th&gt;Cache misses&lt;/th&gt;&lt;th&gt;Total&lt;/th&gt;&lt;/tr&gt;  &lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; Requests &lt;/td&gt;&lt;td&gt;24007 (64.67%)&lt;/td&gt;&lt;td&gt;13112 (35.32%)&lt;/td&gt;&lt;td&gt;37119&lt;/td&gt;&lt;/tr&gt;  &lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; Transfers &lt;/td&gt;&lt;td&gt;8.018 GB (69.8%)&lt;/td&gt;&lt;td&gt;3.468 GB (30.19%)&lt;/td&gt;&lt;td&gt;11.487 GB&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;If anyone knows where I should submit this patch to, please drop me a comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-1609862922807172338?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/1609862922807172338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=1609862922807172338' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/1609862922807172338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/1609862922807172338'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/03/fixing-apt-cache-reportpl.html' title='Fixing apt-cache-report.pl'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-4899290020662967273</id><published>2009-03-07T10:22:00.007-05:00</published><updated>2009-03-15T12:11:02.200-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mythtv'/><title type='text'>Fixing MythTV Database: Table './mythconverg/credits' is marked as crashed</title><content type='html'>My MythTV box became unresponsive earlier this week, prompting a power cycle. It seemed to come back up OK, except a cron job was spitting out the following email every 10 minutes:&lt;br /&gt;&lt;blockquote&gt;DBD::mysql::st execute failed: Table './mythconverg/credits' is marked as crashed and last (automatic?) repair failed at /usr/share/perl5/MythTV/&lt;div id=":59n" class="ArwC7c ckChnd"&gt;&lt;wbr&gt;Program.pm line 195.&lt;br /&gt;DBD::mysql::st fetchrow_array failed: fetch() without execute() at /usr/share/perl5/MythTV/&lt;wbr&gt;Program.pm line 196.&lt;/div&gt;&lt;/blockquote&gt;I tried backing up the database manually and got a similar error:&lt;br /&gt;&lt;blockquote&gt;#/etc/cron.weekly/mythtv-database&lt;br /&gt;mythconverg.credits&lt;br /&gt;warning  : Table is marked as crashed and last repair failed&lt;br /&gt;warning  : 1 client is using or hasn't closed the table properly&lt;br /&gt;error    : Found 123809 keys of 124267&lt;br /&gt;error    : Corrupt&lt;br /&gt;mysqldump: Got error: 144: Table './mythconverg/credits' is marked as crashed and last (automatic?) repair failed when using LOCK TABLES&lt;/blockquote&gt;Using google turned up the &lt;a href="http://www.mythtvtalk.com/forum/installation-issues/4579-database-errors-solved.html#post18029"&gt;solution&lt;/a&gt;. But I didn't find the optimize_mythdb.pl script where the poster indicated. I did find it elsewhere, copied it over and set permissions on it:&lt;br /&gt;&lt;blockquote&gt;# mkdir /usr/share/mythtv/contrib&lt;br /&gt;# cp /usr/share/doc/mythtv-backend/contrib/optimize_mythdb.pl /usr/share/mythtv/contrib&lt;br /&gt;# chmod 755 /usr/share/mythtv/contrib/optimize_mythdb.pl&lt;br /&gt;&lt;/blockquote&gt;At this point I was able to run the script as the poster indicated:&lt;br /&gt;&lt;blockquote&gt;# /usr/share/mythtv/contrib/optimize_mythdb.pl&lt;br /&gt;Repaired/Optimized: `mythconverg`.`archiveitems`&lt;br /&gt;Analyzed: `mythconverg`.`archiveitems`&lt;br /&gt;....snip...&lt;br /&gt;&lt;/blockquote&gt;Now the backup script ran cleanly:&lt;br /&gt;&lt;blockquote&gt;# /etc/cron.weekly/mythtv-database&lt;br /&gt;#&lt;br /&gt;&lt;/blockquote&gt;The last thing I did, as the comments in the optimize_mythdb.pl script suggest, was add the script to the daily anacron list (&lt;span style="font-weight: bold;"&gt;update March 15, 2009&lt;/span&gt;: anacron apparently doesn't run scripts with a .pl suffix, so need to link this to a filename without the suffix):&lt;br /&gt;&lt;blockquote&gt;# ln -s /usr/share/mythtv/contrib/optimize_mythdb.pl /etc/cron.daily/optimize_mythdb&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-4899290020662967273?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/4899290020662967273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=4899290020662967273' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/4899290020662967273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/4899290020662967273'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/03/fixing-mythtv-database-table.html' title='Fixing MythTV Database: Table &apos;./mythconverg/credits&apos; is marked as crashed'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6384266214914164332</id><published>2009-02-14T17:45:00.004-05:00</published><updated>2009-02-14T17:52:43.374-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sound'/><category scheme='http://www.blogger.com/atom/ns#' term='mediakeys'/><title type='text'>Multumedia volume keys not working...</title><content type='html'>Ever since I &lt;a href="http://v2kblog.blogspot.com/2009/01/installing-skype-on-810-desktop-and.html"&gt;messed around with sound to get Skype and my USB headset working&lt;/a&gt;, my multimedia keys on the front of my laptop hadn't been working. The on-screen graphic would appear but nothing I did actually effected playback volume, basically exactly as &lt;a href="https://help.ubuntu.com/community/MultimediaKeys"&gt;this page&lt;/a&gt; described it:&lt;br /&gt;&lt;blockquote&gt;If after assigning as described above, your VolumeUp/VolumeDown/Mute keys seem to work (i.e. you see a popup window with a slider in the middle of the screen that reacts on those key presses), but the playback volume actually remains unchanged, you may also have to setup what mixer tracks (channels) these keys should be bound to. Refer to &lt;a href="https://help.ubuntu.com/community/MultimediaKeys#AssigningTracksToKeys"&gt;this&lt;/a&gt; section below.&lt;br /&gt;&lt;/blockquote&gt;So, following the advice in the section referred to I opened System/Preferences/Sound and on the Device Tab I found the selectino for Default Mixer Tracks. It was set to "Logitech USB Headset (Alsa mixer)", I changed it to "Capture: ALSA PCM on front:0 (Intel ICH6) via DMA (PluseAudio Mix..." and now all works well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6384266214914164332?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6384266214914164332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6384266214914164332' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6384266214914164332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6384266214914164332'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/02/multumedia-volume-keys-not-working.html' title='Multumedia volume keys not working...'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-7387988192511941028</id><published>2009-02-07T13:30:00.015-05:00</published><updated>2009-02-21T13:36:44.486-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><title type='text'>Installing Apache and PHP on my Ubuntu laptop and configuring a virtual host</title><content type='html'>I wanted to do some web development, so here's the process I used to install apache w/php and configure a virtual host on my Ubuntu laptop.&lt;br /&gt;&lt;br /&gt;First, I followed &lt;a href="http://www.howtogeek.com/howto/ubuntu/installing-php5-and-apache-on-ubuntu/"&gt;these old directions&lt;/a&gt; as a starting point for installing Apache and php. But I found that the extra repositories were already added, Apache was already installed and after installing php5, libapach2-mod-php5 was already install, so all I really had to was:&lt;blockquote&gt;&lt;br /&gt;# apt-get install php5&lt;/blockquote&gt;I test php functionality by creating a quick test file:&lt;br /&gt;&lt;blockquote&gt;# vi /var/www/test.php&lt;br /&gt;&lt;span style="font-family:monospace;"&gt;# cat /var/www/test.php&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-family:monospace;"&gt;&lt;/span&gt;And pointing my browser at &lt;a href="http://localhost/test.php"&gt;http://localhost/test.php&lt;/a&gt; and seeing "Hello World".&lt;br /&gt;&lt;br /&gt;On thing I noticed is that I was getting the following error when restarting:&lt;br /&gt;&lt;blockquote&gt;# apache2ctl restart&lt;br /&gt;apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName&lt;br /&gt;&lt;/blockquote&gt;I fixed this by adding a ServerName directive to the Apache configuration (I actually don't think it matters what name you give):&lt;br /&gt;&lt;blockquote&gt;# vi /etc/apache2/apache2.conf&lt;br /&gt;# grep ServerName /etc/apache2/apache2.conf&lt;br /&gt;ServerName localhost&lt;br /&gt;&lt;/blockquote&gt;Now, to install the virtual host so that I can test using code in my home directory. There are a number of sites out there if you google "&lt;a href="http://www.google.com/search?hl=en&amp;amp;safe=off&amp;amp;rlz=1B3GGGL_enUS288US288&amp;amp;q=apache+vhost&amp;amp;btnG=Search"&gt;apache vhost&lt;/a&gt;" and I didn't find any particularly good, so here is what I did.&lt;br /&gt;&lt;br /&gt;For the sake of these directions, I'm going to use the name vhost.example.com and I'm going to put the name into /etc/hosts. This will allow me to see things exactly as they will appear on the live web site.&lt;br /&gt;&lt;br /&gt;First I edit /etc/hosts and add an entry for the vhost:&lt;br /&gt;&lt;blockquote&gt;# vi /etc/hosts&lt;br /&gt;# tail -1 /etc/hosts&lt;br /&gt;127.0.0.1    vhost.example.com&lt;/blockquote&gt;Now it's time to edit the apache configuration:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;# vi /etc/apache2/sites-available/myvhost.conf&lt;br /&gt;# cat /etc/apache2/sites-available/myvhost.conf&lt;br /&gt;NameVirtualHost vhost.example.com&lt;br /&gt;&lt;br /&gt;&amp;lt;VirtualHost vhost.example.com&amp;gt;&lt;br /&gt;  DocumentRoot "/path/to/vhost/directory"&lt;br /&gt;&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Directory /path/to/vhost/directory&amp;gt;&lt;br /&gt;  Options Indexes FollowSymLinks MultiViews&lt;br /&gt;  AllowOverride All&lt;br /&gt;  Order allow,deny&lt;br /&gt;  allow from all&lt;br /&gt;&amp;lt;/Directory&amp;gt;&lt;br /&gt;&lt;/blockquote&gt;Depending on what you need to do, you may not need the &lt;directory&gt; block. I have some local php configuration, so I did.&lt;br /&gt;&lt;br /&gt;Now enable the vhost:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# a2ensite myvhost.conf&lt;br /&gt;Enabling site myvhost.conf.&lt;br /&gt;Run '/etc/init.d/apache2 reload' to activate new configuration!# apache2ctl restart&lt;br /&gt;&lt;/blockquote&gt;One last snag, probably particular to how I handled my php, but I had the following .htaccess file in my vhost root:&lt;br /&gt;&lt;blockquote&gt;AddHandler php-html .html&lt;br /&gt;Action php-html /php/process.php&lt;br /&gt;&lt;/blockquote&gt;Which caused the following error whenever I tried to access the directory:&lt;br /&gt;&lt;blockquote&gt;Invalid command 'Action', perhaps misspelled or defined by a module not included in the server configuration&lt;br /&gt;&lt;/blockquote&gt;To fix this, I enabled the actions module:&lt;br /&gt;&lt;blockquote&gt; # a2enmod actions&lt;br /&gt;Enabling module actions.&lt;br /&gt;Run '/etc/init.d/apache2 restart' to activate new configuration!&lt;br /&gt;&lt;/blockquote&gt;Now, just restart Apache:&lt;br /&gt;&lt;blockquote&gt;# apache2ctl restart&lt;br /&gt;&lt;/blockquote&gt;And point my browser at http://vhost.example.com and everything worked.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Update 2/21/09:&lt;/span&gt; If you want to be able to run 'php' from the command-line, you should also install the php5-cli package (&lt;a href="http://ubuntuforums.org/showpost.php?p=2197708&amp;amp;postcount=6"&gt;kudos&lt;/a&gt;):&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# apt-get install php5-cli&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/directory&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-7387988192511941028?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/7387988192511941028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=7387988192511941028' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7387988192511941028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7387988192511941028'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/02/installing-apache-and-php-on-my-ubuntu.html' title='Installing Apache and PHP on my Ubuntu laptop and configuring a virtual host'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-5778543561416714183</id><published>2009-02-01T10:03:00.006-05:00</published><updated>2009-03-13T18:20:36.152-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apt-cacher'/><title type='text'>apt-cacher report not updating</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Update Mar 13, 2009&lt;/span&gt;: I've now &lt;a href="http://v2kblog.blogspot.com/2009/03/fixing-apt-cache-reportpl.html"&gt;fixed apt-cacher-report.pl&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I noticed this morning the amounts of hits and data transferred in my apt-cacher report are not updating. See report below, the date has changed but the values in the 'cache efficiency' table have not since &lt;a href="http://v2kblog.blogspot.com/2008/10/installing-apt-cacher.html"&gt;my original install&lt;/a&gt;. Something is broken some where, either I'm not using the cache or it's not reporting correctly.&lt;br /&gt;&lt;br /&gt;Don't have time at this moment to investigate, but will update this post when I do...&lt;br /&gt;&lt;br /&gt;Updated: I started by killing apt-cacher to verify the clients were using it...&lt;br /&gt;&lt;blockquote&gt;# /etc/init.d/apt-cacher stop&lt;br /&gt;&lt;pre&gt;Stopping Apt-Cacher: apt-cacher.&lt;span style="font-family:Georgia,serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;And, yes, this caused 'apt-get update' on my client to return all sorts of 'Count not connect...' errors, so I know my previous configuration was working:&lt;br /&gt;&lt;blockquote&gt;# cat /etc/apt/apt.conf.d/90local-proxy&lt;br /&gt;&lt;pre&gt;Acquire::http::Proxy "http://proxy-host:3142";&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;So I restarted apt-cacher ("/etc/init.d/apt-cacher start")  and looked at the server side harder.&lt;br /&gt;&lt;br /&gt;First, I checked to see if there was anything in the cache, and there was lots of stuff including new packages as of today, including wine, which is only on one of my clients and not the server, which would seem to indicate things are working as I should expect:&lt;br /&gt;&lt;blockquote&gt;# grep cache_dir /etc/apt-cacher/apt-cacher.conf&lt;br /&gt;&lt;pre&gt;# cache_dir is used to set the location of the local cache. This can&lt;br /&gt;cache_dir=/var/cache/apt-cacher&lt;/pre&gt;&lt;br /&gt;# du -s /var/cache/apt-cacher&lt;br /&gt;&lt;pre&gt;1966256 /var/cache/apt-cacher&lt;br /&gt;# ls -lt /var/cache/apt-cacher/packages | head -3&lt;br /&gt;total 1947272&lt;br /&gt;-rw-r--r-- 2 www-data www-data        0 2009-02-01 09:05 wine.budgetdedicated.com_apt_dists_intrepid_main_binary-i386_Packages.gz&lt;br /&gt;-rw-r--r-- 2 www-data www-data        0 2009-02-01 09:03 wine.budgetdedicated.com_apt_dists_intrepid_Release&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;Ok, the issue would seem to be reporting. I checked relevant options in apt-cacher.conf and didn't see any issue.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# grep generate_reports /etc/apt-cacher/apt-cacher.conf&lt;br /&gt;&lt;pre&gt;generate_reports=1&lt;/pre&gt;&lt;/blockquote&gt;So I started looking a little harder at the apt-cacher logs and the /usr/share/apt-cacher/apt-cacher-report.pl script that generates the reports, and noticed a problem. Here's what a line in my logfile looks like:&lt;br /&gt;&lt;br /&gt;# head -1 /var/log/apt-cacher/access.log&lt;br /&gt;Sun Feb  1 08:22:01 2009|15927|192.168.1.125|MISS||ppa.launchpad.net_network-manager_ubuntu_dists_intrepid_Release.gpg&lt;br /&gt;&lt;br /&gt;And here is the section of the apt-cacher/apt-cacher-report.pl script that parses it:&lt;br /&gt;&lt;br /&gt;      $req_date = $line[0];&lt;br /&gt;#       $req_ip   = $line[1];&lt;br /&gt;       $req_result = $line[2];&lt;br /&gt;       $req_bytes  = 0;&lt;br /&gt;       $req_bytes  = $line[3] if $line[3] =~ /^[0-9]+$/;&lt;br /&gt;#       $req_object = $line[4];&lt;br /&gt;&lt;br /&gt;If you don't understand PERl, basically there is a mismatch. The script is looking for the result (HIT or MISS) in the third column (column 2 starting from 0), but the IP address is there. It expects the number of bytes in column 4, but they are in column 2. So this would seem to be the problem, but why this discrepancy?&lt;br /&gt;&lt;br /&gt;Update: See a &lt;a href="http://v2kblog.blogspot.com/2009/03/fixing-apt-cache-reportpl.html"&gt;later post&lt;/a&gt; for the fix.&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;Current apt-cacher report output (made narrow to fit into blow):&lt;br /&gt;&lt;br /&gt;&lt;div style="width: 50%;"&gt;&lt;br /&gt;&lt;h2 align="center"&gt;summary&lt;/h2&gt; &lt;table align="center" bgcolor="#000000" border="0" cellpadding="3" cellspacing="1" width="600"&gt; &lt;tbody&gt;&lt;tr bgcolor="#9999cc"&gt;&lt;th bgcolor="#9999cc"&gt; Item &lt;/th&gt;&lt;th&gt; Value &lt;/th&gt;&lt;/tr&gt; &lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; Report generated &lt;/td&gt;&lt;td&gt; 2009-02-01 09:02:18 &lt;/td&gt;&lt;/tr&gt; &lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; Administrator &lt;/td&gt;&lt;td&gt; &lt;a href="mailto:root@localhost"&gt;root@localhost&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; First request &lt;/td&gt;&lt;td&gt; Thu Oct 30 22:01:39 2008 &lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; Last request &lt;/td&gt;&lt;td&gt; Sun Feb  1 08:22:05 2009 &lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; Total requests &lt;/td&gt;&lt;td&gt; 27678 &lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; Total traffic &lt;/td&gt;&lt;td&gt; 1980.17 MB &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h2 align="center"&gt;cache efficiency&lt;/h2&gt;  &lt;table align="center" bgcolor="#000000" border="0" cellpadding="3" cellspacing="1" width="600"&gt;&lt;tbody&gt;&lt;tr bgcolor="#9999cc"&gt;&lt;th&gt;&lt;br /&gt;&lt;/th&gt;&lt;th&gt;Cache hits&lt;/th&gt;&lt;th&gt;Cache misses&lt;/th&gt;&lt;th&gt;Total&lt;/th&gt;&lt;/tr&gt;  &lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; Requests &lt;/td&gt;&lt;td&gt;2569 (9.28%)&lt;/td&gt;&lt;td&gt;25109 (90.71%)&lt;/td&gt;&lt;td&gt;27678&lt;/td&gt;&lt;/tr&gt;  &lt;tr bgcolor="#cccccc"&gt;&lt;td bgcolor="#ccccff"&gt; Transfers &lt;/td&gt;&lt;td&gt;955.718 MB (48.26%)&lt;/td&gt;&lt;td&gt;1024.452 MB (51.73%)&lt;/td&gt;&lt;td&gt;1980.17 MB&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&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/1158065405652563750-5778543561416714183?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/5778543561416714183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=5778543561416714183' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/5778543561416714183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/5778543561416714183'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/02/apt-cacher-report-not-updating.html' title='apt-cacher report not updating'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-7379187350586787970</id><published>2009-01-31T14:30:00.005-05:00</published><updated>2009-01-31T14:47:13.015-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><title type='text'>Regenerating Apache SSL certificate for 10 years</title><content type='html'>I noticed the SSL certificate I had previously generated for Apache had expired, so I set about generating a new one. This time I wanted to generate a really long-lived (10 year) certificate so I didn't have to deal with this again in a year.&lt;br /&gt;&lt;br /&gt;I started by cleaning out the old certificate (you'll get an error later if you don't do this):&lt;br /&gt;&lt;blockquote&gt;# rm /etc/apache2/ssl/*&lt;br /&gt;&lt;/blockquote&gt;Now I edited the Openssl configuration file to bump the lifetime to 10 years (3650 days):&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# cp /usr/share/ssl-cert/ssleay.cnf /usr/share/ssl-cert/ssleay.cnf.orig&lt;br /&gt;# vi  /usr/share/ssl-cert/ssleay.cnf&lt;br /&gt;# diff -c /usr/share/ssl-cert/ssleay.cnf /usr/share/ssl-cert/ssleay.cnf.orig&lt;br /&gt;*** /usr/share/ssl-cert/ssleay.cnf    2009-01-31 13:37:24.000000000 -0600&lt;br /&gt;--- /usr/share/ssl-cert/ssleay.cnf.orig    2009-01-31 13:36:58.000000000 -0600&lt;br /&gt;***************&lt;br /&gt;*** 7,13 ****&lt;br /&gt;  [ req ]&lt;br /&gt;  default_bits            = 1024&lt;br /&gt;  default_keyfile         = privkey.pem&lt;br /&gt;- default_days            = 3650&lt;br /&gt;  distinguished_name      = req_distinguished_name&lt;br /&gt;  prompt                  = no&lt;br /&gt;  policy            = policy_anything&lt;br /&gt;--- 7,12 ----&lt;/blockquote&gt;Now I went ahead and generated the new certificate. The hostname was already filled in, so I just had to hit return at the only prompt.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem&lt;br /&gt;&lt;/blockquote&gt;Finally I took a peak at the generated certificate to make sure it had the 10 year lifetime. Looking at the "Not Before" and "Not After" fields in the output below shows the lifetime.&lt;br /&gt;&lt;blockquote&gt;# openssl x509 -noout -text -in /etc/apache2/ssl/apache.pem&lt;br /&gt;Certificate:&lt;br /&gt;    Data:&lt;br /&gt;        Version: 1 (0x0)&lt;br /&gt;        Serial Number:&lt;br /&gt;            9e:cd:82:bd:cb:03:19:d7&lt;br /&gt;        Signature Algorithm: sha1WithRSAEncryption&lt;br /&gt;        Issuer: CN=your.hostname.here&lt;br /&gt;        Validity&lt;br /&gt;            Not Before: Jan 31 19:37:42 2009 GMT&lt;br /&gt;            Not After : Jan 29 19:37:42 2019 GMT&lt;br /&gt;        Subject: CN=your.hostname.here&lt;br /&gt;        Subject Public Key Info:&lt;br /&gt;            Public Key Algorithm: rsaEncryption&lt;br /&gt;            RSA Public Key: (1024 bit)&lt;br /&gt;                Modulus (1024 bit):&lt;br /&gt;                    00:c5:5a:c0:c9:d0:d8:e7:d9:69:ac:04:74:13:4f:&lt;br /&gt;                    62:d5:7d:70:4f:47:60:a1:42:d7:26:6f:e1:ff:11:&lt;br /&gt;                    fc:94:e7:70:6c:48:b7:46:87:62:14:81:91:59:f2:&lt;br /&gt;                    43:d0:1c:76:5f:27:47:6a:f0:d6:e3:8d:2b:5f:9c:&lt;br /&gt;                    53:56:12:56:cc:a4:0e:62:2c:a5:16:0a:e6:72:11:&lt;br /&gt;                    a2:ea:89:a1:3c:82:9d:02:d8:01:4a:e3:25:b7:5f:&lt;br /&gt;                    47:4b:bc:7a:98:ba:57:f0:15:17:74:fd:e5:8d:6a:&lt;br /&gt;                    fd:cc:37:b2:a0:08:e8:a9:35:9b:2a:1a:9e:75:b1:&lt;br /&gt;                    7d:dd:69:a4:ca:87:a4:ac:33&lt;br /&gt;                Exponent: 65537 (0x10001)&lt;br /&gt;    Signature Algorithm: sha1WithRSAEncryption&lt;br /&gt;        1a:e9:96:fb:02:c5:86:fa:4d:3b:84:3e:fb:88:b9:db:00:fe:&lt;br /&gt;        a7:89:15:bb:a0:af:72:13:2f:d3:0e:a5:ff:59:00:cb:ca:67:&lt;br /&gt;        e6:6e:3c:24:92:9b:0d:2d:d5:46:77:7d:a3:7f:68:b3:7d:d7:&lt;br /&gt;        38:09:bb:48:e9:96:17:ba:02:e4:59:48:06:66:9a:ee:9b:bc:&lt;br /&gt;        64:6e:c9:ea:da:57:18:f7:bb:21:b1:61:38:1a:3a:31:4c:0f:&lt;br /&gt;        f0:b5:6c:05:8f:4b:30:76:bb:68:b0:f2:a7:8e:ae:07:c5:7e:&lt;br /&gt;        16:f5:86:78:4f:2a:b0:b7:fe:21:be:a9:79:ee:89:6d:07:4a:&lt;br /&gt;        68:a9&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-7379187350586787970?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/7379187350586787970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=7379187350586787970' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7379187350586787970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7379187350586787970'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/01/regenerating-apache-ssl-certificate-for.html' title='Regenerating Apache SSL certificate for 10 years'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-1486061798084792415</id><published>2009-01-31T14:14:00.003-05:00</published><updated>2009-01-31T14:26:09.294-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='upgrading'/><category scheme='http://www.blogger.com/atom/ns#' term='cron'/><title type='text'>Cron-apt and reboot needed...</title><content type='html'>I've noticed that when &lt;a href="http://v2kblog.blogspot.com/2008/10/auto-updates-under-mythbuntu.html"&gt;cron-apt&lt;/a&gt; upgrades the kernel and I don't get around to rebooting the system that day, it will keep "reinstalling" the new kernel each night it runs until I reboot the system.&lt;br /&gt;&lt;br /&gt;Not sure what to do about this at the moment. Guess it doesn't really hurt anything. Since there doesn't seem to be any way of automatically detecting if a reboot is needed, the only option would seem to be always reboot nightly.&lt;br /&gt;&lt;br /&gt;Going to think about this for a while. If anyone has any suggestions, please comment away.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-1486061798084792415?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/1486061798084792415/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=1486061798084792415' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/1486061798084792415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/1486061798084792415'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/01/cron-apt-and-reboot-needed.html' title='Cron-apt and reboot needed...'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-7333931727863012413</id><published>2009-01-31T14:01:00.003-05:00</published><updated>2009-01-31T14:08:23.401-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='upgrading'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><title type='text'>Kernel updates and VMWare</title><content type='html'>I've noticed every time my kernel is updated, I have to rerun '/usr/bin/vmware-config.pl' before VMWare will start. So far I've always been able to just take the default options.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-7333931727863012413?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/7333931727863012413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=7333931727863012413' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7333931727863012413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7333931727863012413'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/01/kernel-updates-and-vmware.html' title='Kernel updates and VMWare'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-4068342180027075335</id><published>2009-01-31T08:42:00.002-05:00</published><updated>2009-01-31T08:47:26.293-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mythtv'/><title type='text'>MythTV and disk management</title><content type='html'>Just a quick note that I've watched MythTV manage the disk space I've allocated it and it seems to do a good job without any help from me. &lt;a href="http://v2kblog.blogspot.com/2008/11/installing-logwatch.html"&gt;Logwatch&lt;/a&gt; sends me a daily email with the disk allocation, so I watch how MythTV handles things. I have &lt;a href="http://v2kblog.blogspot.com/2008/10/adding-more-space-for-mythtv.html"&gt;allocated two disks partitions to MythTV&lt;/a&gt;, and while they are constantly almost full (with logwatch giving me the warning you see below), MythTV deletes old stuff deletes old recordings before anything becomes a problem.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;--------------------- Disk Space Begin ------------------------&lt;br /&gt;&lt;br /&gt; Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;  ...&lt;br /&gt; /dev/sda6             183G  170G  3.0G  99% /mnt/data&lt;br /&gt; /dev/sdb3             220G  203G  6.6G  97% /mnt/data2&lt;br /&gt; &lt;br /&gt; /dev/sda6 =&gt; 99% Used. Warning. Disk Filling up.&lt;br /&gt; /dev/sdb3 =&gt; 97% Used. Warning. Disk Filling up.&lt;br /&gt;&lt;br /&gt; ---------------------- Disk Space End -------------------------&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-4068342180027075335?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/4068342180027075335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=4068342180027075335' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/4068342180027075335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/4068342180027075335'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/01/mythtv-and-disk-management.html' title='MythTV and disk management'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-3679340364327020747</id><published>2009-01-26T21:46:00.007-05:00</published><updated>2009-01-26T21:49:29.641-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='documentation'/><title type='text'>Ubuntu Pocket Guide Available as a Free Download</title><content type='html'>Via &lt;a href="http://lifehacker.com/5139752/ubuntu-pocket-guide-available-as-a-free-download"&gt;Lifehacker&lt;/a&gt;, the &lt;a href="http://www.ubuntupocketguide.com/"&gt;Ubuntu Pocket Guide and Reference&lt;/a&gt; is available for free as a PDF download (or you can buy it from Amazon for ~$10).&lt;br /&gt;&lt;br /&gt;I've given it a quick scan and it looks like a great little reference guide.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-3679340364327020747?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/3679340364327020747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=3679340364327020747' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/3679340364327020747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/3679340364327020747'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/01/ubuntu-pocket-guide-available-as-free.html' title='Ubuntu Pocket Guide Available as a Free Download'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8089538146509543335</id><published>2009-01-25T17:48:00.001-05:00</published><updated>2009-01-25T17:54:54.408-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><title type='text'>Cloning a Ubuntu VM</title><content type='html'>I haven't yet found a good set of directions on the net for cloning a Ubuntu VM. These directions are for cloning a 8.04 Ubuntu server VM (it happens to also be running in a Ubuntu server, but these should work for any linux server).&lt;br /&gt;&lt;br /&gt;These directions assume your VMs use static IP addresses and you want to clone an existing VM called "myvm" to a new VM called "mynewvm" with its own IP address.&lt;br /&gt;&lt;br /&gt;Make sure "myvm" has no snapshots, as this method won't work on a VM with snapshots (the disk rename step will fail).&lt;br /&gt;&lt;br /&gt;Also make sure you close the original VM in VMWare-Server or you may get file-locking problems.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ok, first change to the directory where the original VM is stored and copy the directory (this will take a few minutes):&lt;br /&gt;&lt;pre&gt;cd /usr/lib/Virtual Machines&lt;br /&gt;cp -ax myvm mynewvm&lt;/pre&gt;&lt;br /&gt;Now rename the disk:&lt;br /&gt;&lt;pre&gt;cd mynewvm&lt;br /&gt;/usr/bin/vmware-vdiskmanager -n myvm.vmdk mynewvm.vmdk&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now rename the configuration file and change the name of the VM in the file:&lt;br /&gt;&lt;pre&gt;mv myvm.vmx mynewvm.vmx&lt;br /&gt;sed -i "s/myvm/mynewvm/" mynewvm.vmx&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now in VM-Ware server, select "File" then "Open" and "Browse". Select the "mynewvm" directory and the "mynewvm.vmx" file in that directory. The new VM should appear in the Inventory list.&lt;br /&gt;&lt;br /&gt;Select the new VM and boot it. At this point it won't appear on the network. You'll need to log into the console as root and do the following:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;rm /etc/udev/rules.d/70-persistent-net.rules&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;At this point, you could reboot the VM and it will come back up with original IP and hostname, which will cause a conflict if the original VM is also on the network, so you might just want to go ahead and do the following while you're hear:&lt;br /&gt;&lt;br /&gt;Change the hostname by editing /etc/hostname.&lt;br /&gt;&lt;br /&gt;Then edit /etc/network/interfaces and change the 'address' line to reflect the new IP address you want the VM to have.&lt;br /&gt;&lt;br /&gt;Finally, etc /etc/hosts, change the line for '127.0.1.1' to reflect the new hostname and add (probably at the end of the file, but really where ever you want) a new line for the new hostname, e.g/:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;192.168.1.50  mynewvm&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;That should do it. Now just reboot the VM and it should come back up with the new IP and hostname.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8089538146509543335?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8089538146509543335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8089538146509543335' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8089538146509543335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8089538146509543335'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/01/cloning-ubuntu-vm.html' title='Cloning a Ubuntu VM'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-7796156127667217037</id><published>2009-01-19T10:35:00.001-05:00</published><updated>2009-01-25T13:11:07.052-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Installing Eclipse on 8.10 Desktop</title><content type='html'>Straight forward following &lt;a href="https://help.ubuntu.com/community/EclipseIDE#Ubuntu%208.04%20-%20Hardy%20Heron"&gt;these directions&lt;/a&gt;. I already had the OpenJDK Java Runtime installed. The Eclipse download took about 30 minutes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-7796156127667217037?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/7796156127667217037/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=7796156127667217037' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7796156127667217037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7796156127667217037'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/01/installing-eclipse-on-810-desktop.html' title='Installing Eclipse on 8.10 Desktop'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-1091803852058288840</id><published>2009-01-18T14:13:00.008-05:00</published><updated>2009-01-25T13:19:30.693-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='skype'/><category scheme='http://www.blogger.com/atom/ns#' term='headset'/><category scheme='http://www.blogger.com/atom/ns#' term='usb'/><title type='text'>Installing Skype on 8.10 Desktop and getting it to work with Logitech Headset</title><content type='html'>Installing Skype on a Ubuntu 8.10 desktop turns out to be a piece of cake, getting it to work with my Logitech USB Headset was a little harder.&lt;br /&gt;&lt;br /&gt;Installation of Skype was easy following &lt;a href="https://help.ubuntu.com/community/Skype"&gt;these directions&lt;/a&gt;. First, I edited /etc/apt/sources.list to include the Skype repository:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# vi /etc/apt/sources.list&lt;br /&gt;# tail -3 /etc/apt/sources.list&lt;br /&gt;# SKYPE&lt;br /&gt;deb http://download.skype.com/linux/repos/debian/ stable non-free&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Then I did the repository install and installed skype:&lt;br /&gt;&lt;pre&gt;# apt-get update&lt;br /&gt;# apt-get install skype&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;At this point Skype was installed and appeared under Applications -&gt; Internet -&gt; Skype&lt;br /&gt;&lt;br /&gt;But when I tried to make a call Skype reported "Problem with Audio Playback" and nothing worked.&lt;br /&gt;&lt;br /&gt;Long story short, &lt;a href="http://tips4nongeeks.blogspot.com/2009/01/skype-sound-problem-in-ubuntu.html"&gt;these directions&lt;/a&gt; finally worked for me, specifically, here are the devices I used:&lt;br /&gt;&lt;br /&gt;Sound in: Logitech USB Headset (pluhw:Headset,0)&lt;br /&gt;Sound out: Logitech USB Headset (hw:Headset,0)&lt;br /&gt;Ringing: Logitech USB Headset (hw:Headset,0)&lt;br /&gt;&lt;br /&gt;During the time I worked on this problem I restarted pulseaudio, I don't know if this helped or not, but I'll mention it just in case:&lt;br /&gt;&lt;pre&gt;# killall pulseaudio&lt;br /&gt;# /etc/init.d/pulseaudio start&lt;/pre&gt;&lt;br /&gt;Following is more details on things I saw and what didn't work.&lt;br /&gt;&lt;br /&gt;If I run System -&gt; Preferences -&gt; Sound, I see both ALSA and OSS versions of the Headset, but only the OSS version works (the ALSO version returns the following error when I try to test it: "audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Could not open audio device for playback.")&lt;br /&gt;&lt;br /&gt;Trying to record with Applications -&gt; Sound &amp; Video -&gt; Sound Recorder does not work.&lt;br /&gt;&lt;br /&gt;"alsamixer -c 1" showed Logitech USB Headset, but I couldn't get anything further to work.&lt;br /&gt;&lt;br /&gt;I tried &lt;a href="http://blog.rajatpandit.com/2008/11/15/skype-audio-playback-and-capture-problem-on-ubuntu-810/"&gt;these directions&lt;/a&gt; but I saw the same problem others did in that when I tried to remove pulseaudio, apt-get/aptitude wanted to remove ubuntu-desktop and I stopped there.&lt;br /&gt;&lt;br /&gt;Here is the output from a couple commands:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# cat /proc/asound/cards &lt;br /&gt; 0 [ICH6           ]: ICH4 - Intel ICH6&lt;br /&gt;                      Intel ICH6 with STAC9752,53 at irq 16&lt;br /&gt; 1 [Headset        ]: USB-Audio - Logitech USB Headset&lt;br /&gt;                      Logitech Logitech USB Headset at usb-0000:00:1d.3-2, full speed&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;# cat /proc/asound/devices&lt;br /&gt;  2:        : timer&lt;br /&gt;  3:        : sequencer&lt;br /&gt;  4: [ 0- 4]: digital audio playback&lt;br /&gt;  5: [ 0- 3]: digital audio capture&lt;br /&gt;  6: [ 0- 2]: digital audio capture&lt;br /&gt;  7: [ 0- 1]: digital audio capture&lt;br /&gt;  8: [ 0- 0]: digital audio playback&lt;br /&gt;  9: [ 0- 0]: digital audio capture&lt;br /&gt; 10: [ 0]   : control&lt;br /&gt; 11: [ 1- 0]: digital audio playback&lt;br /&gt; 12: [ 1- 0]: digital audio capture&lt;br /&gt; 13: [ 1]   : control&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-1091803852058288840?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/1091803852058288840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=1091803852058288840' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/1091803852058288840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/1091803852058288840'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/01/installing-skype-on-810-desktop-and.html' title='Installing Skype on 8.10 Desktop and getting it to work with Logitech Headset'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-3551995596289871179</id><published>2009-01-09T18:38:00.024-05:00</published><updated>2009-01-10T00:39:29.220-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tomato router'/><title type='text'>Installing a Tomato Router</title><content type='html'>This post is off the topic of Ubuntu and on the topic of networking that supports my Ubuntu systems, but I figure that's fair game (hey, it's my blog).&lt;br /&gt;&lt;br /&gt;I have gotten really frustrated with the reliability of my existing wireless access points (a Airport express and a Linksys WAP54G). Both would fail regularly, requiring a power cycle to make them functional again.&lt;br /&gt;&lt;br /&gt;So, as a big open source advocate, I thought I'd give &lt;a href="http://www.polarcloud.com/tomato"&gt;Tomato&lt;/a&gt; a try. I followed  &lt;a href="http://lifehacker.com/344765/turn-your-60-router-into-a-user+friendly-super+router-with-tomato"&gt;these directions at Lifehacker&lt;/a&gt;. For a router I ordered a &lt;a href="http://www.amazon.com/gp/product/B000BTL0OA"&gt;Linksys-Cisco WRT54GL&lt;/a&gt; (chosen from the &lt;a href="http://en.wikibooks.org/wiki/Tomato_Firmware#Supported_devices"&gt;list of Tomato-supported devices&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;At this point, let me jump ahead here and give you a heads up. I was not able to use Firefox from my Ubuntu box to upgrade the firmware (or do much of anything) on the WRT54GL. Anytime I tried to apply a change on any of its web pages, I got a "Connection Interrupted" error. I turned to google and found &lt;a href="http://www.dd-wrt.com/phpBB2/viewtopic.php?p=207307&amp;sid=fd3249a4c53d3aca76f242d6dd30bf9f"&gt;other people who had encountered this problem&lt;/a&gt;. Like them I had to use Konqueror to do the firmware installation. Konqueror was installed on my Ubuntu system easily enough: &lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# apt-get install konqueror&lt;/blockquote&gt;&lt;br /&gt;The other thing to do before you start is make sure you know all the configuration details of your current router as you might need them to configure the new router. In my case, my ISP (Comcast) required the WAN port have a specific MAC address. I suggest you just print the administration screens for reference.&lt;br /&gt;&lt;br /&gt;I downloaded the latest version of the &lt;a href="http://www.polarcloud.com/tomato"&gt;Tomato Firmware&lt;/a&gt; (Version 1_23.7). I followed &lt;a href="http://www.computer-faqs.com/tag/7-zip/"&gt;these directions&lt;/a&gt; to install 7Zip to unpack this archive (it looks like there is now also a .zip version if you want to skip this step):&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# apt-get install p7zip-full&lt;/blockquote&gt;&lt;br /&gt;And then I unpacked the archive:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;% 7z e Tomato_1_23.7z&lt;br /&gt;7-Zip  4.58 beta  Copyright (c) 1999-2008 Igor Pavlov  2008-05-05&lt;br /&gt;p7zip Version 4.58 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)&lt;br /&gt;&lt;br /&gt;Processing archive: Tomato_1_23.7z&lt;br /&gt;&lt;br /&gt;Extracting  whr_install.bat&lt;br /&gt;Extracting  WR850G.bin&lt;br /&gt;Extracting  WRT54GS.bin&lt;br /&gt;Extracting  WRT54GSv4.bin&lt;br /&gt;Extracting  WRT54G_WRT54GL.bin&lt;br /&gt;Extracting  WRTSL54GS.bin&lt;br /&gt;Extracting  readme.htm&lt;br /&gt;Extracting  tomato.trx&lt;br /&gt;&lt;br /&gt;Everything is Ok&lt;br /&gt;&lt;br /&gt;Files: 8&lt;br /&gt;Size:       16854823&lt;br /&gt;Compressed: 2844464&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Now I was ready to upgrade the router to the Tomato firmware. Before I started I plugged my laptop into wired network and disabled wireless (right-click on network applet and de-selected "Enable wireless").&lt;br /&gt;&lt;br /&gt;Then I disconnected my old NAT router and put the WRT54GL in it's place. Your network will go away at this point but you should still be able to connect to the router by entering http://192.168.1.1 into your browser.&lt;br /&gt;&lt;br /&gt;Even though my router was fresh out of the box, I went ahead and reset it to make sure. I fired up Konqueror (Firefox won't work for this...) and connected to the router at http://192.168.1.1 (by default the username is blank and the password is "admin").&lt;br /&gt;&lt;br /&gt;Then under "Administration"/"Factory Default" I selected "Yes" and "Apply" to reset all the settings. Then I did a hard reset by holding the reset button on the back of the router for 30 seconds.&lt;br /&gt;&lt;br /&gt;Ok, now I was ready to upgrade. I connected back to the router and selected "Administration"/"Firmware Update". I selected the file "WRT54G_WRT54GL.bin" from the upacked Tomato archive (see readme.htm from the Tomato archive if you have a different router) and started the upgrade. It took about two minutes to complete.&lt;br /&gt;&lt;br /&gt;Now I logged into my brand new Tomato router. I pointed my web browser (you can change back to Firefox now) at http://192.168.1.1 and logged in using the username "admin" and password "admin" and I was in.&lt;br /&gt;&lt;br /&gt;First things I did were the following:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Under "Administration" I set a new password (and I do strongly suggest you do this first).&lt;/li&gt;&lt;li&gt;I wasn't getting an IP address on the WAN side. I had to set my WAN MAC address to what my old router had been. I did that under "Advanced"/"MAC Address" by setting the value of "WAN Port". After applying that, I now had Internet connectivity on my wired connection.&lt;/li&gt;&lt;li&gt;Now, under "Basic"/"Network" I set the wireless SSID and Security (WPA2 Personal and shared key, aka password). After that was applied I disconnected my laptop's wired connection and was able to connect to the Internet through my wireless. Success!&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;The only other thing I did was under "Basic"/"Network" I set the Static DNS servers to those of &lt;a href="http://www.opendns.org"&gt;OpenDNS&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I'll report back after a while on how the new router is doing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-3551995596289871179?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/3551995596289871179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=3551995596289871179' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/3551995596289871179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/3551995596289871179'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/01/installing-tomato-router.html' title='Installing a Tomato Router'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6587479543049237521</id><published>2009-01-02T21:30:00.000-05:00</published><updated>2009-01-02T21:44:52.126-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hang'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><title type='text'>My Mythbuntu box hung and host clock rate change requests again...</title><content type='html'>I went to remotely log into my mythbuntu box today and found it was hung....&lt;br /&gt;&lt;br /&gt;A quick power cycle and it came back up, now to poke around the log and figure out why...&lt;br /&gt;&lt;br /&gt;Last message in kern.log and syslog wasn't very useful:&lt;br /&gt;&lt;blockquote&gt;Dec 31 13:14:54 casey kernel: [2612801.476210] [3224]: host clock rate change request 36 -&gt; 26&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Hmmm, besides the fact my log files are filled with host clock rate change requests, which &lt;a href="http://v2kblog.blogspot.com/2008/09/devvmon-host-clock-rate-change-request.html"&gt;I've seen before&lt;/a&gt;, no clue as to why the system was hung.&lt;br /&gt;&lt;br /&gt;Anyway, to fix the host clock rate change message, I checked /etc/vmware/config and yep, "host.useFastClock = FALSE" was missing. So I re-added it and restarted vmware ('/etc/init.d/vmware restart').&lt;br /&gt;&lt;br /&gt;I still have no idea what caused the box to hang though.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6587479543049237521?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6587479543049237521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6587479543049237521' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6587479543049237521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6587479543049237521'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2009/01/my-mythbuntu-box-hung-and-host-clock.html' title='My Mythbuntu box hung and host clock rate change requests again...'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8598353319178930657</id><published>2008-12-13T09:15:00.002-05:00</published><updated>2008-12-13T09:44:47.971-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><category scheme='http://www.blogger.com/atom/ns#' term='usb'/><title type='text'>USB devices not appearing in VMs</title><content type='html'>Hmmm, I went to use a USB device in my Win XP win and it wasn't showing up (Under VM/Removable Devices/USB Devices). This sure seems familiar but I can't find a blog post about it. A quick google turned up &lt;a href="http://ubuntuforums.org/showpost.php?p=3857344&amp;postcount=4"&gt;this hint&lt;/a&gt; which I really remember doing before. In fact I have a /etc/init.d/mountdevsubfs.sh.dpkg.old file with the changes applied, so I know I did. &lt;br /&gt;&lt;br /&gt;However when I re-applied those changes I got an error running the script (see end of post).&lt;br /&gt;&lt;br /&gt;Poking around a little more I found &lt;a href="http://ubuntuforums.org/showpost.php?p=3790191&amp;postcount=3"&gt;this advice&lt;/a&gt; which seemed cleaner, except it was a little flawed, when I tried adding the line as given to /etc/fstab, it didn't help and I noticed that if I actually tried to invoke the line, I got the following error:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# mount /proc/bus/usb&lt;br /&gt;[mntent]: line 10 in /etc/fstab is bad&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The "usbfs" on the begining seemed wrong to me, so I dropped that, resulting in the following line:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;/dev/bus/usb /proc/bus/usb usbfs auto 0 0&lt;/pre&gt;&lt;br /&gt;Then I restarted VMWare ("/etc/init.d/vmware restart") and my USB devices appeared!&lt;br /&gt;&lt;br /&gt;&lt;hr&gt;Changes I made to /etc/init.d/mountdevsubfs.sh:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# diff -c mountdevsubfs.sh.orig mountdevsubfs.sh&lt;br /&gt;*** mountdevsubfs.sh.orig 2008-12-13 08:19:38.000000000 -0600&lt;br /&gt;--- mountdevsubfs.sh 2008-12-13 08:20:25.000000000 -0600&lt;br /&gt;***************&lt;br /&gt;*** 39,44 ****&lt;br /&gt;--- 39,51 ----&lt;br /&gt;   # Mount /dev/pts. Master ptmx node is already created by udev.&lt;br /&gt;   #&lt;br /&gt;          domount devpts "" /dev/pts devpts -onoexec,nosuid,gid=$TTYGRP,mode=$TTYMODE&lt;br /&gt;+  #&lt;br /&gt;+  # Magic to make /proc/bus/usb work so USB devices appear in VMWare&lt;br /&gt;+  #&lt;br /&gt;+  mkdir -p /dev/bus/usb/.usbfs&lt;br /&gt;+  domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644&lt;br /&gt;+  ln -s .usbfs/devices /dev/bus/usb/devices&lt;br /&gt;+  mount --rbind /dev/bus/usb /proc/bus/usb&lt;br /&gt;  }&lt;br /&gt;  &lt;br /&gt;  case "$1" in&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Error from I got from those changes:&lt;br /&gt;&lt;pre&gt;# /etc/init.d/mountdevsubfs.sh start&lt;br /&gt;Usage: mount -V                 : print version&lt;br /&gt;       mount -h                 : print this help&lt;br /&gt;       mount                    : list mounted filesystems&lt;br /&gt;       mount -l                 : idem, including volume labels&lt;br /&gt;So far the informational part. Next the mounting.&lt;br /&gt;The command is `mount [-t fstype] something somewhere'.&lt;br /&gt;Details found in /etc/fstab may be omitted.&lt;br /&gt;       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab&lt;br /&gt;       mount device             : mount device at the known place&lt;br /&gt;       mount directory          : mount known device here&lt;br /&gt;       mount -t type dev dir    : ordinary mount command&lt;br /&gt;Note that one does not really mount a device, one mounts&lt;br /&gt;a filesystem (of the given type) found on the device.&lt;br /&gt;One can also mount an already visible directory tree elsewhere:&lt;br /&gt;       mount --bind olddir newdir&lt;br /&gt;or move a subtree:&lt;br /&gt;       mount --move olddir newdir&lt;br /&gt;One can change the type of mount containing the directory dir:&lt;br /&gt;       mount --make-shared dir&lt;br /&gt;       mount --make-slave dir&lt;br /&gt;       mount --make-private dir&lt;br /&gt;       mount --make-unbindable dir&lt;br /&gt;One can change the type of all the mounts in a mount subtree&lt;br /&gt;containing the directory dir:&lt;br /&gt;       mount --make-rshared dir&lt;br /&gt;       mount --make-rslave dir&lt;br /&gt;       mount --make-rprivate dir&lt;br /&gt;       mount --make-runbindable dir&lt;br /&gt;A device can be given by name, say /dev/hda1 or /dev/cdrom,&lt;br /&gt;or by label, using  -L label  or by uuid, using  -U uuid .&lt;br /&gt;Other options: [-nfFrsvw] [-o options] [-p passwdfd].&lt;br /&gt;For many more details, say  man 8 mount .&lt;br /&gt;ln: creating symbolic link `/dev/bus/usb/devices': File exists&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8598353319178930657?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8598353319178930657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8598353319178930657' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8598353319178930657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8598353319178930657'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/12/usb-devices-not-appearing-in-vms.html' title='USB devices not appearing in VMs'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-7145478848476627250</id><published>2008-11-20T22:36:00.002-05:00</published><updated>2009-01-10T15:01:00.828-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='logwatch'/><title type='text'>Installing logwatch</title><content type='html'>I recently installed &lt;a href="http://www.logwatch.org/"&gt;logwatch&lt;/a&gt; on all of my systems using &lt;a href="http://ubuntu-tutorials.com/2008/11/13/monitor-system-logs-with-logwatch/"&gt;these directions&lt;/a&gt;. Basically I just ran the following on reach system:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# aptitude install logwatch&lt;/blockquote&gt;&lt;br /&gt;Since I already had email to root forwarded to me, no other configuration was necessary. Now I get a nice daily email summary from each system.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-7145478848476627250?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/7145478848476627250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=7145478848476627250' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7145478848476627250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7145478848476627250'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/11/installing-logwatch.html' title='Installing logwatch'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-3780255383075029395</id><published>2008-11-03T21:45:00.005-05:00</published><updated>2008-11-16T14:41:56.107-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><category scheme='http://www.blogger.com/atom/ns#' term='8.10'/><title type='text'>NameVirtualHost *:80 has no VirtualHosts</title><content type='html'>After upgrading to 8.10 I saw the following error on an Apache reload:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# apache2ctl restart&lt;br /&gt;[Sun Nov 16 13:36:23 2008] [warn] NameVirtualHost *:80 has no VirtualHosts&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Updated Nov 16, 2008:&lt;/b&gt; My first solution (below) didn't work, correct solution now immediately follows...&lt;br /&gt;&lt;br /&gt;Looks like the problem was I had to NameVirtualHost statements, one in /etc/apache2/ports.conf and one in /etc/apache2/sites-enabled/000-default.&lt;br /&gt;&lt;br /&gt;To fix the problem, I simply commented on the declaration in /etc/apache2/ports.conf:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;grep NameVirtualHost /etc/apache2/ports.conf &lt;br /&gt;#NameVirtualHost *:80&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Old solution I posted, that turned out, did not work.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To fix this, I added a ServerName directive, as follows:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&amp;lt;virtualhost *:80&amp;gt;&lt;br /&gt;    ServerName hostname&lt;br /&gt;    ServerAdmin webmaster@localhost&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-3780255383075029395?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/3780255383075029395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=3780255383075029395' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/3780255383075029395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/3780255383075029395'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/11/namevirtualhost-80-has-no-virtualhosts.html' title='NameVirtualHost *:80 has no VirtualHosts'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-2442153760290725055</id><published>2008-11-02T09:54:00.011-05:00</published><updated>2008-11-02T10:48:09.799-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='upgrading'/><category scheme='http://www.blogger.com/atom/ns#' term='networking'/><category scheme='http://www.blogger.com/atom/ns#' term='8.10'/><title type='text'>Upgrading my laptop to Ubuntu 8.10 - network manager applet woes!</title><content type='html'>After &lt;a href="http://v2kblog.blogspot.com/2008/11/upgrading-to-ubuntu-810.html"&gt;upgrading my Ubuntu servers to 8.10&lt;/a&gt;, I turned my attention to my Ubuntu laptop running Ubuntu desktop. I used the &lt;a href="http://www.ubuntu.com/getubuntu/upgrading#Network%20Upgrade%20for%20Ubuntu%20Desktops%20%28Recommended%29"&gt;Network Upgrade for Ubuntu Desktops&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The upgrade went smoothly, though it took a few hours (much longer than the server upgrades) and seemed to go in spurts (perhaps because of apt-cacher?). I did get one pop-up message I noted for later:&lt;br /&gt;&lt;blockquote&gt;Third party sources disabled&lt;br /&gt;&lt;br /&gt;Some third party entries in your sources.list were disabled. You can re-enable them after the upgrade with the 'software-properties' tool or your package manager.&lt;/blockquote&gt;&lt;br /&gt;I installed new versions of:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;/etc/init.d/mountdevsubfs.sh&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Files I kept:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;/etc/services&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;55 obsolete packages were removed.&lt;br /&gt;&lt;br /&gt;Afterwards, I rebooted and the fun began as the system couldn't connect to my wireless network. First thing I noticed was the following message in /var/log/messages:&lt;br /&gt;&lt;blockquote&gt;Nov  1 16:31:32 von-laptop kernel: [  470.051333] input: b43-phy0 as /devices/virtual/input/input14&lt;br /&gt;Nov  1 16:31:32 von-laptop kernel: [  470.256065] b43-phy0: Loading firmware version 351.126 (2006-07-29 05:54:02)&lt;br /&gt;Nov  1 16:31:32 von-laptop kernel: [  470.256080] b43-phy0 warning: You are using an old firmware image. Support for old firmware will be removed in July 2008.&lt;br /&gt;Nov  1 16:31:32 von-laptop kernel: [  470.256085] b43-phy0 warning: You must go to http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and download the latest firmware (version 4).&lt;/blockquote&gt;&lt;br /&gt;Following &lt;a href="http://linuxwireless.org/en/users/Drivers/b43#devicefirmware"&gt;the directions pointed to by the log message&lt;/a&gt; I ran the following command which installed new wireless drivers.&lt;br /&gt;&lt;blockquote&gt;# /usr/share/b43-fwcutter/install_bcm43xx_firmware.sh&lt;/blockquote&gt;&lt;br /&gt;I rebooted and the driver message disappeared, but didn't fix the original problem and I still wasn't getting on the network.&lt;br /&gt;&lt;br /&gt;So, next I connected to my wired network. Or at least I tried. Evening after plugging into my cat5 ethernet, I still wasn't getting a network connection. Very weird.&lt;br /&gt;&lt;br /&gt;After poking around some I realized that the system was actually connecting to the wireless network, it's just that it wasn't getting an IP addresss via DHCP correctly. If I ran 'dhclient' manually, I got on the network just fine. Only problem was every few minutes the network manager tried to reconnect me, so I had to kill it ('killall nm-applet') to stay connected.&lt;br /&gt;&lt;br /&gt;Next I tried upgrading to the latest network manager (as &lt;a href="http://v2kblog.blogspot.com/2008/10/wpa-on-dell-inspiron-6000-no-luck.html"&gt;I did previously&lt;/a&gt;). I added the following lines to /etc/apt/sources.list. Note these are the same lines I had before that the upgrade commented out, but with "hardy" changed to "intrepid".&lt;br /&gt;&lt;blockquote&gt;deb http://ppa.launchpad.net/network-manager/ubuntu intrepid main&lt;br /&gt;deb-src http://ppa.launchpad.net/network-manager/ubuntu intrepid main&lt;/blockquote&gt;&lt;br /&gt;And upgraded via apt-get:&lt;br /&gt;&lt;blockquote&gt;# apt-get update&lt;br /&gt;# apt-get upgrade&lt;/blockquote&gt;&lt;br /&gt;Which installed new versions of libnm-glib0, libnm-util0, and network-manager. And then I rebooted... and my network came back up!&lt;br /&gt;&lt;br /&gt;Ok, lesson learned is apparently I need to be prepared to keep up to date with the network manager applet separately.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update:&lt;/b&gt; One annoyance still remaining, my firefox is all messed up. Google toolbar and all my other extension buttons are gone. To get them back I had to disable the "Ubuntu Firefox Modifications" and then I was able to restore everything.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-2442153760290725055?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/2442153760290725055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=2442153760290725055' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2442153760290725055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2442153760290725055'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/11/upgrading-my-laptop-to-ubuntu-810.html' title='Upgrading my laptop to Ubuntu 8.10 - network manager applet woes!'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6204504163688481887</id><published>2008-11-01T11:00:00.000-05:00</published><updated>2008-11-02T11:59:49.751-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><category scheme='http://www.blogger.com/atom/ns#' term='8.10'/><title type='text'>Getting VMWare back up and running under 8.10</title><content type='html'>After &lt;a href="http://v2kblog.blogspot.com/2008/11/upgrading-to-ubuntu-810.html"&gt;upgrading to 8.10&lt;/a&gt; VMWare wasn't working. I started by following &lt;a href="http://ubuntu-tutorials.com/2008/11/01/vmware-server-107-on-ubuntu-810-intrepid-2627-7-generic/"&gt;these directions&lt;/a&gt; to install VMWare server.&lt;br /&gt;&lt;br /&gt;Following that, I upgraded vmware-tools on each vm using &lt;a href="http://ubuntu-tutorials.com/2008/06/07/how-to-install-vmware-tools-on-ubuntu-804-guests/"&gt;these directions&lt;/a&gt; (I couldn't find any explicitly for 8.10).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note&lt;/b&gt; that you'll want to do this from the console, as you'll lose networking during the process.&lt;br /&gt;&lt;br /&gt;I ran into the following problem at one point:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Error: Unable to execute "/usr/bin/vmware-uninstall-tools.pl.&lt;/blockquote&gt;&lt;br /&gt;Following &lt;a href="http://software.groupbrowser.com/t34902.html"&gt;the advice in this thread&lt;/a&gt;, I ran vmware-tools-distrib/bin/vmware-uninstall-tools.pl and though it returned a few errors itself, it cleared up the problem.&lt;br /&gt;&lt;br /&gt;Things seemed to work OK, except the vmhgfs and vmxnet drivers both failed to build. I don't care about vmhgfs since I don't use shared folders, but vmxnet (the "fast network interface") sure sounds handy. So I hope to come back to this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6204504163688481887?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6204504163688481887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6204504163688481887' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6204504163688481887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6204504163688481887'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/11/getting-vmware-back-up-and-running.html' title='Getting VMWare back up and running under 8.10'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8874840469883305440</id><published>2008-11-01T09:49:00.027-05:00</published><updated>2008-11-02T09:57:42.926-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='upgrading'/><category scheme='http://www.blogger.com/atom/ns#' term='8.10'/><title type='text'>Upgrading to Ubuntu 8.10</title><content type='html'>Ok, upgrading from 8.04 to 8.10. I started with my servers and followed the directions at &lt;a href="http://www.ubuntu.com/getubuntu/upgrading#Network%20Upgrade%20for%20Ubuntu%20Servers%20(Recommended)"&gt;Network Upgrade for Ubuntu Servers&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;update-manager-core was already installed. I edited /etc/update-manager/release-upgrades and set "Prompt=normal", changing from "lts".&lt;br /&gt;&lt;br /&gt;Then I tried running 'do-release-upgrade' and ran into my first problem:&lt;br /&gt;&lt;blockquote&gt;# do-release-upgrade&lt;br /&gt;Checking for a new ubuntu release&lt;br /&gt;Failed Upgrade tool signature&lt;br /&gt;Done Upgrade tool&lt;br /&gt;Done downloading            &lt;br /&gt;extracting 'intrepid.tar.gz'&lt;br /&gt;authenticate 'intrepid.tar.gz' against 'intrepid.tar.gz.gpg' &lt;br /&gt;exception from gpg: GnuPG exited non-zero, with code 131072&lt;br /&gt;Debug information: &lt;br /&gt;&lt;br /&gt;gpg: WARNING: unsafe permissions on homedir `/tmp/tmpc88EwD'&lt;br /&gt;&lt;br /&gt;gpg: can't open `/tmp/tmpc88EwD/intrepid.tar.gz.gpg'&lt;br /&gt;gpg: verify signatures failed: file open error&lt;br /&gt;&lt;br /&gt;Authentication failed&lt;br /&gt;Authenticating the upgrade failed. There may be a problem with the network or with the server. &lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;I suspected this has something to do with my &lt;a href="http://v2kblog.blogspot.com/2008/10/installing-apt-cacher.html"&gt;use of apt-cacher&lt;/a&gt;. Poking around the net I found &lt;a href="https://bugs.launchpad.net/ubuntu/intrepid/+source/apt-cacher/+bug/156070"&gt;this bug&lt;/a&gt; which backed that up and provided a &lt;a href="http://launchpadlibrarian.net/17293360/apt-cacher.patch"&gt;patch to apt-cacher&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Back on my caching system, I did the following to apply the patch:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# cp /usr/sbin/apt-cacher /usr/sbin/apt-cacher.orig&lt;br /&gt;# vi /usr/sbin/apt-cacher&lt;br /&gt;# diff /usr/sbin/apt-cacher.orig /usr/sbin/apt-cacher&lt;br /&gt;&lt;pre&gt;111c111,112&lt;br /&gt;&lt;                  'Translation-.+\.bz2'&lt;br /&gt;---&lt;br /&gt;&gt;                  'Translation-.+\.bz2',&lt;br /&gt;&gt;                    '[:alpha:]*\.tar\.gz\.gpg$'&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;And then I had to restart apt-cacher:&lt;br /&gt;&lt;blockquote&gt;# /etc/init.d/apt-cacher restart&lt;br /&gt;Restarting Apt-Cacher: apt-cacher.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Then back on my upgrading system, I ran 'do-release-upgrade' again and it worked fine.&lt;br /&gt;&lt;br /&gt;On various systems, I installed the new version of:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;/etc/dhcp3/dhclient.conf&lt;/li&gt;&lt;li&gt;/etc/apt/apt.conf.d/01ubuntu&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;I kept my versions of the following files:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;/etc/apache2/apache2.conf&lt;/li&gt;&lt;li&gt;/etc/apache2/sites-available/default&lt;/li&gt;&lt;li&gt;/etc/php5/apache2/php.ini&lt;/li&gt;&lt;li&gt;/etc/smb.conf&lt;/li&gt;&lt;li&gt;/etc/services&lt;/li&gt;&lt;li&gt;/etc/smb.conf&lt;/li&gt;&lt;li&gt;/etc/apt-cacher/apt-cacher.conf&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;I removed 19-20 obsolete packages and then answered "y" to reboot at the end. When the system came back up, all looked good:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$ cat /etc/lsb-release&lt;br /&gt;DISTRIB_ID=Ubuntu&lt;br /&gt;DISTRIB_RELEASE=8.10&lt;br /&gt;DISTRIB_CODENAME=intrepid&lt;br /&gt;DISTRIB_DESCRIPTION="Ubuntu 8.10"&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;For my mythbuntu box&lt;/b&gt;, I followed the same network upgrade procedure as above. 54 obsolete packages were removed.&lt;br /&gt;&lt;br /&gt;Still to go is getting VMWare back up and working and upgrading my Ubuntu laptop. Those will follow in separate posts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8874840469883305440?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8874840469883305440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8874840469883305440' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8874840469883305440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8874840469883305440'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/11/upgrading-to-ubuntu-810.html' title='Upgrading to Ubuntu 8.10'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-7966751270838361284</id><published>2008-10-30T21:38:00.007-05:00</published><updated>2008-11-02T10:56:17.652-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apt-cacher'/><title type='text'>Installing apt-cacher</title><content type='html'>In preparation for upgrading to 8.10 I decided to &lt;a href="http://www.debuntu.org/how-to-set-up-a-repository-cache-with-apt-cacher"&gt;install a apt-cacher&lt;/a&gt; on my home network. Basically I followed the directions at the link in the prior sentence with some tweaks as described below.&lt;br /&gt;&lt;br /&gt;First, install:&lt;br /&gt;&lt;blockquote&gt;# apt-get install apt-cacher&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Then configure the deamon to always be on by editing /etc/default/apt-cacher and changing AUTOSTART=0 to AUTOSTART=1:&lt;br /&gt;&lt;blockquote&gt;vi /etc/default/apt-cacher&lt;/blockquote&gt;&lt;br /&gt;Then I edited /etc/apt-cacher/apt-cacher.conf to restrict access to my local network. I also added the path_map directive, though I'm pretty sure I'm not using it right now.&lt;br /&gt;&lt;blockquote&gt;# cd /etc/apt-cacher&lt;br /&gt;# cp apt-cacher.conf apt-cacher.conf.orig&lt;br /&gt;# diff apt-cacher.conf.orig apt-cacher.conf&lt;br /&gt;40c40&lt;br /&gt;&lt; allowed_hosts=*---&gt; allowed_hosts=192.168.1.0/24, 127.0.1.1&lt;br /&gt;141a142,143&lt;br /&gt;&gt; path_map = debuntu repository.debuntu.org ; ubuntu archive.ubuntu.com/ubuntu; ubuntu-updates archive.ubuntu.com/ubuntu ; ubuntu-security security.ubuntu.com/ubuntu&lt;br /&gt;&gt; &lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Ok, first addition to the directions here. Later when the anacron job /etc/cron.daily/apt-cacher ran, I got the following errors:&lt;br /&gt;&lt;blockquote&gt;Use of uninitialized value in concatenation (.) or string at /usr/share/apt-cacher//apt-cacher-lib.pl line 169, &lt;$listpipe&gt; line 244.&lt;br /&gt;Use of uninitialized value in concatenation (.) or string at /usr/share/apt-cacher//apt-cacher-lib.pl line 169, &lt;$listpipe&gt; line 245.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;I found this &lt;a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478122"&gt;bug report&lt;/a&gt; describing the error. Following the report, I edited /usr/share/apt-cacher/apt-cacher-lib.pl as described in the bug report.&lt;br /&gt;&lt;br /&gt;Ok, now you are ready to fire up apt-cacher. The missing log messages happen the first time and then went away.&lt;br /&gt;&lt;blockquote&gt;# /etc/init.d/apt-cacher restart&lt;br /&gt;Restarting Apt-Cacher: apt-cacherWarning: /var/log/apt-cacher/access.log missing. Creating.&lt;br /&gt;Warning: /var/log/apt-cacher/error.log missing. Creating.&lt;br /&gt;.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;At this point you should be able to point your web broser at http://cache-host:3142/ (replace "cache-host" with the actual IP or hostname of your host) and see the apt-cacher status page. You can also visit http://cache-host:3142/report/ to get a report of how well your cacher is doing, though it won't have any interesting content until it's been running for a day.&lt;br /&gt;&lt;br /&gt;Then I imported existing package from /var/cache/apt/archives/ to apt-cacher repository:&lt;br /&gt;&lt;blockquote&gt;# /usr/share/apt-cacher/apt-cacher-import.pl /var/cache/apt/archives&lt;/blockquote&gt;&lt;br /&gt;Ok, now to configure the client systems, including the system on which apt-cacher is running, I followed the advice from &lt;a href="http://www.debuntu.org/how-to-set-up-a-repository-cache-with-apt-cacher-p2#comment-324"&gt;EWB's comment&lt;/a&gt; and created /etc/apt/apt.conf.d/90local-proxy on each system (again, replace cache-host with your actual IP address or hostname):&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# vi /etc/apt/apt.conf.d/90local-proxy&lt;br /&gt;# cat /etc/apt/apt.conf.d/90local-proxy &lt;br /&gt;Acquire::http::Proxy "http://cache-host:3142";&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Now you can do a apt-get update. Expect this to take a while the first time you run it.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# apt-get update&lt;/blockquote&gt;&lt;br /&gt;That's it. Just sit back and enjoy the caching.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update:&lt;/b&gt; After upgrading 5 systems (1 server, 3 VMs and my laptop) to 8.10 using the cacher, here the stats from the report for the day showed it saved me 48% of my apt-get traffic (956MB out of 1980MB).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-7966751270838361284?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/7966751270838361284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=7966751270838361284' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7966751270838361284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7966751270838361284'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/10/installing-apt-cacher.html' title='Installing apt-cacher'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-5906873633921205866</id><published>2008-10-27T22:26:00.005-05:00</published><updated>2008-10-28T11:31:32.104-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wpa'/><category scheme='http://www.blogger.com/atom/ns#' term='wireless'/><title type='text'>WPA on Dell Inspiron 6000: No luck</title><content type='html'>My other system is a Dell Inspiron 6000 laptop on which I also have Ubuntu 8.04 running. I tried moving my wireless to WPA today and had no luck getting the laptop working. Every time I entered the WPA passphrase, it would try to connect for 10 seconds and then prompt for the passphrase again.&lt;br /&gt;&lt;br /&gt;I tried &lt;a href="http://www.debianadmin.com/enable-wpa-wireless-access-point-in-ubuntu-linux.html"&gt;these directions&lt;/a&gt; to no avail.&lt;br /&gt;&lt;br /&gt;I tried following the directions &lt;a href="http://ph.ubuntuforums.com/showthread.php?t=888540"&gt;here&lt;/a&gt; and installing the latest and greatest network manager, but to no avail.&lt;br /&gt;&lt;br /&gt;I tried disabling the Gnome Network Manager and following &lt;a href="http://ubuntuforums.org/showthread.php?t=318539"&gt;these directions&lt;/a&gt;, but no luck either.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.youtube.com/watch?v=Hp3y96ayzY4"&gt;This guy&lt;/a&gt; apparently just thinks I'm an idiot.&lt;br /&gt;&lt;br /&gt;Anyone got WPA working on a Dell Inspiron 6000 with Ubuntu 8.04? Getting wireless working was a snap, but WPA is eluding me so far...&lt;br /&gt;&lt;br /&gt;In case it maters, I have d a Broadcom BCM4318:&lt;br /&gt;&lt;blockquote&gt;% lspci | grep Wireless&lt;br /&gt;03:03.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Update:&lt;/b&gt; Well the youtube guy was right, I'm an idiot :-) Turns out I must have had a cut'n'paste error when I set the password on my WPA network, so it worked from the machine I set it on (pasted the same password), but somehow I transcribed it wrong into my KeePass database. Once I got the right password, things work fine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-5906873633921205866?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/5906873633921205866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=5906873633921205866' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/5906873633921205866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/5906873633921205866'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/10/wpa-on-dell-inspiron-6000-no-luck.html' title='WPA on Dell Inspiron 6000: No luck'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-2535266301325225105</id><published>2008-10-25T09:32:00.009-04:00</published><updated>2009-01-10T14:52:41.392-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dpms'/><category scheme='http://www.blogger.com/atom/ns#' term='screensaver'/><title type='text'>Turning off screen saving (one more time)...</title><content type='html'>I've been wrangling with the screensaver and DPMS on my Mythbuntu box (see &lt;a href="http://v2kblog.blogspot.com/2008/09/mythbuntu-mythtv-tweaks.html"&gt;here&lt;/a&gt; and &lt;a href="http://v2kblog.blogspot.com/2008/08/disabling-monitor-power-saver.html"&gt;here&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;At this point I've got DPMS off but still have one nagging issue - some screensaver is kicking on and I have to press a button on the remote to get it to turn off. Better than having to hit a key on the keyboard, but still not what I want - I just want to turn on the monitor and see my MythTV dammit.&lt;br /&gt;&lt;br /&gt;First, I figured out that I could disable DPMS with the ~/.xsessionrc file, e.g:&lt;br /&gt;&lt;blockquote&gt;$ cat ~/.xsessionrc&lt;br /&gt;xset s noblank&lt;br /&gt;xset s off&lt;br /&gt;xset -dpms&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Now, that should turn off the X screensaver too, but seems like something is still running. Ah, poking around I find I have gnome-screensaver running:&lt;br /&gt;&lt;blockquote&gt;$ ps auxwww | grep gnome-screensaver&lt;br /&gt;user    6086  0.0  0.1  15420  4908 ?        Ss   Oct19   0:32 gnome-screensaver&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Poking around the net, I came across &lt;a href="http://ubuntuforums.org/showthread.php?t=278693"&gt;this thread&lt;/a&gt;, and I followed the directions to kill the gnome-screensaver:&lt;br /&gt;&lt;blockquote&gt;$ killall gnome-screensaver&lt;br /&gt;$ ps auxwww | grep gnome-screensaver&lt;br /&gt;user   32499  0.0  0.0   3004   764 pts/1    R+   08:34   0:00 grep gnome-screensaver&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;After that I played around a little and that did the trick - no more screensaver kicking on! So, following the directions a little further down in the thread I turned it off permanently:&lt;br /&gt;&lt;blockquote&gt;$ gconftool-2 --type boolean -s /apps/gnome_settings_daemon/screensaver/start_screensaver false&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;So at this point I think I finally have all the screensavers, DPMS, etc. turned off on my MythBuntu box using the directions above.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update 11/3/2008:&lt;/b&gt; Well, the gconftool-2 command above didn't persist through a reboot. So following &lt;a href="http://lhansen.blogspot.com/2007/08/disabling-gnome-screensaver-thru.html"&gt;these directions&lt;/a&gt;, I did the following (will update when I've confirmed if it worked or didn't):&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;gconftool-2 --type bool --set /apps/gnome-screensaver/idle_activation_enabled false&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Update 1/10/2009:&lt;/b&gt; Well, the above didn't work. Next I tried &lt;a href="http://ubuntuforums.org/showpost.php?p=1630035&amp;postcount=6"&gt;directions in this post&lt;/a&gt;. First, I ran "gconf-editor" from a command-line. Then I selected "Apps" and "gnome-screensaver". Under the options for "gnome-screensaver" I deselected the option for "idle_activation_enabled".&lt;br /&gt;&lt;br /&gt;After that, I rebooted and re-ran gconf-editor to make sure the "idle-activation_enabled" variable was still de-selected and it was. I've been watching my mythtv system idle now for over an hour and no screensaver. Success finally.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-2535266301325225105?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/2535266301325225105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=2535266301325225105' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2535266301325225105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2535266301325225105'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/10/turning-off-screen-saving-one-more-time.html' title='Turning off screen saving (one more time)...'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8423235422256725701</id><published>2008-10-19T13:56:00.003-04:00</published><updated>2008-10-19T14:33:09.786-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>Creating ssh-only account</title><content type='html'>I wanted to create some accounts that could only be accessed via ssh key authentication. These would be accessed via cron jobs on another system for backing things up. Here's my process.&lt;br /&gt;&lt;br /&gt;On the target host, create the account:&lt;br /&gt;&lt;blockquote&gt;# useradd -m web-server-backup&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;You can verify this account has no password by the prescence of the "!" in the second field in /etc/shadow:&lt;br /&gt;&lt;blockquote&gt;# grep web-server-backup /etc/shadow&lt;br /&gt;web-server-backup:!:14171:0:99999:7:::&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Now, back on the system that will be accessing the account, create a ssh key pair. Since this will be running unattended from cron, I will leave the password empty (i.e. just hit return):&lt;br /&gt;&lt;blockquote&gt;# ssh-keygen&lt;br /&gt;Generating public/private rsa key pair.&lt;br /&gt;Enter file in which to save the key (/root/.ssh/id_rsa): &lt;br /&gt;Created directory '/root/.ssh'.&lt;br /&gt;Enter passphrase (empty for no passphrase): &lt;span style="font-weight:bold;"&gt;just hit return&lt;/span&gt;&lt;br /&gt;Enter same passphrase again: &lt;span style="font-weight:bold;"&gt;just hit return&lt;/span&gt;&lt;br /&gt;Your identification has been saved in /root/.ssh/id_rsa.&lt;br /&gt;Your public key has been saved in /root/.ssh/id_rsa.pub.&lt;br /&gt;The key fingerprint is:&lt;br /&gt;d3:ac:99:5f:9c:30:69:98:ad:ab:e9:e5:ef:34:38:bf root@web-server&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Copy the public key you just created into your clipboard:&lt;br /&gt;&lt;blockquote&gt;# cat ~/.ssh/id_rsa.pub &lt;br /&gt;ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEArh6BSw0F1Li/Oh1GbqF6uTv34P4e0Ow7NMco962aHe070vGjlyqIE3CrOU9d3/ztoL7QgalegWj7WfWQ44I8Jz0WGTzLcssYhvluaHzBp5z8QKVvmSpj39f43kAYP0b2GdUwGZL9AER72MRZSxmaybzGoVK12bPr6t18gaAWl9c3b1Ng8MFbp7vvNptfb6NwikfOaL4vTqRfNuVWv6vxaw3xfE+8iuI8ubckUCqrNfayVmfgCmxNS5o9GauHSAZdXhH1xDkZ0ikjo4SAjYz83/eyNdrwef6GTQj+FXwsaiGSpz9B0IOWt613+MhI/uoXRTO2jNzJstBcQa19GbX0Hw== root@web-server&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Now on the target account, create ~/.ssh:and copy the public key into ~/.ssh/authorized_keys:&lt;br /&gt;&lt;blockquote&gt;# sudo -u web-server-backup -i&lt;br /&gt;$ mkdir ~/.ssh&lt;br /&gt;$ chmod 700 ~/.ssh&lt;br /&gt;$ cat &gt; ~/.ssh/authorized_keys&lt;br /&gt;ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEArh6BSw0F1Li/Oh1GbqF6uTv34P4e0Ow7NMco962aHe070vGjlyqIE3CrOU9d3/ztoL7QgalegWj7WfWQ44I8Jz0WGTzLcssYhvluaHzBp5z8QKVvmSpj39f43kAYP0b2GdUwGZL9AER72MRZSxmaybzGoVK12bPr6t18gaAWl9c3b1Ng8MFbp7vvNptfb6NwikfOaL4vTqRfNuVWv6vxaw3xfE+8iuI8ubckUCqrNfayVmfgCmxNS5o9GauHSAZdXhH1xDkZ0ikjo4SAjYz83/eyNdrwef6GTQj+FXwsaiGSpz9B0IOWt613+MhI/uoXRTO2jNzJstBcQa19GbX0Hw== root@web-server&lt;br /&gt;$ chmod 600 ~/.ssh/authorized_keys&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Now back on the accessing account, you should be able to access the target account without a password. The first time you do this you will be prompted to trust the host key of the target system, so you should do this once to make this process without prompt.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# ssh -l web-server-backup file-server date&lt;br /&gt;The authenticity of host 'file-server (192.168.1.12)' can't be established.&lt;br /&gt;RSA key fingerprint is 4c:7a:f0:ba:0f:60:45:4b:b8:f1:cc:17:88:59:74:f0.&lt;br /&gt;Are you sure you want to continue connecting (yes/no)? yes&lt;br /&gt;Warning: Permanently added 'file-server,192.168.1.12' (RSA) to the list of known hosts.&lt;br /&gt;Sun Oct 19 13:06:52 CDT 2008&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Now it should work seamlessly:&lt;br /&gt;&lt;blockquote&gt;# ssh -l web-server-backup file-server date&lt;br /&gt;Sun Oct 19 13:08:19 CDT 2008&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8423235422256725701?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8423235422256725701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8423235422256725701' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8423235422256725701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8423235422256725701'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/10/creating-ssh-only-account.html' title='Creating ssh-only account'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-7682416902077433193</id><published>2008-10-12T19:58:00.007-04:00</published><updated>2008-10-19T14:32:33.537-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cron'/><category scheme='http://www.blogger.com/atom/ns#' term='sbackup'/><title type='text'>sbackup without GUI</title><content type='html'>I recently wanted to install and run sbackup without using the GUI interface (this was on my mythbuntu system and I didn't want to interrupt my show). Not that the sbackup package unfortunately requires X11 and Gnome, so you can't use it on a lean server system.&lt;br /&gt;&lt;br /&gt;Start by installing it:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# apt-get install sbackup&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The configuration is in /etc/sbackup.conf, edit this file. Basically you want to set your target and then under [dirconfig] set what paths you want backed up.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# cp /etc/sbackup.conf /etc/sbackup.conf.orig&lt;br /&gt;# vi /etc/sbackup.conf&lt;br /&gt;# diff /etc/sbackup.conf.orig /etc/sbackup.conf&lt;br /&gt;8,9c8,9&lt;br /&gt;&lt; target=/var/backup&lt;br /&gt;&lt; #target=ssh://user:pass@example.com/home/user/backup/&lt;br /&gt;---&lt;br /&gt;&gt; #target=/var/backup&lt;br /&gt;&gt; target=ssh://casey-backup@file-server/mnt/backups/casey&lt;br /&gt;37,38c37,38&lt;br /&gt;&lt; /usr/local/=1&lt;br /&gt;&lt; /var/=1&lt;br /&gt;---&lt;br /&gt;&gt; /usr/local/=0&lt;br /&gt;&gt; /var/=0&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;You can test your configuration by running /usr/sbin/sbackupd (this returns nothing for me, which apparently indicates success):&lt;br /&gt;&lt;blockquote&gt;# /usr/sbin/sbackupd&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Now install a cron job to run it (this one runs it every night at 12:30):&lt;br /&gt;&lt;blockquote&gt;# cat /etc/cron.d/sbackup&lt;br /&gt;30 12    * * *   root    test -x /usr/sbin/sbackupd &amp;&amp; /usr/sbin/sbackupd&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-7682416902077433193?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/7682416902077433193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=7682416902077433193' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7682416902077433193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7682416902077433193'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/10/sbackup-without-gui.html' title='sbackup without GUI'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-3438491669512641942</id><published>2008-10-12T19:04:00.005-04:00</published><updated>2008-10-25T11:52:15.314-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mythmusic'/><category scheme='http://www.blogger.com/atom/ns#' term='mythtv'/><title type='text'>MythMusic</title><content type='html'>Just a quick entry about getting music playing working on MythBuntu. Basically just follow the directions &lt;a href="http://www.mythtv.org/wiki/index.php/MythMusic"&gt;at the MythTV MythMusic page&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Some configuration I did:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Under Utilities/Setup-&gt;Setup-&gt;Media Settings-&gt;Music Settings -&gt;Player Settings-&gt;screen 1 check "show entire music tree"&lt;/li&gt;&lt;li&gt;On screen 3 set up some vizualizers&lt;/li&gt;&lt;li&gt;Under Utilities/Setup-&gt;Setup-&gt;Media Settings-&gt;Music Settings -&gt;Ripper settings-&gt;screen 2, set the following:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Encoding: Lame (MP3)&lt;/li&gt;&lt;li&gt;Default Rip Quality: Medium&lt;/li&gt;&lt;li&gt;Enable "Use variable bitrates"&lt;/li&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt;That's it for playing.I still can't import CD's at this point - it causes mythtv-frontend to crash! Looks like &lt;a href="https://bugs.launchpad.net/mythbuntu/+bug/254304"&gt;this bug&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-3438491669512641942?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/3438491669512641942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=3438491669512641942' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/3438491669512641942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/3438491669512641942'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/10/mythmusic.html' title='MythMusic'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-4991880389798755629</id><published>2008-10-12T18:48:00.003-04:00</published><updated>2008-10-12T18:51:40.099-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mythbuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='auto-update'/><category scheme='http://www.blogger.com/atom/ns#' term='cron'/><title type='text'>Auto-updates under mythbuntu</title><content type='html'>Seems like mythbuntu doesn't install any sort of auto-update process, so I did the following to set one up.&lt;br /&gt;&lt;br /&gt;First, I installed cron-apt:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# apt-get install cron-apt&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Then, I created the following cron job:&lt;br /&gt;&lt;blockquote&gt;# crontab -e&lt;br /&gt;# crontab -l | tail -1&lt;br /&gt;0 1 * * * /usr/bin/cron-apt &amp;&amp; /usr/bin/apt-get -y dist-upgrade&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-4991880389798755629?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/4991880389798755629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=4991880389798755629' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/4991880389798755629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/4991880389798755629'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/10/auto-updates-under-mythbuntu.html' title='Auto-updates under mythbuntu'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6137174300064901538</id><published>2008-10-12T17:24:00.005-04:00</published><updated>2008-10-12T18:43:08.397-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mythbuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='mythtv'/><title type='text'>Adding more space for MythTV</title><content type='html'>I noticed that my mythtv data directory was almost full:&lt;br /&gt;&lt;blockquote&gt;# df | grep data&lt;br /&gt;/dev/sda6            190957912 176125932   5208248  98% /mnt/data&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Since I had 256GB of disk I wasn't using, I decided to add that as a second data directory for MythTV. So I mounted this partition as /mnt/data2 and then created /mnt/data2/mythtv&lt;br /&gt;&lt;br /&gt;I then made sure mythtv owned the new directory:&lt;br /&gt;&lt;blockquote&gt;# chown mythtv:mythtv /mnt/data2/mythtv&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Then I added this directory to the default MythTV storage group, which was the usual MythTV menu hell:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Select "Utilities/Setup"&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Select "Setup"&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Select "MythBuntu" and enter root password when prompted&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Select "MythTV Configuration"&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Select "Launch MythTV Setup"&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Select "Storage Directories"&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Select "Default"&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Select "Add New Directory"&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Enter the name of the new directory (e.g. "/mnt/data2/mythtv")&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Hit Escape 3 times to start exiting out&lt;/li&gt;&lt;br /&gt;&lt;li&gt;At this point I was presented with a warning that *none* of my mythtv data directories were writable. After double checking that I entered it right and that the directories were actually writable by themythtv user, I selected "No, I know what I'm doing"&lt;br /&gt;&lt;li&gt;Continue to exit out of menus by selecting "OK"&lt;/li&gt;&lt;br /&gt;&lt;li&gt;I canceled running mythfilldatabase&lt;/li&gt;&lt;br /&gt;&lt;li&gt;At this point things seemed to hang for 20-30 seconds with me just starting at a blank MythTV background. I think you just wait it out. I hit escape a couple times, but don't know that actually did anything.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Select "Quit"&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Hit Escape until you get back to the top-level MythTV menu and then select "Information Center"&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Select "System Status"&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Under "Machine" you should now see the second directory listed.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6137174300064901538?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6137174300064901538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6137174300064901538' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6137174300064901538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6137174300064901538'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/10/adding-more-space-for-mythtv.html' title='Adding more space for MythTV'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-1884004087907888079</id><published>2008-10-05T13:10:00.004-04:00</published><updated>2008-10-05T20:24:43.819-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hardware'/><category scheme='http://www.blogger.com/atom/ns#' term='memory'/><title type='text'>More memory and another hard disk...</title><content type='html'>Running the VMs, I was concerned about memory, being that the system only had a GB, which doesn't got far with VMs running. Looking in the system I saw it had two free slots, so I found 2 GB cheap and intstalled them and all looked good after booting:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$ dmesg | grep Memory&lt;br /&gt;[   19.312226] Memory: 3041212k/3079040k available (2177k kernel code, 36516k reserved, 1006k data, 368k init, 2161536k highmem)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;I also installed another hard drive. I had already filled to the two bays at the bottom front (the original drive plus one more), but I found that a third drive could be put into an open bay under the CD-rom drive. I don't see any way of nicely adding a fourth though...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-1884004087907888079?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/1884004087907888079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=1884004087907888079' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/1884004087907888079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/1884004087907888079'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/10/more-memory-and-anothe-hard-disk.html' title='More memory and another hard disk...'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-5919595761435282755</id><published>2008-10-03T07:33:00.006-04:00</published><updated>2008-10-05T13:17:00.536-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mediawiki'/><title type='text'>Upgrading Mediawiki</title><content type='html'>There was &lt;a href="http://lists.wikimedia.org/pipermail/mediawiki-announce/2008-October/000078.html"&gt;an announcement of a security update to mediawiki&lt;/a&gt;, so I upgraded. Here are the steps that worked for me, based on the directions at &lt;a href="http://www.mediawiki.org/wiki/Manual:Upgrading_MediaWiki"&gt;http://www.mediawiki.org/wiki/Manual:Upgrading_MediaWiki&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Download the latest version:&lt;br /&gt;&lt;blockquote&gt;# cd /tmp&lt;br /&gt;# wget http://download.wikimedia.org/mediawiki/1.13/mediawiki-1.13.2.tar.gz&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Stop Apache:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# /etc/init.d/apache2 stop&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Backup the database:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# mysqldump --all-databases --xml -p &gt; db-backup.xml&lt;br /&gt;Enter password: &lt;br /&gt;root@web-server:~# ls -l db-backup.xml &lt;br /&gt;-rw-r--r-- 1 root root 6008760 2008-10-03 06:34 db-backup.xml&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Backup my current wiki directory:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# cd /var/www&lt;br /&gt;# tar cvfz wiki-backup.tar.gz wiki/&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Installed the new software:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# tar xvfz /tmp/mediawiki-1.13.2.tar.gz -C wiki/ --strip-components=1&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I didn't have AdminSettings.php, so I created that, setting values for wgDBadminuser and wgDBadminpassword:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# cd wiki&lt;br /&gt;# cp AdminSettings.sample AdminSettings.php&lt;br /&gt;# vi AdminSettings.php&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Ran update.php:&lt;br /&gt;&lt;blockquote&gt;# cd maintenance/&lt;br /&gt;# php update.php &lt;br /&gt;MediaWiki 1.13.2 Updater&lt;br /&gt;&lt;br /&gt;Going to run database updates for wikidb-mw_&lt;br /&gt;Depending on the size of your database this may take a while!&lt;br /&gt;Abort with control-c in the next five seconds...0&lt;br /&gt;...have ipb_id field in ipblocks table.&lt;br /&gt;...snip...&lt;br /&gt;Deleting old default messages (this may take a long time!)...Done&lt;br /&gt;Checking site_stats row...ok.&lt;br /&gt;Purging caches...done.&lt;br /&gt;Done.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Restart Apache:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# /etc/init.d/apache2 start&lt;br /&gt; * Starting web server apache2&lt;br /&gt;   ...done.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;And fired up a web browser and tested. Everything looked good.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-5919595761435282755?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/5919595761435282755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=5919595761435282755' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/5919595761435282755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/5919595761435282755'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/10/upgrading-mediawiki.html' title='Upgrading Mediawiki'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-2342557171620143965</id><published>2008-09-29T23:45:00.002-04:00</published><updated>2008-09-29T23:48:26.985-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mythweb'/><title type='text'>Redirecting / to /mythweb</title><content type='html'>Minor tweak to make connections to http://host/ on my mythweb host redirect automatically to mythweb. Add the following to the beginning of /etc/apache2/sites-enabled/mythweb.conf (before the Directory declaration):&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RedirectMatch ^/$ /mythweb/&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;And restart Apache:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# /etc/init.d/apache2 reload&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-2342557171620143965?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/2342557171620143965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=2342557171620143965' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2342557171620143965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2342557171620143965'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/redirecting-to-mythweb.html' title='Redirecting / to /mythweb'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-7937858769615087428</id><published>2008-09-29T22:55:00.010-04:00</published><updated>2009-03-29T09:30:01.028-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dyndns'/><category scheme='http://www.blogger.com/atom/ns#' term='opendns'/><category scheme='http://www.blogger.com/atom/ns#' term='ddclient'/><title type='text'>Configuring automatic update of IP address in DynDNS and OpenDNS</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Updated March 29, 2009:&lt;/span&gt; Removed '-daemon 300' flag from /etc/cron.daily/ddclient script.&lt;br /&gt;&lt;br /&gt;I wanted to configure automatic updating of the dynamic IP address assigned by my ISP to both &lt;a href="http://www.opendns.org/"&gt;OpenDNS&lt;/a&gt; and &lt;a href="http://www.dyndns.org/"&gt;DynDNS&lt;/a&gt;. I did this using &lt;a href="http://ddclient.wiki.sourceforge.net/"&gt;ddclient&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Directions for configuring ddclient for OpenDNS can be found &lt;a href="http://www.opendns.com/support/article/192"&gt;here&lt;/a&gt; and directions for DynDNS can be found &lt;a href="http://www.dyndns.com/support/kb/using_ddclient_with_dyndns_services.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Here's what I did:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# apt-get install ddclient&lt;br /&gt;&lt;span style="font-style: italic;"&gt;I went ahead and entered configuration for DynDNS during the install when prompted.&lt;/span&gt;&lt;br /&gt;# vi /etc/ddclient.conf&lt;br /&gt;# cat ddclient.conf&lt;br /&gt;&lt;blockquote&gt;# Configuration file for ddclient&lt;br /&gt;#&lt;br /&gt;# /etc/ddclient.conf&lt;br /&gt;&lt;br /&gt;pid=/var/run/ddclient.pid&lt;br /&gt;ssl=yes&lt;br /&gt;protocol=dyndns2&lt;br /&gt;use=web&lt;br /&gt;server=members.dyndns.org&lt;br /&gt;login=&lt;span style="font-weight: bold;"&gt;dyndns-login&lt;/span&gt;&lt;br /&gt;password=&lt;span style="font-weight: bold;"&gt;dyndns-password&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;my-addr&lt;/span&gt;.dyndns.org&lt;br /&gt;&lt;br /&gt;##&lt;br /&gt;## OpenDNS.com account-configuration&lt;br /&gt;##&lt;br /&gt;use=web, web=whatismyip.org&lt;br /&gt;server=updates.opendns.com&lt;br /&gt;protocol=dyndns2         &lt;br /&gt;login=&lt;span style="font-weight: bold;"&gt;opendns-login&lt;/span&gt;&lt;br /&gt;password=&lt;span style="font-weight: bold;"&gt;opendns-password&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;OpenDNS-Network-Label&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;# chmod 600 /etc/ddclient.conf&lt;br /&gt;# vi /etc/cron.daily/ddclient&lt;br /&gt;# cat /etc/cron.daily/ddclient&lt;br /&gt;&lt;blockquote&gt;#!/bin/sh&lt;br /&gt;/usr/sbin/ddclient -syslog&lt;/blockquote&gt;&lt;br /&gt;# chmod +x /etc/cron.daily/ddclient&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-7937858769615087428?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/7937858769615087428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=7937858769615087428' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7937858769615087428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7937858769615087428'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/configuring-automatic-update-of-ip.html' title='Configuring automatic update of IP address in DynDNS and OpenDNS'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-797711263995601414</id><published>2008-09-28T15:23:00.018-04:00</published><updated>2008-10-05T15:13:28.795-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='samba'/><title type='text'>Installing Samba on Ubuntu Server</title><content type='html'>Previously I had &lt;a href="http://v2kblog.blogspot.com/2007/01/ubuntu-610-samba-file-sharing.html"&gt;installed Samba via the Ubuntu desktop&lt;/a&gt;, but now I wanted to do it on Ubuntu server.&lt;br /&gt;&lt;br /&gt;First, I installed samba:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;apt-get install samba&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;At the end of the install on my VMWare host system, I got the warning below: &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;--------- IMPORTANT INFORMATION FOR XINETD USERS ----------&lt;br /&gt;The following line will be added to your /etc/inetd.conf file:&lt;br /&gt;&lt;br /&gt;#&lt;off&gt;# netbios-ssn     stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/smbd&lt;br /&gt;&lt;br /&gt;If you are indeed using xinetd, you will have to convert the&lt;br /&gt;above into /etc/xinetd.conf format, and add it manually. See&lt;br /&gt;/usr/share/doc/xinetd/README.Debian for more information.&lt;br /&gt;-----------------------------------------------------------&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I didn't end up having to do anything special, but wanted to mention it anyways.&lt;br /&gt;&lt;br /&gt;Next, I edited /etc/samba/smb.conf to look like the one below. (You'll want to replace "username" with an actual username or list of usernames.)&lt;br /&gt;&lt;br /&gt;&lt;pre&gt; &lt;br /&gt;[global]&lt;br /&gt;   workgroup = WORKGROUP&lt;br /&gt;   server string = %h server (Samba, Ubuntu)&lt;br /&gt;# This will prevent nmbd to search for NetBIOS names through DNS.&lt;br /&gt;   dns proxy = no&lt;br /&gt;&lt;br /&gt;# This tells Samba to use a separate log file for each machine&lt;br /&gt;# that connects&lt;br /&gt;   log file = /var/log/samba/log.%m&lt;br /&gt;&lt;br /&gt;# Cap the size of the individual log files (in KiB).&lt;br /&gt;   max log size = 1000&lt;br /&gt;&lt;br /&gt;# Do something sensible when Samba crashes: mail the admin a backtrace&lt;br /&gt;   panic action = /usr/share/samba/panic-action %d&lt;br /&gt;&lt;br /&gt;# "security = user" is always a good idea. This will require a Unix account&lt;br /&gt;# in this server for every user accessing the server.&lt;br /&gt;   security = user&lt;br /&gt;   encrypt passwords = true&lt;br /&gt;   passdb backend = tdbsam&lt;br /&gt;   obey pam restrictions = yes&lt;br /&gt;   invalid users = root&lt;br /&gt;# This option controls how nsuccessful authentication attempts are mapped &lt;br /&gt;# to anonymous connections&lt;br /&gt;   map to guest = bad user&lt;br /&gt;   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192&lt;br /&gt;&lt;br /&gt;[tmp]&lt;br /&gt;   comment = tmp&lt;br /&gt;   path = /tmp&lt;br /&gt;   valid users = username&lt;br /&gt;   writable = yes&lt;br /&gt;   create mask = 0644&lt;br /&gt;   directory mask = 0755&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can validate your smb.conf file by running 'testparm', e.g:&lt;br /&gt;&lt;blockquote&gt;# testparm -s&lt;br /&gt;Load smb config files from /etc/samba/smb.conf&lt;br /&gt;Processing section "[music]"&lt;br /&gt;Loaded services file OK.&lt;br /&gt;...&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Restart Samba:&lt;br /&gt;&lt;blockquote&gt;# /etc/init.d/samba reload&lt;br /&gt; * Reloading /etc/samba/smb.conf smbd only&lt;br /&gt;   ...done.&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Add samba users via smbpassword:&lt;br /&gt;&lt;blockquote&gt;smbpasswd -a username&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;That's it.&lt;br /&gt;&lt;br /&gt;BTW, one tidbit, if you get "Error code -6602" on the client, this is caused by a non-existent path in /etc/samba/smb.conf.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-797711263995601414?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/797711263995601414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=797711263995601414' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/797711263995601414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/797711263995601414'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/installing-samba.html' title='Installing Samba on Ubuntu Server'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6533792178511371201</id><published>2008-09-28T14:08:00.004-04:00</published><updated>2008-09-28T21:55:19.421-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cron'/><category scheme='http://www.blogger.com/atom/ns#' term='mythtv-status'/><title type='text'>mythtv-status missing config errors</title><content type='html'>The following cron job, running as root, kept emailing me output complaining about "No config found":&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;[ -x /etc/init.d/mythtv-status ] &amp;&amp; /etc/init.d/mythtv-status reload &gt; /dev/null&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Replicating it from the commandline worked:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# mythtv-status &gt; /dev/null&lt;br /&gt;No config found; attempting to find mythbackend via UPnP.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;After playing around a bit, I figured out it was coming from the MythTV Perl module:&lt;br /&gt;&lt;blockquote&gt;# perl -e "require MythTV"&lt;br /&gt;No config found; attempting to find mythbackend via UPnP.&lt;br /&gt;No backends found.  Please copy /root/.mythtv/config.xml from a working MythTV installation instead.&lt;br /&gt;Compilation failed in require at -e line 1.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Copying ~/.mythtv/config.xml from the mythtv account to the root account solved the problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6533792178511371201?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6533792178511371201/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6533792178511371201' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6533792178511371201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6533792178511371201'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/mythtv-status-missing-config-errors.html' title='mythtv-status missing config errors'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-7722769752454879626</id><published>2008-09-28T11:18:00.008-04:00</published><updated>2008-09-28T14:34:25.246-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='cron'/><title type='text'>Locking, but not expiring, root</title><content type='html'>I don't want to allow direct root login (not just via ssh as described &lt;a href="http://techie-buzz.com/linux-tips/disable-direct-root-access-logins-in-linux.html"&gt;here&lt;/a&gt; but via console or any other way. Basically I want to make it so everything has to go through sudo. (Why? Because I like the fact everything is traceable back to given user.)&lt;br /&gt;&lt;br /&gt;I had previously tried using 'passwd -l' as root to lock that account, but that seems to have the unwanted side effect of causing root's cron jobs to fail, as I see the following message in syslog whenever a roon cron job comes time to run:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;CRON[11591]: User account has expired&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The solution I found is as follows. Before you do this you want to make sure you have the ability to do things as root via sudo, or you will lock yourself out (see &lt;a href="http://techie-buzz.com/linux-tips/disable-direct-root-access-logins-in-linux.html"&gt;here&lt;/a&gt; for directions on this).&lt;br /&gt;&lt;br /&gt;First, I undid what I did before and unlock the account (skip this if you didn't previously lock the root account):&lt;br /&gt;&lt;br /&gt;# passwd -u root&lt;br /&gt;Password changed.&lt;br /&gt;&lt;br /&gt;Then edit /etc/shadow by hand and change root's password field to "!", e.g.:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# grep root /etc/shadow&lt;br /&gt;root:!:14145:0:99999:7::1:&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Just to make sure test the setup by running 'ssh -l root localhost' and try logging in. You shouldn't be able to.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-7722769752454879626?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/7722769752454879626/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=7722769752454879626' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7722769752454879626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7722769752454879626'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/locking-but-not-expiring-root.html' title='Locking, but not expiring, root'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-2411807247392521866</id><published>2008-09-28T11:15:00.005-04:00</published><updated>2008-09-28T14:47:43.425-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><title type='text'>/dev/vmon: host clock rate change request syslog messages</title><content type='html'>On my VMWare host system I was seeing frequent (2-3/minute) syslog messages like the following that was making my syslog really hard to view:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;/dev/vmmon[12315]: host clock rate change request 26 -&gt; 30&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Searching around on the net, a number of other people have seen this problem. I tried several things before finding one that worked for me.&lt;br /&gt;&lt;br /&gt;First that that didn't work for me, based on &lt;a href="http://clug.ca/pipermail/clug-tech_clug.ca/2008-March/001038.html"&gt;this thread&lt;/a&gt;, I tried removing powernowd ('apt-get remove powernowd') but that offered no change.&lt;br /&gt;&lt;br /&gt;Next thing that didn't work, based on &lt;a href="http://blog.loftninjas.org/?p=172"&gt;this blog page&lt;/a&gt;, I followed the advice on &lt;a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1591"&gt;this vmware knowledge based page&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# cat /proc/cpuinfo  | grep "MHz"&lt;br /&gt;cpu MHz         : 2400.000&lt;br /&gt;# vi /etc/vmware/config&lt;br /&gt;# tail -3 /etc/vmware/config &lt;br /&gt;host.cpukHz = 2400000&lt;br /&gt;host.noTSC = TRUE &lt;br /&gt;ptsc.noTSC = TRUE&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;and restarted vmware ('/etc/init.d/vmware restart'), but no luck.&lt;br /&gt;&lt;br /&gt;Finally, what worked, even though it wasn't supposed to solve my problem, was, based on &lt;a href="http://www.tommyblue.it/2008/09/11/vmware-clock-syncronization-errors/"&gt;this page&lt;/a&gt;, I added the following to/etc/vmware/config:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;host.useFastClock = FALSE&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;and restarted vmware ('/etc/init.d/vmware restart'). And that did it! No more syslog message about clock rate changes.&lt;br /&gt;&lt;br /&gt;To clean up, I re-installed powernowd ('apt-get install powernowd') and that didn't seem to have any ill effects. I left all the changes to /etc/vmware/config.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-2411807247392521866?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/2411807247392521866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=2411807247392521866' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2411807247392521866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2411807247392521866'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/devvmon-host-clock-rate-change-request.html' title='/dev/vmon: host clock rate change request syslog messages'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8364590625373398588</id><published>2008-09-27T17:15:00.002-04:00</published><updated>2008-09-27T17:31:01.162-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mythweb'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>Changing the mythweb password</title><content type='html'>The Mythbuntu installation of mythweb uses htdigest instead of htpassword, with a domain of "MythTV":&lt;br /&gt;&lt;blockquote&gt;# htdigest /etc/mythtv/mythweb-digest MythTV mythtv&lt;br /&gt;Adding user mythtv in realm MythTV&lt;br /&gt;New password: &lt;br /&gt;Re-type new password: &lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8364590625373398588?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8364590625373398588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8364590625373398588' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8364590625373398588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8364590625373398588'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/changin-mythweb-password.html' title='Changing the mythweb password'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-2617434187139291040</id><published>2008-09-27T15:56:00.005-04:00</published><updated>2008-09-27T16:30:09.255-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='email'/><title type='text'>Getting outgoing email working</title><content type='html'>I wanted outgoing email to work (should have done this a while ago). I basically followed &lt;a href="http://www.davidgrant.ca/setting_up_postfix_to_send_outgoing_mail_on_ubuntu"&gt;these directions&lt;/a&gt; with one importance exception. When I ran "dpkg-reconfigure postfix" and it asked "Other destinations to accept mail for (blank for none):" I made this field "localhost, localhost.localdomain" - the default included the FQDN I entered for "mail name" which caused all email to that FQDN to be tried to delivered locally, which I didn't want.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.host45.com/resources/ispsmtps.php"&gt;This page&lt;/a&gt; was useful for figuring out by ISP's SMTP server.&lt;br /&gt;&lt;br /&gt;If you have problems, look at the logs in /var/log/mail.*&lt;br /&gt;&lt;br /&gt;Once I was sure everything was working, I added .forward files for all the users to redirect to my normal, external email account.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-2617434187139291040?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/2617434187139291040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=2617434187139291040' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2617434187139291040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2617434187139291040'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/getting-outgoing-email-working.html' title='Getting outgoing email working'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-7510996819742348537</id><published>2008-09-24T21:06:00.009-04:00</published><updated>2008-10-25T11:43:16.928-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dpms'/><category scheme='http://www.blogger.com/atom/ns#' term='mythtv'/><category scheme='http://www.blogger.com/atom/ns#' term='lirc'/><title type='text'>MythBuntu MythTV Tweaks</title><content type='html'>After getting MythBuntu installed, I did the following tweaks to MythTV:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Disabling DPMS (screen power saver): Previously &lt;a href="http://v2kblog.blogspot.com/2008/08/disabling-monitor-power-saver.html"&gt;I did it with the session manager&lt;/a&gt;, but Mythbuntu doesn't have the equivalent. So based on &lt;a href="http://www.gossamer-threads.com/lists/mythtv/users/349939?page=last"&gt;this thread&lt;/a&gt;, I did the following:&lt;br /&gt;&lt;blockquote&gt;$ vi ~/.xsessionrc&lt;br /&gt;$ cat ~/.xsessionrc&lt;br /&gt;xset s noblank&lt;br /&gt;xset s off&lt;br /&gt;xset -dpms&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Now restart desktop so changes take effect&lt;br /&gt;&lt;/span&gt;$ sudo /etc/init.d/gdm restart&lt;br /&gt;&lt;/blockquote&gt;&lt;b&gt;Updated Oct 24, 2008&lt;/b&gt;: I later also &lt;a href="http://v2kblog.blogspot.com/2008/10/turning-off-screen-saving-one-more-time.html"&gt;disabled the gnome-screensaver&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;I was still getting commercials during playback of recorded shows. Poking around it seemed like all the options for commercial remove were select, but then I found under &lt;span style="font-style:italic;"&gt;Utilities/Setup -&gt; Setup -&gt; TV Settings -&gt; Playback&lt;/span&gt; on screen 8 "Automatically Skip Commercials" which I set to "Automatically Skip"&lt;/li&gt;&lt;li&gt;I wanted my familiar Blootube theme back. I found this under &lt;span style="font-style:italic;"&gt;Utilities/Setup -&gt; Setup -&gt; Appearance&lt;/span&gt; on screen 1.&lt;/li&gt;&lt;li&gt;I wanted channel changing during live TV to take effect immediately. This was done with a combination of two options: &lt;span style="font-style:italic;"&gt;Utilities/Setup -&gt; Setup -&gt; TV Settings -&gt; General&lt;/span&gt; screen 1, select "Change channels immediately without select", and &lt;span style="font-style:italic;"&gt;Utilities/Setup -&gt; Setup -&gt; TV Settings -&gt; Playback OSD&lt;/span&gt; screen 1, unselect "Always use Browse Mode"&lt;/li&gt;&lt;li&gt;Under &lt;span style="font-style:italic;"&gt;Utilities/Setup -&gt; Setup -&gt; TV Settings -&gt; Playback&lt;/span&gt;, screen 2, I set "Action on playback exit" to "Save Position and exit" and "Prompt at end of Recording".&lt;/li&gt;&lt;li&gt;Configured MythFillDatbase to run automatically. &lt;span style="font-style:italic;"&gt;Utilities/Setup -&gt; Setup -&gt; TV Settings -&gt; General&lt;/span&gt; screen 6, enable "Automatically run mythfilldatabase". For "Arguments" I used "--refresh-all --quiet" and for "Log Path" I used "/tmp/mythfilldatabase.log". Everything else I left as is.&lt;/li&gt;&lt;li&gt;Next I wanted to get the extra buttons on my remote working. So under &lt;span style="font-style:italic;"&gt;Utilities/Setup -&gt; Edit Keys&lt;/span&gt; I bound keys to the various screens I wanted shortcuts to under "JumpPoints". (Hint: to jump to the "Watch Recordings" screen, use the "TV Recording Playback" action as the target.)&lt;br /&gt;&lt;br /&gt;A hint, run "irw" as root and press keys on your remote to figure out their names, e.g. the following shows me pressing the Blue and Go keys:&lt;br /&gt;&lt;blockquote&gt;# irw&lt;br /&gt;00000000000017a9 00 Blue Hauppauge_350&lt;br /&gt;00000000000017a9 01 Blue Hauppauge_350&lt;br /&gt;00000000000017a9 02 Blue Hauppauge_350&lt;br /&gt;00000000000017bb 00 Go Hauppauge_350&lt;br /&gt;00000000000017bb 01 Go Hauppauge_350&lt;br /&gt;00000000000017bb 02 Go Hauppauge_350&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The I edited ~/.lirc/mythtv and bound the remote commands to those keys (the "config" option).&lt;br /&gt;&lt;blockquote&gt;$ cd ~/.lirc&lt;br /&gt;$ cp mythtv mythtv.orig&lt;br /&gt;$ vi mythtv&lt;br /&gt;$ diff -c mythtv.orig mythtv&lt;br /&gt;*** mythtv.orig 2008-09-24 21:05:35.000000000 -0500&lt;br /&gt;--- mythtv 2008-09-24 21:39:34.000000000 -0500&lt;br /&gt;***************&lt;br /&gt;*** 733,738 ****&lt;br /&gt;--- 733,774 ----&lt;br /&gt;begin&lt;br /&gt;remote = Hauppauge_350&lt;br /&gt;prog = mythtv&lt;br /&gt;+     button = Blue&lt;br /&gt;+     config = d&lt;br /&gt;+     repeat = 0&lt;br /&gt;+     delay = 0&lt;br /&gt;+ end&lt;br /&gt;+ &lt;br /&gt;+ begin&lt;br /&gt;+     remote = Hauppauge_350&lt;br /&gt;+     prog = mythtv&lt;br /&gt;+     button = Videos&lt;br /&gt;+     config = r&lt;br /&gt;+     repeat = 0&lt;br /&gt;+     delay = 0&lt;br /&gt;+ end&lt;br /&gt;+ &lt;br /&gt;+ begin&lt;br /&gt;+     remote = Hauppauge_350&lt;br /&gt;+     prog = mythtv&lt;br /&gt;+     button = TV&lt;br /&gt;+     config = l&lt;br /&gt;+     repeat = 0&lt;br /&gt;+     delay = 0&lt;br /&gt;+ end&lt;br /&gt;+ &lt;br /&gt;+ begin&lt;br /&gt;+     remote = Hauppauge_350&lt;br /&gt;+     prog = mythtv&lt;br /&gt;+     button = RED&lt;br /&gt;+     config = m&lt;br /&gt;+     repeat = 0&lt;br /&gt;+     delay = 0&lt;br /&gt;+ end&lt;br /&gt;+ &lt;br /&gt;+ begin&lt;br /&gt;+     remote = Hauppauge_350&lt;br /&gt;+     prog = mythtv&lt;br /&gt;button = 7&lt;br /&gt;config = 7&lt;br /&gt;repeat = 0&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Next I tried restarting lirc:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;sudo /etc/init.d/lirc restart&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;But that just caused my remote to stop working with mythtv all together, so I rebooted and all worked fine.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Wow, if it is possible for something to have too many options, MythTV is guilty...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-7510996819742348537?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/7510996819742348537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=7510996819742348537' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7510996819742348537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7510996819742348537'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/mythbuntu-mythtv-tweaks.html' title='MythBuntu MythTV Tweaks'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8025160196612200473</id><published>2008-09-21T12:03:00.011-04:00</published><updated>2008-09-22T23:34:05.854-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mythbuntu'/><title type='text'>Mythbuntu install</title><content type='html'>Ok, I had previously gotten &lt;a href="http://v2kblog.blogspot.com/2008/09/running-mythweb-remotely.html"&gt;my MythTV configuration messed up&lt;/a&gt;, so I decided I had been itching to try Mythbuntu, I would start with a fresh installation.&lt;br /&gt;&lt;br /&gt;Here I the steps I took:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Downloaded &lt;a href="http://www.mythbuntu.org/"&gt;Mythbuntu&lt;/a&gt; 8.04.1 and burned to a CD.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Booted CD and ran the Mythbuntu installer.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;I used the Manual partitioner and partitioned my 250GB disk into a 50GB partition for the OS and a 200GB partition for program storage. (This worked out, at the end I'm still only using &lt;2GB of the 50GB partition.)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Did the Advanced Install and took the default for everything except:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;I disable the Samba Service.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;I set passwords on mythweb and mysql servers.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;I enabled a "Hauppage TV card" remote.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;It then did it thing and then launched Mythtv-setup (I already have a schedules direct account). In mythtv-setup I did the following:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Under "Capture Cards", I added a new capture card. As I did previously I used MPEG-2 encoder card (PVR-x50, PVR-500) for my WinTV-PVR 250.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Under "Video Sources", I added my Schedules Direct lineup. It retrieved my lineup just fine.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Under "Input Connections", I set the Tuner 1 video source to Schedules Direct and fetched the channels from listings source.&lt;li&gt;&lt;br /&gt;&lt;li&gt;Under "Storage Groups", I added the directory to the 200GB partition to the Default group.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;I exited from mythtv-setup and mythfilldb ran. It then restarted, ejecting the CD for me.&lt;br /&gt;&lt;br /&gt;After the system came up, the MythTV fronend started. I could see a full program guide under Manager Recordings/Schedule Recordings/Program Guide which was good.&lt;br /&gt;&lt;br /&gt;But "Watch TV" didn't work; the screen would just blank and then come back to the menu. Hmmm, there was a little popup in the corner about restricted drivers. I exited MythTV and clicked on the little "driver icon" in the upper right of the desktop. A menu came up wanting to know if I wanted to enable "NVIDIA accelerated graphics driver". I enabled and it tried to install nvidia-glx-new_169.12 but got a 404 error.&lt;br /&gt;&lt;br /&gt;I opened a Terminal and run 'sudo apt-get update' and then tried the driver enable again and it worked. I then rebooted.&lt;br /&gt;&lt;br /&gt;Damn. Watching TV still didn't work.&lt;br /&gt;&lt;br /&gt;Under Setup/Mythbuntu, there is a Propriety Drivers section and I installed the NVIDIA configuration utility and ran it. Ran fine, and I didn't do anything with it. But it just locked up my display when I tried to quit it.&lt;br /&gt;&lt;br /&gt;Ah, after reading the advice &lt;a href="http://ubuntuforums.org/showthread.php?t=736528"&gt;here&lt;/a&gt; and looking in /var/log/mythtv/mythbackend, that provided the missing clue:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;2008-09-22 21:52:33.292 TFW, Error: Opening file '/mnt/data/mythtv/1002_20080922215232.mpg'.&lt;br /&gt;                        eno: Permission denied (13)&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The directory /mnt/data was where I had mounted the 200GB partition and then I had created mythtv but I (i.e. the user I had provided during installation) owned it. Apparently, the mythtv user needed to own it.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# chown mythtv:mythtv /mnt/data/mythtv/&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;And now Watch TV worked!&lt;br /&gt;&lt;br /&gt;Some minor administration followed:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Reset static IP address using directions &lt;a href="http://www.howtogeek.com/howto/ubuntu/change-ubuntu-server-from-dhcp-to-a-static-ip-address/"&gt;here&lt;/a&gt;. Note that as soon as I changed /etc/networks/interfaces, the eth0 network went away and I had to run '/etc/init.d/networking restart' to restore it.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Installed some utils I like:&lt;br /&gt;&lt;blockquote&gt;apt-get install screen cvs&lt;/blockquote&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Ran '/usr/bin/apt-get -y dist-upgrade' to update everything.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Ran 'apt-get autoremove' to clean up&lt;/li&gt; &lt;br /&gt;&lt;li&gt;And a reboot after all of that...&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;Ok, everything seems to be basically working at this point except for some minor tweaks with the remote and channgel changing with mythtv. But I got a bunch of recordings scheduled and that's enough for tonight.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8025160196612200473?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8025160196612200473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8025160196612200473' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8025160196612200473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8025160196612200473'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/mythbuntu-install.html' title='Mythbuntu install'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8432531514914697064</id><published>2008-09-14T18:01:00.003-04:00</published><updated>2008-09-14T18:06:15.133-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><category scheme='http://www.blogger.com/atom/ns#' term='nikto'/><title type='text'>Testing web server with nikto</title><content type='html'>I wanted to give my web server a quick test for any major security problems. &lt;a href="http://www.cirt.net/nikto2"&gt;nikto&lt;/a&gt; was recommended to me as a good way to do that. I downloaded and installed (unpacked really) it:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# cd /tmp&lt;br /&gt;# wget http://www.cirt.net/nikto/nikto-current.tar.gz&lt;br /&gt;# tar xvfz nikto-current.tar.gz&lt;br /&gt;# mv nikto /usr/local/nikto-2.03&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;And then I ran it against my webserver. Seems like a number of software packages are out of date, but are the freshest in the Ubuntu repositories. All together, nothing I'm concerned about.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# /usr/local/nikto-2.03/nikto.pl -h web-server&lt;br /&gt;- Nikto v2.03/2.04&lt;br /&gt;---------------------------------------------------------------------------&lt;br /&gt;+ Target IP:          192.168.1.11&lt;br /&gt;+ Target Hostname:    web-server&lt;br /&gt;+ Target Port:        80&lt;br /&gt;+ Start Time:         2008-09-15 16:58:59&lt;br /&gt;---------------------------------------------------------------------------&lt;br /&gt;+ Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g&lt;br /&gt;- Root page / redirects to: /wiki/&lt;br /&gt;+ Apache/2.2.8 appears to be outdated (current is at least Apache/2.2.9). Apache 1.3.39 and 2.0.61 are also current.&lt;br /&gt;+ PHP/5.2.4-2ubuntu5.3 appears to be outdated (current is at least 5.2.6RC4)&lt;br /&gt;+ mod_ssl/2.2.8 appears to be outdated (current is at least 2.8.31) (may depend on server version)&lt;br /&gt;+ mod_ssl/2.2.8 OpenSSL/0.9.8g - mod_ssl 2.8.7 and lower are vulnerable to a remote buffer overflow which may allow a remote shell (difficult to exploit). http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0082.&lt;br /&gt;+ OSVDB-3268: GET /icons/ : Directory indexing is enabled: /icons&lt;br /&gt;+ OSVDB-3233: GET /icons/README : Apache default file found.&lt;br /&gt;+ 3577 items checked: 6 item(s) reported on remote host&lt;br /&gt;+ End Time:        2008-09-15 17:00:48 (109 seconds)&lt;br /&gt;---------------------------------------------------------------------------&lt;br /&gt;+ 1 host(s) tested&lt;br /&gt;&lt;br /&gt;Test Options: -h web-server&lt;br /&gt;---------------------------------------------------------------------------&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8432531514914697064?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8432531514914697064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8432531514914697064' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8432531514914697064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8432531514914697064'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/testing-web-server-with-nikto.html' title='Testing web server with nikto'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8238709502324585154</id><published>2008-09-14T17:25:00.004-04:00</published><updated>2008-11-01T10:11:43.878-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gcc'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><title type='text'>Installing VMware sevrer on Ubuntu server</title><content type='html'>I had previously installed vmware-server 1.0.7 on by ubuntu laptop, so now I went to install it on my server system, but I ran into the following when vmware-config.pl was running:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;None of the pre-built vmmon modules for VMware Server is suitable for your &lt;br /&gt;running kernel.  Do you want this program to try to build the vmmon module for &lt;br /&gt;your system (you need to have a C compiler installed on your system)? [yes] &lt;br /&gt;&lt;br /&gt;Using compiler "/usr/bin/gcc". Use environment variable CC to override.&lt;br /&gt;&lt;br /&gt;Your kernel was built with "gcc" version "4.2.3", while you are trying to use &lt;br /&gt;"/usr/bin/gcc" version "4.2.4". This configuration is not recommended and &lt;br /&gt;VMware Server may crash if you'll continue. Please try to use exactly same &lt;br /&gt;compiler as one used for building your kernel. Do you want to go with compiler &lt;br /&gt;"/usr/bin/gcc" version "4.2.4" anyway? [no] &lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Ok, so off to the web for help and I came across &lt;a href="http://ubuntuforums.org/showthread.php?p=5779074"&gt;this thread&lt;/a&gt;. I tried installing gcc-4.2.3 as suggested, but no luck:&lt;br /&gt;&lt;blockquote&gt;# dpkg -i /var/cache/apt/archives/gcc_4%3a4.2.3-1ubuntu6_i386.deb &lt;br /&gt;(Reading database ... 188652 files and directories currently installed.)&lt;br /&gt;Preparing to replace gcc 4:4.2.3-1ubuntu6 (using .../gcc_4%3a4.2.3-1ubuntu6_i386.deb) ...&lt;br /&gt;Removing old gcc doc directory.&lt;br /&gt;Unpacking replacement gcc ...&lt;br /&gt;Setting up gcc (4:4.2.3-1ubuntu6) ...&lt;br /&gt;&lt;br /&gt;root@casey:/tmp/vmware-server-distrib# ls -l /usr/bin/gcc*&lt;br /&gt;lrwxrwxrwx 1 root root      7 2008-09-14 16:28 /usr/bin/gcc -&gt; gcc-4.2&lt;br /&gt;-rwxr-xr-x 1 root root 206692 2008-03-11 04:37 /usr/bin/gcc-4.1&lt;br /&gt;-rwxr-xr-x 1 root root 193372 2008-09-10 14:14 /usr/bin/gcc-4.2&lt;br /&gt;-rwxr-xr-x 1 root root  16312 2008-03-11 04:32 /usr/bin/gccbug-4.1&lt;br /&gt;-rwxr-xr-x 1 root root   2018 2007-06-04 19:59 /usr/bin/gccmakedep&lt;br /&gt;root@casey:/tmp/vmware-server-distrib# gcc --version&lt;br /&gt;gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu1)&lt;br /&gt;Copyright (C) 2007 Free Software Foundation, Inc.&lt;br /&gt;This is free software; see the source for copying conditions.  There is NO&lt;br /&gt;warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;So, I went with the comment from ztirffritz and build with gcc 4.2.4. So far it seems to be working.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8238709502324585154?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8238709502324585154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8238709502324585154' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8238709502324585154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8238709502324585154'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/installing-vmware-sevrer-on-ubuntu.html' title='Installing VMware sevrer on Ubuntu server'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6011089531853675609</id><published>2008-09-14T17:10:00.003-04:00</published><updated>2008-09-14T17:17:54.975-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><title type='text'>Connect to Server and Bookmarks</title><content type='html'>In case you haven't discovered Ubuntu's "Connect to Server" feature you should. If you are administering, or even accessing multiple systems, it's a big help. Basically you can make any remote host you have ssh access to appear as a Nautilus (i.e. file browser) folder on your local system.&lt;br /&gt;&lt;br /&gt;Under "Places" click on "Connect to Server". For "Service type" select "SSH". Under Server put in the remote hostname. You can probably leave Port and Folder empty. If your User Name differs on the remote system, put that in under "User Name". If you want to save it as a Bookmark for easy future connections, click "Add Bookmark" and give it a name.&lt;br /&gt;&lt;br /&gt;Click connect. If you are running SSH-Agent and have your keys set up appropriately, you'll need to enter nothing further, you should just get a open window showing the filesystem on the remote machine. Otherwise you'll be prompted for a password.&lt;br /&gt;&lt;br /&gt;BTW, you can access and edit your bookmarks on any open Nautilus window under the Bookmarks menu.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6011089531853675609?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6011089531853675609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6011089531853675609' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6011089531853675609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6011089531853675609'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/connect-to-server-and-bookmarks.html' title='Connect to Server and Bookmarks'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6170841364094649563</id><published>2008-09-14T16:57:00.003-04:00</published><updated>2008-09-14T17:09:57.755-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><title type='text'>Installing VMware server 1.07</title><content type='html'>I saw there was a &lt;a href="http://register.vmware.com/content/download-107.html"&gt;new version (1.07) of vmware-server available&lt;/a&gt;, so I went ahead and pulled it down and installed it.&lt;br /&gt;&lt;br /&gt;One thing I quickly figured out was you can't skip running /usr/bin/vmware-config.pl - if you do that you won't find the VMWare Server Console in your Applications menu. I did just take the default answer for everything.&lt;br /&gt;&lt;br /&gt;Once that was done I tried firing up the Console, but it wouldn't start. No error message, it would just appear in the task list and then disappear. Trying to run it from the commandline resulted in the following error:&lt;br /&gt;&lt;blockquote&gt;# /usr/bin/vmware&lt;br /&gt;/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)&lt;br /&gt;/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)&lt;br /&gt;/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)&lt;br /&gt;/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)&lt;br /&gt;/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2)&lt;br /&gt;/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Ok, time to google and, as usual, the net &lt;a href="http://radio.javaranch.com/davo/2008/06/18/1213791596327.html"&gt;comes through&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# cd /usr/lib/vmware/lib&lt;br /&gt;# mkdir bak&lt;br /&gt;# mv libgcc_s.so.1/libgcc_s.so.1 bak&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;And all seems good now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6170841364094649563?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6170841364094649563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6170841364094649563' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6170841364094649563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6170841364094649563'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/installing-vmware-server-107.html' title='Installing VMware server 1.07'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6853526142414798500</id><published>2008-09-14T15:16:00.003-04:00</published><updated>2008-09-27T17:40:05.194-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><title type='text'>Reverse proxying with Apache</title><content type='html'>I had a network-attached webcam that I want to reverse proxy through apache to take advantage of its https support. The camera is at 192.168.1.253. Here are the steps I took:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;# a2enmod proxy proxy_http&lt;br /&gt;# vi /etc/apache2/sites-available/webcam-proxy&lt;br /&gt;# cat /etc/apache2/sites-available/webcam-proxy&lt;br /&gt;ProxyRequests Off&lt;br /&gt;&lt;br /&gt;&amp;lt;Proxy *&amp;gt;&lt;br /&gt;Order deny,allow&lt;br /&gt;Allow from all&lt;br /&gt;&amp;lt;/Proxy&amp;gt;&lt;br /&gt;&lt;br /&gt;ProxyPass /webcam http://192.168.1.253/&lt;br /&gt;# a2ensite webcam-proxy&lt;br /&gt;# /etc/init.d/apache2 reload&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6853526142414798500?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6853526142414798500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6853526142414798500' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6853526142414798500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6853526142414798500'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/reverse-proxying-with-apache.html' title='Reverse proxying with Apache'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-64612589969945310</id><published>2008-09-14T13:48:00.006-04:00</published><updated>2008-09-26T22:33:47.658-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ntp'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><category scheme='http://www.blogger.com/atom/ns#' term='bad idea'/><title type='text'>Time synchronization in VMs</title><content type='html'>&lt;hr/&gt;&lt;br /&gt;This post is the wrong way to go about things, see &lt;a href="http://kamilkisiel.blogspot.com/2008/01/vmware-linux-guest-clock.html"&gt;this article&lt;/a&gt; for details, but basically what you want to do is make sure you have the following in the VM's .vmx file:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;tools.syncTime = "TRUE"&lt;/blockquote&gt;&lt;br /&gt;&lt;hr/&gt;&lt;br /&gt;I'm noticed some serious time drift in my VMs (almost a day over a couple of weeks). Since I'm not running VMWare tools (I'm not running X), I needed a way to keep things in sync.&lt;br /&gt;&lt;br /&gt;According to &lt;a href="https://help.ubuntu.com/7.10/server/C/NTP.html"&gt;this page&lt;/a&gt;, time is synchronized at boot, which seems to be true, but isn't enough in my case.&lt;br /&gt;&lt;br /&gt;So as suggested on the page, I installed ntp, but apparently the ntp-simple package no longer exists:&lt;br /&gt;&lt;blockquote&gt;# apt-get install ntp-simple&lt;br /&gt;Reading package lists... Done&lt;br /&gt;Building dependency tree       &lt;br /&gt;Reading state information... Done&lt;br /&gt;Package ntp-simple is not available, but is referred to by another package.&lt;br /&gt;This may mean that the package is missing, has been obsoleted, or&lt;br /&gt;is only available from another source&lt;br /&gt;However the following packages replace it:&lt;br /&gt;  ntp&lt;br /&gt;E: Package ntp-simple has no installation candidate&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;So I installed ntp instead:&lt;br /&gt;&lt;blockquote&gt;# apt-get install ntp&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Then I edit /etc/ntp.conf to use &lt;a href="http://www.pool.ntp.org/zone/north-america"&gt;all the North American servers&lt;/a&gt;:&lt;br /&gt;&lt;blockquote&gt;# vi /etc/ntp.conf&lt;br /&gt;# grep ^server /etc/ntp.conf&lt;br /&gt;server ntp.ubuntu.com&lt;br /&gt;server 0.north-america.pool.ntp.org&lt;br /&gt;server 1.north-america.pool.ntp.org&lt;br /&gt;server 2.north-america.pool.ntp.org&lt;br /&gt;server 3.north-america.pool.ntp.org&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-64612589969945310?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/64612589969945310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=64612589969945310' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/64612589969945310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/64612589969945310'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/time-synchronization-in-vms.html' title='Time synchronization in VMs'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-1799819712246963045</id><published>2008-09-03T22:59:00.012-04:00</published><updated>2008-09-22T21:55:15.185-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mythweb'/><category scheme='http://www.blogger.com/atom/ns#' term='mythtv'/><category scheme='http://www.blogger.com/atom/ns#' term='bad idea'/><title type='text'>Running MythWeb remotely</title><content type='html'>&lt;hr/&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;DO NOT FOLLOW THESE DIRECTIONS&lt;/span&gt;: They've messed with my MythTV install, causing it to become unstable and forget all its recording scheduling information.&lt;br /&gt;I strongly suspect it has to do with the database tweaking I did at the end, but I'm not going to try and fix it. I'm just going to run MythWeb locally, probably on a fest mythbuntu install.   &lt;br /&gt;&lt;hr/&gt;&lt;br /&gt;&lt;br /&gt;This describes my installation of MythWeb on a server (192.168.1.11) that was separate from the system running my MythTV front end, back end and mysql database (192.168.1.10)&lt;br /&gt;&lt;br /&gt;First, on the mythtv system, configure MySQL to accept remote connections:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# grep bind /etc/mysql/my.cnf&lt;br /&gt;bind-address  = 0.0.0.0&lt;br /&gt;# /etc/init.d/mysql restart&lt;br /&gt; * Stopping MySQL database server mysqld                                 [ OK ] &lt;br /&gt; * Starting MySQL database server mysqld                                 [ OK ] &lt;br /&gt; * Checking for corrupt, not cleanly closed and upgrade needing tables.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Now create a mythweb user in the mysql database. Replace "XXXXXXXX" here with an actual password you'll use again later. (I think you could get away with skipping this step and then using the mythtv user later. I'm also not sure you need to "grant all" permissions.) &lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# mysql --user=root -p&lt;br /&gt;Enter password: &lt;br /&gt;Welcome to the MySQL monitor.  Commands end with ; or \g.&lt;br /&gt;Your MySQL connection id is 163&lt;br /&gt;Server version: 5.0.51a-3ubuntu5.2 (Ubuntu)&lt;br /&gt;&lt;br /&gt;Type 'help;' or '\h' for help. Type '\c' to clear the buffer.&lt;br /&gt;&lt;br /&gt;mysql&gt; grant all privileges on mythconverg.* to mythweb@192.168.1.11 identified by 'XXXXXXXX';&lt;br /&gt;Query OK, 0 rows affected (0.06 sec)&lt;br /&gt;mysql&gt; select host,user from user;&lt;br /&gt;+--------------+------------------+&lt;br /&gt;| host         | user             |&lt;br /&gt;+--------------+------------------+&lt;br /&gt;| 192.168.1.11 | mythweb          | &lt;br /&gt;| casey        | root             | &lt;br /&gt;| localhost    | debian-sys-maint | &lt;br /&gt;| localhost    | mythtv           | &lt;br /&gt;| localhost    | root             | &lt;br /&gt;+--------------+------------------+&lt;br /&gt;5 rows in set (0.00 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; flush privileges;&lt;br /&gt;Query OK, 0 rows affected (0.04 sec)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Mythweb uses the MasterServerIP value from the settings table to find the backend. In my case this was set to 127.0.0.1, which was fine if Mythweb is on the same system, but breaks things if they are are different systems. So change that to tell mythweb where to find the mythtv back end:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;mysql&gt; update settings set data='192.168.1.10' where value='MasterServerIP';&lt;br /&gt;Query OK, 1 row affected (0.02 sec)&lt;br /&gt;Rows matched: 1  Changed: 1  Warnings: 0&lt;br /&gt;&lt;br /&gt;mysql&gt; select data from settings where value='MasterServerIP';&lt;br /&gt;+--------------+&lt;br /&gt;| data         |&lt;br /&gt;+--------------+&lt;br /&gt;| 192.168.1.10 | &lt;br /&gt;+--------------+&lt;br /&gt;1 row in set (0.00 sec&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Ok, now on web server system install mythweb:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# apt-get install mythweb&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;And tell mythweb where to find the mysql database. Replace 'XXXXXXXX' here with the password for the mythweb user you created in the mysql database previously. (If you skipping creating the mythweb user earlier, this is where you would put in your mysql mythtv login and password instead.)&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;# cd /etc/apache2/sites-available/&lt;br /&gt;# vi mythweb.conf&lt;br /&gt;# grep db_ mythweb.conf&lt;br /&gt;            setenv db_server        "192.168.1.10"&lt;br /&gt;            setenv db_name          "mythconverg"&lt;br /&gt;            setenv db_login         "mythweb"&lt;br /&gt;            setenv db_password      "XXXXXXXX"&lt;br /&gt;# apache2ctl restart&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;And things should be working. Don't forget to &lt;a href="https://help.ubuntu.com/community/MythWeb#Security%20(This%20is%20important)"&gt;require authentication&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-1799819712246963045?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/1799819712246963045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=1799819712246963045' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/1799819712246963045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/1799819712246963045'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/running-mythweb-remotely.html' title='Running MythWeb remotely'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-2581993438994940112</id><published>2008-09-02T23:09:00.006-04:00</published><updated>2008-10-05T12:46:40.534-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sbackup'/><title type='text'>Backups...</title><content type='html'>I'm trying &lt;a href="http://www.debianadmin.com/backup-and-restore-your-ubuntu-system-using-sbackup.html"&gt;sbackup&lt;/a&gt; for backups. We'll see how it goes.&lt;br /&gt;&lt;br /&gt;Update: this seems to be going great. I was using NFS, but I'd like to get away from that and since I notice sbackup supports scp, I've create a backup user and am trying it with that new account.&lt;br /&gt;&lt;br /&gt;Update(2): sbackup appeared to have hung on me, as I got email from cron: "E: Another Simple Backup daemon already running: exiting" I did a "ps auxwww | grep sbackupd" and kill the process (a python script actually) and will check on it tomorrow...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-2581993438994940112?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/2581993438994940112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=2581993438994940112' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2581993438994940112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2581993438994940112'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/backups.html' title='Backups...'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-5668133812835565733</id><published>2008-09-02T22:49:00.002-04:00</published><updated>2008-09-09T00:12:45.666-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nfs'/><title type='text'>Installing NFS</title><content type='html'>Used the directions &lt;a href="http://ubuntuforums.org/showthread.php?t=249889"&gt;here&lt;/a&gt;. Nothing more to say.&lt;br /&gt;&lt;br /&gt;What I did was to mount a USB drive attached to the VM Host system inside the VM Guest and then export it via both NFS and Samba, esentally making the USB drive available across my home network. I'm a little concerned about performance, but we'll see how it goes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-5668133812835565733?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/5668133812835565733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=5668133812835565733' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/5668133812835565733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/5668133812835565733'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/09/installing-nfs.html' title='Installing NFS'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6373885623230162805</id><published>2008-08-25T21:27:00.010-04:00</published><updated>2008-10-25T11:47:15.655-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='dpms'/><title type='text'>Disabling Monitor Power Saver</title><content type='html'>&lt;b&gt;Update October 25, 2008:&lt;/b&gt; I've made improvements on what I describe in this post - please see &lt;a href="http://v2kblog.blogspot.com/2008/10/turning-off-screen-saving-one-more-time.html"&gt;this later post&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;So after upgraded to Hardy Heron I'm having an annoying problem that the system keeps putting the monitor into power save mode after a couple hours. This is a problem because I turn on the monitor with my remote but I still have to go hit a key on the keyboard to then use MythTV. Not ideal. It's definitely power saving (as opposed to a screen saver) since the monitor goes into a power-off mode with the power LED blinking.&lt;br /&gt;&lt;br /&gt;First thing I did was check System/Preferences/Power Management. But both "Put computer to sleep when inactive for:" and "Put display to sleep when inactive for:" were set to Never.&lt;br /&gt;&lt;br /&gt;So, I tried the directions &lt;a href="http://ubuntuforums.org/showthread.php?t=788276"&gt;here&lt;/a&gt; for installing bum. A couple of notes:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;After installing the Bootup Manager, you'll find it under System Administration&lt;/li&gt;&lt;li&gt;The Gnome-Power-Manager is just called &lt;i&gt;Power Manager&lt;/i&gt;.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Then I rebooted and still no luck, after a couple of hours the monitor is asleep again.&lt;br /&gt;&lt;br /&gt;Poking around on the web, I found &lt;a href="http://www.shallowsky.com/linux/x-screen-blanking.html"&gt;this useful page&lt;/a&gt; on screen blanking under X. I verified that I can reproduce the screen blanking I'm experiencing with the following command:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;% sleep 1; xset dpms force off&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;So, I poked a little deeper at my settings. I believe the "0" values indicate that X shouldn't be turning the monitor off:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;% xset q&lt;br /&gt;...&lt;br /&gt;DPMS (Energy Star):&lt;br /&gt;Standyby: 0    Suspend: 0    Off: 0&lt;br /&gt;DPMS is Enabled&lt;br /&gt;Monitor is On&lt;br /&gt;...&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;But I pushed ahead and next I tried turning off dpms:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;% xset -dpms&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;That seemed to do the trick! Several hours have passed and the screen is still awake.&lt;br /&gt;&lt;br /&gt;Ok, now how do I make it permanent. I launched System/Preferences/Sessions. Then I clicked on "Add". For Name I put "Disable DPMS", for Command "xset -dpms" and left Comment blank. Clicked on OK and then Close and then I rebooted the system (I probably could have just logged out and back in, but I like to make sure things work from a boot).&lt;br /&gt;&lt;br /&gt;And that seems to have worked, at least 'xset q' now shows DPMS as disabled. Hopefully that ends this tale.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6373885623230162805?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6373885623230162805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6373885623230162805' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6373885623230162805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6373885623230162805'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/08/disabling-monitor-power-saver.html' title='Disabling Monitor Power Saver'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6923967615460016909</id><published>2008-08-19T17:59:00.013-04:00</published><updated>2008-09-09T00:21:00.573-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><title type='text'>Installing VMWare server</title><content type='html'>So, I wanted to play with virtual machines. I installed VMWare-server following the directions  &lt;a href="http://www.howtoforge.com/installing-vmware-server-on-ubuntu-8.04 "&gt;here&lt;/a&gt;. I ended up installing VMware-server version 1.0.6 and this was on my Ubuntu 8.04.1 Desktop system.&lt;br /&gt;&lt;br /&gt;BTW, the &lt;a href="http://www.bauer-power.net/2007/07/update-vmware-server-on-ubuntu-apt-get.html"&gt;apt-get approach&lt;/a&gt; did not work for me. &lt;br /&gt;&lt;br /&gt;I then proceeded to d&lt;a href="http://www.ubuntu.com/getubuntu/download"&gt;ownload Ubuntu 8.04.1 Server&lt;/a&gt; and installed it in a new VM. (BTW, I did try installing a &lt;a href="http://www.vmware.com/appliances/directory/1364"&gt;Ubuntu appliance&lt;/a&gt;, but I had problems with eth0 not showing up, which in retrospect I suspect might have been solved if I had followed the directions &lt;a href="http://yoopergeek.blogspot.com/2007/07/vmware-loosing-eth0-after-youve-copied.html"&gt;here&lt;/a&gt;.)&lt;br /&gt;&lt;br /&gt;Installing VMWare Tools into the VM was also tricky. I suspect because it had a 2.6.24-19-server kernel and most of the directions out there are for older kernels. The directions I did find that worked are &lt;a href="http://lifein0and1.com/2008/05/16/fixed-problems-vmware-tools-in-ubuntu-hardy-heron-server-as-guest/ "&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;That's it. Have to say, I'm fairly impressed so far.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6923967615460016909?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6923967615460016909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6923967615460016909' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6923967615460016909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6923967615460016909'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/08/installing-vmware-server.html' title='Installing VMWare server'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-2424229117085583745</id><published>2008-08-17T13:50:00.010-04:00</published><updated>2008-09-09T00:20:37.934-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='upgrading'/><category scheme='http://www.blogger.com/atom/ns#' term='7.10'/><category scheme='http://www.blogger.com/atom/ns#' term='7.04'/><category scheme='http://www.blogger.com/atom/ns#' term='8.04'/><title type='text'>Upgrading from 7.04 to 8.04</title><content type='html'>Following directions at:&lt;br /&gt;http://www.ubuntu.com/getubuntu/upgrading&lt;br /&gt;&lt;br /&gt;Start with upgrade to 7.10:&lt;br /&gt;https://help.ubuntu.com/community/GutsyUpgrades&lt;br /&gt;&lt;br /&gt;That worked flawlessly. Then I basically repeated that step, running the Update Manager again, to upgrade to 8.04.&lt;br /&gt;&lt;br /&gt;This time, it didn't go so well. The update froze at&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;Generating locales...&lt;br /&gt;en_AU.UTF-8...&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Fortunately, &lt;a href="http://ubuntuforums.org/showthread.php?t=865679"&gt;this thread on the Ubuntu forums&lt;/a&gt; shorted things out for me.&lt;br /&gt;&lt;br /&gt;So now things seems to be up and running for the most part...&lt;br /&gt;&lt;br /&gt;One thing that is obviously broken is the remote control - aka LIRC. No surprise, it breaks every time the wind blows I'm sorry to say.&lt;br /&gt;&lt;br /&gt;I reinstalled LIRC per directions &lt;a href="http://www.mythtv.org/wiki/index.php/LIRC_on_Ubuntu_Edgy_Eft"&gt;here&lt;/a&gt;. Except, my lirc device was &lt;span style="font-style:italic;"&gt;/dev/lirc/0&lt;/span&gt; instead of &lt;span style="font-style:italic;"&gt;/dev/lirc0&lt;/span&gt;. This effected some of the testing and also meant I had to change &lt;span style="font-style:italic;"&gt;/etc/lirc/hardware.conf&lt;/span&gt;:&lt;br /&gt;&lt;blockquote&gt;REMOTE_DEVICE="/dev/lirc0"&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;to &lt;br /&gt;&lt;blockquote&gt;REMOTE_DEVICE="/dev/lirc/0"&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Then a reboot (always seems necessary with lirc) and that seems to be working.&lt;br /&gt;&lt;br /&gt;Ok, Apache doesn't seem to be running. But I think it's time to look into a VMWare appliance...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-2424229117085583745?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/2424229117085583745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=2424229117085583745' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2424229117085583745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/2424229117085583745'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/08/upgrading-from-704-to-804_17.html' title='Upgrading from 7.04 to 8.04'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-5741049347506493908</id><published>2008-08-14T15:37:00.006-04:00</published><updated>2008-09-09T00:20:15.569-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><title type='text'>Locking down the web server</title><content type='html'>My next step was to lock down the web server to prevent any anonymous access.&lt;br /&gt;&lt;br /&gt;First was to tweak /etc/apache2/apache2.conf (see &lt;a href="http://v2kblog.blogspot.com/2007/03/securing-mythweb.html"&gt;this previous post&lt;/a&gt; for more information:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&amp;lt;Directory /var/www/&amp;gt;&lt;br /&gt;        AuthType Basic&lt;br /&gt;        AuthName "Casey Web"&lt;br /&gt;        AuthUserFile /etc/apache2/basicauth&lt;br /&gt;        Require valid-user&lt;br /&gt;&amp;lt;/Directory&amp;gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Second, I tweaked mediawiki to not allow anonymous access to any page by editing /var/lib/mediawiki1.7/LocalSettings.php. I changed the following line:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$wgWhitelistRead = array ("Main Page", "Special:Userlogin", "Wikipedia:Help");&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;to:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$wgWhitelistRead = array ("Special:Userlogin");&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-5741049347506493908?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/5741049347506493908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=5741049347506493908' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/5741049347506493908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/5741049347506493908'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/08/locking-down-web-server.html' title='Locking down the web server'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-6791635375769100021</id><published>2008-08-09T17:27:00.010-04:00</published><updated>2008-09-14T13:42:15.846-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><title type='text'>Adding SSL support to Apache2</title><content type='html'>I wanted to increase security and add https support to my Apache2 install. Poking around I found directions &lt;a href="https://wiki.ubuntu.com/forum/server/apache2/SSL"&gt;here&lt;/a&gt;. Which I basically followed:&lt;br /&gt;&lt;br /&gt;# apt-get install ssl-cert&lt;br /&gt;# mkdir /etc/apache2/ssl&lt;br /&gt;# make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem&lt;br /&gt;# a2enmod ssl&lt;br /&gt;# cp /etc/apache2/sites-available/default /etc/apache2/sites-available/ssl&lt;br /&gt;# vi /etc/apache2/sites-available/ssl&lt;br /&gt;# diff /etc/apache2/sites-available/default /etc/apache2/sites-available/ssl&lt;br /&gt;&lt;pre&gt;1,2c1,2&lt;br /&gt;&lt; NameVirtualHost *&lt;br /&gt;&lt; &amp;lt;VirtualHost *&amp;gt;&lt;br /&gt;---&lt;br /&gt;&gt; NameVirtualHost *:443&lt;br /&gt;&gt; &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;4a5,7&lt;br /&gt;&gt;       SSLEngine On&lt;br /&gt;&gt;       SSLCertificateFile /etc/apache2/ssl/apache.pem&lt;br /&gt;&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;# a2ensite ssl&lt;br /&gt;# /etc/init.d/apache2 reload&lt;br /&gt;# cp /etc/apache2/sites-available/default /etc/apache2/sites-available/default.orig&lt;br /&gt;# vi /etc/apache2/sites-available/default&lt;br /&gt;# diff /etc/apache2/sites-available/default.orig /etc/apache2/sites-available/default&lt;br /&gt;&lt;pre&gt;1,2c1,2&lt;br /&gt;&lt; NameVirtualHost *&lt;br /&gt;&lt; &amp;lt;VirtualHost *&amp;gt;&lt;br /&gt;---&lt;br /&gt;&gt; NameVirtualHost *:80&lt;br /&gt;&gt; &amp;lt;VirtualHost *:80&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;But then I ran into this problem:&lt;br /&gt;# /etc/init.d/apache2 start&lt;br /&gt;&lt;blockquote&gt; * Starting web server (apache2)...&lt;br /&gt;[Sat Aug 09 17:28:50 2008] [warn] The Alias directive in /etc/apache2/sites-enabled/001-mediawiki at line 1 will probably never match because it overlaps an earlier Alias.&lt;br /&gt;(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80&lt;br /&gt;no listening sockets available, shutting down&lt;br /&gt;Unable to open logs&lt;br /&gt;   ...fail!&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Which I fixed by commenting out the Listen directive in ports.conf:&lt;br /&gt;# vi /etc/apache2/ports.conf&lt;br /&gt;# cat /etc/apache2/ports.conf&lt;br /&gt;&lt;blockquote&gt;#Listen 80&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;That got things working.&lt;br /&gt;&lt;br /&gt;While I was playing with Apache configuration, I went ahead and fixed a warning about a undefined server name:&lt;br /&gt;&lt;br /&gt;# vi /etc/apache2/apache2.conf&lt;br /&gt;# grep ServerName /etc/apache2/apache2.conf&lt;br /&gt;ServerName casey.vwelch.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-6791635375769100021?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/6791635375769100021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=6791635375769100021' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6791635375769100021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/6791635375769100021'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/08/adding-ssl-support-to-apache2.html' title='Adding SSL support to Apache2'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-7636776906171273786</id><published>2008-07-30T22:04:00.003-04:00</published><updated>2008-09-09T00:16:01.354-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lirc'/><title type='text'>LIRC (remote) not working</title><content type='html'>I rebooted my Ubuntu system and suddenly the remote wasn't working. I poked around and noticed lirc was not running.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# ps auxwww | grep lirc&lt;br /&gt;root     14915  0.0  0.0   2884   752 pts/0    R+   21:09   0:00 grep lirc&lt;br /&gt;#&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Poking around in the logs, it looked like lirc was dying when lircmd was started (I verified this by starting them sequentially):&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# tail /var/log/daemon.log&lt;br /&gt;Jul 30 21:00:43 casey lircd-0.8.2-CVS[6792]: lircd(userspace) ready&lt;br /&gt;Jul 30 21:00:48 casey lircd-0.8.2-CVS[6792]: accepted new client on /dev/lircd&lt;br /&gt;Jul 30 21:00:48 casey lircd-0.8.2-CVS[6792]: could not get file information for /dev/lirc&lt;br /&gt;Jul 30 21:00:48 casey lircd-0.8.2-CVS[6792]: default_init(): No such file or directory&lt;br /&gt;Jul 30 21:00:48 casey lircd-0.8.2-CVS[6792]: caught signal&lt;br /&gt;#&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;So I downloaded LIRC 0.8.3 (I had been running 0.8.1) from the &lt;a href="http://sourceforge.net/project/showfiles.php?group_id=5444%20"&gt;project download page&lt;/a&gt; and build according to directions at: &lt;a href="http://www.mythtv.org/wiki/index.php/LIRC_on_Ubuntu_Edgy_Eft%20"&gt;http://www.mythtv.org/wiki/index.php/LIRC_on_Ubuntu_Edgy_Eft&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then the daemon seemed to start fine, though I still had to reboot to get the remote working.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# /etc/init.d/lirc start&lt;br /&gt;Starting lirc daemon: lircd lircmd.&lt;br /&gt;# ps auxwww | grep lirc&lt;br /&gt;root     14842  0.0  0.0      0     0 ?        S    21:07   0:00 [lirc_dev]&lt;br /&gt;root     14909  0.0  0.0   2876   552 ?        Ss   21:09   0:00 /usr/sbin/lircd --device=/dev/lirc&lt;br /&gt;root     14911  0.0  0.0   1636   236 ?        Ss   21:09   0:00 /usr/sbin/lircmd&lt;br /&gt;root     14915  0.0  0.0   2884   752 pts/0    R+   21:09   0:00 grep lirc&lt;br /&gt;#&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-7636776906171273786?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/7636776906171273786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=7636776906171273786' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7636776906171273786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/7636776906171273786'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/07/i-rebooted-my-ubuntu-system-and.html' title='LIRC (remote) not working'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8806174639985521057</id><published>2008-05-10T13:49:00.006-04:00</published><updated>2008-09-09T00:21:44.089-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='auto-update'/><category scheme='http://www.blogger.com/atom/ns#' term='cron'/><title type='text'>Fixing the auto-updating</title><content type='html'>A while ago I set up &lt;a href="http://v2kblog.blogspot.com/2007/05/ubuntu-automatic-update.html"&gt;automatic updating of patches&lt;/a&gt;. Well, today I took a look and it didn't look like things were working (running 'apt-get dist-upgrade' produced a big, long list of stuff that needed to be installed).&lt;br /&gt;&lt;br /&gt;I added "-y" to the "apt-get" command in /etc/cron.daily and that seemed to fix things:&lt;br /&gt;&lt;blockquote&gt;# vi /etc/cron.daily/auto-update&lt;br /&gt;# cat /etc/cron.daily/auto-update&lt;br /&gt;#!/bin/bash&lt;br /&gt;/usr/sbin/cron-apt&lt;br /&gt;/usr/bin/apt-get -y dist-upgrade&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8806174639985521057?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8806174639985521057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8806174639985521057' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8806174639985521057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8806174639985521057'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/05/fixing-auto-updating.html' title='Fixing the auto-updating'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-8714182196692995986</id><published>2008-04-26T16:35:00.007-04:00</published><updated>2008-09-09T00:22:00.024-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mythtv'/><category scheme='http://www.blogger.com/atom/ns#' term='cron'/><title type='text'>Updated mythfilldatabase cron job</title><content type='html'>Based on &lt;a href="http://forums.schedulesdirect.org/viewtopic.php?f=5&amp;amp;t=581"&gt;this post&lt;/a&gt; I changed my crontab entry to:&lt;br /&gt;&lt;blockquote&gt;0 6 * * * /usr/bin/mythfilldatabase --refresh-all --quiet&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-8714182196692995986?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/8714182196692995986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=8714182196692995986' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8714182196692995986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/8714182196692995986'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2008/04/updated-mythfilldatabase-cron-job.html' title='Updated mythfilldatabase cron job'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1158065405652563750.post-3691563068544436283</id><published>2007-09-08T14:53:00.002-04:00</published><updated>2008-09-09T00:22:21.802-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='schedules direct'/><category scheme='http://www.blogger.com/atom/ns#' term='mythtv'/><title type='text'>Updating MythTV to use Schedules Direct</title><content type='html'>I needed to upgrade to MythTV 0.20.2 to use Schedules Direct. I started by following the directions in &lt;a href="http://ubuntuforums.org/showthread.php?t=536555"&gt;http://ubuntuforums.org/showthread.php?t=536555&lt;/a&gt; to upgrade.&lt;br /&gt;&lt;br /&gt;Then to use Schedules Direct I following the directions at&lt;br /&gt;&lt;a href="http://www.mythtv.org/pipermail/mythtv-users/2007-August/191369.html"&gt;http://www.mythtv.org/pipermail/mythtv-users/2007-August/191369.html&lt;/a&gt; , with my annotations as sub-bullets:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Go to &lt;a href="http://www.schedulesdirect.org/"&gt;Schedules Direct&lt;/a&gt; and   create lineups from the identical provider with the identical set of channels as your existing labs account. [Hint: if you see channels you would like to add or delete, keep them the same for now and fix those problems after converting].&lt;/li&gt;&lt;li&gt;Shutdown all myth processes.&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Exit the frontend.&lt;/li&gt;&lt;li&gt;Execute: &lt;blockquote&gt;/etc/init.d/mythtv-backend stop&lt;/blockquote&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Backup your mysql database as described in the &lt;a href="http://www.mythtv.org/docs/mythtv-HOWTO-23.html#ss23.5"&gt;HOWTO&lt;/a&gt;.&lt;span style="font-family: monospace;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: monospace;"&gt;&lt;/span&gt;Execute: &lt;blockquote&gt;mysqldump -u mythtv -pmythtv mythconverg -c &gt; mythtv_backup.sql  &lt;br /&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Run mythtv-setup. Select your existing video sources to change the grabber and login info, "Retrieve Lineups", select the corresponding lineup name then "Finish".&lt;/li&gt;&lt;li&gt;Run mythfilldatabase checking the log to see that things&lt;span style="font-family:monospace;"&gt; &lt;/span&gt;worked correctly.&lt;span style="font-family: monospace;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: monospace;"&gt;&lt;/span&gt;Restart myth processes.&lt;/li&gt;&lt;ol&gt;&lt;li&gt;I just rebooted.&lt;span style="font-family: monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1158065405652563750-3691563068544436283?l=v2kblog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://v2kblog.blogspot.com/feeds/3691563068544436283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1158065405652563750&amp;postID=3691563068544436283' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/3691563068544436283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1158065405652563750/posts/default/3691563068544436283'/><link rel='alternate' type='text/html' href='http://v2kblog.blogspot.com/2007/09/updating-mythtv-to-use-schedules-direct.html' title='Updating MythTV to use Schedules Direct'/><author><name>Von</name><uri>http://www.blogger.com/profile/05687325630634707896</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
