Restart aiccu autmatically on changing connectivity
![]()
=========================================================================
ADMIN EDIT: The problem has been fixed in AICCU with the entry: "Don't use a connected UDP socket for AYIYA and heartbeat traffic", new version of which for linux/etc will be released later on
=========================================================================
Hi,
I have a Notebook with a dynamic AYIYA tunnel set up. When I'm on the road, my network connectivity changes quite often (WLAN, UMTS, with NAT, without NAT, ...). Sometimes, the tunnel does not come up automatically after changing connectivity. The daemon is still running.
In order to fix this, I wrote a small script to restart the daemon, but only if it is running already. I do not want to have it started automatically. Works fine for me. Maybe it is interesting for anybody else out there having similar problems. It should be suitable for Debian and Ubuntu:
[ADMIN SNIP]
Restart aiccu autmatically on changing connectivity
![]()
It would be even nicer if AICCU could detect that the underlying network interface has changed its state (for example it's IPv4 address) so that AICCU can re-establish the tunnel.
Restart aiccu autmatically on changing connectivity
Which is a lot of fun to do on all possible operating systems in all possible configurations. The current fix solves it just fine.
Restart aiccu autmatically on changing connectivity
![]()
But we're still waiting for the linux versions..
Restart aiccu autmatically on changing connectivity
![]() But we're still waiting for the linux versions..
But if we had the source for the Windows version we could do the port ourselves.
Restart aiccu autmatically on changing connectivity
![]()
Is there any news from Sixxs guys, about this?
@Bernhard Bock: Could you send me the script to reload aiccu? Thank you.
Restart aiccu autmatically on changing connectivity
Restarting it does not solve your problem, it only circumvents it.
When the TIC server notices to many restarts it will automatically block that client.
Restart aiccu autmatically on changing connectivity
![]()
Most people with this problem don't need to restart that often. If they do the effect will be the same whether they do it by hand or use a script.
|