Solved -- Errors with afraid-dyndns in Goddard (Fedora 13)
Since I updated to the <a class="zem_slink freebase/en/fedora" title="Fedora" rel="homepage" href="http://fedoraproject.org/">Fedora 13, I was getting error from the <a class="zem_slink freebase/en/dynamic_dns" title="Dynamic DNS" rel="wikipedia" href="http://en.wikipedia.org/wiki/Dynamic_DNS">Dynamic DNS client for afraid. I was not getting enough time to fix this, so finally I decided to fix this in the night itself π
Problem:
On running
afraid-dyndns
I was getting the error:
Entity: line 100: <a class="zem_slink freebase/en/parsing" title="Parsing" rel="wikipedia" href="http://en.wikipedia.org/wiki/Parsing">parser error : Opening and ending tag mismatch: br line 99 and div
^
Entity: line 118: parser error : Entity ’copy’ not defined
Β© 2010 DomainTools, <a class="zem_slink freebase/en/limited_liability_company" title="Limited liability company" rel="wikipedia" href="http://en.wikipedia.org/wiki/Limited_liability_company">LLC All <a class="zem_slink freebase/en/intellectual_property" title="Intellectual property" rel="wikipedia" href="http://en.wikipedia.org/wiki/Intellectual_property">rights reserved.
^
Entity: line 121: parser error : AttValue: ” or ’ expected
/link/?id=4668’;} return(true);”><img src="/images/domaining-120x31.gif" border="^" alt="" /><img src="/images/domaining-120x31.gif" border="</p" alt="" />
So here is the solution :
On further investigation I found that the issue was not with the afraid server but with getting the external IP. So I decided to use my own site to get the IP. And changed the following in the afraid-dyndns file:
Comment out the following code:
#$xml = get(”http://ip-address.domaintools.com/myip.xml”);
#die ”Failed fetching <a class="zem_slink freebase/en/ip_address" title="IP address" rel="wikipedia" href="http://en.wikipedia.org/wiki/IP_address">IP address!” unless $xml;
#echo (”Got IP:”. $xml);#$o = XMLin($xml);
#$extip = $o->{proxy_ip}; # external address
And add the following line just below the just commented lines:
$extip = get(”http://amit-agarwal.co.in/mystuff/getip_txt.php”);
$extip =~ s/\n//;
This change be sufficient to get you going again.. π<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://blog.amit-agarwal.co.in/2010/03/23/unbound-variable-bash-completion-not-working-and-having-issues-with-other-stuff-like-command-not-found/">unbound variable β bash completion not working and having issues with other stuff like command not found. (amit-agarwal.co.in) <li class="zemanta-article-ul-li"><a href="http://www.makeuseof.com/tag/connect-home-network-dyndns/">Connect To Your Home Network From Anywhere With DynDNS (makeuseof.com) <li class="zemanta-article-ul-li"><a href="http://blog.amit-agarwal.co.in/2010/04/12/mappings-tex-file-vim-plugins/">Get the mappings from tex file for vim plugins (amit-agarwal.co.in) <li class="zemanta-article-ul-li"><a href="http://askowen.info/2010/04/what-is-my-ip-address/">What is my IP address? (askowen.info) <li class="zemanta-article-ul-li"><a href="http://blog.amit-agarwal.co.in/2010/04/11/bash-script-change-vim-colorscheme-based-themes/">bash script to change vim colorscheme based on the available themes (amit-agarwal.co.in) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/29064ed0-3b0c-4700-b250-52b41c7aa2af/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b81.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">
Related Articles:
- 2010/04/12 Afraid Dynamic DNS client in Fedora with Email indicating the changed to original IP.
- 2010/04/30 Local DNS Server for faster DNS response time
- 2010/03/16 OpenDNS and Proxies: Putting it All Together on Ubuntu Karmic
- 2010/01/19 Perl script to create csv files with a pattern β Generic script.
- 2009/11/17 Calculations