<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>vamp: dm</title>
    <link>http://www.dminor.com/blog/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>variations on a short vamp in d minor</description>
    <item>
      <title>Domain Registry of America == BAD BAD BAD</title>
      <description>&lt;p&gt;&lt;span class="caps"&gt;WARNING&lt;/span&gt;:  Do not talk with or reply to Domain Registry of America.&lt;/p&gt;


	&lt;p&gt;So, since the late 90s when I got into this business, Domain Registry of America has been sending U.S. Postal mail spam to me and all my customers trying to coax them into transferring their domain names.  They are a scam and I counsel my clients to register their domain names through my account so that they know there is only one source for their internet costs.&lt;/p&gt;


	&lt;p&gt;These people really piss me off.&lt;/p&gt;


	&lt;p&gt;I just got a phone call from them.  Wanting to &amp;#8220;verify contact information&amp;#8221; for a domain.  If they had contacted this customer directly, he probably would have give all the information to them.  I quizzed him on who the company was.  When I asked &amp;#8220;are you a registrar?&amp;#8221;, he answered, &amp;#8220;yes, this is an application process&amp;#8212;is the address still &amp;#8230;&amp;#8221;&lt;/p&gt;


	&lt;p&gt;The conversation did not proceed much further as you can imagine, but I fear that they will hijack more domains now that they are cold calling people.  Beware.&lt;/p&gt;</description>
      <pubDate>Wed, 04 Jun 2008 15:01:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:7a6b0d60-cab4-4ed1-b117-f87c56ec1163</guid>
      <author>Dave Minor</author>
      <link>http://www.dminor.com/blog/articles/2008/06/04/domain-registry-of-america-bad-bad-bad</link>
      <category>Internet</category>
    </item>
    <item>
      <title>Remote Control of OS X (Tiger) Desktop via VNC</title>
      <description>&lt;p&gt;I&amp;#8217;ve been asked to post the method that I use to easily log onto remote macs to facilitate support on some of my client&amp;#8217;s machines.  This is not rocket science, just my howto that I pieced together from several sources long forgotten (sorry).  It&amp;#8217;s very possible that this procedure will continue to work on Leopard, all of the machines I deal with are still running Tiger at this point.  I think this worked with Jaguar too, but I can&amp;#8217;t recall.&lt;/p&gt;


	&lt;p&gt;The basic idea is to log onto the remote machine via &lt;span class="caps"&gt;SSH&lt;/span&gt;, start a &lt;span class="caps"&gt;VNC&lt;/span&gt; server, then connect from the local machine and use &lt;span class="caps"&gt;SSH&lt;/span&gt; port forwarding tricks to keep yourself from leaving &lt;span class="caps"&gt;VNC&lt;/span&gt; ports open and forwarded on the remote router.&lt;/p&gt;


	&lt;h3&gt;Remote Machine Setup&lt;/h3&gt;


	&lt;ul&gt;
	&lt;li&gt;must have an administrator&amp;#8217;s account&lt;/li&gt;
		&lt;li&gt;must have a static IP address on the &lt;span class="caps"&gt;LAN&lt;/span&gt;&lt;/li&gt;
		&lt;li&gt;install &lt;a href="http://www.redstonesoftware.com/osxvnc"&gt;OSXvnc&lt;/a&gt; which is now called something else.  I am running version 1.4.  I&amp;#8217;m not sure if this will work with the new server&lt;/li&gt;
		&lt;li&gt;create a ~/bin directory&lt;/li&gt;
		&lt;li&gt;in ~/bin, I have two files:&lt;/li&gt;
	&lt;/ul&gt;


&lt;blockquote&gt;&lt;code&gt;&lt;pre&gt;dminor$ cat bin/startvnc 
#!/bin/sh
sudo /Applications/OSXvnc.app/OSXvnc-server -rfbport 5900 \
&amp;gt; ~/Library/Logs/OSXvnc-server.log 2&amp;gt;&amp;#38;1 &amp;#38;

echo "VNC has started" 

dminor$ cat bin/stopvnc 
#!/bin/sh

