Sign up here and you can log into the forum!

ddclient 0.3 - Automatic updater for Dynamic DNS

Here is the place to inquire about app.bins--Only currently available apps for sigma 8655 based wdtv's belong in this forum. requests go in 'Application Questions'

Re: ddclient 0.2 - Automatic updater for Dynamic DNS   

Postby chameleon_skin » Fri Sep 10, 2010 4:05 pm

Update #2: Ok, I figured out the issue. Apparently the internet interfaces are not being brought up on the WD TV until after the ddclient load script runs. I would have thought that it would simply catch it on the next run, but apparently ddclient fails on subsequent runs if it can't find the ip address provider on the first run.

I have made some modifications to do exactly what you suggested, i.e. delay the start of ddclient for about three minutes to make sure that the internet interface is brought up before ddclient starts running. I tested this on my box, and now the ddclient.cache file (i.e. the one that contains the info about your current ip address) is being correctly created and populated.

I have also changed the provider of the ip address, since as mentioned in my last message the checkip.dyndns.org is really flaky (specifically, there are really three servers around the world that answer to that dns entry, depending on where you are located - one of them works great, the others fail frequently).

I'll try to upload a new app.bin with the changes tonight - when I do, please try it out and let me know if it works for you.
User avatar
chameleon_skin
Developer
 
Posts: 148
Joined: Fri Aug 20, 2010 10:21 am
Location: Bay Area, California

Re: ddclient 0.1 - Automatic updater for Dynamic DNS   

Postby b-rad.cc » Fri Sep 10, 2010 4:08 pm

if a binary requires net connection you can always loop until online.delayer returns 0, then start.
PM's are for private matters only, please post public matters on the forum to help others who might have the same issue.
:mrgreen:
User avatar
b-rad.cc
WDLXTV Team
 
Posts: 3002
Joined: Sat Apr 03, 2010 9:35 am
Location: New York

Re: ddclient 0.1 - Automatic updater for Dynamic DNS   

Postby chameleon_skin » Fri Sep 10, 2010 7:55 pm

Ah, I didn't know about the delayer. Looking at the code for it, it looks like it exits with status 1 if it is explicitly turned off in the config. I'll just look for that case and if it happens, wait a while before executing just in case.
User avatar
chameleon_skin
Developer
 
Posts: 148
Joined: Fri Aug 20, 2010 10:21 am
Location: Bay Area, California

Re: ddclient 0.1 - Automatic updater for Dynamic DNS   

Postby chameleon_skin » Fri Sep 10, 2010 8:57 pm

boudcallens & bloodflower:

I posted a new version 0.2 with a few critical bugfixes in the original thread post - please grab it and let me know if it works for you now.
User avatar
chameleon_skin
Developer
 
Posts: 148
Joined: Fri Aug 20, 2010 10:21 am
Location: Bay Area, California

Re: ddclient 0.1 - Automatic updater for Dynamic DNS   

Postby PaulF » Fri Sep 10, 2010 11:00 pm

This is so cool. An Apache web server at home. The mind boggles. How about a USB cam or ssh tunneling to my PCs? The Ruby on Rails is making more sense now, too. Thanks.
User avatar
PaulF
Developer
 
Posts: 420
Joined: Sat May 08, 2010 8:34 pm
Location: Oregon

Re: ddclient 0.1 - Automatic updater for Dynamic DNS   

Postby boudcallens » Sat Sep 11, 2010 12:40 am

Hi chameleon_skin,

Works perfectly now. Thanks for the quick update.

BoBo
boudcallens
DLX'er
 
Posts: 115
Joined: Sun Apr 18, 2010 7:14 am

Re: ddclient 0.1 - Automatic updater for Dynamic DNS   

Postby bolts4brekfast » Mon Sep 13, 2010 11:57 am

using ddclient 0.2 ...

I set everything up correctly... LOCALLY.. i can put in my dyndns name and get the webend screen for my live+ box...
if i put in my dyndns name outside the network... it wont connect..
ftp and ssh connect just fine outside of the network... but why not webend (using port 80) ???
using a Linksys E3000 router. i have checked firewall settings in router.. and port forwarding..

help please.
Image
bolts4brekfast
Donor
 
Posts: 60
Joined: Mon Sep 06, 2010 4:51 pm
Location: Warner Robins, Georgia

Re: ddclient 0.1 - Automatic updater for Dynamic DNS   

Postby chameleon_skin » Mon Sep 13, 2010 5:10 pm

Please run this command from the command line of your WDTV and post the output here:

ddclient -daemon=0 -debug -verbose -noquiet
User avatar
chameleon_skin
Developer
 
Posts: 148
Joined: Fri Aug 20, 2010 10:21 am
Location: Bay Area, California

Re: ddclient 0.1 - Automatic updater for Dynamic DNS   

Postby bolts4brekfast » Mon Sep 13, 2010 5:12 pm

figured out the problem... my ISP is Cox Cable. I am located in (GEORGIA, USA) ... With a Cox Cable residential account.. they block port 80 :( any way around this?
Image
bolts4brekfast
Donor
 
Posts: 60
Joined: Mon Sep 06, 2010 4:51 pm
Location: Warner Robins, Georgia

Re: ddclient 0.1 - Automatic updater for Dynamic DNS   

Postby chameleon_skin » Mon Sep 13, 2010 5:20 pm

Great to know - I've never heard of an ISP blocking port 80. That's evil.

You would need to change web frontend to run on a different port, but it doesn't look like there is an option for that in S00-custom-options and you can't directly modify the apache config file.

I'm thinking that you could probably set up another vhost file for apache that runs on a different port but still uses the same web frontend code. I'll look into it this week, unless b-rad sees this and beats me to it.
User avatar
chameleon_skin
Developer
 
Posts: 148
Joined: Fri Aug 20, 2010 10:21 am
Location: Bay Area, California

PreviousNext

Return to WDLXTV-G2 & WDLXTV-Live/Plus app.bins

Who is online

Users browsing this forum: No registered users and 2 guests