Wireless-N Configuration

本文介绍了提升Wireless-N无线网络性能的方法,包括选择最佳频道、配置20MHz与40MHz频宽、设置无线安全及高级选项等内容。文中还讨论了不同设备驱动对性能的影响。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Wireless-N Configuration/Zh Cn

Contents

  [hide]

[edit]关于Wireless N的一般信息

首先,到相关论坛查找推荐的最新固件版本,更新你的路由器的固件。当然,要支持Wireless N,你的路由器必须支持802.11N协议。有许多因素会影响Wireless N的性能:RF干涉,路由器品牌,使用环境如周边的其他路由器数量等等。如果你的无线网络中拥有B或者G的客户,你的网络速度也会受到影响。

所有N的路由器都是MIMO(多入/多处)的。由于采用这种技术 Specs,较多的天线会提供更好的覆盖范围和数据传输速度。你的路由器和客户端之间支持的MIMO流数目,也会影响最大速度。查看这里的表格here ,你将发现你的设备支持多少个流 here标明了流和速度之间的关系。

为了最大限度提高你的路由器性能,用Web-GUI打开设置界面,连接到状态-〉无线页面。在该页面的的最底部,有一个“基站勘查”的选项。点击它,检测周边的无线AP,找一个没有人使用的(优先选择1,6 或者 11三者之一)频道,然后让你的路由器使用此频道。

[edit]基本设置

[edit]20 MHz vs 40 MHz

N标准支持40M赫兹的带宽。但如果你要支持较老的设备,N标准要求有一个20M赫兹的频段和一个可以在±20M赫兹间自由调整的附加带宽。主带宽用于和传统的A/B/G或其他客户端连接。这些传统标准不支持40M赫兹。N标准在侦测到任何设备在使用20M赫兹的频段时,正个无线网都是用20M赫兹频段。

在5G环境中, 不难找到两个没有使用的频段,所以设置成40M赫兹一般没有问题。

但在2.4G环境中,由于频段很容易和11b和11g模式重叠,找到两个空频段使用40M赫兹,不是那么容易。

为了有效地利用40M赫兹,你需要使用第7-第9频段。在北美以及中国,2.4G只有11个频段。如果你的邻居也使用2.4G无线路由,冲突难免。这也是为什么有许多人在最后批准IEEE802.11n的时候要求取消2.4G下的40M带宽。不过这个标准最后没有取消,因为在一些特殊环境下,比如仓库中,该带宽还是可以使用的。只是在一般居民区,最好不要使用。


Though the end result is the same, different manufacturers are using different methods to have the user pick their 20/40 channels.

  • Recent builds of DD-WRT has you choose the 20 MHz Control channel and by specifying whether the Control channel is the "upper" or "lower" portion of the 40MHz block. You may need to toggle between upper/lower to unlock the channel you wish to use.
  • Some stock firmwares have you choose a Main and Aux.
  • It wouldn't surprise me if some had you also choose a main and then the center frequency of the 40Mhz channel.

Channels are specified by their center frequency but instead of displaying (center of main 20 MHz + center of additional 20MHz) the devs opted to display it as (center of main 20MHz + center of 40MHz).

Reference thread: [phuzi0n troubleshoots 40 MHz problem]

[edit]2.4GHz频段的描述

These illustrations show ALL Wifi channels but channel 14 is only available in Japan for B spec, so you can pretty much forget about your dreams to fit two 40MHz channels in the 2.4GHz Spectrum. As you can see, there is barely enough room to fit three non-overlapping 20MHz channels, or one 40MHz channel + one 20MHz channel. The tops of the blocks reflect the actual 20 or 40 MHz required by the channel whereas the bottoms account for the extra 1MHz on each end that the channel is allowed to attenuate, hence the 22MHz and 42MHz maximum widths. It may be possible to use channel 1 Upper and 13 Lower to produce two 40MHz channels but the signals may bleed into each other with that 1MHz they're each allowed to before attenuating.

Illustration of non-overlapping 20MHz channels.
Illustration of non-overlapping 20MHz channels.
Illustration of Channel 6 Lower. Channels 6 and 10 are combined and Channel 8 is where the center of the combined channel is.
Illustration of Channel 6 Lower. Channels 6 and 10 are combined and Channel 8 is where the center of the combined channel is.
Illustration of Channel 6 Upper. Channels 6 and 2 are combined and Channel 4 is where the center of the combined channel is.
Illustration of Channel 6 Upper. Channels 6 and 2 are combined and Channel 4 is where the center of the combined channel is.
[edit]2.4GHz频段表

