LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-22-2009, 11:31 PM   #31
dmrossi
LQ Newbie
 
Registered: Sep 2009
Posts: 19

Original Poster
Rep: Reputation: 0

So does removing those 3 mean removing the three items from the directory?
Code:
sudo rm S99acpi-support
ect..

I'm not sure what you mean about the mains power. What is that?
 
Old 09-22-2009, 11:52 PM   #32
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 70
Instead of using your laptop as the battery, take the battery out and use the ac adapter and plug ur laptop into the wall.
 
Old 09-23-2009, 12:18 AM   #33
dmrossi
LQ Newbie
 
Registered: Sep 2009
Posts: 19

Original Poster
Rep: Reputation: 0
My only concern with that is, what about a power outage?
 
Old 09-23-2009, 01:06 AM   #34
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
I would suggest changing the script names from

S99acpi-support
S99laptop-mode
S99ondemand

to

K99acpi-support
K99laptop-mode
K99ondemand

This name change will stop those scripts at run level 2, preferably you can do the same thing with chkconfig if you have installed it what is a safer method of doing this (e.g. chkconfig --levels 2345 laptop-mode off). I am not certain on if these scripts should be turnt off tho I am afraid, I haven't ever tried turning a laptop into a server.

However, personally I'd advise not using a laptop as a server, What is the particular needs that have led you into requiring an SSH and Apache server?

Last edited by r3sistance; 09-23-2009 at 01:16 AM.
 
Old 09-23-2009, 12:29 PM   #35
dmrossi
LQ Newbie
 
Registered: Sep 2009
Posts: 19

Original Poster
Rep: Reputation: 0
I renamed those 3 scripts (since chkconfig --levels 2345 laptop-mode off did not work). I rebooted the computer and I'll begin monitoring of the uptime to see if the problem has been resolved.

I am using Apache and SSH to host my own website. I chose to use a laptop because it's an older computer I no longer use, and I wanted to repurpose it.
 
Old 09-23-2009, 01:21 PM   #36
dmrossi
LQ Newbie
 
Registered: Sep 2009
Posts: 19

Original Poster
Rep: Reputation: 0
And..it's already back down.
 
Old 09-23-2009, 01:42 PM   #37
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Little more I can suggest I am afraid, suspend mode needs to be completely disabled and I have never had a reason to ever do that before... I would suggest should you be able to get this laptop working you check that it infact does not over-heat. I can't imagine laptops liking being powered 24/7 and their cooling is not generally designed for that type of usage.
 
Old 09-23-2009, 02:11 PM   #38
dmrossi
LQ Newbie
 
Registered: Sep 2009
Posts: 19

Original Poster
Rep: Reputation: 0
I don't think it overheats because when I ran Windows XP and Windows Server, I never had any overheating issues. Is there any way to check from the terminal in internal temperatures of the computer?

What is the best way to disable suspend mode? A google search showed me a few things people did and finally disabled suspend mode, but I would like to avoid the unnecessary steps if possible.
 
Old 09-25-2009, 02:03 AM   #39
dmrossi
LQ Newbie
 
Registered: Sep 2009
Posts: 19

Original Poster
Rep: Reputation: 0
For the record, over the past 2 days I've noticed quite an improvement in the overall uptime of my server. It's drastically improved. I have to assume this must be due the changes in script levels. If anyone knows how to disable suspend mode, please don't hesitate to chime in. I hope disabling that will fix the few problems that are left.
 
  


Reply



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
Restart X Server over SSH? skibud2 Linux - General 2 09-15-2008 12:31 AM
SSH Refuses Connections Intermittently Noido Linux - Software 6 09-12-2006 12:59 PM
How to restart dhcpd on another server using SSH? hueofwind Linux - Newbie 17 11-23-2005 06:07 AM
Can't SSH until restart service Da Puff Mandriva 4 09-14-2005 08:51 PM
restart linux from SSH connection? deWin Linux - Newbie 6 09-28-2004 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:05 PM.

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