Thread: issue with wake on lan (thecus n4200)
hello all,
first post please bear me.
while ago bought thecus n4200 nas, because nice compact machine , wake on lan advertised. have replaced ide flash module 8 gb version. os, ubuntu 12.04, installed on module. runs smoothly except wake on lan. have tried solutions find on net. result same. susupend, hibernate , suspend-hybrid functioning.
have 2 issues, address forum:
1. after suspend-hibrid has succeeded, machine wakes after 10 minutes , goes sleep again immediatly.
2. when send magic packet suspended machine not wake up. waking pressing power button works.
have tried under 10.04, 11.10 , 12.04 same result. maybe has enlightening idea. appreciate it.
regards.
here's information how system configured:
- bios option "wake on pci" set.
- parameter "netdown" in "/etc/init.d/halt" set "no"
code:$ cat /etc/rc.local #!/bin/sh -e # # rc.local # # script executed @ end of each multiuser runlevel. # make sure script "exit 0" on success or other # value on error. # # in order enable or disable script change execution # bits. # # default script nothing. echo -n pex0 | tee /proc/acpi/wakeup exit 0code:$ cat /etc/network/interfaces # file describes network interfaces available on system # , how activate them. more information, see interfaces(5). # loopback network interface auto lo iface lo inet loopback # primary network interface auto eth0 iface eth0 inet static address x.x.x.x netmask 255.255.255.0 gateway x.x.x.x ethernet_wol gcode:$ sudo ethtool eth0 settings eth0: supported ports: [ tp ] supported link modes: 10baset/half 10baset/full 100baset/half 100baset/full 1000baset/full supported pause frame use: no supports auto-negotiation: yes advertised link modes: 10baset/half 10baset/full 100baset/half 100baset/full 1000baset/full advertised pause frame use: no advertised auto-negotiation: yes speed: 1000mb/s duplex: full port: twisted pair phyad: 1 transceiver: internal auto-negotiation: on mdi-x: off supports wake-on: pumbg wake-on: g current message level: 0x00000001 (1) drv link detected: yescode:$ lspci -tv -[0000:00]-+-00.0 intel corporation n10 family dmi bridge +-1a.0 intel corporation 82801i (ich9 family) usb uhci controller #4 +-1a.1 intel corporation 82801i (ich9 family) usb uhci controller #5 +-1a.2 intel corporation 82801i (ich9 family) usb uhci controller #6 +-1a.7 intel corporation 82801i (ich9 family) usb2 ehci controller #2 +-1b.0 intel corporation 82801i (ich9 family) hd audio controller +-1c.0-[01]----00.0 intel corporation 82574l gigabit network connection +-1c.1-[02]----00.0 intel corporation 82574l gigabit network connection +-1c.3-[03]--+-00.0 ati technologies inc rv710 [radeon hd 4350] | \-00.1 ati technologies inc rv710/730 hdmi audio [radeon hd 4000 series] +-1c.4-[04]--+-00.0 jmicron technology corp. jmb362/jmb363 serial ata controller | \-00.1 jmicron technology corp. jmb362/jmb363 serial ata controller +-1d.0 intel corporation 82801i (ich9 family) usb uhci controller #1 +-1d.1 intel corporation 82801i (ich9 family) usb uhci controller #2 +-1d.2 intel corporation 82801i (ich9 family) usb uhci controller #3 +-1d.7 intel corporation 82801i (ich9 family) usb2 ehci controller #1 +-1e.0-[05]-- +-1f.0 intel corporation 82801ir (ich9r) lpc interface controller +-1f.2 intel corporation 82801ir/io/ih (ich9r/do/dh) 6 port sata controller [ahci mode] \-1f.3 intel corporation 82801i (ich9 family) smbus controllercode:$ cat /proc/acpi/wakeup device s-state status sysfs node pci0 s5 *disabled no-bus:pci0000:00 pex0 s5 *enabled pci:0000:00:1c.0 pex1 s5 *disabled pci:0000:00:1c.1 pex2 s5 *disabled pex3 s5 *disabled pci:0000:00:1c.3 pex4 s5 *disabled pci:0000:00:1c.4 pex5 s5 *disabled hub0 s5 *disabled pci:0000:00:1e.0 uar1 s5 *disabled pnp:00:07 uar2 s5 *disabled pnp:00:08 igbe s5 *disabled usb0 s3 *enabled pci:0000:00:1d.0 usb1 s3 *enabled pci:0000:00:1d.1 usb2 s3 *enabled pci:0000:00:1d.2 usb3 s3 *enabled pci:0000:00:1a.0 usb4 s3 *enabled pci:0000:00:1a.1 usb5 s3 *enabled pci:0000:00:1a.2 ehc1 s3 *enabled pci:0000:00:1d.7 ehc2 s3 *enabled pci:0000:00:1a.7 azal s5 *disabled pci:0000:00:1b.0
i don't have thecus, i've ever done in past enable wake on lan enable in bios you've done. next, install ethtool, , make sure device supports wol, does. run command make sure it's running...
finally, add line /etc/network/interfaces.code:ethtool -s eth0 wol g
that literally ever do, , long device supports wol, i've never had problem getting working.code:auto eth0 iface eth0 inet static address x.x.x.x netmask 255.255.255.0 gateway x.x.x.x ethtool -s eth0 wol g
or, can this.
with dash, not underscore have above.code:auto eth0 iface eth0 inet static address x.x.x.x netmask 255.255.255.0 gateway x.x.x.x ethernet-wol g
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] issue with wake on lan (thecus n4200)
Ubuntu
Comments
Post a Comment