tweek my internet connection

Asked by Neo

how to tweek my internet connection

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
Pedro Fragoso (ember) said :
#1

What do you mean by "tweak" ?

Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#2

Some little tweak that i use:
1) - First increase Firefox speed: http://www.elart.it/mozilla/speedup.php

2) - Then disable ipv6
Please open a Terminal from the menu Applications->Accessories->Terminal and type:
(give your user password when requested, you don't see nothing when you type it, then press enter.)

sudo gedit /etc/modprobe.d/aliases
Modify the ipv6 row as below:
alias net-pf-10 off # ipv6
then add this row:
alias ipv6 off

to force kernel to not load ipv6 module
sudo gedit /etc/modprobe.d/blacklist
add a row as below:
blacklist ipv6

3) - you can also play with tcp/ip protocol kernel parameters
I use this parameters by adding them into /etc/sysctl.conf file (find yours)
sudo gedit /etc/sysctl.conf

net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_syncookies = 1
net.core.rmem_default = 16777216
net.core.rmem_max = 16777216
net.core.wmem_default = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
net.ipv4.tcp_rfc1337 = 1
net.ipv4.ip_no_pmtu_disc = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_fack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_ecn = 0
net.ipv4.route.flush = 1

Hope this help

Revision history for this message
Neo (pudumula-gmail) said :
#3

that was a bit complicated
and i am only a beginer

by tweek i mean speed up

Revision history for this message
Jim Hutchinson (jphutch) said :
#4

Is there any indication that your speed is not what it should be? If so, can you explain. One thing I noticed was that when firestarter was installed my speed slowed down a lot. I don't think there is any reason for that but I quit using it. If you installed it, try uninstalling it. If you don't know what it is then don't worry - you probably don't have it anyway. But without some more specific information it will be hard to help.

Revision history for this message
Neo (pudumula-gmail) said :
#5

Thanks marcobra, that solved my question.