但為什麼樓主時通時不通

How To: Wake on LAN / Wake on WAN - Step 6 - Configure port forwarding wrote:
WOL uses UDP as its Layer 4 transport, but the port varies based on the utility. The mc-wol.exe utility uses UDP port 65535. AMD's Magic Packet Utility uses UDP port 2304. There is a Linux tool, aptly named wakeonlan, that uses UDP port 9.
這邊也有講到,有些分享器不支援NAT到255廣播,可以透過設定靜態DHCP解決,樓主不妨試試
How To: Wake on LAN / Wake on WAN - Step 6 - Configure port forwarding wrote:
Some routers don't allow broadcast IPs to be used as a target IP. This is where having Static DHCP comes in handy. If you have configured Static DHCP, and your router has the MAC of your target PC, you can configure your router to forward the WOL packet directly to the IP address of the target PC.
有的軟體可以指定Port,所以NAT就很方便設定(我沒設定DMZ)

可用Wireshark檢查magic packet有沒有進來(可檢查是網路還是電腦有問題)
第一個是手機透過區網發送,第二個是透過3G網際網路發送,都可以成功啟動電腦

在putty內設定好ether-wake -i vlan2 MAC_ADDRESS,來達成遠端開機的。
不過你的分享器要能夠可以遠端ssh且有包含ether-wake指令(我是用RTN-16刷蕃茄)
但之後會發生的問題也有幾個:
1. Win7 有時會因為driver 問題而不起wake up, 這方面你好像沒問題
2. 同一個 "workgroup" 下, 其他電腦有機會錯誤wakeup 它
3. wan 方面也有機會有不必要的access 而錯誤wakeup
4. 有一些software 會有call back的也會錯誤wakeup, 如teamviewer
2 我自己的解決方法是用另一個 "workgroup", 或直接把 microsoft client 等沒用的關上
3 在NAT 指定由那一個ip range
另外有一些比教新的network card, 例如intel 82579V, 可以在 sleep mode (S3) 時作出一些基本回應而不會wakeup, 詳細我也不記得了, 因為我雖然有那個1000GT, 但還是在用舊的1000PT dual.
p.s. 我是有一台 SageTV server, 當我在外面用client 連接時它就會直接wake up, 而不用另外再用magic packet 等等.
內文搜尋

X