Debian Configuration :: Shutdown Laptop When AC Plug Is Removed?

Jul 22, 2010

I'm running a Debian on a laptop (actually a netbook: Asus EEE 1001PX) as a cheap homeserver. However I'd like it to automatically "shutdown -h NOW" when I remove the AC plug (switch it off at the wall). Otherwise I have to ssh to it and call it myself, and that just sucks Can I somehow detect the removal of AC power and upon that run a script ?

View 8 Replies


ADVERTISEMENT

Ubuntu :: 10.10 Shutdown When Laptop Charger Removed?

Nov 6, 2010

I have an old lap top thats in good nick and I installed 10.10 on it. I had only used 10.9 before on my other old and rubbish acer. On 10.10 I have a problem where when I unplug the charger the computer boots down instantly. However, unlike all the treads I have seen, my computer can be re-started and run off battery for hours with no problem. I have mentioned this just now on the hardware thread but I don't see how its a hardware problem so I thought I should put it here.I also have a problem with the wireless/Internet becoming disabled after it goes to sleep. Only way to solve it is to restart it. I have checked the options in my inexpert way but have found no command to provoke such behavior. Has anyone tried re-booting when their "battery dies" after charger removed?

View 9 Replies View Related

Debian :: Must Plug In Headphones To Hear Sound On Laptop?

Aug 31, 2011

I have Debian wheezy, and win xp, installed on my Toshiba Satellite P205-S6337 laptop. The laptop speakers do not work when the computer starts up, but they work in windows. After fiddling with the sound preferences and making sure the volume was turned up with alsamixer. I tried plugging in headphones.I could hear sound on the headphones. Then when I unplugged the headphones the laptop's built in speakers work again! This wouldn't be such a problem except I have to plug in and unplug a pair of headphones to make them work.

View 5 Replies View Related

Debian Configuration :: When Root Crontab Is Edited The Execute Flag Is Removed?

Mar 3, 2011

I have been having trouble setting up a daily backup script with cron. It would basically never worked. Searched the net for answers but didn't find anything. I finally figured it out !! When root crontab is edited the execute flag is removed from #/var/spool/cron/crontabs/root. I change it with #chmod a+x /var/spool/cron/crontabs/root and all is good.

View 5 Replies View Related

Debian Hardware :: Laptop Auto Shutdown Just After 5 Minutes?

Jun 22, 2011

Laptop : Dell Latitude D620 - Intel Core2Duo T5500 1.66GHz - Intel 945GM graphic - 2GB DDR2 667 RAM - Samsung 400GB SATA 5400rpm Harddisk. OS : Debian Squeeze amd64 - Gnome. I browse the web with this laptop,with ethernet connection,with Icewesel running 2 tab,just after 5 minutes,it auto turn off itself. Never happen before,I don't know what happen. This laptop only support 2D,there's no 3D graphic driver,so no visual effect apply. I start the laptop after 10 minutes,type sensors and get this output :

acpitz-virtual-0
Adapter: Virtual device
temp1: +46.5įC (crit = +126.0įC)

* Before it auto shutdown,I place my laptop on desk with a simple rack to lift the rear from desk about 5cm,without cooling pad,and no direct wind flow from my desk fan as I always did.

View 1 Replies View Related

Debian Configuration :: HOW To Wipe RAM At Shutdown

Aug 19, 2011

I search many hours on the web for wipe my ram in a secure way and i find nothing good/secure/work exept URL... and i think it's the best solution for wipe RAM at shutdown!Im a newbie user and i want to implement this solution on my debian system at shutdown, i think its very easy because TAILS is based on debian! Does someone can put the procedures for get that on a debian box please?

View 8 Replies View Related

Ubuntu :: Removed Shutdown From Top Panel And Cant Get Back?

Jun 18, 2010

I just installed Lucid, looks good so far. But In an attempt to move things around I removed the "Shutdown" button from the upper right tool bar and cant see how to bring it back anywhere. So please would someone tell me where its hidden!

View 4 Replies View Related

Debian Configuration :: Erase Memory At Shutdown

Jul 10, 2010

