<?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/"
	
	>
<channel>
	<title>
	Comments on: DynDNS Monthly Login Script for TomatoUSB	</title>
	<atom:link href="https://www.shadowandy.net/2014/01/dyndns-monthly-login-script-tomatousb.htm/feed" rel="self" type="application/rss+xml" />
	<link>https://www.shadowandy.net/2014/01/dyndns-monthly-login-script-tomatousb.htm</link>
	<description>Dreams ∙ Passion ∙ Digital World</description>
	<lastBuildDate>Wed, 02 Apr 2014 19:41:24 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: MY		</title>
		<link>https://www.shadowandy.net/2014/01/dyndns-monthly-login-script-tomatousb.htm#comment-283400</link>

		<dc:creator><![CDATA[MY]]></dc:creator>
		<pubDate>Wed, 02 Apr 2014 19:41:24 +0000</pubDate>
		<guid isPermaLink="false">http://18.142.186.164/wp/?p=5410#comment-283400</guid>

					<description><![CDATA[Hi shadowandy,

Can you write a similar script for no-ip.com. It also requires users to login monthly. I am not sure if a simple login is sufficient or not to keep the account active. It may be necessary to click on &quot;Modify&quot;, then &quot;Update&quot; for each host name.

Thanks,]]></description>
			<content:encoded><![CDATA[<p>Hi shadowandy,</p>
<p>Can you write a similar script for no-ip.com. It also requires users to login monthly. I am not sure if a simple login is sufficient or not to keep the account active. It may be necessary to click on &#8220;Modify&#8221;, then &#8220;Update&#8221; for each host name.</p>
<p>Thanks,</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Andy		</title>
		<link>https://www.shadowandy.net/2014/01/dyndns-monthly-login-script-tomatousb.htm#comment-283210</link>

		<dc:creator><![CDATA[Andy]]></dc:creator>
		<pubDate>Wed, 12 Mar 2014 12:38:34 +0000</pubDate>
		<guid isPermaLink="false">http://18.142.186.164/wp/?p=5410#comment-283210</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.shadowandy.net/2014/01/dyndns-monthly-login-script-tomatousb.htm#comment-283199&quot;&gt;MY&lt;/a&gt;.

MY,

Thanks for troubleshooting. Cos my username is in lowercase so didn&#039;t realise that DynDNS actually represents the username in lowercase. Glad that it works for you. :)]]></description>
			<content:encoded><![CDATA[<p>MY,</p>
<p>Thanks for troubleshooting. Cos my username is in lowercase so didn&#8217;t realise that DynDNS actually represents the username in lowercase. Glad that it works for you. 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: MY		</title>
		<link>https://www.shadowandy.net/2014/01/dyndns-monthly-login-script-tomatousb.htm#comment-283199</link>

		<dc:creator><![CDATA[MY]]></dc:creator>
		<pubDate>Tue, 11 Mar 2014 20:19:34 +0000</pubDate>
		<guid isPermaLink="false">http://18.142.186.164/wp/?p=5410#comment-283199</guid>

					<description><![CDATA[I figured out the problem. My Username to login the account is mixed case like: XYz. After logging in to the website, username is converted to lowercase. OUTPUT file contains &quot;Welcome xyz&quot;.
If I type in 
USERNAME=&quot;xyz&quot; 
then your code works.]]></description>
			<content:encoded><![CDATA[<p>I figured out the problem. My Username to login the account is mixed case like: XYz. After logging in to the website, username is converted to lowercase. OUTPUT file contains &#8220;Welcome xyz&#8221;.<br />
If I type in<br />
USERNAME=&#8221;xyz&#8221;<br />
then your code works.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: MY		</title>
		<link>https://www.shadowandy.net/2014/01/dyndns-monthly-login-script-tomatousb.htm#comment-283179</link>

		<dc:creator><![CDATA[MY]]></dc:creator>
		<pubDate>Mon, 10 Mar 2014 14:11:46 +0000</pubDate>
		<guid isPermaLink="false">http://18.142.186.164/wp/?p=5410#comment-283179</guid>

					<description><![CDATA[No, not with 
if grep -E “(Welcome&#124;Hi).*$USERNAME” $OUTPUT &#062; /dev/null 2&#062;&#038;1; 

I changed it to read:
if grep -E “Welcome” $OUTPUT &#062; /dev/null 2&#062;&#038;1; 
Then it is successful. 
I played with every combination of “(Welcome&#124;Hi).*$USERNAME” . It did not work. When I login, I see Welcome XYZ, where XYZ is the username.
If you can explain ().*, that may be helpful.]]></description>
			<content:encoded><![CDATA[<p>No, not with<br />
if grep -E “(Welcome|Hi).*$USERNAME” $OUTPUT &gt; /dev/null 2&gt;&amp;1; </p>
<p>I changed it to read:<br />
if grep -E “Welcome” $OUTPUT &gt; /dev/null 2&gt;&amp;1;<br />
Then it is successful.<br />
I played with every combination of “(Welcome|Hi).*$USERNAME” . It did not work. When I login, I see Welcome XYZ, where XYZ is the username.<br />
If you can explain ().*, that may be helpful.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Andy		</title>
		<link>https://www.shadowandy.net/2014/01/dyndns-monthly-login-script-tomatousb.htm#comment-283168</link>

		<dc:creator><![CDATA[Andy]]></dc:creator>
		<pubDate>Mon, 10 Mar 2014 05:35:39 +0000</pubDate>
		<guid isPermaLink="false">http://18.142.186.164/wp/?p=5410#comment-283168</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.shadowandy.net/2014/01/dyndns-monthly-login-script-tomatousb.htm#comment-283166&quot;&gt;MY&lt;/a&gt;.

MY,

The Welcome&#124;Hi is actually regular expression so it matches either Welcome or Hi. Do you see that the login is successful in your router logs?]]></description>
			<content:encoded><![CDATA[<p>MY,</p>
<p>The Welcome|Hi is actually regular expression so it matches either Welcome or Hi. Do you see that the login is successful in your router logs?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: MY		</title>
		<link>https://www.shadowandy.net/2014/01/dyndns-monthly-login-script-tomatousb.htm#comment-283166</link>

		<dc:creator><![CDATA[MY]]></dc:creator>
		<pubDate>Mon, 10 Mar 2014 04:36:07 +0000</pubDate>
		<guid isPermaLink="false">http://18.142.186.164/wp/?p=5410#comment-283166</guid>

					<description><![CDATA[I had another curl at this location:
CURL_EXE=&quot;/opt/bin/curl&quot;
SO, I changed the code as above. Now, I don&#039;t get the &quot;Permission denied&quot; anymore. I commented the lines as follows to see if outputs are generated.
# rm $COOKIE
# rm $OUTPUT

I think the issue is with this line:
if grep -E &quot;(Welcome&#124;Hi).*$USERNAME&quot; $OUTPUT &#062; /dev/null 2&#062;&#038;1; then


OUTPUT file does not have &quot;Welcome&#124;Hi&quot; in it.
When I login to my account, I don&#039;t see &quot;Welcome&#124;Hi&quot;.

There is Welcome and my username.]]></description>
			<content:encoded><![CDATA[<p>I had another curl at this location:<br />
CURL_EXE=&#8221;/opt/bin/curl&#8221;<br />
SO, I changed the code as above. Now, I don&#8217;t get the &#8220;Permission denied&#8221; anymore. I commented the lines as follows to see if outputs are generated.<br />
# rm $COOKIE<br />
# rm $OUTPUT</p>
<p>I think the issue is with this line:<br />
if grep -E &#8220;(Welcome|Hi).*$USERNAME&#8221; $OUTPUT &gt; /dev/null 2&gt;&amp;1; then</p>
<p>OUTPUT file does not have &#8220;Welcome|Hi&#8221; in it.<br />
When I login to my account, I don&#8217;t see &#8220;Welcome|Hi&#8221;.</p>
<p>There is Welcome and my username.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: MY		</title>
		<link>https://www.shadowandy.net/2014/01/dyndns-monthly-login-script-tomatousb.htm#comment-283164</link>

		<dc:creator><![CDATA[MY]]></dc:creator>
		<pubDate>Mon, 10 Mar 2014 03:05:04 +0000</pubDate>
		<guid isPermaLink="false">http://18.142.186.164/wp/?p=5410#comment-283164</guid>

					<description><![CDATA[I get this:

root@XXXXXX:/tmp/home/root# /tmp/curl –version
-sh: /tmp/curl: Permission denied]]></description>
			<content:encoded><![CDATA[<p>I get this:</p>
<p>root@XXXXXX:/tmp/home/root# /tmp/curl –version<br />
-sh: /tmp/curl: Permission denied</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Andy		</title>
		<link>https://www.shadowandy.net/2014/01/dyndns-monthly-login-script-tomatousb.htm#comment-283163</link>

		<dc:creator><![CDATA[Andy]]></dc:creator>
		<pubDate>Mon, 10 Mar 2014 02:18:16 +0000</pubDate>
		<guid isPermaLink="false">http://18.142.186.164/wp/?p=5410#comment-283163</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.shadowandy.net/2014/01/dyndns-monthly-login-script-tomatousb.htm#comment-283159&quot;&gt;MY&lt;/a&gt;.

MY,

Can you execute &quot;/tmp/curl --version&quot; and paste me the version and details?

If it fails to execute, do ensure that /tmp/curl is set to be executable.]]></description>
			<content:encoded><![CDATA[<p>MY,</p>
<p>Can you execute &#8220;/tmp/curl &#8211;version&#8221; and paste me the version and details?</p>
<p>If it fails to execute, do ensure that /tmp/curl is set to be executable.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: MY		</title>
		<link>https://www.shadowandy.net/2014/01/dyndns-monthly-login-script-tomatousb.htm#comment-283159</link>

		<dc:creator><![CDATA[MY]]></dc:creator>
		<pubDate>Sun, 09 Mar 2014 19:25:19 +0000</pubDate>
		<guid isPermaLink="false">http://18.142.186.164/wp/?p=5410#comment-283159</guid>

					<description><![CDATA[I placed the file under:
CURL_EXE=&quot;/tmp/curl&quot;

I get 
Mar  9 12:10:32 XXXXX user.notice root: DDNS_AUTOLOGIN - Login Unsuccessful

When I execute the command from Tomato Tools, System page, I get:

/tmp/DDNS_LOGIN.sh: line 23: /tmp/curl: Permission denied 
/tmp/DDNS_LOGIN.sh: line 25: /tmp/curl: Permission denied 
rm: can&#039;t remove &#039;/tmp/DDNSAL.cookie&#039;: No such file or directory 
rm: can&#039;t remove &#039;/tmp/DDNSAL.output&#039;: No such file or directory 

/tmp/curl folder contains 660 kb curl file without any extension and an empty folder named:__MACOSX]]></description>
			<content:encoded><![CDATA[<p>I placed the file under:<br />
CURL_EXE=&#8221;/tmp/curl&#8221;</p>
<p>I get<br />
Mar  9 12:10:32 XXXXX user.notice root: DDNS_AUTOLOGIN &#8211; Login Unsuccessful</p>
<p>When I execute the command from Tomato Tools, System page, I get:</p>
<p>/tmp/DDNS_LOGIN.sh: line 23: /tmp/curl: Permission denied<br />
/tmp/DDNS_LOGIN.sh: line 25: /tmp/curl: Permission denied<br />
rm: can&#8217;t remove &#8216;/tmp/DDNSAL.cookie&#8217;: No such file or directory<br />
rm: can&#8217;t remove &#8216;/tmp/DDNSAL.output&#8217;: No such file or directory </p>
<p>/tmp/curl folder contains 660 kb curl file without any extension and an empty folder named:__MACOSX</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Andy		</title>
		<link>https://www.shadowandy.net/2014/01/dyndns-monthly-login-script-tomatousb.htm#comment-283142</link>

		<dc:creator><![CDATA[Andy]]></dc:creator>
		<pubDate>Sun, 09 Mar 2014 02:32:58 +0000</pubDate>
		<guid isPermaLink="false">http://18.142.186.164/wp/?p=5410#comment-283142</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.shadowandy.net/2014/01/dyndns-monthly-login-script-tomatousb.htm#comment-283081&quot;&gt;MY&lt;/a&gt;.

MY,

Just set the CURL_EXE variable to point to the location of the curl on the usb disk. The codes on line 25 to 28 will skip the download if it finds a executable named curl at the location of CURL_EXE.]]></description>
			<content:encoded><![CDATA[<p>MY,</p>
<p>Just set the CURL_EXE variable to point to the location of the curl on the usb disk. The codes on line 25 to 28 will skip the download if it finds a executable named curl at the location of CURL_EXE.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Content Delivery Network via Amazon Web Services: S3: cdn.shadowandy.net
Lazy Loading (feed)
Minified using Disk

Served from: www.shadowandy.net @ 2026-04-09 00:24:36 by W3 Total Cache
-->