Domain: uminho.pt
Stories and comments across the archive that link to uminho.pt.
Comments · 7
-
Re:Thanks!
Yes, wake on magic packet works. I have my ADSL router set up to forward traffic destined for 9/UDP ('discard' port) on the ADSL interface to be sent to the broadcast address (where my Mac will see it) on my LAN.
I then use wakeonlan (perl script) to send a magic packet to the router from the internet, which wakes the Mac up. After this I can ssh in to my Mac (port forward for SSH configured on the ADSL router).
The only problem is that I only get 30 seconds of connectivity before my Mac goes back to sleep. I think this is the amount of time the machine waits for me to type my password on the console, as if I'd woken it up by clicking the mouse. Does anyone have a workaround for this? It's *REALLY* annoying
:I -
Re:Wake-on-LAN?
Note the WOL Mini-Howto.
It only works when you have an 'application' (both in terms of network topology, situation, and actual software) that supports the feature. If anyone's actually come across a situation where they could use this, let me know. (You could also go into a lesser power-saving mode and and wake on any(?) interrupt from the network card, but how many OSes support this reliably? You might be able to sleep a *NIX laptop reliably enough, but an inoften-used but 'mission critical' webserver?)
I'd be interested to hear of anyone who's found a best-practice for taking advantage of these features in a real-world environment. Any takers? -
Re: it's not IP, so it won't get routedI have to correct myself: You may use ANY packet You want (IP, IPX, whatever), as long as it
- contains the "magic sequence"
- is contained in a valid ethernet frame
- is address to the target's MAC- or a multicast address (including broadcast).
Because of the handshake You cannot use TCP, but any UDP or ICMP (ping!) packet including the magic would do it. It has to pass the firewall (if any). The dest address could be
- unicast if the last router has a static arp entry for the dest
- broadcast if the last router forwards broadcast packets
- multicast if You have a multicast routing path from You into the last subnet.
Read AMD whitepaper and a howto.
/graf0z. -
Some simple ideasI'm pretty sure it's not possible to sent WOL over the internet, since you're accessing the MAC address to turn the system on. It's broadcasting a packet to 255.255.255.255.
I use WOL to turn my Windows XP PC on by SSH'ing to my Linux server on the same LAN, then running the Linux WOL utility to turn the Windows PC on. Then I have the Terminal Services service running on the WinXP system on a non-default port where I can shut it down if I want to (using tsshutdn). It might also be possible to shut the system down remotely from the Linux system with Samba, but I've never tried that.
-
Re:Anti-whore Article Text in case of slashdottingThe how-to will have to wait, as I currently don't have the time.
- rh+dvd-isolinux.tar.bz2, the isolinux directory, 9.3Mb.
- make sure full Mandrake 9.1 is in
/mandrake91 and full RedHat 9 in /redhat9 - change redhat9/.discinfo, line 3, to 1,2,3
- for Mandrake, execute gendistrib --noclean --distrib path_to_/mandrake91 (gendistrib is in rpmtools-4.5-9mdk
- burn: growisofs -Z
/dev/recorder -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -J -pad -r -T -V "Mix" -v -f full_dir/
-
./ is loosing speed :)
I belong to a team that runs a portuguese language slashdot clone. I'm amazed that now we can not only copy what appears here, but actually before it appears here! Those who read portuguese, check out here".
-
./ is loosing speed :)
I belong to a team that runs a portuguese language slashdot clone. I'm amazed that now we can noto only copy waht appears here, but actually before it appears here! Those who read portuguese, check out here".