That's weird coz I have always had incoming icmp on my linux box and it still did this problem with me.
Now I dont have this problem coz the gds script automatically keeps me logged in all the time.
Yet I have doubts about this ICMP thing.
Anyway try this on your linux box to keep the connection alive:
First you need to create a cron dir that will be executed every minute:
mkdir /etc/cron.every_minute
now type
nano /etc/crontab
and edit the file to enable that dir. You should add the line
* * * * * root run-parts /etc/cron.every_minute
just over the cron.hourly line
Now close and save (Ctrl-X and Y)
restart cron to activate the changes:
service crond restart
or
/etc/init.d/crond restart
Now you have a directory /etc/cron.every_minute
and
whatever script you put in that directory will be executed every minute.
Now we want to add there a little script that will ping some address and see if that will keep the connection alive:
nano /etc/cron.every_minute/gds_keepalive
and paste the following in the file:
#!/bin/bash
ping www.google.com -c 1 -W 1
Close and save.
Now we need to make that script executable
chmod +x /etc/cron.every_minute/gds_keepalive
Now we can execute, let's test it just to see if it works :)
Just type /etc/cron.every_minute/gds_keepalive
This is what I get:
PING www.l.google.com (216.239.37.104) 56(84) bytes of data.
--- www.l.google.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
Now your linux should be sending one ping packet to
www.google.com every minute.
It's okay ping is blocked but maybe it will still reset the gds timeout counter.Try it and tell me if it works.
Btw if you want to test the cron.every_minute directory that we added (hey maybe we did something wrong) then you can put another script il it, with the following contents:
#!/bin/bash
wall this is a test message
and make it executable (chmod +x ...)
Now this should pring "this is a test message" to all console windows every minute.
Tell me if that helps to keep your gds connected. If not I can give you a perl script instead of the little ping thing that will open a page instead of just pinging.