AW: [vdr] Wakeup On LAN

2007-03-04 Thread martin
Well :) .. you've got a solution ..  maybe a "normal" board would have also 
solved the problems.

Have you checked S4 regarding Power consumption? How much power is drained? 20W 
standby translates into 30€ a year ..

Martin

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Bernd Juraschek
Gesendet: Sonntag, 4. März 2007 22:04
An: vdr@linuxtv.org
Betreff: Re: [vdr] Wakeup On LAN

Hi,

> Regarding waking up at a certain time:
> Go to the wiki in read carefully about nvram-wakeup.

This damn Siemens D1605 board is not supported by nvram-wakeup. First
Siemens has some own checksum calculation and second guess-helper isn't
able to guess the CMOS addresses for the alarm clock.

Thinking about using ACPI wakeup, cat /proc/acpi/alarm tells me 
"2007-03-00 19:03:00" with 00 for the day - regardless of the value
written into. But - I've not tested this with S4 mode.

Alarm wakeup is not urgent for me because I use my router to wakeup
the PC the right time. The PC safes the time into the router before
it hibernats. The router uses this time to wakeup the PC per WOL.

Greetings,
Bernd

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


AW: [vdr] Wakeup On LAN

2007-03-04 Thread martin
Regarding waking up at a certain time:
Go to the wiki in read carefully about nvram-wakeup.

Keep also in mind that there are broken bioses around - you need to reboot
to put an alarm active. I also have this with my Asus board. Can be done
with:
echo -e "savedefault --default=3 --once\nquit" | grub --batch

/etc/grub/menu.lst
default saved
..
### END DEBIAN AUTOMAGIC KERNELS LIST

title=Power off
root(hd0,0)
savedefault 0
halt

Martin





-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von
Bernd Juraschek
Gesendet: Samstag, 3. März 2007 16:22
An: vdr@linuxtv.org
Betreff: Re: [vdr] Wakeup On LAN

Hi,


Another problem: I would like to use alarm ACPI wakeup for booting
the PC before the next recording starts. I've not tried this with
hibernate, but with poweroff this also doesn't work. Is this the
same problem?

Some strange effect is also:

---
# echo "2007-03-03 12:00:00" > /proc/acpi/alarm
# cat /proc/acpi/alarm
2007-03-00 12:00:00
#
---

Thanks for another idea,
Bernd

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


AW: [vdr] Wakeup On LAN

2007-03-04 Thread martin
Linux usually shuts down all interfaces, when going down (init 0) ..

On Ubuntu it's in: /etc/init.d/networking
-> it does an "ifconfig eth0 down" 
Then WOL then will never work, since the LAN-port is without power.

You may check for:
[EMAIL PROTECTED]:/etc$ ll rc?.d |grep network
lrwxrwxrwx 1 root root 20 2006-06-07 20:45 S35networking ->
../init.d/networking
lrwxrwxrwx 1 root root 20 2006-06-07 20:45 S35networking ->
../init.d/networking
lrwxrwxrwx 1 root root  20 2006-06-07 20:45 S40networking ->
../init.d/networking

Try this: go into single user mode with "init 1" - check, if there is still
power at your network port. If not, your LAN is shut down.


Martin


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von
Bernd Juraschek
Gesendet: Samstag, 3. März 2007 18:53
An: vdr@linuxtv.org
Betreff: Re: [vdr] Wakeup On LAN

Hi!

> Now I've patched my kernel with suspend2. Now after hibernating to
> suspend-to-ram or ACPI S4 WOL is working perfectly. Hibernating to
> the poweroff mode disables WOL again. Is WOL never possible if the
> PC is soft powered off?

After powering off the PC per long-pressing the power button WOL works
perfectly. The normal shutdown seems to disable wakeup :-(

Greetings,
Bernd

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


AW: [vdr] Wakeup On LAN

2007-03-03 Thread martin
Hi,

 

actually i have the same scenario here. Iuse a Linksys Router with OpenWRT – 
wol and VDR.

 

1)  Make sure that your Interface does not get down, when Linux shuts down. 
Control this behavior, with the Links on your Switch or maybe there are also 
light that must not turn off on your interface. The rc_down_interface is 
perfect for this

2)  Have you set wake on lan with ethtools? -> I do it every boot: 
/usr/sbin/ethtool -s eth0 wol g

3)  The magic packet must be sent to the broadcast address, since ARP 
requests do not work! -> my /sbin/wol-htpc script 

wol --ipaddr=192.168.0.255 00:13:d4:1e:94:73

ping 192.168.0.120

 

Regards,

Martin

 

Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Kimmo Taskinen
Gesendet: Samstag, 3. März 2007 06:22
An: VDR Mailing List
Betreff: Re: [vdr] Wakeup On LAN

 

Have you tried ethtool to setup WoL options?

I run "ethtool -s eth0 wol pg".

 

- Kimmo

_ Alkuperäinen viesti _

Aihe: [vdr] Wakeup On LAN

Tekijä: "Bernd Juraschek" <[EMAIL PROTECTED]>

Päivämäärä: 3. maaliskuuta 2007 1:18:32

 

Hello,

I'm trying to wakeup my Siemens Scaleo-T using WOL - but without
success :-(

The PC to wakeup:

- Siemens Scaleo-T AMD64 with Onboard LAN (Tulip chip)
- Linux 2.6.20 with ACPI enabled
- Gentoo amd64


The router:

- ASUS WL-500g Deluxe
- OpenWrt White Russian - With X-Wrt Extensions RC6
- WOL-Software: wol

What I've done:

- BIOS: Wakeup controlled by BIOS and WOL enabled

- Gentoo: echo -n PCI0 > /proc/acpi/wakeup ; halt
- Router: wol -h PC-IP-Addr PC-MAC-Addr

I've configured the router to start wol periodically. On the PC
wireshark is now showing incoming UDP packets to the UDP port
4. The packet contains the ethernet frame, the IP header,
the UDP header and the magic data (6x 0xff and 16x MAC-Addr).

It seems all ok - but the PC will not be started.

What's going wrong? Should I use some ACPI sleep mode? Is this
supported by the DVB drivers? Is the Siemens PC not usable for
WOL?

Thanks for help,
Bernd
-- 
Obwohl das Weltall expandiert, findet man nirgendwo Parkplätze.
-- BR Space night

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr