LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-14-2006, 05:34 AM   #1
mangel
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Rep: Reputation: 0
wake on lan with slackware


Hi!

I would like to wake up my computer from another computer with the wake-on-lan option. On my computer I have both windows xp and slackware 10.2. If I power off the computer from windows xp the wake on lan works, but if it's from slackware it doesnt.

So this means that the bios and hardware is well configured but slackware software not.

In /etc/rc.d/rc.0 i have commented the lines where inet1 is stopped and even i commented the lines about stopping pcmcia's devices.

In my lilo.conf i have the command "apm=power-off" so that my computer powers off when I close it form KDE. May be this stops the ethernet card?

I also use the ethtool writing: "ethtool -s eth0 wol g"
Command that doesnt give me any error. And then when I make : "ethtool eth0" it shows me how the option g is enabled.

Any idea of what is happening? Or what can I try to solve it?

Thanks!

Last edited by mangel; 06-15-2006 at 12:17 PM.
 
Old 06-15-2006, 01:14 PM   #2
hottdogg
Member
 
Registered: Aug 2004
Distribution: opensuse ,debian/ubuntu
Posts: 222

Rep: Reputation: 30
Well, I haven't tried the WOL in my slackware. But this does intrigues me.
What's your ethernet card?
Maybe we can check these first:
http://www.slackware.com/~alien/doku...ku.php?id=blog
http://www.linuxquestions.org/questi...d.php?t=444793
 
Old 06-17-2006, 08:50 AM   #3
mangel
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Hi!
Thanks for answering! I have tried the suggestions of that links but I stay unable to make it work :-(. But i will contiue trying.
My ethernet card is RTL8139 Realtek.
 
Old 06-18-2006, 02:59 PM   #4
mangel
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Hi again!

Finally I have achieved the task of using wake-on-lan on slackware 10.2. I will explain here what i did so if it interests anyone. However i tried so many things that my actual configuration is a sum of smalls changes so may be I forget some small changes.

-In my bios configuration y enabled the wake-on-lan option. And then put ACPI Suspend Type to S3(STR). This last change i dont know if it's necessary.

-In my /etc/rc.d/rc.0 I wrote the command "/usr/sbin/ethtool -s eth0 wol umbg" after:

# Bring down the networking system:
if [ -x /etc/rc.d/rc.inet1 ]; then
. /etc/rc.d/rc.inet1 stop
fi

and after this:

# Shut down PCMCIA devices:
if [ -x /etc/rc.d/rc.pcmcia ] ; then
. /etc/rc.d/rc.pcmcia stop
# The cards might need a little extra time here to initialize.
sleep 5
fi

I dont know if both are necessary but im fed up of making tests :-)
 
  


Reply


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 DennyB Linux - Hardware 1 08-21-2007 08:27 AM
wake on lan ampena Debian 3 11-16-2005 07:21 AM
Wake on LAN tommyknocker Linux - Networking 4 07-26-2005 02:26 PM
wake on lan Stex Linux - Networking 7 06-26-2003 12:38 AM
wake-on-lan PlatinumRik Linux - Hardware 1 04-09-2003 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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