个人工具

“UbuntuHelp:WifiDocs/RouterIssues”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/WifiDocs/RouterIssues}} {{Languages|UbuntuHelp:WifiDocs/RouterIssues}} == Wireless Router Issues == There are some wireless routers known to hav...)
 
 
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/WifiDocs/RouterIssues}}
 
{{From|https://help.ubuntu.com/community/WifiDocs/RouterIssues}}
 
{{Languages|UbuntuHelp:WifiDocs/RouterIssues}}
 
{{Languages|UbuntuHelp:WifiDocs/RouterIssues}}
 
 
== Wireless Router Issues ==
 
== Wireless Router Issues ==
 
 
There are some wireless routers known to have problems with Linux. This section contains workarounds.
 
There are some wireless routers known to have problems with Linux. This section contains workarounds.
 
 
=== Linksys RV016 ===
 
=== Linksys RV016 ===
 
 
At some point after kernel 2.6.13 there was a change that causes this router not to function correctly under Linux.
 
At some point after kernel 2.6.13 there was a change that causes this router not to function correctly under Linux.
 
 
==== Issue ====
 
==== Issue ====
 
 
When not connected through a firewall the system operates correctly. However when connected to a firewall local access works but internet connections begin and fail to continue past a certain point. In a given example, a wget fails after downloading exactly 5,463 bytes.
 
When not connected through a firewall the system operates correctly. However when connected to a firewall local access works but internet connections begin and fail to continue past a certain point. In a given example, a wget fails after downloading exactly 5,463 bytes.
 
 
==== Solution ====
 
==== Solution ====
 
 
The workaround can be tested by opening a terminal and typing:
 
The workaround can be tested by opening a terminal and typing:
 
 
<code><nowiki> echo 0 > /proc/sys/net/ipv4/tcp_window_scaling </nowiki></code>
 
<code><nowiki> echo 0 > /proc/sys/net/ipv4/tcp_window_scaling </nowiki></code>
 
 
To make the change permanent, open a terminal and type:
 
To make the change permanent, open a terminal and type:
 
 
<code><nowiki> gksudo /etc/sysctl.conf </nowiki></code>
 
<code><nowiki> gksudo /etc/sysctl.conf </nowiki></code>
 
 
Add the following line to the file
 
Add the following line to the file
 
 
<code><nowiki> net.ipv4.tcp_window_scaling = 0 </nowiki></code>
 
<code><nowiki> net.ipv4.tcp_window_scaling = 0 </nowiki></code>
 
 
More information is available [http://www.drewb.com/blog/post/view/p/12/title/linksys_rv016_router<u>firewall</u>vpn__linux here] and [http://lkml.org/lkml/2006/6/13/240 here].
 
More information is available [http://www.drewb.com/blog/post/view/p/12/title/linksys_rv016_router<u>firewall</u>vpn__linux here] and [http://lkml.org/lkml/2006/6/13/240 here].
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 22:26的最新版本

Wireless Router Issues

There are some wireless routers known to have problems with Linux. This section contains workarounds.

Linksys RV016

At some point after kernel 2.6.13 there was a change that causes this router not to function correctly under Linux.

Issue

When not connected through a firewall the system operates correctly. However when connected to a firewall local access works but internet connections begin and fail to continue past a certain point. In a given example, a wget fails after downloading exactly 5,463 bytes.

Solution

The workaround can be tested by opening a terminal and typing: echo 0 > /proc/sys/net/ipv4/tcp_window_scaling To make the change permanent, open a terminal and type: gksudo /etc/sysctl.conf Add the following line to the file net.ipv4.tcp_window_scaling = 0 More information is available firewallvpn__linux here and here.