You are not logged in.
Pages: 1
Topic closed
hello,
i want to get wake-on-lan working with uswsusp (or pm-utils, both don't work). when i halt the computer (like described here: http://gentoo-wiki.com/Wake_on_lan#Manual_method) and sent a magic packet with "wol", the computer starts, but when i suspend through "s2disk" (or pm-hibernate or "echo disk > /sys/power/state") the network card settings get somehow erased so it does not receive the magic packet.
what i've done so far:
1.) ethtool -s eth0 wol g
2.) in my /etc/modprobe.conf i have: "install 8139too /sbin/modprobe -i 8139too; ethtool -s eth0 wol g"
3.) echo -n PCI1 > /proc/acpi/wakeup # (to get: "PCI1 S4 enabled")
4.) echo -n shutdown > /sys/power/disk # (default is platform)
for shutting down the computer the first and third entry and then simply running "halt" did the trick, but for hibernating it simply doesn't wnat to work. i've tried every combination of things above. nada!
i've also tried this https://lists.linux-foundation.org/pipe … 10472.html:
Rmmod 8139 driver before suspend and use shutdown, not platform, mode
that also didn't work (no driver, no interface).
there are thousands of howtos out there, but most of them concentrate on shutting down not hibernating the computer.
wol is a really nice feature. i often use ssh, my computer is always running when i'm not at home. and i want to use hibernate.
using wol would save a lot of power.
my network card:
Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
Subsystem: D-Link System Inc DFE-528TX 10/100 Fast Ethernet PCI Adapter
though lshwd says:
8139too : D-Link System Inc.|DFE 530 TX+ Fast Ethernet Adapter
any other suggestions or hints?
please...
vlad
ps: and no, i don't want to use tuxonice.
Last edited by DonVla (2008-01-31 13:28:11)
Offline
i think the problem is that when hibernating the system is powered off by:
poweroff -d -f -h -i
with flags:
-d Don't write the wtmp record. The -n flag implies -d
-f Force halt or reboot, don't call shutdown(8)
-i Shut down all network interfaces just before halt or reboot
-h Put all harddrives on the system in standby mode just before halt or poweroff
i want to get rid of the -i flag. i don't know how to change this. there is no such configure option for uswsusp.
where can i change this for pm-utils if possible.
oh, as i see poweroff is a symlink to halt.
now i'm totally confused...
vlad
EDIT:
gentoo has this
RC_DOWN_INTERFACE="no"
entry which, as a friend of mine using gentoo told me, also works with hibernate.
is there a similar setting for arch?
Last edited by DonVla (2008-02-01 03:05:25)
Offline
damn! this thing is driving me nuts. now i've tried "ethtool -s eth0 wol b" (set wol on broadcast) and it works even when hibernated.
why the heck does it not work with the magic packet (wol g)??? react on broadcast is quite useless.
hasn't got anyone an idea? is this problem so specific? or does it work for anyone else but me?
vlad
Last edited by DonVla (2008-02-01 21:54:59)
Offline
I'm having the same problem (i.e. wol works when fully shutdown, but not when hibernated).
As for Gentoo, RC_DOWN_INTERFACE="no" used to work when I added it in "/etc/conf.d/rc", but now with this new OpenRC and "/etc/rc.conf", RC_DOWN_INTERFACE doesn't seem to work anymore. Please share if you have made any progress. Thanks.
__
sol
Offline
Please don't necrobump" https://wiki.archlinux.org/index.php/Fo … Bumping.27
And, for Gentoo support, ask on their boards: https://wiki.archlinux.org/index.php/Fo … pport_ONLY
Closing
Offline
Pages: 1
Topic closed