LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-23-2013, 07:28 AM   #1
harikk09
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Rep: Reputation: Disabled
Exclamation Wake on LAN detection on Linux


Hai,

I am using Ubuntu 12.04.
I want to do some set of actions after the system wake from LAN and another set of actions if the system wakes from other sources. But I don't know how to detect it. I know that the scripts inside /etc/pm/sleep.d will execute before and after the sleep. So I wrote some script and put it on the directory. But they wont provide the wake up reason.

Anybody here have any Idea about how to detect the Wake up source?

PS:
My script looks like,

#!/bin/bash
case $1 in
suspend)
#suspending to RAM
/home/harikrishnan/Desktop/sleepd Sleeping
;;
resume)
#resume from suspend
sleep 3
/home/harikrishnan/Desktop/sleepd Woken
;;
esac
 
Old 01-24-2013, 06:36 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
You could have a play with ACPI and try to detect PME's (Power Management Event) .. your system will probably have the acpid service running, you can add "-l" to the startup options for it to enable event logging to syslog and restart it. For example on my system after restarting acpid:

Code:
# tailf /var/log/messages
...
Jan 25 10:56:24 my_pc acpid: exiting
Jan 25 10:56:24 my_pc acpid: starting up with netlink and the input layer
Jan 25 10:56:24 my_pc acpid: skipping incomplete file /etc/acpi/events/videoconf
Jan 25 10:56:24 my_pc acpid: 1 rule loaded
Jan 25 10:56:24 my_pc acpid: waiting for events: event logging is on
...
Jan 25 11:24:12 my_pc acpid: received input layer event "button/battery BAT 00000080 00000000 K"
Jan 25 11:24:12 my_pc acpid: 0 total rules matched
Jan 25 11:24:12 my_pc acpid: completed input layer event "button/battery BAT 00000080 00000000 K"
Try suspending your machine, sending it a magic packet and checking /var/log/messages for anything relevant (I haven't tried this..)
 
Old 01-25-2013, 02:07 AM   #3
harikk09
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hai,

Thank you very much for reply.
I got the following output while wake up from LAN


But I couldn't find anything relevent to the WAKE on LAN

Do you find anything?

Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.433262] CPU 3 is now offline
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.433674] Extended CMOS year: 2000
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.434479] ACPI: Low-level resume complete
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.434534] PM: Restoring platform NVS memory
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.434908] CPU0: Thermal monitoring handled by SMI
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.434967] Extended CMOS year: 2000
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.435020] Enabling non-boot CPUs ...
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.435109] Booting Node 0 Processor 1 APIC 0x4
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.445297] Initializing CPU#1
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.446156] CPU1: Thermal monitoring handled by SMI
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.448790] CPU1 is up
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.448864] Booting Node 0 Processor 2 APIC 0x1
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.459017] Initializing CPU#2
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.459913] CPU2: Thermal monitoring handled by SMI
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.462621] CPU2 is up
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.462717] Booting Node 0 Processor 3 APIC 0x5
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.472871] Initializing CPU#3
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.473763] CPU3: Thermal monitoring handled by SMI
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.476753] CPU3 is up
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.479688] ACPI: Waking up from system sleep state S3
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.899193] ehci_hcd 0000:00:1a.0: wake-up capability disabled by ACPI
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.899576] ehci_hcd 0000:00:1d.0: wake-up capability disabled by ACPI
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.900496] PM: noirq resume of devices complete after 1.544 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.900617] PM: early resume of devices complete after 0.046 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.900722] ehci_hcd 0000:00:1a.0: setting latency timer to 64
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.900749] ehci_hcd 0000:00:1d.0: setting latency timer to 64
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.900766] pci 0000:00:1e.0: setting latency timer to 64
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.900799] ahci 0000:00:1f.2: setting latency timer to 64
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.900806] mei 0000:00:16.0: irq 43 for MSI/MSI-X
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.900853] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.901134] sky2 0000:04:00.0: wake-up capability disabled by ACPI
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 301.901274] snd_hda_intel 0000:01:00.1: irq 46 for MSI/MSI-X
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.044369] PM: resume of drv:usb dev:usb1 complete after 142.690 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.044461] mei 0000:00:16.0: wd: failed to find the client
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.070320] PM: resume of drv:hub dev:1-0:1.0 complete after 168.650 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.070325] PM: resume of drv: dev:ep_81 complete after 168.649 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.070338] PM: resume of drv: dev:ep_00 complete after 168.635 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.077150] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.077411] radeon 0000:01:00.0: WB enabled
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.077414] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffc22c00
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.094002] [drm] ring test on 0 succeeded in 1 usecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.094061] [drm] ib test on ring 0 succeeded in 0 usecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.166685] PM: resume of drv:usb dev:1-1.6:1.3 complete after 122.061 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.166689] PM: resume of drv: dev:ep_00 complete after 122.057 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.166694] PM: resume of drv:btusb dev:1-1.6:1.1 complete after 122.103 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.166697] PM: resume of drv:usb dev:1-1.6:1.2 complete after 122.086 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.166707] PM: resume of drv: dev:ep_83 complete after 122.111 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.166709] PM: resume of drv: dev:ep_04 complete after 122.089 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.166713] PM: resume of drv: dev:ep_84 complete after 122.099 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.166725] PM: resume of drv:btusb dev:1-1.6:1.0 complete after 122.161 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.166728] PM: resume of drv: dev:ep_03 complete after 122.120 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.166741] PM: resume of drv: dev:ep_81 complete after 122.172 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.166753] PM: resume of drv: dev:ep_02 complete after 122.170 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.166756] PM: resume of drv: dev:ep_82 complete after 122.175 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.172428] PM: resume of drv:uvcvideo dev:1-1.2:1.0 complete after 127.897 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.172433] PM: resume of drv: dev:ep_00 complete after 127.879 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.172443] PM: resume of drv: dev:ep_83 complete after 127.908 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.172449] PM: resume of drv:uvcvideo dev:1-1.2:1.1 complete after 127.902 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.354254] ata5: SATA link down (SStatus 0 SControl 300)
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.354286] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.354317] ata6: SATA link down (SStatus 0 SControl 300)
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.370284] PM: resume of drv:scsi dev:host4 complete after 468.750 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.370297] PM: resume of drv:scsi_host dev:host4 complete after 468.756 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.370343] PM: resume of drv:scsi dev:host5 complete after 468.795 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.370410] PM: resume of drv:scsi_host dev:host5 complete after 468.851 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.402208] sdhci-pci 0000:03:00.0: Will use DMA mode even though HW doesn't fully claim to support it.
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.402251] sdhci-pci 0000:03:00.4: Will use DMA mode even though HW doesn't fully claim to support it.
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.403328] sdhci-pci 0000:03:00.4: Will use DMA mode even though HW doesn't fully claim to support it.
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.406711] ata2.00: configured for UDMA/100
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.434324] PM: resume of drv:scsi dev:host1 complete after 532.849 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.434345] PM: resume of drv:scsi dev:target1:0:0 complete after 389.933 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.434362] PM: resume of drv:sr dev:1:0:0:0 complete after 389.946 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.434381] PM: resume of drv:scsi_device dev:1:0:0:0 complete after 389.957 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 302.434386] PM: resume of drv:scsi_host dev:host1 complete after 532.904 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 303.081972] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 303.082717] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 303.083798] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 303.084093] ata1.00: configured for UDMA/100
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 303.097995] PM: resume of drv:ata_port dev:ata1 complete after 945.752 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 303.098096] PM: resume of drv:scsi dev:host0 complete after 1196.935 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 303.098108] PM: resume of drv:scsi dev:target0:0:0 complete after 1054.063 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 303.098111] PM: resume of drv:scsi_host dev:host0 complete after 1196.888 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 303.098118] PM: resume of drv:sd dev:0:0:0:0 complete after 1054.066 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 303.098122] sd 0:0:0:0: [sda] Starting disk
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 303.099846] Extended CMOS year: 2000
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 303.130755] PM: resume of drv:scsi_device dev:0:0:0:0 complete after 1086.706 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 304.057802] PM: resume of devices complete after 2157.964 msecs
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 304.057884] PM: resume devices took 2.160 seconds
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 304.057947] PM: Finishing wakeup.
Jan 25 13:36:29 harikrishnan-VPCEC15FG acpid: client 1122[0:0] has disconnected
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 304.057948] Restarting tasks ... done.
Jan 25 13:36:29 harikrishnan-VPCEC15FG kernel: [ 304.097630] video LNXVIDEO:01: Restoring backlight state
Jan 25 13:36:30 harikrishnan-VPCEC15FG acpid: client connected from 1122[0:0]
Jan 25 13:36:30 harikrishnan-VPCEC15FG acpid: 1 client rule loaded
Jan 25 13:36:30 harikrishnan-VPCEC15FG kernel: [ 304.309783] sdhci-pci 0000:03:00.4: Will use DMA mode even though HW doesn't fully claim to support it.
Jan 25 13:36:30 harikrishnan-VPCEC15FG kernel: [ 304.373652] sdhci-pci 0000:03:00.4: Will use DMA mode even though HW doesn't fully claim to support it.
Jan 25 13:36:30 harikrishnan-VPCEC15FG kernel: [ 304.439665] sdhci-pci 0000:03:00.4: Will use DMA mode even though HW doesn't fully claim to support it.
Jan 25 13:36:30 harikrishnan-VPCEC15FG kernel: [ 304.504522] sdhci-pci 0000:03:00.4: Will use DMA mode even though HW doesn't fully claim to support it.
Jan 25 13:36:32 harikrishnan-VPCEC15FG anacron[4255]: Anacron 2.3 started on 2013-01-25
Jan 25 13:36:32 harikrishnan-VPCEC15FG anacron[4255]: Will run job `cron.daily' in 5 min.
Jan 25 13:36:32 harikrishnan-VPCEC15FG anacron[4255]: Jobs will be executed sequentially
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> wake requested (sleeping: yes enabled: yes)
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> waking up and re-enabling...
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): now managed
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): bringing up device.
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): preparing device.
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): deactivating device (reason 'managed') [2]
Jan 25 13:36:33 harikrishnan-VPCEC15FG kernel: [ 307.840661] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (eth0): now managed
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (eth0): bringing up device.
Jan 25 13:36:33 harikrishnan-VPCEC15FG kernel: [ 307.851063] sky2 0000:04:00.0: eth0: enabling interface
Jan 25 13:36:33 harikrishnan-VPCEC15FG kernel: [ 307.852365] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (eth0): preparing device.
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (eth0): deactivating device (reason 'managed') [2]
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): supplicant interface state: starting -> ready
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): supplicant interface state: ready -> inactive
Jan 25 13:36:33 harikrishnan-VPCEC15FG NetworkManager[911]: <warn> Trying to remove a non-existant call id.
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Auto-activating connection 'Amrita-Staff'.
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) starting connection 'Amrita-Staff'
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0/wireless): access point 'Amrita-Staff' has security, but secrets are required.
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0/wireless): connection 'Amrita-Staff' has security, and secrets exist. No new secrets needed.
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Config: added 'ssid' value 'Amrita-Staff'
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Config: added 'scan_ssid' value '1'
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Config: added 'auth_alg' value 'OPEN'
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Config: added 'psk' value '<omitted>'
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Config: set interface ap_scan to 1
Jan 25 13:36:35 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): supplicant interface state: inactive -> scanning
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (eth0): carrier now ON (device state 20)
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (eth0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Auto-activating connection 'Wired connection 1'.
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (eth0) starting connection 'Wired connection 1'
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Jan 25 13:36:36 harikrishnan-VPCEC15FG kernel: [ 310.388040] sky2 0000:04:00.0: eth0: Link is up at 1000 Mbps, full duplex, flow control rx
Jan 25 13:36:36 harikrishnan-VPCEC15FG kernel: [ 310.388472] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (eth0) Beginning IP6 addrconf.
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Jan 25 13:36:36 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) started...
Jan 25 13:36:36 harikrishnan-VPCEC15FG avahi-daemon[919]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.160.101.
Jan 25 13:36:36 harikrishnan-VPCEC15FG avahi-daemon[919]: New relevant interface eth0.IPv4 for mDNS.
Jan 25 13:36:36 harikrishnan-VPCEC15FG avahi-daemon[919]: Registering new address record for 192.168.160.101 on eth0.IPv4.
Jan 25 13:36:36 harikrishnan-VPCEC15FG wpa_supplicant[991]: Trying to authenticate with c4:10:8a:14:b4:b9 (SSID='Amrita-Staff' freq=2437 MHz)
Jan 25 13:36:36 harikrishnan-VPCEC15FG kernel: [ 310.458429] wlan0: authenticate with c4:10:8a:14:b4:b9
Jan 25 13:36:36 harikrishnan-VPCEC15FG kernel: [ 310.477466] wlan0: send auth to c4:10:8a:14:b4:b9 (try 1/3)
Jan 25 13:36:36 harikrishnan-VPCEC15FG wpa_supplicant[991]: Trying to associate with c4:10:8a:14:b4:b9 (SSID='Amrita-Staff' freq=2437 MHz)
Jan 25 13:36:36 harikrishnan-VPCEC15FG kernel: [ 310.479291] wlan0: authenticated
Jan 25 13:36:36 harikrishnan-VPCEC15FG kernel: [ 310.491210] wlan0: associate with c4:10:8a:14:b4:b9 (try 1/3)
Jan 25 13:36:36 harikrishnan-VPCEC15FG wpa_supplicant[991]: Associated with c4:10:8a:14:b4:b9
Jan 25 13:36:36 harikrishnan-VPCEC15FG kernel: [ 310.498506] wlan0: RX AssocResp from c4:10:8a:14:b4:b9 (capab=0x431 status=0 aid=1)
Jan 25 13:36:36 harikrishnan-VPCEC15FG kernel: [ 310.498592] wlan0: associated
Jan 25 13:36:36 harikrishnan-VPCEC15FG kernel: [ 310.498852] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Jan 25 13:36:36 harikrishnan-VPCEC15FG wpa_supplicant[991]: WPA: Key negotiation completed with c4:10:8a:14:b4:b9 [PTK=CCMP GTK=CCMP]
Jan 25 13:36:36 harikrishnan-VPCEC15FG wpa_supplicant[991]: CTRL-EVENT-CONNECTED - Connection to c4:10:8a:14:b4:b9 completed (auth) [id=0 id_str=]
Jan 25 13:36:37 harikrishnan-VPCEC15FG dnsmasq[3626]: exiting on receipt of SIGTERM
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> DNS: starting dnsmasq...
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (eth0): writing resolv.conf to /sbin/resolvconf
Jan 25 13:36:37 harikrishnan-VPCEC15FG dnsmasq[4542]: started, version 2.59 cache disabled
Jan 25 13:36:37 harikrishnan-VPCEC15FG dnsmasq[4542]: compile time options: IPv6 GNU-getopt DBus i18n DHCP TFTP conntrack IDN
Jan 25 13:36:37 harikrishnan-VPCEC15FG dnsmasq[4542]: warning: no upstream servers configured
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (eth0): device state change: ip-config -> activated (reason 'none') [70 100 0]
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv4 routing and DNS.
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (eth0) successful, device activated.
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) complete.
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): supplicant interface state: scanning -> authenticating
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): supplicant interface state: authenticating -> associating
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'Amrita-Staff'.
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started...
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): device state change: config -> ip-config (reason 'none') [50 70 0]
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> dhclient started with pid 4550
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Beginning IP6 addrconf.
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete.
Jan 25 13:36:37 harikrishnan-VPCEC15FG dhclient: Internet Systems Consortium DHCP Client 4.1-ESV-R4
Jan 25 13:36:37 harikrishnan-VPCEC15FG dhclient: Copyright 2004-2011 Internet Systems Consortium.
Jan 25 13:36:37 harikrishnan-VPCEC15FG dhclient: All rights reserved.
Jan 25 13:36:37 harikrishnan-VPCEC15FG dhclient: For info, please visit https://www.isc.org/software/dhcp/
Jan 25 13:36:37 harikrishnan-VPCEC15FG dhclient:
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): DHCPv4 state changed nbi -> preinit
Jan 25 13:36:37 harikrishnan-VPCEC15FG dhclient: Listening on LPF/wlan0/78:dd:08:cb:89:0e
Jan 25 13:36:37 harikrishnan-VPCEC15FG dhclient: Sending on LPF/wlan0/78:dd:08:cb:89:0e
Jan 25 13:36:37 harikrishnan-VPCEC15FG dhclient: Sending on Socket/fallback
Jan 25 13:36:37 harikrishnan-VPCEC15FG dhclient: DHCPREQUEST of 192.168.162.132 on wlan0 to 255.255.255.255 port 67
Jan 25 13:36:37 harikrishnan-VPCEC15FG dhclient: DHCPACK of 192.168.162.132 from 192.168.162.254
Jan 25 13:36:37 harikrishnan-VPCEC15FG dhclient: bound to 192.168.162.132 -- renewal in 1798 seconds.
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> (wlan0): DHCPv4 state changed preinit -> reboot
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> address 192.168.162.132
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> prefix 24 (255.255.255.0)
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> gateway 192.168.162.254
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> nameserver '192.168.0.5'
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> nameserver '192.168.0.6'
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> domain name 'amritavidya.edu'
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> wins '192.168.0.1'
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
Jan 25 13:36:37 harikrishnan-VPCEC15FG NetworkManager[911]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Commit) started...
Jan 25 13:36:37 harikrishnan-VPCEC15FG avahi-daemon[919]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.162.132.
Jan 25 13:36:37 harikrishnan-VPCEC15FG avahi-daemon[919]: New relevant interface wlan0.IPv4 for mDNS.
Jan 25 13:36:37 harikrishnan-VPCEC15FG avahi-daemon[919]: Registering new address record for 192.168.162.132 on wlan0.IPv4.
Jan 25 13:36:37 harikrishnan-VPCEC15FG avahi-daemon[919]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::5642:49ff:fe07:e066.
Jan 25 13:36:37 harikrishnan-VPCEC15FG avahi-daemon[919]: New relevant interface eth0.IPv6 for mDNS.
Jan 25 13:36:37 harikrishnan-VPCEC15FG avahi-daemon[919]: Registering new address record for fe80::5642:49ff:fe07:e066 on eth0.*.
 
Old 01-25-2013, 03:40 AM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Yeah, I just tried and got the same results as you. The next step might be to play with ACPI debugging - http://www.kernel.org/doc/Documentation/acpi/debug.txt and see if you can find what you need. I was thinking that it can be enabled on the fly so it might be possible to write a small daemon that switches on debugging for ACPI_EVENTS and captures the output, this wouldn't be trivial but if you're motivated it could be a good project.
 
Old 01-25-2013, 04:39 AM   #5
harikk09
LQ Newbie
 
Registered: Jan 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Lightbulb Thank you

Thank you Very much for the information.
I will look at it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Linux: Using Remote Wakeup (Wake on LAN) LXer Syndicated Linux News 0 09-25-2010 01:10 AM
wake on lan magic packet does not wake. albean Linux - Networking 1 06-30-2007 03:57 PM
running Linux breaks Wake-on-LAN HFat Linux - Networking 4 06-19-2005 06:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:58 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