sudo killall OSXvnc-server
echo "VNC has stopped" 
&lt;/pre&gt;&lt;/code&gt;&lt;/blockquote&gt;

	&lt;ul&gt;
	&lt;li&gt;locally, run bin/startvnc and bin/stopvnc to make sure they are working properly and that they are firing off the osxvnc server&lt;/li&gt;
		&lt;li&gt;in ~/.bash_profile, just under my path, I put &lt;code&gt;source ~/bin/startvnc&lt;/code&gt; and as the last line of the file, &lt;code&gt;trap '$HOME/bin/stopvnc' 0&lt;/code&gt;&lt;/li&gt;
		&lt;li&gt;now when you start a terminal sesssion (locally or &lt;span class="caps"&gt;SSH&lt;/span&gt;), the vnc server will start.&lt;/li&gt;
		&lt;li&gt;verify in Sharing Pref Pane that the &lt;em&gt;Remote Login&lt;/em&gt; service is checked and that you can &lt;span class="caps"&gt;SSH&lt;/span&gt; into the box.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;h3&gt;Remote Network Setup&lt;/h3&gt;


	&lt;p&gt;You&amp;#8217;ll need to have port forwarding on the network&amp;#8217;s router to the remote machine on port 22.  As you&amp;#8217;ll see below, there is no need to have &lt;span class="caps"&gt;VNC&lt;/span&gt; ports forwarded on the router.&lt;/p&gt;


	&lt;h3&gt;Ease of Access via Hostname&lt;/h3&gt;


	&lt;p&gt;It sure makes it a lot easier if you can &lt;span class="caps"&gt;SSH&lt;/span&gt; to a hostname that stays constant instead of having to determine the dynamic IP address of the remote machine each time.  For dynamic IPs, I use dyndns.org to maintain a good hostname.  For static IPs, I just setup an A record in the &lt;span class="caps"&gt;DNS&lt;/span&gt; zone file.  Actually, if it&amp;#8217;s a dynamic, I usually setup a &lt;span class="caps"&gt;CNAME&lt;/span&gt; record pointing to the dyndns hostname.  And this works great on a local network too with bonjour.&lt;/p&gt;


	&lt;h3&gt;Local Machine Setup&lt;/h3&gt;


	&lt;p&gt;On your local machine, you need &lt;span class="caps"&gt;SSH&lt;/span&gt; and a &lt;span class="caps"&gt;VNC&lt;/span&gt; client.  On &lt;span class="caps"&gt;OSX&lt;/span&gt;, I use &lt;a href="http://cotvnc.sourceforge.net"&gt;Chicken of the &lt;span class="caps"&gt;VNC&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;


In my ~/.ssh/config file, I&amp;#8217;ve setup entries for each remote machine like:
&lt;blockquote&gt;&lt;code&gt;&lt;pre&gt;
Host jkmini
  HostName jkwork.clients-domain.com
  Port 22
  Compression yes
  LocalForward 5901 127.0.0.1:5901
&lt;/pre&gt;&lt;/code&gt;&lt;/blockquote&gt;

Now when &lt;span class="caps"&gt;I SSH&lt;/span&gt; jkmini, I get a terminal and vnc starts automatically.  Here&amp;#8217;s a sample session on the local network:
&lt;blockquote&gt;&lt;code&gt;&lt;pre&gt;
[dminor@ginger: ~]$ ssh sarahs-imac.local
Last login: Fri Dec 21 15:54:35 2007 from ginger.local
Welcome to Darwin!
VNC has started

[dminor@Sarahs-iMac: ~]$ ps aux | grep vnc
root     21718   0.0  0.2   196736   2680  p2  S     3:55PM   0:00.17 /Applications/OSXvnc.app/OSXvnc-server -rfbport 5900
dminor   21721   0.0  0.0    27812      4  p2  R+    3:55PM   0:00.00 grep vnc

