An example of how to solve the problem of Internet access failure in Linux kernel 2.6.17 or later is provided in debian (ubuntu ).
Source: Internet
Author: User
The solution to the problem of Internet access failure in Linux kernel 2.6.17 and later is provided in debian (ubuntu)-Linux Release Technology-Debian. For details, refer to the following. I am going to do my graduation project recently. I want to do something in linux. I will unmount ubuntu 7.10 installed on my own machine and install debian 4.0.
You need to access the Internet in the lab, so that you can check some information and communicate with the teacher conveniently. The result shows that you cannot access the Internet using Linux on your machine. No matter how you configure the IP address, you cannot connect to the machine. However, you can ping the gateway and ping other machines on the LAN. The students who completed the setup installed ubuntu7.10 on their computers, and they could not access the Internet normally. Unable to solve the problem, I had to ask the tutor to help solve the problem. The teacher thought it was a possible kernel problem and checked the relevant information. It turned out that the school's machine room was too old and the router did not support parameter definitions of the new kernel, find the solution on the internet, modify relevant parameters, and access the Internet successfully.
However, when we modify the parameters, the tcp_default_win_scale parameter mentioned in this Article does not have only one tcp_window_scale value, so the modification is worth the correct result.
The modification command is as follows:
Echo 0>/proc/sys/net/ipv4/tcp_window_scale
Edit/etc/sysctl. conf and add a line of net. ipv4.tcp _ window_scale = 0.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.