本人路由器不才,长时间使用ubuntu后会发生一奇怪现象,只能访问部份网站,比如baidu可以访问,但google只能ping得通但无限timeout,google后发现,只需修改/etc/sysctl.conf 添加

net.ipv4.tcp_window_scaling=0
net.ipv4.tcp_wmem = 4096 16384 131072
net.ipv4.tcp_rmem = 4096 87380 174760
net.ipv4.tcp_timestamps = 0

再输入 sysctl -p 重启后即可。

后问题修正。似乎升级路由程序也能解决以上奇怪问题。

参考资料:linux source bug#59331

http://www.jiangmiao.org/blog/505.html

https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.17/+bug/59331

相关文章:

  • 2022-12-23
  • 2021-08-20
  • 2021-07-10
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2022-01-04
猜你喜欢
  • 2021-11-07
  • 2021-12-06
  • 2022-12-23
  • 2021-04-01
  • 2022-12-23
  • 2021-05-06
  • 2022-01-15
相关资源
相似解决方案