<rdf:RDF
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
    xmlns:s='http://snipsnap.org/rdf/snip-schema#'
    xml:base='http://www.nimret.com/rdf'>
    <s:Snip rdf:about='http://www.nimret.com/rdf#start/2009-10-01/1'
         s:name='start/2009-10-01/1'
         s:cUser='admin'
         s:oUser='admin'
         s:mUser='admin'>
        <s:content>1 what is my ip {anchor:what is my ip}&#xA;I&apos;ve been trying to figure out a way to be able to setup access to my folks&apos; linux box remotely for a while now. They&apos;ve been happily using it for a few years now and apart from the rare windows office incompatibility, they really haven&apos;t run into any big issues.&#xD;&#xA;&#xD;&#xA;They don&apos;t have a static IP ( like pretty much everyone else on a non business plan these days) so I looked into Dynamic DNS as an option but couldn&apos;t get it going quite right. It needs to be setup on the Verizon router which supposedly has options to set it up but it never really worked.&#xD;&#xA;&#xD;&#xA;Being the lazy programmer that I am I started thinking about how I could re-purpose what&apos;s already available for my needs. A simple, brain dead solution I came up with is to run a script via cron ( say on the hour) which figures out what their computer&apos;s public facing IP is and then scp it over to my box:&#xD;&#xA;&#xD;&#xA;{code:Bash}&#xD;&#xA;IP=`curl http://whatismyip.com/automation/n09230945.asp`&#xD;&#xA;echo $IP &gt; ip.txt&#xD;&#xA;scp -P 22000 ip.txt nimret@nimret.org:~/some/folder/dadsip.txt&#xD;&#xA;{code}&#xD;&#xA;&#xD;&#xA;It could probably be improved upon by not sending anything if the IP hasn&apos;t actually changed or streaming the data instead of copying the file but this seems to work great for now! =)</s:content>
        <s:mTime>2009-10-01 10:45:12.429</s:mTime>
        <s:cTime>2009-10-01 10:45:12.429</s:cTime>
        <s:comments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
        <s:snipLinks
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
        <s:attachments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
    </s:Snip>
</rdf:RDF>