Green are good choices that have minimal overlap, Red are bad choices that overlap too much, and White are uncommonly used channels that should only be used in substitute of channel 11.

Main
Channel
20 MHz40 MHz Lower40 MHz Upper
blocksAux.centerblocksAux.centerblocks
11-3531-7Not Available
21-4641-8Not Available
31-5751-9Not Available
42-6862-10Not Available
53-7973-11131-7
64-81084-12241-8
75-91195-13351-9
86-1012a10a6-13462-10
97-1113a11a7-13573-11
108-12Not Available684-12
119-13Not Available795-13
12a10-13Not Available8a10a6-13
13a11-13Not Available9a11a7-13

a = Setting generally not supported by devices in the U.S. although the FCC has clarified that it is permitted.

[edit]无线安全设置

如果你想达到N的速度,你要么不设置安全授权,要么采用WPA2授权标准,并且采用AES加密法。这是N标准要求的。如果任何设置不符合N的标准,你最多也只能达到G的速度。

如果你需要在混合模式中支持其他类型的加密法,你可以生成一个Multiple WLANs

[edit]高级设置

Wi-Fi联盟论证的N产品要求开启WMM支持。缺省情况下WMM已经被设置成开启。但许多用户俺会关闭它。关闭它会让你的路由器达不到N速度。

[edit]Problems and Resolution

[edit]Actual Speeds

Even if you are connecting to your N router at 130 mbps or 270 mbps, actual throughput will be roughly 60% of the link rate due to modulation and error correction. The best test is to play with transmit power and channels to figure out what works best for you. Typically lowering the transmit power to 20-40 mW is good for N spec routers, going above the default 70 mW will likely reduce your throughput in addition to potentially overheating the radio and damaging it.

See the Wireless-N Throughput Testing page for actual user results.

[edit]Testing

When testing throughput do it ~1 meter from the AP. Doing it far away/behind walls/downstairs/etc will have reduced rates and is a different problem to solve. Being extremely close can lower performance by overloading the receiver.

If you're unable to achieve satisfactory performance, please list all of this information in a forum thread:

  • Exact router model listed on the bottom sticker:
  • Exact firmware build:
  • Exact client adapter model:
  • Exact client adapter driver version:
  • Which spectrum 2.4GHz or 5GHz:
  • Which channel:
  • Channel width:
  • Encryption settings:
  • Distance between the client and AP:
  • Link rate (speed) of the client adapter listed in its connection status in your OS:
  • Signal/Noise/SNR of the connection listed in the router's wireless status:
  • Type of materials between client and AP (wood, brick, metal, sheet-rock):

[edit]Device Drivers

As always, make sure your wireless cards have the latest drivers. Ensure that the advanced properties of this card are set to match what your router is transmitting (examples: different channel widths, N-only)

March 6, 2009 - Intel's 64bit WLAN drivers have had poor performance until now. See [this thread] for information and updated drivers that resolve the problem.

[edit]Device Specific Information

[edit]Broadcom

[phuzi0n] - I've done many tests with NEWD and NEWD2 wireless drivers on various builds with a WRT150N v1.1 and WRT300N v1.1 and found the 40MHz channel (2.4GHz spectrum) throughput to be extremely lackluster. Most often it gave worse throughput than 20MHz width even though I have no nearby interference on any channels.

[edit]Ralink

[phuzi0n] - I've had very strong 40MHz channel (2.4GHz spectrum) throughput with my WHR-G300N. It capped at ~90mbps throughput due to the 100base-t Ethernet ports.

[edit]References

  1. Wireless-N Throughput Testing - User submitted throughput test results.
