Debian Configuration :: Wake On Lan When Suspended Or Hibernated
Jun 16, 2010
I'm am able to WOL my computer when it has been halted (or shutdown, which is basically the same thing for the problem I'm facing). The problem comes when I try to WOL the computer when it is suspended or hibernated. Then, it does not work.
I've been investigating for a while and have found that when halting, the following is done in the /etc/init.d/halt script:
[code]...
But I don't know which script must be modified in case I want the network not to be brought down when the computer is suspended or hibernated.
View 1 Replies
ADVERTISEMENT
Apr 13, 2011
I seem to have run into the bug where my system was suspended when the DST change occurred (Not off so it didn't do it on reboot, not on so it couldn't do it then). I can't seem to find any way to do it manually. Is there any?
View 9 Replies
View Related
Feb 11, 2010
I recently switched back to Debian after getting fed up with Ubuntu. The one feature that I haven't been able to get back since the switch is Wake on LAN.If I turn on the computer and watch tcpdump, I can see the packets hitting my machine. I don't think it's a router configuration issue.If I shut down from windows, WOL works.Another sign that it's not a networking or BIOS thing.Here's some stuff I've tried:When I boot up in linux, if I run ethtool eth0, it tells me that wake is set to g (which every guide I've read says is correct).Just in case, I added "post-up /usr/sbin/ethtool -s $IFACE wol g" to /etc/network/interfaces (as shown here: ewtopic.php?f=5&t=42049&p=244736&hilit=wakeonlan#p244736). Also added same thing for post-down.
In /etc/init.d/halt, I changed NETDOWN to no (also from previous guide) to keep my eth card from being shut down.Also changed /etc/init.d/networking to exclude eth0 (as documented in Added "pre-down false" to /etc/network/interfaces.. trepid+wol), to keep eth0 from being shut off.Anyway, I'm guessing that either there's another script somewhere shutting off eth0 or I'm completely wrong in assuming that's the problem. I've been googling this problem for a couple weeks now and I'm totally out of ideas.
View 6 Replies
View Related
Oct 4, 2010
Suspend worked before I completely reinstalled Testing from scratch. Now it seems to suspend OK, but when it tries to wake up it fails. Details here: [URL]
View 6 Replies
View Related
Jul 30, 2010
i have recompiled kernel on my netbook (lenovo s10-3t).suspend works correctly but then i cannot wake up. i think i just missed some kernel options.what options must be set for suspend/wake up?
View 7 Replies
View Related
Mar 21, 2011
Code:
Fedora 14 xfce
I am looking for the log messages where I can find out what time my netbook hibernated?
I have checked in the /var/log. And all I could see was pm-suspend.log and pm-powersave.log.
Is there one which would tell me what time my computer hibernated?
The reason for this is when I go out I leave my netbook running on the battery. When the battery get to about 5% it will hibernate. I just what to see what time it did hibernate?
View 1 Replies
View Related
May 29, 2011
I am running 11.4 from a thumb drive,mainly because something is fishy with my main hard drive, but installation is not my reason for this thread (though I think fixing one problem will remedy the other). My winbloze install is short stroked with ~50gb for OS and ~200gb for media storage. I have no problem accessing the storage from windows, but I am unable to mount the storage partition under Ubuntu. I get the following error:
Error mounting: mount exited with exit code 14: Hibernated non-system partition, refused to mount.
Failed to mount '/dev/sda2': Operation not permitted
The NTFS partition is hibernated. Please resume and shutdown Windows properly, or mount the volume read-only with the 'ro' mount option, or
mount the volume read-write with the 'remove_hiberfile' mount option.
For example type on the command line:
mount -t ntfs-3g -o remove_hiberfile /dev/sda2 /media/Laptop Storage
When I run that command, I get this:
su: invalid option -- 't'
View 6 Replies
View Related
Apr 3, 2010
I was installing Ubuntu 9.10 side-by-side on a computer that had Windows XP Pro already on it. I told gparted to start shrinking the NTFS paritition, and about 5 minutes before the read-only test was finished, I shut the lid. Whoops... Forgot to change the power options.
I tell GParted to do a check disk, and gives me the following:
Quote:
It then gives the same error for 65735-65743, and finishes with:
Quote:
Windows of course won't boot, and I won't have access to a Windows XP install disk until Monday night, and there is no floppy drive on the laptop.
View 8 Replies
View Related
Apr 26, 2010
just installed ubuntu 9.10 besides the existing windows vista partition. Everything worked smoothly. However, after I let vista go into hibernation and then started up the system again, the grub was unable to load. Instead, I got the command prompt 'GRUB rescue'. When I boot from the live CD and try to open the ubuntu partition on 'places' in the desktop environment, I get the message that it cannot be done because windows has hibernated on the other partition, and that I need to delete the hibernation file. What do I do to get the GRUB to load? Now I am stuck with booting from the CD, and I cannot access Vista at all.
View 5 Replies
View Related
Aug 28, 2015
I am hosting a home server to make developing stuff easier. And because I don't need my server all day and night I automatically start and shut it down. For starting I use Wake-On-Lan (etherwake) and to shut it down I am using my RaspberryPi. Finally I have a problem doing that: When I use WOL to start my home server it works perfect. But when I try to shut it down, I have to do that twice. After the first shutdown it restarts automatically even when no WOL-Package is sent.
I am using Debian 8.1 Mate as os.
My stop script is:
Code: Select allsshpass -p<password> ssh root@server.home.lan shutdown -h now
and I start it with
Code: Select allsudo etherwake <mac address>
both times using a cron job on my RPi.
View 6 Replies
View Related
Jun 10, 2015
I have installed Debian 8.1 with KDE desktop on Lenovo t431s with intel HD4000 graphics.
When using it with dual monitor configuration, I experience the problem when I put system to sleep (by closing the lid), then remove the external monitor cable (from miniDP port) and then try to wake system from sleep. The login screen freezes and I am unable to move the mouse or type in credentials. In case I had music player running I can hear the music after system wake , but it shutters while playing.
This does not happen on some other distributions, but the problem is that I very much like my current setup and I would like to fix this problem and keep it.
I do not know if this problem is due to KDE or KDM or it's Debian base.
View 2 Replies
View Related
Jun 25, 2015
I came back to debian after trying many others because it installed flawlessly and worked. I'm on the testing channel and upgrade nearly everyday and after a recent upgrade my xsession (Xfce4) display won't wake up any more after I close and re-open the lid. I know the box is awake because I can go to a ctr-alt-fn console login and use it normally. How can I track this down? And is there some way I can restart the gui display from the console without losing what was running before I shut the lid? Right now the only way I can recover is to restart the computer.
View 1 Replies
View Related
Oct 20, 2015
I have installed Debian Jessie (<-- brilliant OS ) on my uncles Laptop (it is a Thinkpad E540) with Cinnamon as desktop environment. The installation was no problem. Everything apart from one minor thing works nicely. The minor thing however is the following:
I don't know what it is, but when I don't use a particular usb port for a while and then try to plug in a usb stick or a wacom tablet, it doesn't get recognized, it doesn't show up when I use f.e. Code: Select alllsusb. When I close the lid of the laptop and open it again, then the particular usb device gets recognized and cinnamon asks me what to do, f.e. open a folder and show the content of the usb stick I have plugged in. Because of the success on two other laptops I use the following
Code: Select all# /etc/systemd/system/powertop.service
[Unit]
Description=Powertop tunings
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/usr/sbin/powertop --auto-tune
Environment="TERM=xterm"
[Install]
WantedBy=multi-user.target
to save power on the Thinkpad (this is in no way my service script, I tuned everything using powertop in the terminal after having had logged in, the script above stems from a brilliant user here on the forum). Could it therefore be autosuspend that is not working properly here?
View 3 Replies
View Related
Oct 14, 2010
I have an Acer 1551 4755, with Debian Squeeze. Normally my Debian Squeeze installations and suspending work fine on my other 2 laptops. For some reason this one is troubled. I can put into sleep with "pm-suspend" or "pm-hibernate" but the thing is that my laptop never wakes up. I endup restarting.
here is the hardware and module list
[URL]
View 6 Replies
View Related
Jun 5, 2014
I use my laptop connected to an external monitor, so I would like it to wake up from suspend with a wireless keyboard. I could manage to do it when the lid is open, however, when the laptop lid is closed, it doesn't. So I need to open laptop lid each time and it is annoying.
This is how I make it wake up with wireless keyboard:
# echo enabled > /sys/bus/usb/devices/1-2/power/wakeup
I'm using debian jessie. How to make it work when lid is closed?
View 2 Replies
View Related
May 22, 2011
Is there a config file to toggle whether the screen is locked after hibernation? I looked all over preferences but if it's there, I missed it. In Ubuntu, the screen was always locked after waking up. In Squeeze, it's going directly to desktop. It's not a biggie but you never know when someone might try to access your account so I kind of liked that it would wake up locked. Maybe it's doing that because I'm the only user on the system?
View 14 Replies
View Related
Jan 26, 2016
I have set up a hdparm configuration file ( /etc/udev/rules.d/50-hdparm.rules ) with :
Code: Select allACTION=="add", SUBSYSTEM=="block", KERNEL=="sda", RUN+="/usr/bin/hdparm -B 255 -S 0 /dev/sda" .
This works correct when I power on my system, however after waking my computer from sleep mode , /dev/sda appears to operate with APM .
Is there a way I can make this setting to be persistent ,i.e. APM disabled when waking up from sleep mode?
I am running Debian Jessie x64.
View 3 Replies
View Related
Dec 9, 2010
I am trying to active desktop effects but when i click resume desktop effects the kwin says : desktop effects have been suspended by another application I am using Kde & fedpra 14
View 2 Replies
View Related
Oct 25, 2010
When I suspend my system everything goes well but when I restart it boots up again and start from the beginning...and I don't have my programs open then...
View 3 Replies
View Related
Jun 20, 2011
I dual boot both Windows and Linux and I often put my computer to "sleep" at night so it's easy to wake up the next morning. In Windows I just need to press a few keys and my computer comes to life, in Linux this doesn't happen and I have to actually go for the power button. (This wouldn't be so bad if the computer wasn't in a hard to reach place in a cupboard) At the moment I have a USB hub which my keyboard and mouse plug into, but for the sake of testing I plugged a second USB keyboard directly into the machine itself, again neither wake it. Doing a bit of research I have discovered that the wakeup devices are stored in /proc/acpi/wakeup The contents of the file by "cat" are as follows:
Code:
monotoko@KatieIV:~$ cat /proc/acpi/wakeup
DeviceS-state Status Sysfs node
PCE2 S4*disabled pci:0000:00:02.0
[code]...
At this point I have reached a dead end, how do I tell the acpi wakeup to accept input from USB keyboard as a kickstart?
View 2 Replies
View Related
Jan 14, 2011
I find that someone still can shutdown/suspend even if the computer is locked in fedora. I mean without entering any password. How do I disable that??
View 7 Replies
View Related
Apr 7, 2011
By default, cron jobs are scheduled to run at 4:40 IIRC. I have my computer set to suspend after half an hour of inactivity so, except for some all-nighters, pretty much every day at that time my PC is suspended. What happens to the cron jobs? I don't suppose they run while the suspension is in effect. Do they get run when the computer wakes up or does cron wait until the next day at 4:40 to run the jobs?
View 5 Replies
View Related
Sep 22, 2009
I'm having problems resuming a suspended session on my HP DV6-1240ea laptop. On attempting to resume a suspended session the screen remains blank. I've tried pressing the Caps Lock key to see if the LED lights but it does not which would suggest the system has not started.
View 2 Replies
View Related
Oct 17, 2010
Not sure if this is the right sub-forum....
Recently I get the msg "Desktop effects too slow and have been suspended"
View 9 Replies
View Related
Apr 7, 2010
I run a memory-hungry process (mkcromfs) which consumes more memory than I have physical memory on my latop, so it is paging and swappin and thrashing all the time and loadavg is about 2 (compcache is already in use with usual swap partition as well), but slowly moving forward (Although I afraid it will finally try to allocate >2GB and crash draining 2 days of thrashing).
When I want to use the laptop for something else, I stop the process, start X server, firefox and other programs. The problem is that when I start Firefox the loadavg jumps to 10 and the system becomes almost unresponsive at all (long time to turn on/off caps lock, slow mouse cursor position updates, slow switching from X server to Linux console, slow login).
The stopped mkcromfs still holds a lot of memory (464.8 MiB and slowly falling) and moves it to swap only when more memory is needed for some other program, which results in a great slowdown.
How to tell the Linux to swap out this process entirely (e.g. I'm not intending to resume it in short term), possibly waking from swap other data? Also it will be useful to be able to specify the exact swap device to swap the given process out (for example, mkcromfs's memory is useless in ramzswap).
Update: Now I just write a 400-600M of data from /dev/erandom to tmpfs and it makes mkcromfs to shrink. Is there more proper way?
View 1 Replies
View Related
Jan 12, 2010
Every time I login, compositing is disabled. I have to manually go into settings and Desktop and press 'resume compositing.' When I press it, it says: "compositing has been suspended by another application, press alt+shift+f12 to resume." So if i press the key combination, of course it does resume, but i have to go through this process every time i start the computer. here's my xorg.conf:
Quote:
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
[code]....
I'm running Kubuntu 9.10 64 bit edition.
Here is my graphics card
[URL]
I've installed the latest drivers
View 9 Replies
View Related
Aug 7, 2010
Everytime I leave the computer for a few minutes the screen goes black (I think in suspended state) and when I move the mouse it asks me for the administrator password. How do I make it so it doesnt ask me for it after coming back from suspended state?
View 3 Replies
View Related
Apr 6, 2010
For some reason my mail server (Postfix) seems to have stopped delivering mail.
The error in the mail logs is "status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused) against all mails.
I have researched to try and find an answer, most information on this problem seems to point to a malfunction in the Anti Virus and Spam Filtering solution.
I have checked that Amavisd and Clamd are both operating and have restarted Postfix but all to no avail, squirrelmail is not working either.. ie not even producing a login page.
I have not changed anything in the config and am just wondering if anyone has experienced similar and could point me in the right direction of a solution.
View 5 Replies
View Related
Nov 18, 2010
I am having no luck configuring ProFTPd on a Debian Lenny production server we use to host our MySQL databases and a few websites. I had originally set it up so I could login and manage our internal sites, but I have the need to allow a few clients in to access their sites that we host. I am trying to root the users in their site directory, which would be "/sites/www.whatever.com/".
It just hit me while typing this. Is it possible to create a user without a shell to prevent login via SSH and set the home folder to /sites/whatever instead of /home/username? That would allow me to continue operating with my current configuration and root them in their site while preventing SSH logins.
View 6 Replies
View Related
Jul 20, 2011
i have a HP MSA 2312fc SAN with 2 LUNs configured. The first LUN (LUN ID 1) is correctly connected to the system, but when i connect the second LUN (LUN ID 30), i find in the syslog this message: multipathd: 8:64: size 6835937472, expected 5267578112. Discard
Here is the multipath.conf
[Code]....
So I correctly see the two luns, but multipath doesn't create the relative devices. Under /dev/mapper I see: control mpath0 mpath0-part1 mpath0-part1 is the first lun, the one I mounted in a directory under filesystem. I can't find the device for the second lun
View 1 Replies
View Related