Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is it possible to adjust settings such as TTL, Rwin, and Max Connections on Ubuntu? I am having connectivity issues on Ubuntu with my wireless card. I experience the same issue on Windows XP, at least until I change those settings using TCP Optimizer. I figure if it works for Windows, it may work for Ubuntu as well

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

The IPV4 settings are accessible through proc filesystem at /proc/sys/net/ipv4

Example: to read the current TTL value:

cat /proc/sys/net/ipv4/ip_default_ttl

To set a new TTL:

sudo su
echo 255 > /proc/sys/net/ipv4/ip_default_ttl

After you decide which settings you want you may wrap the commands in a simple bash script and add it to /etc/rc.local

There may be some GUI programs to do that, but real men don't need them, huh?

share|improve this answer
    
Thanks Sergey! I'm going to give this a shot. Adding it to rc.local will make it run at start-up right? I'm still a little rough with my Ubuntu knowledge. –  Alan Aug 5 '11 at 3:40
    
Also, in /etc/rc.local you don't need sudo. –  enzotib Aug 5 '11 at 6:26
add comment

Your Answer

 
discard

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.