<think>我们正在处理关于Ralink RT3090无线网卡的驱动配置问题。根据引用[2],用户使用的是联想G470笔记本,无线网卡是Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe。在Arch Linux系统下配置。 根据引用[1]中的内核配置指南,我们需要激活无线网络支持,并选择对应的驱动程序。对于Ralink的RT3090,我们可以参考引用[1]中提到的Ralink驱动部分,其中提到了rt2800pci驱动(因为RT3090是PCIe接口)。 在引用[1]中,我们看到有: ``` <*> Ralink driver support ---> <*> Ralink rt27xx/rt28xx/rt30xx (PCI/PCIe) support (rt2800pci) ``` 注意:RT3090属于rt2800pci驱动支持的设备。 另外,引用[2]中用户已经通过lspci确认了网卡型号。 因此,配置步骤大致如下: 1. 确保内核中已经启用了必要的无线支持(cfg80211, mac80211)和对应的驱动(rt2800pci)。 2. 安装固件(如果有必要,因为有些无线网卡需要额外的固件文件)。 3. 使用网络管理工具连接网络。 详细步骤: ### 1. 内核配置 确保内核配置中已经启用了以下选项(如果使用标准内核,通常已经包含,但如果是自定义内核,需要检查): - Networking support -> Wireless -> 启用cfg80211和mac80211 - Device Drivers -> Network device support -> Wireless LAN -> 启用Ralink driver support,并选择rt2800pci驱动。 在Arch Linux中,通常使用标准内核(如linux或linux-lts)已经包含了这些驱动。可以通过以下命令检查模块是否存在: ```bash lsmod | grep rt2800 ``` 如果模块没有加载,可以尝试加载: ```bash sudo modprobe rt2800pci ``` ### 2. 固件 RT3090可能需要固件。在Arch Linux中,固件包是`linux-firmware`,它包含了大量的固件文件。确保已经安装: ```bash sudo pacman -S linux-firmware ``` ### 3. 连接网络 加载驱动后,应该可以使用网络管理工具(如NetworkManager、iwd等)来连接无线网络。 例如,使用NetworkManager: ```bash sudo systemctl enable --now NetworkManager ``` 然后使用`nmtui`或图形界面的网络管理器进行连接。 ### 4. 可能的问题 - 如果遇到问题,可以查看内核消息: ```bash dmesg | grep rt2 ``` - 有些老旧的文档可能会提到rt2860sta或rt3090sta驱动,但根据当前的内核(3.5.4以上),应该使用rt2800pci驱动,因为它是支持RT3090的现代驱动。 注意:引用[3]提到了USB无线网卡的驱动(rt2800usb),但用户设备是PCIe接口,因此不需要USB驱动。 根据引用[2]的用户环境(Arch Linux,内核3.5.4),当时可能已经支持该网卡。但用户现在可能使用更新的内核,所以应该没有问题。 ### 总结 在Arch Linux上配置Ralink RT3090无线网卡: 1. 确保安装了`linux-firmware`。 2. 加载`rt2800pci`内核模块(通常系统会自动加载)。 3. 使用网络管理工具连接无线网络。 如果驱动没有自动加载,可以尝试手动加载,并确保它开机自动加载(在`/etc/modules-load.d/`中创建配置文件)。 §§相关问题§§ 1. 如何检查Ralink RT3090无线网卡是否被内核识别? 2. 如果rt2800pci驱动无法正常工作,有哪些替代方案? 3. 在Arch Linux中如何安装无线网卡固件? 4. 如何诊断无线网络连接问题?</think>### Ralink RT3090 802.11n WLAN 驱动配置指南 #### 1. **确认硬件型号** 根据引用[2],联想G470笔记本的无线网卡型号为: > Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe 使用命令验证: ```bash lspci | grep -i net ``` #### 2. **内核驱动配置** 引用[1]指出需启用以下内核选项: ```plaintext [*] Networking support ---> [*] Wireless ---> <*> cfg80211 - wireless configuration API <*> Generic IEEE 802.11 Networking Stack (mac80211) [*] Network device support ---> [*] Wireless LAN ---> <*> Ralink driver support ---> <*> Ralink rt27xx/rt28xx/rt30xx (PCI/PCIe) support (rt2800pci) ``` > **注意**:RT3090属于RT30xx系列,应选择`rt2800pci`驱动[^1]。 #### 3. **固件安装** RT3090需要额外固件: ```bash # Arch Linux sudo pacman -S linux-firmware # 其他发行版 sudo apt install firmware-ralink # Debian/Ubuntu ``` #### 4. **加载驱动** ```bash sudo modprobe rt2800pci # 加载驱动 dmesg | grep rt2 # 检查驱动状态 ``` 成功加载会显示: ```plaintext rt2800pci 0000:08:00.0: enabling device... rt2800pci 0000:08:00.0: firmware: rt2860.bin ``` #### 5. **网络连接** 使用`iw`工具扫描网络: ```bash sudo ip link set wlan0 up iw dev wlan0 scan | grep SSID ``` 连接网络(以NetworkManager为例): ```bash nmtui # 启动文本界面配置工具 ``` #### 6. **常见问题解决** - **驱动未加载**:检查内核配置是否包含`CONFIG_RT2800PCI=y` - **固件缺失**:确认`/lib/firmware/rt2860.bin`文件存在 - **连接不稳定**:尝试禁用电源管理: ```bash echo "options rt2800pci nohwcrypt=1" | sudo tee /etc/modprobe.d/rt2800pci.conf ``` > **关键提示**:较新的内核(≥4.4)已集成改进的rt2800驱动,建议升级内核[^2]。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值