Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to increase packages time to live in Ubuntu.

What exactly I want to do: photos and XMLs in browser (Chrome) are downloading for about a minute. I don't want the connection to be broken in 20 seconds, but, for example 120 seconds.

share|improve this question
TTL is the amount of routers your packages will go through. E.g. if it is 64, the first router will decrease it to 63, the second to 62 and so on. If the datagram reaches a TTL 0 it gets dropped, this is a security measure against loops in the internet. Your TTL value is certainly not responsible for your slow internet connection, so changing it will have no effect. – Georg Schölly Dec 7 '11 at 9:42

Looking at here, I see that you need to write to this file: /proc/sys/net/ipv4/ip_default_ttl.

However, I'm not really sure that that will fix your problem.

share|improve this answer
Even after doing that TTL is still 64. Are we sure that it is not hardcoded somewhere? – Hatoru Hansou Aug 1 '15 at 2:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.