General :: Ethtool - WOL: What Does "wake On Physical Activity" Actually Mean And (how) To Use It
Oct 31, 2010
I am fighting with the WOL settings of my Ubuntu box at the moment. The idea is to have an HTTP/SVN server to sleep while it's unused and wake up when it's accessed. So far, wake-on-LAN works and is activated on startup:
[Code]....
As you can see, I also set the wol p flag ('wake on physical activity'). My assumption was that I could convince the device to wake up not only on magic packets, but on any network access. This, however, seems to be wrong.
View 1 Replies
ADVERTISEMENT
Mar 3, 2009
Im trying to remote power on my debian machine with gnome with the wake on lan function. I enabled it on my mainboard and was configuring my ethtool. There i see:
root@lappy:~# ethtool eth0
Settings for eth0:
Supports Wake-on: g
Wake-on: d
Link detected: yes
and after this command ethtool -s eth0 wol g i get this:
root@lappy:~# ethtool eth0
Settings for eth0:
Supports Wake-on: g
Wake-on: g
Link detected: yes
So i enabled it on software and hardware. Now im trying to sent the magic packets with a windows tool "wake on lan" I see that the package has been sent but the pc wont turn on. So when i check the ethtool settings again i see that it turned to:
Wake-on: d
View 4 Replies
View Related
Jun 21, 2010
I just started learning network on linux platform. Today I came across two commands ethtool and miitool. Both of them seems to do similar kind of jobs. Now I am confused what is the difference between them.
View 2 Replies
View Related
Nov 25, 2008
I'm having problems enabling Wake-on-LAN using ethtool.I'm using ethtool 5.1 on Fedora 8. Ethtool reports that the card supports u,m,b,g for WOL modes. I can run "ethtool -s eth0 wol g", which completes without errors.If I run ethtool again, the Wake-on setting is changed to whatever I just set it to. However, when I actually shutdown the machine, the lights on the NIC don't stay on as they normally should, and any attempts to wake the machine have no effect. The machine dual-boot Windows XP, and I have enabled WOL in the driver there. When I shutdown the machine from XP, everything works just fine. The NIC lights remain on and the machine wakes up properly. So...I think I have my BIOS configured properly, and my WOL utility is working properly.
Hardware Info:
------------------------------------------------------------
Adapter: Intel Pro/1000 GT PCI (Vendor ID: 8086, Device ID: 107C
Motherboard: Asus P5Q Pro
lspci Output:
------------------------------------------------------------
Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05)
ethtool Output:
------------------------------------------------------------
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
[code]....
dmesg Output:
------------------------------------------------------------
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
ADDRCONF(NETDEV_UP): eth0: link is not ready
e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
[code]....
View 2 Replies
View Related
Oct 12, 2010
My Ubuntu system is occasionally becoming very sluggish. I'm running many things simultaneously and it's very difficult to tell which program is the culprit.
I suspect that the sluggishness is due to disk activity since the CPU usage is consistently under 50% on each of the 4 cores of the CPU, and over 30% of the 6GB of RAM are free.
Is there a tool that can show me in real time the number of disk IO operations per second and the amount of data read/written per second? Can all this info be broken down and displayed per process?
View 2 Replies
View Related
Aug 28, 2010
I am trying to set my gigabit NIC to 1000 MB setting using ethtool. The only way I can get it to register that way is to turn off auto negotiation and that just kills my signal. Below is the output of the current settings and the commands I have attempted with zero success.
[Code]....
View 1 Replies
View Related
Aug 9, 2010
I have two onboard gigabit connections and a PCI-E gigabit card, none of which seem to want to run beyond 100M. Everytime I issue the command to change speed to 1000M, it does nothing. I have tried modifying the interfaces file to make sure the command line for ethtool gets done automatically, but still no luck.
Below is the output from the use of ethtool to change speed. Since I am having performance issues with my local area networking (e.g. Samba transferring slower than the internet), I have been trying to figure out how to debug my network performance, and this was an obvious thing that stood out. The router and card are gigabit, yet don't use their full transfer rates.
[Code]...
View 9 Replies
View Related
Jun 14, 2011
Is it possible to get the reason of system wake-up (Wake-on-LAN, Power button, wake from USB) on Linux? I'm using Ubuntu, kernel Linux homeless 2.6.37-12-generic #26~lucid1-Ubuntu SMP Wed Jan 5 21:52:06 UTC 2011 i686 GNU/Linux
View 1 Replies
View Related
Jan 3, 2011
I have a laptop running Ubuntu 10.04 w/ wireless connection to desktop running Windows 7. I had it set up so I could execute a script to send a wakeonlan to the desktop. It worked fine for several weeks, but all of a sudden it stopped working. I've checked my script and it still looks good as far as I can tell. (I'm not that adept at script writing, so I wouldn't necessarily recognize a problem.) I've also checked the Windows machine to make sure the network adapter still is set to allow wake-on-lan.
BTW: my wake up script is as follows:
#!/bin/bash
wakeonlan xx:xx:xx:xx:xx:xx
Where the x's replace my actual MAC address.
View 3 Replies
View Related
Feb 22, 2010
I am working on a program lets say programX which must run when the computer is not in use. I want to develop a monitoring program to monitor if there is user activity on the system so that it can stop the programX from running when the user is using the system and start programX when there is no user activity. Is there a way to determine this in linux?
View 4 Replies
View Related
Mar 22, 2010
How to monitor web access activity in the lan without creating any inconvenience to the end users? Could any one say is there any software tool?
View 2 Replies
View Related
Feb 28, 2011
So I have tried looking on the web for a solution to this, but I can't find anything. I have only found 2 posts with the same problem and both went unanswered. So I want to set my ubuntu machine to WOL with both Magic Packet and Unicast (the g and u functions in ethtool wol) wol supported: pumbg (thus g and u are both supported) I use "sudo ethtool -s eth0 wol ug" and check to see if it changed, and it does
sudo ethtool eth0
"wol: ug"
After I suspend though, only magic packet will wake it up! I go back in and check with "sudo ethtool eth0" and low and behold, it is back to only being "wol g", which is the default. For some reason it must bump back to default before going into suspend. NOTE, this is with suspend, not even a reboot or a shutdown! Even suspend will reset it to default. I have worked on adding a script to /etc/init.d, adding lines to /etc/rc.local, and adding lines to /etc/networking/interfaces, all with no change.
Any idea what is going on and why it is resetting wol back to default?? I know I should be happy at LEAST it does magic packet, but I want to know why it wont change.
View 2 Replies
View Related
Mar 24, 2010
I am looking for an automated backup system and I like bacula. I have 3 Notebooks and a Desktop computer that need regular backup. Now I don't want to let them run all night just to do the backuping, so I was thinking I could use wake-on-lan to have bacula wake up the machines, then do the backups, and shut them down afterswards. While this may work with devices on the ethernet, it won't work with the Notebooks on the wifi. So is it possible to have the Notebooks schedules to automatically wake up from suspend or shutdown ?
Or is it possible to interject a shutdown command if it is after a certain hour and call the bacula director to start the backup now?
View 5 Replies
View Related
Jan 4, 2010
Is it possible to let a Linux PC put itself into sleep mode at 1 am, and wake up, by itself at 6 am?
View 14 Replies
View Related
Nov 2, 2010
I'm getting some trouble with Wake on Lan. The main question is: when I shutdown a PC through Windows, the WOL works well, but it doesn't happen when I shutdwon the same PC through Linux. It happens in all of my PCs here in the company.
View 8 Replies
View Related
Dec 6, 2010
Fedora 13 is currently my Linux Distro of choice but I find the Pointer/Activity-monitor is annoying. Usually it has two states ,the solitary round thing or the pointer. Every now and again they are combined into the Ubuntu combination symbol of the two joined into one image. Is there a way to change this image/moving-icon? I like Mandriva's the best and would prefer it worked on all Browser windows so that New Firefox versions did not disable it.Thanks in advance!
The term I needed to find additional info was (Mouse Themes). The (Wait Cursor) is usually included with this.Download the theme you want and go to System> Preferences> Appearance> Customize> Pointers to change to one that is alreadly installed.To install themes, System> Preferences> Appearances> Install. Apparently more than one them can be used on a distro so the Browsers will use its own while Nautilus will use another. Fedora's default one does not funtion properly. It will not change to the pointer if a web page is still loading if you need to sellect something. I learned that Mandriva uses the (Bluecurve) variation for default which is like Ubuntus where it does not have to change between two different images and hense does not lose functionallity.
View 1 Replies
View Related
Feb 18, 2011
kernel 2.6.21.5, Slackware 12.0 How can I obtain real time information about disk activity (processes transfering data to/from the hard disk)?
View 3 Replies
View Related
Aug 31, 2010
I have upgraded to 10.04 from 9.10 after that, i get this strange issue.I have acutally asingned static address in the network manager applet.
Code:
mahiti@mahiti-admin:~$ sudo mii-tool -vv eth4
Using SIOCGMIIPHY=0x8947
[code]....
View 1 Replies
View Related
May 20, 2010
I am running a test to determine when packet drops occur. I'm using a Spirent TestCenter through a switch (necessary to aggregate Ethernet traffic from 5 ports to one optical link) to a server using a Myricom card.While running my test, if the input rate is below a certain value, ethtool does not report any drop (except dropped_multicast_filtered which is incrementing at a very slow rate). However, tcpdump reports X number of packets "dropped by kernel". Then if I increase the input rate, ethtool reports drops but "ifconfig eth2" does not. In fact, ifconfig doesn't seem to report any packet drops at all. Do they all measure packet drops at different "levels", i.e. ethtool at the NIC level, tcpdump at the kernel level etc?nd am I right to say that in the journey of an incoming packet, the NIC level is the "so-called" first level, then the kernel, then the user application? So any packet drop is likely to happen first at the NIC, then the kernel, then the user application? So if there is no packet drop at the NIC, but packet drop at the kernel, then the bottleneck is not at the NIC?
View 1 Replies
View Related
Jun 2, 2010
I have fedora 12 installed in VMWare ESX on a Dell Optiplex machine with a Intel GBit lan.While transfering from fedora's vsftpd to my workstation trough a sitecom gbit switch i get a real bad performance, mostly not higher then 8mb/s. (btw on the same ESX i have Windows 2008 from which i get around 60mb/s)I have tried to set the eth0 to 1000Mb/s full duplex using ethtools but this fails (ethtool -s eth0 speed 1000 duplex full autoneg off). I keep recieving the following error:
Code:
Cannot get current device settings: Operation not supported
not setting speed
[code]....
View 1 Replies
View Related
Feb 14, 2011
I have a CentOS 5.5 machine (hosted at a remote hosting company) where "ethtool" reports that the eth0 device is currently in 10 Mbps mode, but the output indicates that it supports 100 Mbps. But if I try using ethtool to switch the device into 100 Mbps mode, it doesn't work; after running the command to switch it to 100 Mbps, ethtool reports the speed is still 10 Mbps:
[root@sls-eb5p17 network-scripts]# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
[Code]...
The man page at [URL]..ethtool seems to suggest that this should have worked. Any reason why the reported speed of the device didn't change? Changing other settings doesn't appear to work either, e.g. if I specify "duplex half" instead of "speed 100", eth0 still reports "Duplex: Full".
View 6 Replies
View Related
May 19, 2010
I have a question regarding packet drops. I am running a test to determine when packet drops occur. I'm using a Spirent TestCenter through a switch (necessary to aggregate Ethernet traffic from 5 ports to one optical link) to a server using a Myricom card. While running my test, if the input rate is below a certain value, ethtool does not report any drop (except dropped_multicast_filtered which is incrementing at a very slow rate). However, tcpdump reports X number of packets "dropped by kernel". Then if I increase the input rate, ethtool reports drops but "ifconfig eth2" does not.
In fact, ifconfig doesn't seem to report any packet drops at all. Do they all measure packet drops at different "levels", i.e. ethtool at the NIC level, tcpdump at the kernel level etc? And am I right to say that in the journey of an incoming packet, the NIC level is the "so-called" first level, then the kernel, then the user application? So any packet drop is likely to happen first at the NIC, then the kernel, then the user application? So if there is no packet drop at the NIC, but packet drop at the kernel, then the bottleneck is not at the NIC?
View 1 Replies
View Related
May 18, 2010
I am trying to build and bring-up Linux (embedded) for a piece of hardware which have MIPS 74K proccessor 16MB Flash, 128MB DDR and network/usb support. How to configure/set into the kernel the exact addresses of the physical memory map? How does the kernel know where is the system ram, i/o memory, root FS? I have read some book and I found how the applications can go and read some special files like /proc/iomem to find out info about memory but what I need is how to set those addresses at the beginning when I build the kernel and FS in order to boot the kernel on my h/w.
View 3 Replies
View Related
Feb 5, 2011
I understand the software RAID partition types on two physical drives that will be paired must be set to the same size. However,
1. Do the physical drives themselves need to be the same size?
2. Do the physical drives need to use the same interface?
e.g. Can I setup mirroring with one 80G SATA, and one 320G PATA? (And is this reliable/stable?). The use is for an asterisk server which came with the 80G, I can't find anything smaller than 320G for the 2nd drive, and the free connector inside is PATA.
View 1 Replies
View Related
Mar 16, 2010
I've got Ubuntu 9.10 with a user account for my wife, and one for myself. "Wake-from-screensaver" should result in "choose user" without having to enter any password. I know how to do that in Windows, but I'm not good with Linux (yet). get past the login screen without passwords (after booting, and after choosing "switch user"), but once the screensaver kicks in and I wake it up again, the system does not present the "choose user" screen. Instead, it either turns off the screensaver and presents the desktop of the most recent user, or (if the screensaver is set to lock the screen) prompt for the user's password (which can be handily surpassed by clicking the "switch user" button and choosing the same user again). So, the login ("choose user") screen has been dealt with. How do I make the (any) screensaver return to the login screen at wake, rather than to the current user's desktop? Windows can do this, I'm sure Linux can too - but how?
View 2 Replies
View Related
Dec 11, 2010
Is there any way to find out which device/event caused Ubuntu (10.10) to wake up from the most recent sleep/hibernation? I am trying to troubleshoot some sleep issues on a new box, and knowing what's causing it to wake up would help. I did check /var/log/pm-suspend.log but all it seems to say is Sat Dec 11 22:18:27 GMT 2010: Awake.
View 1 Replies
View Related
Aug 19, 2010
I have a firewall / proxy that has an extremely high load, but I can't figure out what's using it. No real cpu usage, the disks are sleeping except for a little log activity, it's on gigabit ethernet and not close to maxing out... Command link stuff runs fast, nothing seems slow, yet the load is sky-high. IME this kind of load is associated with a lot of disk I/O, but that's not the case here. What could be causing this, what else factors into the load?
uname -a:
Code:
Linux myfirewall.mydomain.com 2.6.8 #1 SMP Mon Oct 18 11:20:22 CDT 2004 i686 i686 i386 GNU/Linux
top:
Code:
07:55:43 up 1503 days, 17:13, 5 users, load average: 26.50, 26.33, 26.25
Tasks: 245 total, 2 running, 243 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.6% us, 1.1% sy, 0.0% ni, 95.0% id, 2.7% wa, 0.2% hi, 0.5% si
Mem: 3895508k total, 3582272k used, 313236k free, 207468k buffers
Swap: 2040244k total, 112664k used, 1927580k free, 1358744k cached
View 4 Replies
View Related
Sep 18, 2010
I need to produce a script that will create a report that will be emailed to me that will Log user login activity to detect unauthorized remote access attempts. Where would I start?
View 2 Replies
View Related
Sep 12, 2010
When we want to setup a linux system, there is a common a suggestion like set the swap space as twice as big than your physical memory, I want to know why do we need this and how is this suggestion come from?
View 4 Replies
View Related
Oct 4, 2010
Is it possible if I am only using ext3 and no LVM or anything else to re-size the partition into another physical device? I am pretty sure the answer to this is no but I was still curious as I am facing a full 1tb disk and need to add a new drive and unsure how to do this due to shared folders existing on the old drive and no way to actually expand them without linking in new files or something.
View 8 Replies
View Related