我在ASUS-BE的手册中读到:“让设备远离802.11g或仅20MHz的Wi-Fi设备”。
我想知道 802.11g 或仅 20MHz Wi-Fi 设备有什么特别之处?它们与 802.11a/b/n 或 40/80/160MHz 设备有很大不同吗?
许多 USB 2.0 WiFi 适配器(例如TP-Link 的 Archer T3U Nano)都与以下声明相关:
纳米尺寸 USB 适配器 - AC1300 双频段,可实现快速和高速 Wi-Fi 连接(5 GHz 频段为 867 Mbps,2.4 GHz 频段为 400 Mbps)
然而,USB 2.0的速率约为480 Mbps,那么5GHz频段上的“867 Mbps”到底指的是什么?它是适配器路由器通信通道的理论数据速率吗?
这种解释实际上没有意义,因为适配器采用 USB 2.0,最多可以以 480 Mbps 的速度传输数据(如果数据以 867 Mbps 的速率传入,则会导致数据包丢失或缓冲区溢出)。如果传入数据速率确实为 867 Mbps,那么实际中会发生什么情况?
我的笔记本电脑无线适配器不支持新的光纤互联网。因此我通过 USB wifi 卡使用互联网。
我已从设备管理器中卸载了无线网卡和 HP 无线按钮。但键盘上的 wifi 灯并没有关闭。
我的笔记本电脑 HP 15-e034TX。我使用的是 Windows 10。
如何关闭键盘上的 wifi 灯?
谢谢。
我买了一个交换机来将我的 Windows 笔记本电脑连接到一台装有 Linux 的计算机,我用作存储,但没有互联网连接。
在 Windows 计算机上,我使用与 Linux 计算机位于同一专用网络上的固定 IP 来配置以太网接口,效果很好。但我注意到在我的 Windows 计算机上,连接两个接口时 WiFi 连接速度太慢。
起初我认为这可能是由于 DNS 造成的,因为只有在我第一次访问 YouTube 等网页时,它才会很慢。第一次之后,该网站上的后续页面和内容加载速度很快,没有任何问题。但我更换了不同的 DNS 服务器并遇到了同样的问题。
会发生什么?
经过几年 100% 可靠的工作后,我的第三方互联网路由器调制解调器组合突然“忘记”了我创建的 WiFi 名称和密码并恢复为出厂默认设置。我们没有遇到任何形式的停电:所有电子时钟仍然正确。
即使路由器调制解调器是第三方设备,ISP 是否能够发送将路由器调制解调器恢复出厂设置的信号?或者路由器制造商是否能够与其路由器进行通信并推送更新并启动重置,从而导致这种“打嗝”?
HTTP 和 HTTPS 的远程管理均未选中 [ ]。
C7000v2 固件: Netgear V1.03.08(与我的 ISP 兼容)。
这是我在日志中发现的:
2024-1-27, 07:55:00 Critical (3) Resetting the cable modem due to docsDevResetNow;
1970-1-1, 00:00:38 Critical (3) SYNC Timing Synchronization failure - Failed to acquire QAM/QPSK symbol timing;
2024-1-27, 06:57:55 Critical (3) No Ranging Response received - T3 time-out;
2024-1-27, 06:57:47 Critical (3) SYNC Timing Synchronization failure - Failed to acquire QAM/QPSK symbol timing;
2024-1-27, 06:57:46 Critical (3) No UCDs Received - Timeout;
2024-1-27, 06:57:27 Critical (3) SYNC Timing Synchronization failure - Failed to acquire QAM/QPSK symbol timing;
2024-1-27, 06:57:26 Critical (3) No UCDs Received - Timeout;
2024-1-27, 06:57:07 Critical (3) SYNC Timing Synchronization failure - Failed to acquire QAM/QPSK symbol timing;
我正在寻求帮助来解决在我的网络上配置 Pi-Hole 和 DNS 设置后出现的连接问题。以下是我的设置和问题的详细概述:
网络设置:
最初的问题和采取的措施:
当前的问题:
[Interface]
PrivateKey = [REDACTED FOR PRIVACY]
Address = 192.168.178.202/24
DNS = 192.168.178.1, fritz.box
[Peer]
PublicKey = [REDACTED FOR PRIVACY]
PresharedKey = [REDACTED FOR PRIVACY]
AllowedIPs = 192.168.178.0/24, 0.0.0.0/0
Endpoint = REDACTEDFORPRIVACY.myfritz.net:50974
PersistentKeepalive = 25
...
12:45:53 - peer(2MQH…8IT4) - UAPI: Updating endpoint
12:45:53 - Routine: receive incoming v4 - stopped
12:45:53 - Routine: receive incoming v6 - stopped
12:45:53 - UDP bind has been updated
12:45:53 - Routine: receive incoming v6 - started
12:45:53 - Routine: receive incoming v4 - started
12:45:58 - peer(2MQH…8IT4) - Handshake did not complete after 5 seconds, retrying (try 2)
12:45:58 - peer(2MQH…8IT4) - Sending handshake initiation
12:46:04 - peer(2MQH…8IT4) - Handshake did not complete after 5 seconds, retrying (try 2)
12:46:04 - peer(2MQH…8IT4) - Sending handshake initiation
12:46:09 - peer(2MQH…8IT4) - Handshake did not complete after 5 seconds, retrying (try 2)
12:46:09 - peer(2MQH…8IT4) - Sending handshake initiation
...
附加背景
在我们的乡村农场,我们只有移动连接。我必须在屋顶上放置一个带有 SIM 卡的移动路由器,这样我才能使用互联网。但热点有限。
我更改了 Mac 上的 TTL 以避免网络共享(热点)检测,这样我就可以从移动连接中获得全速,如下所述:
sudo sysctl -w net.inet.ip.ttl=65
好的!有用!
然而,我们也希望在不减少热点限制的情况下使用我们的手机和智能电视投影仪。互联网数据是无限的,但不能在热点上使用。
所以我想象通过 LAN 在路由器上连接一个旧的 Apple Time Capsule。Time Capsule 将连接手机和智能电视。
FWIW,我正在更改 TTL,以便电话公司不会检测到网络共享,如此处所述。如果我在没有更改 TTL 的情况下进行连接,电话公司将检测到我正在网络共享(使用热点)并限制我的带宽。
深不可测的路由器配置箱:
在我的 AP 上,我有这些可用频道:
* 5200 MHz [40] (18.0 dBm)
* 5220 MHz [44] (18.0 dBm)
* 5240 MHz [48] (18.0 dBm)
* 5260 MHz [52] (18.0 dBm) (radar detection)
* 5280 MHz [56] (18.0 dBm) (radar detection)
* 5300 MHz [60] (18.0 dBm) (radar detection)
* 5320 MHz [64] (18.0 dBm) (radar detection)
* 5500 MHz [100] (18.0 dBm) (radar detection)
* 5520 MHz [104] (18.0 dBm) (radar detection)
* 5540 MHz [108] (18.0 dBm) (radar detection)
* 5560 MHz [112] (18.0 dBm) (radar detection)
* 5580 MHz [116] (18.0 dBm) (radar detection)
* 5600 MHz [120] (18.0 dBm) (radar detection)
* 5620 MHz [124] (18.0 dBm) (radar detection)
* 5640 MHz [128] (18.0 dBm) (radar detection)
* 5660 MHz [132] (18.0 dBm) (radar detection)
* 5680 MHz [136] (18.0 dBm) (radar detection)
* 5700 MHz [140] (18.0 dBm) (radar detection)
* 5720 MHz [144] (disabled)
* 5745 MHz [149] (18.0 dBm)
* 5765 MHz [153] (18.0 dBm)
* 5785 MHz [157] (18.0 dBm)
* 5805 MHz [161] (18.0 dBm)
* 5825 MHz [165] (18.0 dBm)
* 5845 MHz [169] (disabled)
* 5865 MHz [173] (disabled)
* 5885 MHz [177] (disabled)
“禁用”的通道当然不可用。
通道 52、56、100 和 104 等标有“雷达检测”。
“雷达探测”是什么意思?使用这些渠道合法吗?
其实我用的是40。
我的环境是一个带有 OpenWRT 的路由器、一台通过跳线连接到路由器的笔记本电脑以及在路由器的该端口上配置了 VID 5 的未标记 VLAN,以及通过 Wi-Fi 连接到路由器的 MacBook M1 Pro。
在 MacBook 上,我通过指定 en0 (AirPort) 作为父接口创建了一个 VLAN 接口,然后使用带有 hvf 加速器的 QEMU 或带有 VZ 的 lima/UTM 创建了一个虚拟机,我观察到一个奇怪的情况:使用 arping,有时会收到来自笔记本电脑的数据包到达与 macbook 上的 VLAN 接口连接的虚拟机,但虚拟机上运行的 arping 只发送请求,但没有收到笔记本电脑的回复。如果我将 IP 地址分配给 macOS 中的 VLAN 接口,则数据包可以通过任一协议传输,不会出现任何问题。问题是将数据包传送到虚拟机。
使用笔记本电脑上的 tcpdump,我可以看到它回复 arp 请求,我还可以在路由器上看到回复通过 Wi-Fi 接口传递的 arp 请求,但我在 macbook 上 en0 上的 tcpdump 中看不到它们,这也很奇怪。但正如我之前所写,如果我在 MacBook 的 VLAN 接口上分配来自同一网络的地址,则任何数据包都会在笔记本电脑和 MacBook 之间传递。
对于lima-vm,我在桥接模式下使用socket_vmnet 。对于 QEMU,我使用vmnet-bridged。
➜ ~ ifconfig vlan5
vlan5: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1496
options=6063<RXCSUM,TXCSUM,TSO4,TSO6,PARTIAL_CSUM,ZEROINVERT_CSUM>
ether f0:2f:4b:xx:xx:xx
inet 192.168.24.20 netmask 0xffffff00 broadcast 192.168.24.255
vlan: 5 parent interface: en0
media: autoselect
status: active
➜ ~ ping 192.168.24.50 -c2
PING 192.168.24.50 (192.168.24.50): 56 data bytes
64 bytes from 192.168.24.50: icmp_seq=0 ttl=64 time=5.241 ms
64 bytes from 192.168.24.50: icmp_seq=1 ttl=64 time=5.429 ms
--- 192.168.24.50 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 5.241/5.335/5.429/0.094 ms
➜ ~ sudo arping -c 5 -i vlan5 192.168.24.50
ARPING 192.168.24.50
60 bytes from 10:e7:c6:xx:xx:xx (192.168.24.50): index=0 time=6.061 msec
60 bytes from 10:e7:c6:xx:xx:xx (192.168.24.50): index=1 time=6.084 msec
60 bytes from 10:e7:c6:xx:xx:xx (192.168.24.50): index=2 time=5.945 msec
60 bytes from 10:e7:c6:xx:xx:xx (192.168.24.50): index=3 time=3.092 msec
60 bytes from 10:e7:c6:xx:xx:xx (192.168.24.50): index=4 time=3.848 msec
--- 192.168.24.50 statistics ---
5 packets transmitted, 5 packets received, 0% unanswered (0 extra)
rtt min/avg/max/std-dev = 3.092/5.006/6.084/1.278 ms
➜ ~ ifconfig bridge100
bridge100: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1496
options=3<RXCSUM,TXCSUM>
ether f2:2f:4b:xx:xx:xx
Configuration:
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
ipfilter disabled flags 0x0
member: vlan5 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 22 priority 0 path cost 0
member: vmenet0 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 23 priority 0 path cost 0
Address cache:
10:e7:c6:xx:xx:xx Vlan1 vlan5 326 flags=0<>
52:55:55:ae:36:b4 Vlan1 vmenet0 1172 flags=0<>
nd6 options=201<PERFORMNUD,DAD>
media: autoselect
status: active
[root@VM1 ~]# arping 192.168.24.50 -c5
ARPING 192.168.24.50 from 192.168.24.10 lima0
Sent 5 probes (5 broadcast(s))
Received 0 response(s)
[root@VM1 ~]#
[root@laptop ~]# arping 192.168.24.10 -c5
ARPING 192.168.24.10 from 192.168.24.50 eth0
Unicast reply from 192.168.24.10 [52:55:55:AE:36:B4] 2.492ms
Unicast reply from 192.168.24.10 [52:55:55:AE:36:B4] 1.791ms
Unicast reply from 192.168.24.10 [52:55:55:AE:36:B4] 3.059ms
Sent 5 probes (1 broadcast(s))
Received 3 response(s)
[root@laptop ~]#
我还在笔记本电脑上进行了测试,在 VirtualBox 中我创建了具有桥接模式接口的虚拟机,并在虚拟机内部创建了一个 VLAN 接口。我将笔记本电脑切换到 Wi-Fi,并尝试 ping MacBook 的虚拟机。数据包正在离开笔记本电脑虚拟机,但不会到达 MacBook 虚拟机。
因此,它与操作系统无关,问题是当虚拟机连接到 Wi-Fi 接口时,数据包不会发送到虚拟机本身。
我想弄清楚这一点。这对我来说并不是很透明。VLAN 标头只有 4 个字节,那么以桥接模式在 VM 接口和 Wi-Fi 接口之间传递该帧有什么问题呢?但是,如果您在操作系统中将 IP 地址分配给 VLAN 接口,并且该接口具有 Wi-Fi 接口作为其父接口,则一切都会正常工作。
UPD:感谢 AB 的评论,他们帮助我了解了是什么阻止了虚拟机接收数据包。