Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have a small LAN at home, connecting to my AT&T cable modem (attbi.com, previously mediaone.net in New England, MA, USA) via an SMC Barricade Wireless router (SMC7004WBR - http://www.smc.com/drivers_downloads/library/7004WBR_DS.pdf). On the LAN side, I have a brand new Macintosh G4 running Mac OS X 10.1.4 with Wake-on-LAN capability. The router, updated with the latest firmware (version 1.94c, http://www.smc.com/drivers_downloads/library/7004WBR_FWv194c.zip), has a feature where I can connect to the router's admin web pages from the WAN side and press a "Wake up" button to send the WOL packet to the Macintosh. It works great, I can wake the Mac, then I can get to it via HTTP and SSH just fine from outside.
What I want to do is send the WOL packet from the outside WAN without having to access the router's admin web pages. I have found programs like wol.c and equivalent python and perl scripts. But I can't figure out how to configure the router and/or Macintosh so the Mac will actually wake up when the WOL packet is sent.
It *seems* like the "magic packet" is making it past the router, as running tcpdump on the Macintosh shows something like this ("xx..." is MAC address of machine on WAN sending magic packet, "yy... is MAC address of Macintosh on LAN, "zz... is IP of WAN machine sending magic packet):
19:18:40.136372 xx:xx:xx:xx:xx:xx yy:yy:yy:yy:yy:yy 144: zzz.zzz.zzz.zzz.32837 > 192.168.123.148.http: udp 102 (DF)
19:18:40.136445 yy:yy:yy:yy:yy:yy xx:xx:xx:xx:xx:xx ip 70: 192.168.123.148 > zzz.zzz.zzz.zzz: icmp: 192.168.123.148 udp port http unreachable (DF)I'm *not* an expert in this stuff, but I don't understand the "udp port http unreachable" message. Isn't the magic packet supposed to be "eaten" by the WOL feature in the NIC?
I get the same results doing this with wol.c (http://hp.vector.co.jp/authors/VA000770/docs/wol.c) and with a python script (http://www2.cs.lth.se/X-tips.html#Vack_datorn_over_natet).
My gut says I need to configure something differently in the router or the Macintosh. OR (I hope not), my cable modem system munges the magic packet on the way to its destination.
Thanks for reading this far, and thanks in advance for any help you can provide.
I'd greatly appreciate a cc to my email address: mac_hale at hotmail dot com (with appropriate edits).

BTW, here's the tcpdump on the Macintosh from the successful WOL from the Barricade router:
17:50:49.206431 0:50:18:0:f:fe 0:3:93:67:2b:7e ffff 116:
ffff ffff ffff 0003 9367 2b7e 0003 9367
2b7e 0003 9367 2b7e 0003 9367 2b7e 0003
9367 2b7e 0003 9367 2b7e 0003 9367 2b7e
0003 9367 2b7e
17:50:49.206553 0:50:18:0:f:fe 0:3:93:67:2b:7e ffff 116:
ffff ffff ffff 0003 9367 2b7e 0003 9367
2b7e 0003 9367 2b7e 0003 9367 2b7e 0003
9367 2b7e 0003 9367 2b7e 0003 9367 2b7e
0003 9367 2b7e
17:50:49.206683 0:50:18:0:f:fe 0:3:93:67:2b:7e ffff 116:
ffff ffff ffff 0003 9367 2b7e 0003 9367
2b7e 0003 9367 2b7e 0003 9367 2b7e 0003
9367 2b7e 0003 9367 2b7e 0003 9367 2b7e
0003 9367 2b7eAgain, please cc replies to mac_hale at hotmail dot com (with appropriate edits). Thanks.

![]() |
internet sharing
|
ICS XP, server works, cli...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |