Hi Aurel,
I don't see how this could be made to work. If the GK address changes, and the client doesn't know about it, then it will try to send ARQ, etc. to the old address, and the call won't go through.
I don't think that you could send URQ or IRQ after the address changes, because most clients (perhaps not NetMeeting) would reject such commands from an IP with which it is not registered.
I suppose that you could send these out shortly before the IP change, but you won't know the new address yet, so the dynamic DNS or whatever the client uses to find the GK won't be working. I doubt that most clients would repeatedly resolve the name while trying to register.
It sounds like your ISP is the incumbent LEC. Can you get ADSL service from a different ISP? Even if they have to connect to the LEC's BAS with PPP, and the connection is dropped every 24 hours, they should be able to reissue the same IP when you reconnect, so the only problem will be an interruption for a few seconds. Even your current TCP connections should remain open.
Or, can you find someone to host the GK? Many Web hosting services will allow you to run a background process. The ports used are not privileged, so you should be able to run on a shared server.
If neither of the above are feasible, perhaps you could use only clients that re-register periodically, and can recover from the trouble after the GK address changes.
Good luck,
Stewart
----- Original Message ----- From: "Aurel Gabris" <gabrisa@xxxxxxxxxxxxxxxxxxxx>
To: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, September 21, 2004 8:46 PM
Subject: Gk on a box with dynamic IP
Hi,
[Is there any way to make GnuGk to detect the change of IP addresses it is bound to?]
I've installed GnuGk 2.2beta on my Linux NAT box connected to an ADSL line to reach the WAN. The IP address of my GnuGk box is dynamically re-allocated in 24 hours, and GnuGk doesn't seem to realize this situation and is kept bound to the old IP (that was detected upon startup).
In principle I could kill and restart GnuGk from my ppp-down/ppp-up script, however, this also means losing all the clients registered at that moment from my NAT'ted LAN. This I found rather annoying since Netmeeting doesn't attempt to reconnect automatically.
Is there any way to make GnuGk to detect the change of IP addresses it is bound to? (and then update of course)
It might be a complicated task, but this feature would be nice only if it could maintain registrations through the unaffected IP's...
I've seen a similar posting earlier in the postings, but no prospective conclusions were drawn. Should I post this question to openh323gk-devel?
Thanks, Aurel
------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/