Hostapd 比预期慢得多

Hostapd 比预期慢得多

我有一台运行 Ubuntu 16.04 的服务器,我想将其用作无线接入点。该服务器有一个 Atheros AR9380 无线网卡。我安装了 hostap 并将其配置为 802.11n AP,但显然我的做法有些不对劲。

使用 scp 测试连接速度,我得到的最大速度是 8MB/s,也就是 64Mbps,而且由于卡应该达到 450Mbps(理论上),所以我期待更快。

我有机会用另外两张卡、不同的 Atheros 芯片和 Ralink 进行测试,结果更糟。我甚至尝试了不同的天线,但毫无效果。

我没有安装任何新的驱动程序或固件;系统只是一个最小的 Ubuntu 16.04,经过更新和升级。

你能帮我找出我做错的地方吗?
这是 etc/hostapd/hostapd.conf:

### Wireless network ###
interface=wlp1s0
bridge=br0
driver=nl80211

### DFS
country_code=SE
ieee80211d=1
ieee80211h=1

## Enables 802.11n & WMM
ieee80211n=1
wmm_enabled=1

ssid=MyWireless
hw_mode=g
channel=2

auth_algs=3
wpa=3
wpa_passphrase=supersecret

ht_capab=[HT20][SHORT-GI-20]

## Client reauth ##
eap_reauth_period=360000000

## Key management algorithms
wpa_key_mgmt=WPA-PSK

## Set cipher suites (encryption algorithms) ##
wpa_pairwise=TKIP
rsn_pairwise=CCMP

## Shared Key Authentication ##
auth_algs=1

## Accept all MAC address ###
macaddr_acl=0

相关内容