Without being paranoiac, it seems possible to keep the memory content for some minutes after shutdown and dump it accessing directly to the hardware.So how to fill the memory with constant or random pattern before halting? Is there a kernel option that I can give at boot time , or an other tool I can install from Debian/Ubuntu to achieve this ?

View 14 Replies View Related

Debian Configuration :: Run A Script On A Low Battery Shutdown?

Jul 13, 2011

I have looked all over the place but I can't find if this is possible. I am running Debian 6 as a media server (SMB) and it is tied to a UPS, I used gnome power management to set up a low battery shutdown but this UPS also is powering another embedded computer. So, I was wondering if it was possible to have a script run (to log in and shut down the embedded system) before gnome power management shuts down the Debian server. I know I could probably get it to run on every shutdown, but I am looking for low power only.

View 1 Replies View Related

Debian Configuration :: Can't Shutdown Cups And Avahi-daemon

Nov 15, 2015

I've been using linux for a few months. Recently I have installed debian jessie and I'm learning how to secure my laptop. I have installed

Code: Select allapt-get install sysv-rc-conf

to shutdown few services that I believe I don't need at boot which I found very useful. Among others I have deselected avahi-daemon, cups, cups-browsed, etc. The problem is that, after rebooting, when running:

Code: Select allnetstat -lntup

I still find 'avahi-daemon: r' and 'cupsd' running. I have tried

Code: Select allsystemctl stop cups
systemctl disable cups
systemctl stop avahi-daemon
systemctl disable avahi-daemon

But after rebooting these services are aklways running. I do not know whta to do.

Output of netstat -lntup

Code: Select all[*]Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      250/cupsd       
tcp6       0      0 ::1:631                 :::*                    LISTEN      250/cupsd       
udp        0      0 0.0.0.0:16409           0.0.0.0:*                           526/dhclient   
udp        0      0 0.0.0.0:68              0.0.0.0:*                           526/dhclient   

[Code] ....

I'm aware that cups seems to work just for my printer but I do not understand why I can't just disable it.

View 5 Replies View Related

Debian Configuration :: When Shutdown Screen Always Stays On And Then It Hangs

Dec 12, 2015

I'm using Debian Sid xfce on my lenovo laptop. When i try to shutdown, the screen always stays on (the fans turn off). It says "reached target shutdown", then this happens: [URL] .... and then it hangs. I have to press the power button to shut it down. (I have the same problem with reboot). I had the same issues with Jessie.

Things i tried so far and didn't work:

Code: Select allshutdown -h now
shutdown -p now
halt
poweroff
systemctl poweroff
init 0

I edited /etc/default/grub and added the following options at "GRUB_CMDLINE_LINUX_DEFAULT":

acpi=force, acpi=off*, acpi=noirq

*acpi=off: shutdown (not reboot) worked a few times but i didn't have wifi and power manager didn't seem to work

none of them worked..

I have no energy or wake up options at my BIOS.

I found out that i can normally reboot with the Alt + sysrq + REISUB key combination.

View 5 Replies View Related

Debian Configuration :: User Cannot Shutdown While Root Is Logged In

Jun 29, 2011

on my netbook I've tried to make possible for my user to shutdown without needing a password. battery could run low when I'm not in front of it. Editing sudoers has allowed my user to shutdown the system, but Gnome still prompts me for the root password whenever root is logged in too. That's usually the case, because to avoid entering the root password multiple times whenever I need elevated privileges and not wanting to cache the root password, I keep a Root Terminal always open.

View 6 Replies View Related

Ubuntu :: Removed Shutdown And Instant Messaging Status From Panel?

Dec 7, 2010

I booted up my laptop as usual and found that when I opened Empathy IM Client it would not allow me to login when I changed the status to Online (or equivalent). Normally as soon as I open the client the Messaging Status can be changed in the top right next to the clock so I tried to remove it but unfortunately it took the shut down panel with it.

To try and bring them back I used the restore panel commands in terminal:

Code:

$ gconftool-2 --shutdown
$ rm -rf ~/.gconf/apps/panel
$ pkill gnome-panel

Unfortunately the panels all reloaded, but without any change.

1. How can I restore the shut down and messaging section to the top panel (as is in the default)?

2. How can I get instant messaging to work again?

