<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Automatic EasyDNS (or other dynamic DNS) updates from your iPhone</title>
	<atom:link href="http://gavcode.wordpress.com/2010/05/13/automatic-easydns-on-iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://gavcode.wordpress.com/2010/05/13/automatic-easydns-on-iphone/</link>
	<description>News and updates to Gavin Brock's code</description>
	<lastBuildDate>Wed, 01 May 2013 23:14:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Jason Shim</title>
		<link>http://gavcode.wordpress.com/2010/05/13/automatic-easydns-on-iphone/#comment-206</link>
		<dc:creator><![CDATA[Jason Shim]]></dc:creator>
		<pubDate>Mon, 20 Aug 2012 20:30:29 +0000</pubDate>
		<guid isPermaLink="false">http://gavcode.wordpress.com/?p=95#comment-206</guid>
		<description><![CDATA[Gavin,

Thanks for the amazing code :). I&#039;ve always wanted to ssh into my iphone just in case sb stole my phone. 

You helped me alot! I am a step closer to sshing into my phone. 

Anyway, I managed to modify your code slightly and came up with a script for no-ip.

It seemed to work and updated my host&#039;s ip address. I can see in the cp that it was changed successfully.

However, I am stuck, as I am unable to ssh into my phone either via the host&#039;s adress or via the ip address updated by my script.

I confirmed that the ip updated through the script matches the external ip of my iphone.

Shouldn&#039;t I be able to ssh into it so long as I have the right external ip for it?

I simply do not get why I get this message...

root@abcd:/home/abcd# ssh root@abcd.no-ip.org
ssh: connect to host abcd.no-ip.org port 22: Connection timed out

Is there anything I missed?

Port 22 on my phone is open.

Why am I getting this error? I am clueless.

Can you point out where I made mistakes?

Thanks


Here&#039;s my version

#!/bin/sh

LAST_IP=xxx

while (true); do

IP=`ifconfig  pdp_ip0 &#124; grep inet &#124;  cut -d &quot; &quot; -f 2`

if [ &quot;$IP&quot; != &quot;&quot; ]; then

if [ &quot;$IP&quot; != &quot;$LAST_IP&quot; ]; then

RES=`wget -qO - --no-check-certificate --user= xyz@no-ip.com--password=no-ip-password &quot;https://dynupdate.no-ip.com/nic/update?hostname=xyz.no-ip.org&amp;myip=${IP}&quot;`

if [ &quot;$RES&quot; == &quot;NOERROR&quot; ]; then

LAST_IP=$IP

fi

fi

fi

sleep 60

done]]></description>
		<content:encoded><![CDATA[<p>Gavin,</p>
<p>Thanks for the amazing code :). I&#8217;ve always wanted to ssh into my iphone just in case sb stole my phone. </p>
<p>You helped me alot! I am a step closer to sshing into my phone. </p>
<p>Anyway, I managed to modify your code slightly and came up with a script for no-ip.</p>
<p>It seemed to work and updated my host&#8217;s ip address. I can see in the cp that it was changed successfully.</p>
<p>However, I am stuck, as I am unable to ssh into my phone either via the host&#8217;s adress or via the ip address updated by my script.</p>
<p>I confirmed that the ip updated through the script matches the external ip of my iphone.</p>
<p>Shouldn&#8217;t I be able to ssh into it so long as I have the right external ip for it?</p>
<p>I simply do not get why I get this message&#8230;</p>
<p>root@abcd:/home/abcd# ssh <a href="mailto:root@abcd.no-ip.org">root@abcd.no-ip.org</a><br />
ssh: connect to host abcd.no-ip.org port 22: Connection timed out</p>
<p>Is there anything I missed?</p>
<p>Port 22 on my phone is open.</p>
<p>Why am I getting this error? I am clueless.</p>
<p>Can you point out where I made mistakes?</p>
<p>Thanks</p>
<p>Here&#8217;s my version</p>
<p>#!/bin/sh</p>
<p>LAST_IP=xxx</p>
<p>while (true); do</p>
<p>IP=`ifconfig  pdp_ip0 | grep inet |  cut -d &#8221; &#8221; -f 2`</p>
<p>if [ "$IP" != "" ]; then</p>
<p>if [ "$IP" != "$LAST_IP" ]; then</p>
<p>RES=`wget -qO &#8211; &#8211;no-check-certificate &#8211;user= <a href="mailto:xyz@no-ip.com">xyz@no-ip.com</a>&#8211;password=no-ip-password &#8220;https://dynupdate.no-ip.com/nic/update?hostname=xyz.no-ip.org&amp;myip=${IP}&#8221;`</p>
<p>if [ "$RES" == "NOERROR" ]; then</p>
<p>LAST_IP=$IP</p>
<p>fi</p>
<p>fi</p>
<p>fi</p>
<p>sleep 60</p>
<p>done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gavin Brock</title>
		<link>http://gavcode.wordpress.com/2010/05/13/automatic-easydns-on-iphone/#comment-153</link>
		<dc:creator><![CDATA[Gavin Brock]]></dc:creator>
		<pubDate>Mon, 11 Oct 2010 13:44:40 +0000</pubDate>
		<guid isPermaLink="false">http://gavcode.wordpress.com/?p=95#comment-153</guid>
		<description><![CDATA[I just did a 4.1 upgrade, and reinstall of the scripts, and I realized curl was broken, and word-press messed up the the quote marks. Instructions should be ok now.

If you have any more fixes, just post em here.]]></description>
		<content:encoded><![CDATA[<p>I just did a 4.1 upgrade, and reinstall of the scripts, and I realized curl was broken, and word-press messed up the the quote marks. Instructions should be ok now.</p>
<p>If you have any more fixes, just post em here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BigTex</title>
		<link>http://gavcode.wordpress.com/2010/05/13/automatic-easydns-on-iphone/#comment-152</link>
		<dc:creator><![CDATA[BigTex]]></dc:creator>
		<pubDate>Sun, 10 Oct 2010 10:34:37 +0000</pubDate>
		<guid isPermaLink="false">http://gavcode.wordpress.com/?p=95#comment-152</guid>
		<description><![CDATA[I&#039;ve got it figured out.. I just don&#039;t know how to forward the information to the author so he can post the changes.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve got it figured out.. I just don&#8217;t know how to forward the information to the author so he can post the changes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Helen Dangote</title>
		<link>http://gavcode.wordpress.com/2010/05/13/automatic-easydns-on-iphone/#comment-148</link>
		<dc:creator><![CDATA[Helen Dangote]]></dc:creator>
		<pubDate>Fri, 04 Jun 2010 07:48:52 +0000</pubDate>
		<guid isPermaLink="false">http://gavcode.wordpress.com/?p=95#comment-148</guid>
		<description><![CDATA[Thanks for this post and the code - although I don&#039;t have an iPhone, I will try it with my computer and see if it works for me as well.

Thanks again.]]></description>
		<content:encoded><![CDATA[<p>Thanks for this post and the code &#8211; although I don&#8217;t have an iPhone, I will try it with my computer and see if it works for me as well.</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
