Wake-on-Lan (WOL)

Document

Dec 13, 2010 6:56 PM
Dec 13th, 2010

going green

always a good idea to sleep your home computer/MAC when possible

I use a nice option if sitting at work and you need to access some files on my home mac but its fast asleep

http://en.wikipedia.org/wiki/Wake-on-LAN

Cisco Router Configuration (Cisco 877)

interface Vlan1

ip address 192.168.1.1 255.255.255.0
  ip directed-broadcast
  ip accounting output-packets
  ip nat inside
  ip virtual-reassembly

ip nat inside source list Allow-nat interface Dialer1 overload
ip nat inside source static udp 192.168.1.255 7 interface Dialer1 7


ip access-list extended Allow-nat
permit ip 192.168.1.0 0.0.0.255 any

The above will forward the crafted packet destined to your routers public internet address

to the local lan broadcast address 192.168.1.255 (on udp port 7)

Generating the WOL packet

Crafting the desired pack

btw you need to know the MAC address of your home machine

Sending a WOL packet...

Example of a Perl script I use written by Walter Roberson

https://groups.google.com/group/alt.internet.wireless/msg/acfa5ef109d3a3fb?hl=en&pli=1

eg.to run

./wol.pl <mac add in format XX-XX-XX-XX-XX-XX> <internet address> <udp port>

Windows option

http://www.depicus.com/wake-on-lan/wake-on-lan-gui.aspx

Overall Rating: 0 (0 ratings)

Actions

Login or Register to take actions

This Document

Posted December 13, 2010 at 3:30 PM
Updated December 13, 2010 at 6:56 PM
Stats:
Comments:0 Overall Rating:0
Views:7656 Contributors:0
Shares:1

Related Content

 

Documents Leaderboard

Rank Username Points
1
TCC_2
243
2
Andrew Gossett
120
3
ashirkar
96
4
Adam Casella
79
5
SunilKhanna
75
Rank Username Points
TCC_2
5