PS. I'm a Ubuntu noob, only installed it about 2 days ago. Thus I may need some very basic instructions to anything complicated.

EDIT: I just found the panel section was called the Indicator Applet, but now it's in the wrong place...

View 3 Replies View Related

Debian Configuration :: CIFS Mount Causes 90-sec Timeout Delay During Shutdown

Nov 17, 2015

I'm using Debian 8.2 from a very recent download of the latest NetInst (less than 2 weeks). I'm sort of new to Linux - More accurately, I've used Unix and Linux extensively in the past, so most of my knowledge is dated. In particular, the whole systemd / systemctl paradigm is completely new to me.

Problem: I've added an entry to /etc/fstab to mount a NAS drive as CIFS. When I do a system shutdown or reboot, the system hangs for 90 seconds trying to unmount the NAS. If I manually umount the NAS prior to shutdown / reboot everything works fine.

I've done a fair amount of investigation and web searches, but haven't found a fix yet. Apparently several people were encountering similar problems about a year back, and it seems pretty clear that the root cause what ordering of steps in the shutdown process, e.g., WLAN being turned off before unmounting filesystems. This seems to have been resolved for most users (no one is discussing it any more), but I'm now running into the same issue. Ugh.

I tried to add a shell script to /etc/rc0.d to umount the NAS first in the shutdown process. This had no effect. I assume this is because the new systemd / systemctl paradigm supplants the old /etc/rc model of runlevel control, though it is rather baffling (to me, at least) as to why /etc/rc* still exists if the system is no longer using it...?

Here's some things I'd like to try, but how to proceed:

1. In the new systemd / systemctl paradigm, how do I examine and change the ordering of steps in the shutdown process? I've seen a lot of documentation on systemd, but nothing tells me how to do what I used to be able to do with /etc/rc with a simple rename of a symlink. If I knew how to look at the order of shutdown and change that ordering, I'm fairly certain I could identify and resolve this issue.

2. Is there some other way to mount my CIFS NAS other than editing /etc/fstab? Is it possible that my manual edit to /etc/fstab is the cause of this issue? My research into systemd indicates that it IS supposed to be compatible with /etc/fstab. I have not yet found documentation describing how to mount a filesystem at boot WITHOUT editing /etc/fstab ...

View 8 Replies View Related

Debian Configuration :: Shutdown/restart Privileges Under Gnome On Squeeze?

Mar 14, 2011

in configuring a fresh install of Squeeze. I discovered that it is possible to power off the system under gnome simply by pressing the power button or by selecting the "Shut Down" entry on "System" menu.However I need to restrict this option only to root. How can I do that?

View 7 Replies View Related

Debian Configuration :: Incredibly Slow Shutdown (System Taking 3 - 5 Minutes)

Aug 21, 2015

I am using Debian sid 4.1.3-1 and when i shutdown the system it takes 3 - 5 minutes before actually shutdown, there is only a black screen until the hdd led start flashing and after that the system finally shutdown. The weird part is that sometimes it happen in less than 30 seconds , how can i figure out where the problem is ?

View 8 Replies View Related

Debian Configuration :: Manual / Tmp Part Hangs Unattended-upgrades At Shutdown

Dec 3, 2015

Creating a separate /tmp partition manually during install prevents a clean shutdown.

Setup: Debian 8 minimal server configuration (SSH only) using net install as virtual machine on Windows Server 2012 R2 Hyper-V (Gen 2).
1024 MB RAM, 20 GB VHDX, and 1 Processor, EFI boot
Packages installed: openssh-server, sudo, unattended-upgrades, bsd-mailx postfix
Application: IPv6 gateway using 6in4 tunnel

Symptoms: When shutting down the operating system (poweroff or reboot), the message

A start job is running for Unattended-Upgrades ( xx seconds / no limit ).is displayed on the console and will persist for several minutes before eventually timing out and shutting down.I've tried several different configurations. Any configuration that creates /tmp automatically (whole disk with single partition, or disk with separate /home, /var, and /tmp partitions) works fine and shuts down promptly. When I partition the disk manually (512 MB EFI Boot, 17 GB /, 3 GB /var, 512 MB /tmp, and 512+ swap) the problem occurs. I've narrowed it down to just the /tmp partition by testing and comparing various configurations (including/excluding partitions, placing partitions on a separate disk, changing the partition sizes, matching against automatic configurations, etc.).

