Article title: improving Internet access speed after IPV6 is disabled in Ubuntu. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Disable tcp_ecn in Ubuntu/Kubuntu and disable ipv6:
Disable tcp_ecn
Sudo sh-c "echo 'echo 0>/proc/sys/net/ipv4/tcp_ecn'>
/Etc/rcS. d/S60locale"
Sudo chmod + x/etc/rcS. d/S60locale
Sudo/etc/rcS. d/S60locale
Some sites use poor routers. it is better to access these sites after tcp_ecn is turned off.
Disable ipv6:
Modify/etc/modprobe. d/aliases
Note alias net-pf-10 ipv6
Add a line of alias net-pf-10 off below
After editing/etc/modprobe. d/aliases, run update-modules and reboot.
No more after restart
It is said that the network speed has improved after ipv6 is disabled.
However, some domestic education networks and scientific research networks use ipv6.
The standard practice is to add net. ipv4.tcp _ ecn = 0 to/etc/sysctl. conf.