关于白群晖+群晖万兆网卡wol的问题
ds923增加了一张群晖自己的e10g22 t1 mini,但在硬件和电源中发现wol并没有局域网3,查询了官方文档,群晖表示所有万兆pcie扩展卡都不支持wol。来论坛问问大神有没有通过修改配置文件实现pcie网卡的wol功能呢?
用上了万兆,还每天关机器? liujie 发表于 2023-4-12 09:18
用上了万兆,还每天关机器?
不是每天,是有时候关机了,又不想跑过去按按钮…… 自问自答,找到了一篇文章说这个
https://www.reddit.com/r/synology/comments/klzkii/10_gbit_and_1_gbit_ethernet_in_parallel_for_wol/
我和他有点类似,就是不想插1g网卡,因为我试过内置网卡和外置usb2.5g一起查,服务顺序和默认网关都设置2.5g优先,但有时候他还是会走内置1g网卡
还是在自带俩网口里插根网线简单点。 liujie 发表于 2023-4-12 10:06
还是在自带俩网口里插根网线简单点。
就跟上篇文章说的一样,插了内置网卡和10g网卡,虽然设置了服务顺序,不知道为啥群晖有时候还是会走内置网卡不走10g网卡 Ok, so I found a solution. To clarify, what I want to do is wake up the NAS with a 1gbit connection, that is then not used for anything else anymore.
Changing the order of cards or default gateway status in DSM by itself did not help. Windows still routed all traffic going to \\NAS_Name\ through the slow IP/network port.
The trick to get it to work is to remove the slow connection from the network completely, as all the port needs to receive is the magic packet for waking up, which is connected with the MAC address, but not the IP address.
To do this, after one has set up Wake-On-LAN in Synology Assistant, one just has to completely screw up the network settings of the LAN port used for WOL. I disabled IPv6 completely, and for IPv4 I disabled DHCP, and set the IP address to 10.1.2.3, the subnet to something different from my normal subnet, and deleted the entries for Gateway and DNS server.
Now I can wake the NAS up, but Windows only knows the 10gbe adapter (that still has DHCP), but not the slow adapter with the messed up settings. So all traffic is nice and super fast as it should be. root@DownloadStation:~# sudo ethtool eth2
Settings for eth2:
Supported ports: [ TP ]
Supported link modes: 100baseT/Full
1000baseT/Full
10000baseT/Full
2500baseT/Full
5000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes:100baseT/Full
1000baseT/Full
10000baseT/Full
2500baseT/Full
5000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 2500Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: pg
Wake-on: g
Current message level: 0x00000005 (5)
drv link
Link detected: yes
查看10g网卡状态,wol是g,是有效的,但在dsm里却没有这个选项,而且实际测试全是不能wol 不同网线不同ip,用千兆网线的ip去唤醒不就好了。 我黑裙,板载千兆,加了pcie i226 2.5g,虽然显示pcie开启了wol。但是实际上唤醒失败。最后只能插上2根网线使用板载来唤醒。 Bob猪 发表于 2023-4-12 13:36
不同网线不同ip,用千兆网线的ip去唤醒不就好了。
这是个好办法,就是我上面回复的,设置两个ip、网关,默认网关就会走10g了,如果网关一样,群晖好像会千兆和10g都走
千兆唤醒,设置ip但是不设置网关,10G的正常设置ip和网关,试试。 3008086 发表于 2023-4-13 14:51
千兆唤醒,设置ip但是不设置网关,10G的正常设置ip和网关,试试。
已经设置了,这样可行,谢谢回复 确实我的923跟你一样加了万兆网卡系统里没有WOL3我也是用了一根千兆线做唤醒口感谢@3008086 提醒 我这就把千兆口网关去掉 之前默认走10g口 但是有些还是走千兆口的
页:
[1]