I have also compared the /etc/fstab and /etc/default/tmpfs configuration file between working and non-working systems and cannot see any meaningful difference.

View 0 Replies View Related

Ubuntu :: Laptop Goes Off When Plug/unplug AC Cable?

Jan 13, 2010

My problem here is the following: whenever I plug or unplug the AC cable in or out of my laptop it goes on hibernation, which is very annoying indeed. Sometimes I just want to plug it because I'm downloading something and my battery is running out.I would like to add that when my laptop goes into hibernation, and I try to bring it back up nothing happens, only the fans go on, but no activity other than that, at which point always just end up shutting the computer down cold and restarting it, which is getting to be a huge problem

View 5 Replies View Related

Ubuntu Installation :: Can Plug The Usb Into Laptop And It Will Work Normal

Dec 16, 2010

If I install a regular version of Ubuntu onto a USB drive using my desktop,can i plug the usb into my laptop and it will work normal,no issues having used the laptop desktop to install to the usb. Only reason asking because i can disable the harddrive on my laptop so i just unplug the harddrive in my desktop and install ubuntu like that onto usb,if theres a better method for laptop love to hear it

View 3 Replies View Related

Debian Configuration :: Can't Ssh Into Laptop

Feb 16, 2010

Until a while ago, I had to problems sshing into my laptop, whose static IP is 192.168.1.64. I scp'ed a few files from it to my desktop, whose static IP is 192.168.1.22. Then, suddenly, I started getting a "destination host unreachable" error. I also get the same error when I try to ping the laptop. I verified that the ssh daemon was running on the laptop, and even rebooted, but I am still getting the error.

I didn't install any upgrades or edit any configuration files on the laptop between the time that ssh was working and when it stopped working.

Otherwise, networking works on the laptop. In fact, I am writing this post from it. It is as if my laptop suddenly decided to block incoming traffic.

[Code].....

View 9 Replies View Related

Debian Configuration :: Laptop Fan Doesn't Run?

Jul 14, 2011

I have installed Squeeze on my laptop, an Acer 5315.The fans never turn on, and the laptop eventually overheats and shuts off.This is not a hardware problem, because Lenny, on another partition, works fine.I have poked around, and discovered that the temperature sensor, as reported by "acpi -V", and in /sys/devices/virtual/thermal, does not get updated. It seems to get read at boot, but the reading never changes, no matter how hot the machine gets.

