David, Mark and Martin, thanks a lot for the great feedback. I will try the d-link built in feature again and if it doesn't work then I guess I will go with one of the ip-updater clients you talked about and shall post my findings sometime.
Bruce
From: Martin Glazer <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: [on-asterisk] need asterisk experts opinion on dhcpcd !!! urgent inq
Date: Wed, 12 Jul 2006 00:21:05 -0600
MIME-Version: 1.0
Received: from iran.unitycode.org ([205.207.27.18]) by bay0-mc12-f17.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Tue, 11 Jul 2006 23:24:26 -0700
Received: (qmail 22499 invoked by alias); 12 Jul 2006 06:24:08 -0000
Received: (qmail 16234 invoked by uid 0); 12 Jul 2006 06:24:07 -0000
Hey Bruce,
How does your Asterisk server know what your new external IP address is?
If you are behind the typical router performing NAT on your Asterisk box, then there is no way of it knowing when your internet facing IP changes.
I don't know offhand on Trixbox, but Trixbox is really the latest CentOS (Redhat) with extras, so the dhcp stuff should be the same as CentOS/Redhat/Fedora. I believe they use a package called dhclient.
Take a look at /sbin/dhclient-script for more info.
There is other software that I use to do the same thing called ez-ipupdate (http://ez-ipupdate.com/) which I believe works with zoneedit - you may want to try that.
Martin
On Tuesday 11 July 2006 23:52, Bruce Nik wrote:
> I should add that I am actually behind d-link and using DSL. But I guess I still have to modify the dhcp* file right !!!???
>
>
> From: "Bruce Nik" <[EMAIL PROTECTED]>
> To: [email protected]
> Subject: [on-asterisk] need asterisk experts opinion on dhcpcd !!! urgent inq
> Date: Wed, 12 Jul 2006 01:46:59 -0400
> MIME-Version: 1.0
> X-Originating-IP: [64.229.223.100]
> X-Originating-Email: [EMAIL PROTECTED]
> X-Sender: [EMAIL PROTECTED]
> Received: from iran.unitycode.org ([205.207.27.18]) by bay0-mc3-f17.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Tue, 11 Jul 2006 22:48:23 -0700
> Received: (qmail 26753 invoked by alias); 12 Jul 2006 05:47:03 -0000
> Received: (qmail 13373 invoked by uid 0); 12 Jul 2006 05:47:02 -0000
>
>
> Hello,
>
> I am using zoneedit.com (provides dynamic dns connectivity).
>
> I don't to use any software or the not-working d-link ip updater.
>
> However, here is a way to update my ip through the asterisk server box :
>
> wget -O - --http-user=username --http-passwd=password 'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.mydomain.com'
>
> ^^^^ this updates my ip. So, what I need to do is to put this somewhere where these two lines are run everytime a new ip is acquired. In normal linux it would probably be "/etc/dhcpc/dhcpcd-eth0.exe" or "/etc/dhcpc/dhcpcd-eth1.exe " but I do not know where I should put this in a TrixBox system.
>
> Would that be : "usr/share/doc/dhcp*/dhcpd.conf.sample" ?????
>
> or some other file?
>
> Thanks,
> Bruce
>
>
> Auto news & advice - check out Sympatico / MSN Autos --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
>
> Fashion, food, romance in Sympatico / MSN Lifestyle --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Play Q6 for your chance to WIN great prizes.
