Red Hat / Fedora :: How To Determine Power On Cause

Feb 10, 2010

Does anyone know of a way to determine how the PC/Server was powered on? I'm interested in writing a startup script that performs a specific action depending on the poweron cause.

For example:
If powered on by "wakalarm" perform task X & shutdown.
If powered on by "power button" perform task Y.

Is there any way to determine the cause of the power on? I'm running Federa 12.

View 1 Replies


ADVERTISEMENT

Hardware :: Way To Determine Cause Of Power On

Feb 10, 2010

Does anyone know of a way to determine how the PC/Server was powered on?
I'm interested in writing a startup script that performs a specific action depending on the poweron cause.

For example:
If powered on by "wakalarm" perform task X & shutdown.
If powered on by "power button" perform task Y.

Is there any way to determine the cause of the power on?
I'm running Federa 12.

View 1 Replies View Related

Fedora Networking :: Wlan0 Cannot Determine IP Address?

Apr 18, 2009

I am tring to get my linksys wireless router to connect to my laptop that i recently installed Fedora 10 on. Well it is actully running of an external HD. Any way when i boot in windows it connects and works fine, but when i try to activate wlan0 it says "Cannot activate network divice wlan0!" "determining IP info failed..."

View 11 Replies View Related

Fedora Hardware :: How Does Determine Supported Resolutions

Feb 28, 2010

I'm using an HP 2009m 20" widescreen monitor, and have a Nvidia 8500gt video card. Latest Nvidia drivers from RPM Fusion are installed.

My problem is that the only widescreen resolution I have a choice of in both nvidia-settings and gnome's "Display preferences," is 1600x900. While this is fine for desktop apps, my video card doesn't handle games very well at that resolution.

So, I know my card and monitor are capable of displaying other widescreen resolutions (such as 1360x768) because they work in Windows 7, but Fedora doesn't give me the choice of selecting them.

Is there a file that Fedora uses to determine the supported resolutions? How would I be able to select resolutions that I know are supported (at least in Windows 7)? Can editing xorg.conf give me this ability?

I just looked in my xorg.conf, and it's surprisingly slim compared to others I've seen.

Here:

Code:

View 7 Replies View Related

Fedora :: How To Determine Kernel 32bit Or 64bit

Sep 17, 2010

Google answers attempted:

# grep lm /proc/cpuinfo
# uname -m
# file /sbin/init
# file /usr/bin/file

I don't think none of the above gives deterministic answer. Since I have 32-bit & 64-bit different system all of above spit out the same info.

View 5 Replies View Related

Fedora Networking :: Determine Which Programs Access Internet

Mar 16, 2009

I see from the netspeed applet that my computer is downloading stuff almost constantly. Not a whole lot, 8b - 700b per second while apparently doing nothing. Some of this is just responding to broadcasts from the router, but surely not all. I would like to be able to determine which programs are accessing the internet over that wireless card, with a view to cutting down on my bandwidth usage. Is there a program that can tell me which ones are doing what at a given time?

View 5 Replies View Related

Fedora :: Determine Optical Disc Type From Terminal?

Feb 3, 2010

From the terminal, or a script, how can I determine the media type (CDDA, DVD, ISO, etc) of a mounted optical disc? I need this for an automated script on my headless media server - Fedora 12 64bit.

View 2 Replies View Related

Fedora :: Determine What Packages Depend On PackageKit Components

Mar 10, 2011

I tried to remove PackageKit from F15 the other day and it removed, amongst other things GDM. Kind of hosed and I re-installed. I want to remove two components in particular, the command-not-found one and the software updater, (the old add/remove programs). How do I determine what packages would be removed? I thought there was an option in yum, but it doesn't seem to be in the manual.

View 2 Replies View Related

Red Hat / Fedora :: Determine Network Interface That Will Be Used To Send Packet For An IP?

Apr 9, 2010

I'm writing to you because I encountered the following problem. My program displayes all network interfaces that are available in the system, but I would like to adda functionality in which a user can enter a destination address IP (ex. the IP address of the Google search engine) and will get information which network interface will be used to send it. As I know it is associated with reading information from routing table in the system. Maybe you know the API (functions/methods) which I could use to do it in RedHat ? I program in C/C++, but if you know how to do it in other programming languages (Java, Perl, Python) I will be grateful for any information.

View 4 Replies View Related

Fedora Security :: How To Determine What Type Of Files Clamav Can Scan

Dec 7, 2009

How to determine what type of files clamav can scan? For example, if there is no unrar installed it can't scan files in it. So is there any way to find out all types of files that clamav can't scan?

View 2 Replies View Related

Fedora :: Determine Which Process Belongs To Which Window In System Monitor?

Feb 26, 2011

I have Fedora Linux 13 64bit system. I use System Monitor to check which process is taking how much memory and cpu. Normally I have dozens of Chrome and Firefox windows open. The Processes tab shows which process is taking how much cpu/ram resources but I unfortunately there is no option like right click and make the window active that matches the PID (the one process that I have currently highlighted). Usually there is a chrome process taking up 30 or 40 percent of CPU while dozens other chrome processes taking much less cpu. I must determine which chrome window ( or any application which has multiple instances running) is taking that much CPU time. So can some one help me to solve this problem?

View 1 Replies View Related

Fedora :: Yum Install Logs - Determine The Concise History Of All The Times

Jun 8, 2011

Is there an easy way to determine the concise history of all the times I've run yum to install packages on my machine? I'm migrating to FC15 and I'd like to duplicate the old machine as much as possible on the new machine, and therefore, I'd like to know what I installed on it.

View 3 Replies View Related

General :: Fedora - Determine Which Process Belongs To Which Window In Monitor?

Feb 26, 2011

I have Fedora Linux 13 64bit system. I use System Monitor to check which process is taking how much memory and cpu. Normally I have dozens of Chrome and Firefox windows open. The Processes tab shows which process is taking how much cpu/ram resources but I unfortunately there is no option like right click and make the window active that matches the PID (the one process that I have currently highlighted). Usually there is a chrome process taking up 30 or 40 percent of CPU while dozens other chrome processes taking much less cpu. I must determine which chrome window ( or any application which has multiple instances running) is taking that much CPU time.

View 1 Replies View Related

Debian Multimedia :: Xfce4-power-manager Doesn't React To Power Button / Fix It?

Jun 4, 2010

I use Squeeze with Xfce. My problem is that recently (after the xfce updates) the xfce power manager doesnt react to the power button - it is set to suspend. I dont have gnome-power manager or anything like it running.
If i reboot the computer, the power button will work but if i suspend and resume, it doesnt work again.
The computer is built on an Asus M3N78-VM mobo (2GB RAM/Athlon3200+ single core).

acpi_listen detects the button press.

Any thoughts?

View 2 Replies View Related

Ubuntu Networking :: Alfa AWUS036H Adjust Power - Unknown Transmit Power Information

Jun 21, 2010

I am using Ubuntu 10.04 64-bit and I purchased a new ALFA AWUS036H wireless card. I would like to know if this "1Watt" wireless card is configured for full power. iwlist wlan0 txpower results:

wlan0 unknown transmit-power information. Current Tx-Power=27 dBm (501 mW). It appears to me that I should be able to increase the power. "iwpriv wlan0 highpower 1" does not work. Do I need to patch the new default driver that comes with Ubuntu 10.04 64-bit with the aircrack one following these directions:[URL]...? Monitor mode and a injection tests seem to work fine with the driver I have installed.

View 2 Replies View Related

Hardware :: Power Monitoring - Power Quality - Voltage Changes And Outages

Apr 4, 2011

I'm looking for any power monitoring devices for Linux to allow monitoring power quality, voltage changes, and outages. This would be for North American three phase power system. I want to have this data fed live to my own program. It should be something much better than just jury-rigging a circuit to fee the power waveform into 2 or 3 audio cards.

View 10 Replies View Related

Hardware :: PC Wont Power-on - Power-light Blinking?

Oct 30, 2010

I had unplugged my PC last night as sometimes there's storms at night this morning I plugged in PC and the power light is blinking and the PC wont come on at all tried different power cord, same result

PC is a AMD athlon64 3300+ 2.4ghz SiS graphics

probably the power-supply or what?

If it is the power supply, how do I find new one as I've never had to replace anything on it or any other PC?

Also, I really need access to the hard drive but it's a weird hard drive and was wondering if I could put that hard drive in my K7 PC, which already has 2 drives in it can a pc have 3 drives? do I have to add/have another ribbon cable for 3rd drive?

View 4 Replies View Related

Ubuntu :: Power Profile/power Management App?

May 28, 2010

On the last release, I had this app installed where I could pick my power profile. I could use power conservatively, and performance would suffer a bit, but longer batt life,or I could have it automatically detect, or I could have the apps use all the power they want and then some. I'm looking to reinstall that app. What was the name of it?I can't remember, and so far, can't find.

View 2 Replies View Related

Ubuntu Networking :: Get "sudo Iwconfig Eth1 Power Off" To Stick After Plugging/unplugging Power?

Oct 15, 2010

After much research, I have found the solution to my intermittent wireless problem!Whenever the laptop is plugged into power, wireless is perfect, when I'm on battery, wireless is horrible.Here is the fix:

Code:
sudo iwconfig eth1 power off
Unfortunately, I have to type this in everytime I unplug the laptop.

[code]....

View 3 Replies View Related

Hardware :: No Power To Power Button?

Jun 18, 2010

My problem arises two days ago. Power button of my keyboard has stopped working,why?It works well when I use windows.

View 2 Replies View Related

Fedora Hardware :: Fan Always On While On AC Power?

Mar 21, 2010

i'm using last fedora 12 x64, all updated, my laptop motherboard is SIS U50SA, Intel proc, while on AC power the fan is always on, I have checked and no process is running at 100% of cpu, but when I run on battery only - the fan turn off, what could be wrong?

View 4 Replies View Related

Fedora :: Can't Reboot After Power Cut

May 15, 2011

Unbeknown to us our son removed the battery and I unplugged the power cord. Instant off! Since then I can't restart. The error is very lengthy but each Control-D brings a reboot but the same sticking point. If I understand correctly I am asked to run setenforce as root. I did this and it does each separate file. How many will I have to do? Is there another way to restart?

View 4 Replies View Related

Fedora :: Remap The Power Button?

Oct 20, 2009

I've got a F10 machine set up as a media center (with mythtv...mythdora to be precise) and I love that it's based on fedora since I'm most familiar with it..I would like to map the power button press to a command "pkill X" since sometimes the frontend freezes and running this command kills X (I'm running ratpoison for the speed and simplicity...it just gets the job done and doesn't get in the way).Any help in mapping a single button press to "pkill X" would be greatly appreciated. I also need some help adding this command to the sudo list so the regular "mythtv" user will be able to run it...no password can be entered since the machine has no keyboard. Currently I log in via ssh to get this done but it would be nice to not have to boot up a laptop just to do this.

View 3 Replies View Related

Fedora :: F12 Extra Long Power Off

Nov 18, 2009

I installed F12 KDE from the live cd and now when I Shutdown or Reboot, it takes 2 minutes and 8 seconds for the machine to power off. Yes, I timed it. Happens everytime like that. Even when booting from both "mainstream" live cd and the KDE spin live cd. When I hit the Shutdown or Reboot, it goes through the daemons/services shutdown the flashes up the Halting System or Please wait while the system reboots messages (respectivley), turns off the LCD and then just... sits with the power light on and hard drive activity light on. I should mention this is on a Toshiba Laptop about a year old. Intel Chipsets. (Satellite Pro S300M-S2142 if anyone is really curious).

The hard drive light stays on for about 1:03 minutes and then it turns off, at 2:08 minutes - the Power light finally turns off and the thing finally shuts down. I've tried adding acpi=off, but that just gets me a kernel panic on startup and acpi=debug all I seem to notice is "Malformed early option 'acpi'" in messages and dmesg. How consistant the power off time is makes me think there's a timeout of sorts going on, but I have no idea on how to track that down.

View 2 Replies View Related

Fedora :: Battery Power Comes Down To 40 - 41 Percent

Mar 18, 2010

I am using Fedora 12. Prior to this I was using Ubuntu 9.10. In Fedora 12, I am facing a problem with battery power. Sometimes when it is fully charged I remove the power cord, battery power comes down to 40%-41%. It never happened with Ubuntu, which gave quite a good battery performance. My question is when it is showing Laptop Battery 100% i.e. fully charged, if I remove the cord why it comes down to 40%-41% (and always in this range).

View 8 Replies View Related

Fedora :: Lost Power While Updating?

Oct 24, 2010

My PC lost power while updating. After booting, I run update once again and everything seems to be fine, except the message "could not do simulate: coreutils-libs-8.4-8.fc13.i686 requires coreutils = 8.4-8.fc13 : Success - empty transaction".

When I try using "yum update", I receive the error message below.

Loaded plugins: refresh-packagekit
Setting up Update Process
Resolving Dependencies
--> Running transaction check

[Code]....

View 11 Replies View Related

Fedora :: Using F12 With LXDE - Power Button Not Working

Nov 19, 2009

I'm using Fedora 12 with LXDE (sudo yum groupinstall LXDE if you want to try it), and while using LXDE rather than GNOME, the power button doesn't do anything. I found a possible solution here: [URL] but I have no /etc/acpi/ folder. Why is that? Package acpid is needed.

View 2 Replies View Related

Fedora :: Full Disk After Power Interruption

Nov 29, 2009

here is the problem I am facing. My system [ fedora 11 with all updates installed as of nov 27] suffered a power interuption.[ well that happens I dont have an UPS] here is what happen then

1- when i restarted i get stuck with the "install problem with gnome power manager" that prevent the desktop to launch. I found this to be well documented and I ssh'd [ for some reason cannot get the consol] my system and tried as root to remove gnome-power manager with yum remove power manager ... well the command hang out doing nothing and I have to close the session and reconnect... CTRL C dont even work.

So I had another problem. I started checking my system and when I tried df, I received the shocking following answer

[Code]....

View 2 Replies View Related

Fedora :: Power Management Applet Goes Maverick?

Dec 19, 2009

it doesn't do anything critically wrong.it shuts down, starts up, suspends, restarts, etc, rather well.only thing is that, altho' I set the settings to never hibernate and to never put the display to sleep, it does. I't's annoying, since I can't whatch a movie in peace, for instance.

View 1 Replies View Related

Fedora :: Cant Power-off - Just Show System Halted

Mar 3, 2010

I Run Fedora 11 and i have problem after shutdown computer. My computer cant power-off, just show "System Halted".

PC Model : Compaq Presario SR1400CF Desktop PC.

View 10 Replies View Related







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