Specifically, if the machine is cool, acpi reports 40 degrees C, and goes on reporting the same number until the machine overheats and shuts down.On the other hand, if the machine is hot (because it's been running without the fan), and I reboot, then the reading at boot is usually either 75 or 85, and the fan turns on during boot, and stays on, at high speed, until the next reboot, and the reading never changes during the whole time

View 2 Replies View Related

Debian Configuration :: Can Move SSD From Old To New Laptop Without Formatting?

Jun 30, 2015

I have been using debian from the past 3 years on a dell inspiron 1520 (2007 model). Yesterday i bought a dell inspiron 5548 (Early 2015). I have and ssd drive in old laptop that i want to move to the new laptop. To my knowledge i think i can replace the 1TB hard drive on new laptop with ssd, remove or reinstall or update drivers so the ssd will just run fine on new laptop without having to reinstall all the stuff and customization. Should i recompile the kernel in linux for new hardware? AFA windows 7(Dual booting Debian 8 and Windows 7), i think removing and reinstalling drivers will work fine.

Hardware: Old laptop specs: - New laptop
-------------------- - ---------------
Processor: Core 2 duo 2Ghz - Core i5 5th gen. 5200U
RAM: DDR2 667MHz - DDR3 1600MHz
Graphics: Intel GMA X3100 - Intel 5500 / AMD M265 2GB Graphics
Chipset: Mobile Intel GM965 Express chipset - Intel 9 series chipset

View 7 Replies View Related

Debian Configuration :: Laptop Won't Hibernate With SSD In Ultrabay?

Aug 16, 2010

My Thinkpad T61 just got a Corsair X256 SSD in the ultrabay (where the CD usually is). This works well except for hibernating. Earlier I had a traditional HDD drive there which also hibernates just fine.After a failed hibernate the machine hangs with this message on screen:

ata1.00: status: { DRDY ERR }
ata1.00: error: { IDNF }
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata1.00: failed command: FLUSH CACHE EXT

[code]...

And looking in the kern.log I see this:

Aug 16 18:57:00 lap kernel: [ 175.690230] hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
Aug 16 18:57:00 lap kernel: [ 175.690237] hda: task_no_data_intr: error=0x10 { SectorIdNotFound }, LBAsect=1207959552, sector=18446744073709551615

[code]....

View 3 Replies View Related

Debian Configuration :: Use A Key To Turn Off Display On Laptop?

Sep 17, 2010

I am wondering if it is possible turn off my display with a key of my laptop's keyboard. I mean if I press ctrl + o then my display turn off and then if I press ctrl + o my display turn on.

View 5 Replies View Related

Debian Configuration :: Fan Turns Off When Laptop Is Closed?

Jan 10, 2011

My IBM Thinkpad T42 laptop fan is constantly running when the laptop is open.I only use AC power.Fan turns off when laptop is closed, which I did by selecting Suspend in Power Management.

cpufreqd and cpufrequtils are installed. cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor' is 'ondemand'

Constant fan was not a problem in XP Pro; I just installed Debian one month ago.

View 5 Replies View Related

Debian Configuration :: Laptop Does Not Resume From Suspend?

Jan 27, 2011

I have installed squeeze on a HP notebook. I have one small problem though.It does not resume from suspend. If I shutdown -> suspend, or close the the lid, or shut downs (suspends) as expected, but whenower it backup up, the screen just stays black.Hibernate is working fine.

output of lspci (if needed)
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)

[code]...

View 14 Replies View Related

Debian Configuration :: How To Switch On Bluetooth ON TOSHIBA Laptop

May 4, 2010

Just resently I managed to activate internal bluetooth adapter. I'm not expert in command line and everything I could was done in GNOME. Same like most other systems an icon appears in panel bar whenever I used to type <modprobe omnibook ectype=14>. It took me some time to set everything with the kind help from URL... So the thing is that after fingering with some newly installed packages concerning b-tooth utilities that icon is gone and b-tooth is not active.

View 2 Replies View Related

Debian Configuration :: Squeeze On Thinkpad R400 Laptop Getting Very Hot?

Apr 6, 2011

I have Lenovo Thinkpad R400 laptop. It has Intel Centrino Core 2 Duo processor with ATI Radeon 3400 series graphics card and Intel Mobility chipset series 4 Integrated graphics controller. I have Squeeze ( stable) installed on it with kernel 2.6.32-5-686 .

My laptop gets very hot within 10 minutes whether I do any task or not. Also battery life is almost 40% as compared to Windows. I am more worried about temperature as it remains completely cool in windows. Mostly CPU load remains around 10% and CPU spends 99.99% time at 800MHz clock. I believe heat generated is by graphics card chipset.

Following are some information about my machine

$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

[Code].....

View 5 Replies View Related

Debian Configuration :: Laptop Files Located In /var - Can Change This

Jun 7, 2011

On my Laptop, I installed Debian under the file "/" and the partition on which I have all my files under "/var". While this isn't really a big issue, when I originally installed Debian, I had the intention of having all of my files on a partition that I would auto-mount later so that when I upgrade my system by reinstalling it, I would only have to change the system partition and let everything else stay the same.. I can live without changing my /var if I can only do so by a re-install...

View 2 Replies View Related

Debian Configuration :: No Sound On Internal Laptop Speakers

Jun 27, 2011

I have an acer timelinex 5830tg notebook. After weeks of frustration, i finally have a linux setup that is stable. Thank god for debian. I don't know why I mess with anything else. Anyway, i'm unable to get my built in laptop speakers to work. I get sound through headphone jack, and I hear sound coming from the built in speakers for a split second when plugging in/unplugging my AC adaptor.Let me know if there is any other output needed, which may assist in this issue. Hopefully someone can help me out.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved