Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: florian77 on May 13, 2012, 02:29:40 PM
-
Unfortunately I wasn't able to find a solution for this problem in the forum. I installed ethtool using tce-load -wi ethtool.tcz and created a file /opt/eth0.sh with the following content:
#!/bin/sh
ifconfig eth0 192.168.1.2 netmask 255.255.255.0 up
route add default gw 192.168.1.1
echo nameserver 192.168.1.1 >> /etc/resolv.conf
ethtool -s eth0 wol g
if (grep PCE4 /proc/acpi/wakeup | grep disabled 2>&1 >> /dev/null); then
echo -n PCE4 > /proc/acpi/wakeup
fi
This file is called by my bootlocal.sh. Of course, I persisted the configuration using sudo filetool.sh -b. I enabled Wake Up on PCI events on my ASROCK E350M1 motherboard, which should be good enough for wake-on-lan (and waking on keyboard strokes works too!). However, after turning off the computer invoking exitcheck.sh, the LAN's LEDs turn off and the wake-on-lan just doesn't work. Typing sudo ethtool eth0 into the bash confirms, that my network card's wol is turned to "magic packet" (g).
What did I miss?
Best regards, Florian.
-
You need to take it up with your motherboard manufacturer.
-
FWIW I also have an AsRock Mainboard (AOD790GX) whose internal GB Ethernet adapter I couldn't get to work with WOL. Same behavior as you described, USB (PCI host controller) wake up works, Ethernet doesn't. I even installed a "proprietary" Windows driver on the host OS with dozens of options, tweaked, tuned, tried everything - no way. Personally I came to the conclusion that AsRock does not enable this feature for their consumer boards - with a separate PCI GB adapter WOL works absolutely flawlessly.
-
First of all: thank you for your advise. As you already indicated, my configuration was perfectly good. After digging into the details a bit using wireshark, I finally solved this issue. My WLAN router swallowed the magic packets, so they never made their way to my ASROCK mainboard. After hardwiring the sender of the magic packets, Wan-on-Lan works perfectly. As I have no idea, how to mark this thread as solved, somebody else will have to do that for me.
All the best, Florian.
-
Hi florian77
Go to your original post, click on modify, edit the subject line to mark it as solved, and click save.