Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-13-2008, 05:13 PM   #1
Registered: Jul 2007
Location: Sofia, Bulgaria
Distribution: Slackware 13.1x86_64
Posts: 75

Rep: Reputation: 15
Wake On LAN on Slackware 12

Hi everybody,

I'm trying to see how to do this. I don't really know much about this.
As far as I know you need to enable in the bios "Wake On Lan" and then what?
For example I'd like to have some kind of a security which will allow only few computers to be available to "Wake on lan" that computer.

How could I do this on linux slackware 12 ?
My computer is Fujitsu Siemens and my lan card is National Semiconductor DP83815.

Any advices are welcome !

Thanks in advance,
Old 04-13-2008, 07:43 PM   #2
Slackware Contributor
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 229Reputation: 229Reputation: 229

Explains it pretty well.

You just need to send a WOL packet to the MAC address of the machine using ether-wake or similar.
Old 04-14-2008, 05:59 PM   #3
Registered: Jul 2007
Location: Sofia, Bulgaria
Distribution: Slackware 13.1x86_64
Posts: 75

Original Poster
Rep: Reputation: 15
Hi again,
The only thing I didn't understand is where is the shutdown script in slack ?
As mentioned ( in gentoo ) it's /etc/init.d/ ( for gentoo !! ), but I don't quite find anything at /etc/init.d/.
The only file is called "functions" and doesn't have "halt" command in it...

Any ideas ?

Thanks in advance !
Old 04-14-2008, 06:29 PM   #4
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,366

Rep: Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837
In Slackware, shutdown instructions are located in /etc/rc.d/rc.6 (rc.0 is a symlink to rc.6). However, local changes are best made in /etc/rc.d/rc.local_shutdown (which doesn't exist -- you need to create it). It will automatically get executed when the system is being shutdown. HOWEVER, if you look at rc.6, this script gets executed very early on in the shutdown procedure, and if you need to perform actions on your NIC, you may need to edit rc.6 directly (because the network interface is brought down AFTER rc.local_shutdown is run).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
wake on lan magic packet does not wake. albean Linux - Networking 1 06-30-2007 03:57 PM
wake on lan with slackware mangel Slackware 3 06-18-2006 01:59 PM
wake on lan?? alaios Linux - Hardware 2 08-10-2004 01:04 PM
wake on lan Stex Linux - Networking 7 06-25-2003 11:38 PM
wake-on-lan PlatinumRik Linux - Hardware 1 04-09-2003 03:52 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration