LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-08-2007, 09:45 AM   #1
wet
Member
 
Registered: Jul 2007
Distribution: Slackware 12, Fedora 8, Gentoo. (NO MORE MANDRIVA, GO AWAY EVIL THING)
Posts: 37

Rep: Reputation: 15
A couple questions - shutdown button, cpufreq, hostname


Heeey,

i have a relatively fresh install of mandriva one 2008, got a few questions:
  • shutdown button in kde .. all i can d o _straight_ from kde is log off. it then takes me to the kdm login screen from where i can shutdown. is there any way to add a shutdown icon to my kde, instead of having to log off and then do it?
  • hostname - i'm still the stock 'localhost', i tried setting the name via the 'hostname' command, like i would do on other distros, but it's reset to 'localhost' after reboot
  • cpufreq fails - since this is a laptop, i'd sure like to do some powersaving - but when i select any other power scheme ('policy') i get the small popup message that cpufreq policy could not be set - no more info. what's up with that?
  • hdparm - back on slackware i used to issue a hdparm -S1 /dev/hda to save up some battery - i could do the same here, but since there's a nifty gui for powersaving option, i was wondering if it could be enabled in some other way?
so much for now, more may follow
 
Old 11-08-2007, 10:02 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
shutdown button in kde .. all i can d o _straight_ from kde is log off. it then takes me to the kdm login screen from where i can shutdown. is there any way to add a shutdown icon to my kde, instead of having to log off and then do it?
I guess you can make a launcher which executes the shutdown command... It's a puzzle that you don't have "shutdown" as an option along with "hibernate" and "sleep". Using the little red button in the right-hand corner.

Quote:
hostname - i'm still the stock 'localhost', i tried setting the name via the 'hostname' command, like i would do on other distros, but it's reset to 'localhost' after reboot
Use the "Set up a new Network Interface" module and simply re-configure the existing interface

Quote:
cpufreq fails - since this is a laptop, i'd sure like to do some powersaving - but when i select any other power scheme ('policy') i get the small popup message that cpufreq policy could not be set - no more info. what's up with that?
huh... check that cpu frequengy scaling is enabled in BIOS. Try noapic, nolapic on the kernel line.

Quote:
hdparm - back on slackware i used to issue a hdparm -S1 /dev/hda to save up some battery - i could do the same here, but since there's a nifty gui for powersaving option, i was wondering if it could be enabled in some other way?
You want the HDD to sleep if it's inactive for 5mins? Nah - that's the way you do it all right.
 
Old 11-08-2007, 10:54 AM   #3
wet
Member
 
Registered: Jul 2007
Distribution: Slackware 12, Fedora 8, Gentoo. (NO MORE MANDRIVA, GO AWAY EVIL THING)
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
I guess you can make a launcher which executes the shutdown command... It's a puzzle that you don't have "shutdown" as an option along with "hibernate" and "sleep". Using the little red button in the right-hand corner.
I was thinking this is a permission issue - since i can't even shutdown -h now without giving the root password. even if i make a launcher, i still have to enter the root password. which is just as inconvenient as going through kdm

Quote:
Use the "Set up a new Network Interface" module and simply re-configure the existing interface
done, i must've overlooked the hostname option previously, thanks

Quote:
huh... check that cpu frequengy scaling is enabled in BIOS. Try noapic, nolapic on the kernel line.
  • noapic - changes nothing, plus the system hung when shutting down
  • nolapic - wont boot
  • cpufreq in BIOS - unfortunately, no such option in there
when i click 'configure KPowersave' and go under 'scheme settings' the "CPU Frequency Policy" is not 'active' (grey font) and it says "not supported" next to it. pretty straightforward, but .. how come Windows manages to adjust CPU speed, on exactly the same cpu (Celeron M - i know, i know, i know, i needed a cheap 2nd laptop)?
 
Old 11-08-2007, 05:26 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Possibly the cpu scaling is not supported in bios but windows has an extra tool for it, has an additional option in the DSDT (if windows then enable freq scaling)...

You can spoof the OS version your laptop is compensating for on the kernel line and see.

OR: windows is lying... it has the app, and it is activating, but it doesn't do anything. After all, how would you tell?
 
Old 11-08-2007, 06:24 PM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
To setup the system to shutdown you need to go into the Control Center/system admin./login manager to change the settings.

You need root privileges to do this.

To set your hostname go to Configure Your Computer/Network and Internet/Host Definitions.

There you should be able to set the hostname you want.

Mine looks like this....
127.0.0.1 GlennsPref.lan GlennsPref localhost

You can check after a reboot here.. /etc/hosts

The system needs to be rebooted to resolve any hostname discrepancies.

Cheers, Glenn

Last edited by GlennsPref; 11-08-2007 at 06:48 PM. Reason: More on hostname/ zeroconf..
 
  


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
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 11:50 AM
FC5 shutdown button stanford Linux - Software 1 08-31-2006 03:27 AM
cpufreq crash on shutdown butters64 Linux - Software 0 11-29-2005 09:25 PM
Shutdown button Ezzy Linux - Newbie 6 04-26-2005 09:44 AM
Couple of installation issues (Wheel button, USB TV) miguli Linux - Hardware 0 07-11-2003 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:33 AM.

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