On 26/02/12 17:01, Joe Wronski wrote: > Hi, >=20 > In my Debian Linux 6.0 /etc/network/interfaces, I have: >=20 > #allow wake on lan > #see wiki.debian.org/WakeOnLan > iface eth0 inet dhcp > post-up /sbin/ethtool -s $IFACE wol g > post-down /sbin/ethtool -s $IFACE wol g >=20 > And it doesn't wake up when I send it wol magic packets. Oh, this is a sod to get working... I assume you've checked that Ethtool is installed? Here's an extract from my local Wiki -- it's for Ubuntu, but might work on Debian too. The troubleshooting stuff should be very useful to you :) =3D Wake-on-LAN on Ubuntu =3D =3D=3D On a machine where eth0 is run in DHCP mode =3D=3D In /etc/network/interfaces, assuming you want to enable WoL on eth0: auto eth0 iface eth0 inet dhcp ethernet-wol g .... other interfaces go here ... =3D=3D On a machine where eth0 is run in Static mode =3D=3D In /etc/network/interfaces, assuming you want to enable WoL on eth0: auto eth0 iface eth0 inet static ethernet-wol g ... static IP specs ... =3D=3D On a machine where eth0 is bridged =3D=3D In /etc/network/interfaces, assuming you want to enable WoL on eth0: auto eth0 iface eth0 inet manual ethernet-wol g .... bridging config here, auto br0 and all that ... If 'auto eth0' is not specified, Ethtool will NOT be run! =3D=3D To prove this works =3D=3D sudo ethtool eth0 Which should produce output similar to this: Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: No Speed: 1000Mb/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: 0x000000ff (255) drv probe link timer ifdown ifup rx_err tx_err Link detected: yes Note that "Wake-on" is set to "g". "g" means 'Magic Packet', "d" means 'Disabled'. =3D Waking up a machine =3D You need Etherwake: sudo apt-get install etherwake And to wake a machine up: sudo etherwake 12:34:56:78:9A:BC Or alternatively: sudo etherwake hostname The hostname alternate will only work if a MAC-address-to-hostname mapping is present in /etc/ethers. The MAC address alternate will always work (assuming there's a machine present on the LAN with the specified MAC address, of course!) Best of luck -- Linux can be pretty brutal when it wants to be... Cheers, --=20 Phil. piclist@philpem.me.uk http://www.philpem.me.uk/ --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .