• Current Events & Politics
    Welcome Guest
    Please read before posting:
    Forum Guidelines Bluelight Rules
  • Current Events & Politics Moderators: deficiT | tryptakid | Foreigner

ubuntu wake on lan

1024

Bluelighter
Joined
Mar 16, 2002
Messages
2,188
Location
A dustbin in shaftsbury
Hi all.

I've set each wakeup file in /sys/devices to enabled, have removed network-manager, set NETDOWN in /etc/init.d/halt to yes. Ifconfig eth0 down is set in the rc.0 and rc.6 direcotories. I've set ethtool -s eth0 wol g. Wol is enabled in the bios, i'm using the tg3 kernel module.

Any ideas how to Wake on Lan?

Thanks,
Rob.
 
You set it up to wake on receiving a magic packet (UDP packet) so you need an app for the OS you're sending the packet from to do that for you (google magic packet app). if you're trying to wake from within your home network then you need the target box's MAC address (or maybe IP, depends on app I guess) if done from outside the network you need your external IP and reconfig router to port-forward.
 
I've set each wakeup file in /sys/devices to enabled, have removed network-manager, set NETDOWN in /etc/init.d/halt to yes. Ifconfig eth0 down is set in the rc.0 and rc.6 direcotories. I've set ethtool -s eth0 wol g. Wol is enabled in the bios, i'm using the tg3 kernel module.
i see linux is as intuitive as ever :)

alasdair
 
Assuming that was a small serving of sarcasm I'd just like to take this opportunity to point out those commands could be easily written to an executable shell script or a shiny graphical front-end could be made to take care of it. That's already three unique ways to approach a solution, whereas with more common OS you typically have two options: a) learn to love the graphical front-end or b) try to reverse engineer proprietary code to make your own changes
 
Assuming that was a small serving of sarcasm I'd just like to take this opportunity to point out those commands could be easily written to an executable shell script or a shiny graphical front-end could be made to take care of it. That's already three unique ways to approach a solution, whereas with more common OS you typically have two options: a) learn to love the graphical front-end or b) try to reverse engineer proprietary code to make your own changes
i was, of course, being slightly sarcastic. sure you could do those things but it is extra work and the standard (i.e. command line) method of doing it is next to impenetrable.

also, you could write a shiny graphical front end on more common OS so that's a wash...

alasdair
 
Top