AB's Useful Box - Slow or hanging ftp and telnet connections

Some things to look at on a linux box if it has slow or hanging incoming
ftp/telnet connections and can effect ssh too.

Check /etc/resolv.conf
- an entry, normally an IP address, either does not exist, or is not required,
or is not able to be contacted. Try removing entry or establish connection to the IP address.


Check /etc/sysconf/network
- may not need GATEWAY entry, try removing entry including the GATEWAY, remove
the whole line or the GATEWAY is not able to be contacted.

Basically linux is attempting to resolve, or contact an IP address and it can not, unfortunately at the expanse of the machine's login mechanism.

 

Updated: 23-May-2005
index