Re: problem with dynamic dns update using perl
- That Perl seems over complicated for a relatively simple matter. Do
you have a router that can update your dyn dns service? If yes, that's
the way to go.
Otherwise, you just need to hit this website to update the IP ....
Perhaps you could setup a cron entry to hit that website periodically
using wget or something.
--- In firstname.lastname@example.org, "h8dc" <h8dc@y...> wrote:
> Small (hopefully) problem here. I'm by no means a *unix expert so
> be gentle. :-)
> I'm running uNSLUng 5.5 beta on my SLUG. I have installed the Perl
> 5.8.6-3 package with hopes of using a perl script from my DNS
> provider (dnsexit.com) to update my ip address when my ISP changes
> it. Given that, when I run the script, it generates the following
> Can't locate LWP/UserAgent.pm in @INC (@INC
> contains: /opt/lib/perl5/5.8.6/armv5b-
> linux /opt/lib/perl5/5.8.6 /opt/lib/perl5/site_perl/5.8.6/armv5b-
> linux /opt/lib/perl5/site_perl/5.8.6 /opt/lib/perl5/site_perl .) at
> ipUpdate.pl line 10.
> BEGIN failed--compilation aborted at ipUpdate.pl line 10.
> The line it hangs on in the script is:
> use LWP::UserAgent;
> Now, from what I've read, I'm missing, or something can't find, the
> libwww-perl module (?). Is that included in the perl package or do
> I have to install it? If I have to install it, can I safely do it
> my Slug, with other possible dependencies for it, given the
> constraints of the Slug itself. I don't want to brick it.
> Any help would be greately appreciated!