[dminor@Sarahs-iMac: ~]$ logout
VNC has stopped
Connection to sarahs-imac.local closed.
&lt;/pre&gt;&lt;/code&gt;&lt;/blockquote&gt;

	&lt;p&gt;In the case of a controlling a local machine (as above), I&amp;#8217;d simply fire up &lt;em&gt;Chicken of the &lt;span class="caps"&gt;VNC&lt;/span&gt;&lt;/em&gt; and connect to the hostname.local on the proper port (5900 here) and gain access.&lt;/p&gt;


	&lt;p&gt;On a remote session over &lt;span class="caps"&gt;SSH&lt;/span&gt;, you&amp;#8217;ll see that we setup local port forwarding on the &lt;span class="caps"&gt;SSH&lt;/span&gt; session, so locally, port 5901 is being redirected to 5901 on the remote machine over &lt;span class="caps"&gt;SSH&lt;/span&gt;.  I fire up Chicken and connect to &lt;strong&gt;localhost:5901&lt;/strong&gt;.&lt;/p&gt;


	&lt;h3&gt;Multiple Remote Machines That Share a &lt;span class="caps"&gt;LAN&lt;/span&gt;&lt;/h3&gt;


	&lt;p&gt;I&amp;#8217;ve also configured multiple machines behind the same router (therefore a shared public IP).  I can attach to two machines on the same &lt;span class="caps"&gt;LAN&lt;/span&gt; at the same time over &lt;span class="caps"&gt;SSH&lt;/span&gt; with no problems.  I may post that additional writeup one day.&lt;/p&gt;


	&lt;p&gt;I hope this is helpful and not too confusing.&lt;/p&gt;</description>
      <pubDate>Fri, 21 Dec 2007 15:25:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:fcb86f44-ec6e-45df-ab3a-396165462596</guid>
      <author>Dave Minor</author>
      <link>http://www.dminor.com/blog/articles/2007/12/21/remote-control-of-os-x-tiger-desktop-via-vnc</link>
      <category>Mac OS X</category>
      <category>Server</category>
      <category>Hardware</category>
    </item>
    <item>
      <title>Instructions written by the Marketing Department</title>
      <description>&lt;p&gt;I was reading through a &lt;span class="caps"&gt;DVD&lt;/span&gt; recorder manual the other day for my grandmother and came upon this quotable:&lt;/p&gt;


	&lt;blockquote&gt;
		&lt;p&gt;Virtual Surround System:&lt;br /&gt;
