Difference between revisions of "Wake-on-LAN"
Line 4: | Line 4: | ||
More information on how to use wake-on-lan to startup your mythbox will follow shortly... | More information on how to use wake-on-lan to startup your mythbox will follow shortly... | ||
− | + | == Setting up == | |
If you have a network card that supports wake-on-lan, you can powerup your Mythbox by sending it a 'magic packet' over the network. Here's what i did: | If you have a network card that supports wake-on-lan, you can powerup your Mythbox by sending it a 'magic packet' over the network. Here's what i did: | ||
Line 28: | Line 28: | ||
Link detected: yes | Link detected: yes | ||
− | The 'g' in ''Supports Wake-on: pumbg'' indicates that wake-on-lan by using a 'magic packet' is indeed supported. Next, you need to make sure that wake-on-lan support is enabled in the BIOS. In addition you need to tell you network card to enable wake-on-lan | + | The 'g' in ''Supports Wake-on: pumbg'' indicates that wake-on-lan by using a 'magic packet' is indeed supported. Next, you need to make sure that wake-on-lan support is enabled in the BIOS. In addition, you need to tell you network card to enable wake-on-lan: |
# ethtool -s eth0 wol g | # ethtool -s eth0 wol g | ||
− | Since after rebooting ''Wake-on'' will be reset you might what to add it to /etc/rc.local: | + | Since after rebooting ''Wake-on'' will be reset, you might what to add it to /etc/rc.local: |
# echo 'ethtool -s eth0 wol g' >> /etc/rc.local | # echo 'ethtool -s eth0 wol g' >> /etc/rc.local | ||
+ | Now turn off you mythbox and send it a 'magic packet'. | ||
− | + | == Sending 'magic packet' to wake up mythbox == | |
+ | You will need a wake-on-lan client to send 'magic packets' over your network. | ||
Useful links: | Useful links: |
Revision as of 12:16, 11 October 2006
Under construction
More information on how to use wake-on-lan to startup your mythbox will follow shortly...
Setting up
If you have a network card that supports wake-on-lan, you can powerup your Mythbox by sending it a 'magic packet' over the network. Here's what i did:
First, find out whether your network card supports wol:
# ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Full Port: MII PHYAD: 1 Transceiver: internal Auto-negotiation: on Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000001 (1) Link detected: yes
The 'g' in Supports Wake-on: pumbg indicates that wake-on-lan by using a 'magic packet' is indeed supported. Next, you need to make sure that wake-on-lan support is enabled in the BIOS. In addition, you need to tell you network card to enable wake-on-lan:
# ethtool -s eth0 wol g
Since after rebooting Wake-on will be reset, you might what to add it to /etc/rc.local:
# echo 'ethtool -s eth0 wol g' >> /etc/rc.local
Now turn off you mythbox and send it a 'magic packet'.
Sending 'magic packet' to wake up mythbox
You will need a wake-on-lan client to send 'magic packets' over your network.
Useful links:
- http://www.die.net/doc/linux/man/man8/ethtool.8.html
- http://dag.wieers.com/packages/wol/ (wake-on-lan linux client)
- http://www.depicus.com/wake-on-lan/ (windows client)