You can enjoy stereophonic space through your exciting 2 channel stereo system.&lt;/p&gt;
	&lt;/blockquote&gt;


	&lt;p&gt;Doesn&amp;#8217;t that just make you want to go out and get one for yourself today.  We&amp;#8217;re talking bleeding edge home theater here.&lt;/p&gt;</description>
      <pubDate>Tue, 13 Nov 2007 10:59:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:b573c778-e5ac-4de0-ba0b-84da414e6153</guid>
      <author>Dave Minor</author>
      <link>http://www.dminor.com/blog/articles/2007/11/13/instructions-written-by-the-marketing-department</link>
      <category>Misc</category>
    </item>
    <item>
      <title>Watermelon!</title>
      <description>&lt;p&gt;&lt;img src="/blog/files/watermelon.jpg" alt="" /&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 15 Aug 2007 15:37:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:7ac0aa92-de43-4ae4-858b-97cdc42344d8</guid>
      <author>Dave Minor</author>
      <link>http://www.dminor.com/blog/articles/2007/08/15/watermelon</link>
      <category>Family</category>
      <enclosure type="image/jpeg" url="http://www.dminor.com/blog/files/watermelon.jpg" length="114484"/>
    </item>
    <item>
      <title>Where's the mute?</title>
      <description>&lt;p&gt;&amp;#8221;... and the endless flow of almost entirely content-free chatter.&amp;#8221;&lt;/p&gt;


	&lt;p&gt;&amp;#8212;&lt;a href="http://tbray.org"&gt;Tim Bray&lt;/a&gt; on his 8 year old son and friend at a ballgame chatting.&lt;/p&gt;


	&lt;p&gt;I can relate, but I&amp;#8217;m not sure I can share his feeling of it being a &amp;#8220;treat to listen to.&amp;#8221;&lt;/p&gt;</description>
      <pubDate>Tue, 07 Aug 2007 17:26:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:c7a1e466-7139-42c8-8c0b-91ced8d8aecf</guid>
      <author>Dave Minor</author>
      <link>http://www.dminor.com/blog/articles/2007/08/07/wheres-the-mute</link>
      <category>Family</category>
    </item>
    <item>
      <title>Reader Submitted Content</title>
      <description>&lt;p&gt;Ah, the first entry for the dminor.com &lt;a href="/blog/pages/about.html"&gt;About Me&lt;/a&gt; page has arrived and been published.  It&amp;#8217;s &amp;#8230; unedited.  Thanks Dane.  Any other contributors??&lt;/p&gt;</description>
      <pubDate>Fri, 03 Aug 2007 22:26:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:1ad20669-0afd-4bf2-9777-20e6d0874d98</guid>
      <author>Dave Minor</author>
      <link>http://www.dminor.com/blog/articles/2007/08/03/reader-submitted-content</link>
      <category>Blog News</category>
    </item>
    <item>
      <title>iTempted, iIndulge</title>
      <description>&lt;p&gt;&lt;img src="/blog/files/iPhone.jpg" alt="" /&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 06 Jul 2007 13:24:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:a71a2cee-b822-425d-9419-ba3d242df530</guid>
      <author>Dave Minor</author>
      <link>http://www.dminor.com/blog/articles/2007/07/06/itempted</link>
      <category>Mac OS X</category>
      <category>Look Inside</category>
      <category>Hardware</category>
      <enclosure type="image/jpeg" url="http://www.dminor.com/blog/files/iPhone.jpg" length="86825"/>
    </item>
    <item>
      <title>Welcome to My Minivan</title>
      <description>&lt;object width="425" height="350"&gt;&lt;param name="movie" value="http://www.youtube.com/v/HEFE3B0Rje0"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/HEFE3B0Rje0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"&gt;&lt;/embed&gt;&lt;/object&gt;

	&lt;p&gt;I&amp;#8217;m glad to know there are others who share my frustration with how my vehicle looks.&lt;/p&gt;</description>
      <pubDate>Thu, 10 May 2007 11:28:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:2d93d86b-4b60-47b9-ba0d-9ea99b209e33</guid>
      <author>Dave Minor</author>
      <link>http://www.dminor.com/blog/articles/2007/05/10/welcome-to-my-minivan</link>
      <category>Family</category>
      <category>Look Inside</category>
      <category>Misc</category>
    </item>
    <item>
      <title>Coding on  a shoestring</title>
      <description>&lt;p&gt;I was playing with some code in irb just now and was randomly using the noun &amp;#8220;shoe&amp;#8221; and got this error:&lt;/p&gt;


&lt;code&gt;NoMethodError: undefined method `pluralize' for "shoe":String&lt;/code&gt;</description>
      <pubDate>Wed, 02 May 2007 10:23:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:cab90ffe-5b3f-4760-8be1-a0390373d5ba</guid>
      <author>Dave Minor</author>
      <link>http://www.dminor.com/blog/articles/2007/05/02/coding-on-a-shoestring</link>
      <category>Programming</category>
      <category>Ruby</category>
    </item>
    <item>
      <title>Contextual Spelling</title>
      <description>&lt;p&gt;I can&amp;#8217;t believe I haven&amp;#8217;t noticed this before and I don&amp;#8217;t know to what extent it works.  In some apps (mail.app, safari forms except this one that I&amp;#8217;m filling out), if you right click on a word, there will be alternative suggestions of the word available.  I also hadn&amp;#8217;t noticed the &amp;#8220;look up in dictionary&amp;#8221; option.&lt;/p&gt;


	&lt;p&gt;I have used the Esc key to show me suggestions, but that doesn&amp;#8217;t work in all apps either.  I&amp;#8217;m really not sure why the right click won&amp;#8217;t work in this form field while it did on another site.&lt;/p&gt;


	&lt;p&gt;Maybe someone will comment on when and how this works.&lt;/p&gt;</description>
      <pubDate>Tue, 01 May 2007 13:18:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:bf5ddf1f-9fa2-4a7b-9c34-a5fd3a560f1d</guid>
      <author>Dave Minor</author>
      <link>http://www.dminor.com/blog/articles/2007/05/01/contextual-spelling</link>
      <category>Mac OS X</category>
    </item>
  </channel>
</rss>
