The kiosk does not run Monday (rtc_wake)

Post bug reports related to either the kiosk ISO or the kiosk wizard here.
xhtml
White ninja
White ninja
Posts: 10
Joined: 20 Feb 2018, 14:19
Distribution: Porteus Kiosk

The kiosk does not run Monday (rtc_wake)

Post#1 by xhtml » 20 Feb 2018, 14:40

Hello!

Available configurations:
1) kiosk Porteus 4.6.0
2) remote configuration URL (via FTP)
3) rtc_wake to on and scheduled_action to shutdown now

Config:

Code: Select all

connection=wifi
netmask=255.255.225.0
ip_address=192.168.1.60
default_gateway=192.168.1.1
dns_server=192.168.1.1 192.168.1.2
network_interface=wlan0
wifi_encryption=wpa
wpa_password=passwd
ssid_name=ssid
browser=firefox
client_id=automatic
rtc_wake=Monday-09:30 Tuesday-09:30 Wednesday-09:30 Thursday-09:30 Friday-09:30 Saturday-09:30
scheduled_action=Monday-21:30 Tuesday-21:30 Wednesday-21:30 Thursday-21:30 Friday-21:30 Saturday-21:30 action:shutdown now
homepage=http://http://porteus-kiosk.org
allow_icmp_protocol=yes
session_idle=5
hide_mouse=yes
disable_navigation_bar=yes
kiosk_config=ftp://login:passwd@site.ru/kiosk2.txt
root_password=rootpasswd
timezone=Europe/Moscow
vnc_interactive=yes
vnc_password=vncpasswd
wallpaper=http://site.ru/wp.jpg
whitelist=porteus-kiosk.org
wake_on_lan=yes
hostname=kiosk2
additional_components=09-x11vnc.xzm uefi.zip 08-ssh.xzm 06-fonts.xzm
Time:
1) NAccess to NTP - on

Code: Select all

root@kiosk2:~# date
Tue Feb 20 17:38:08 MSK 2018

Code: Select all

root@kiosk2:~# hwclock
Tue Feb 20 14:38:39 2018  0.000000 seconds
Problem:
The kiosk does not start on Monday.
There are 2 situations:
1) If you do not enable manually, the kiosk will not start
2) If you enable it manually, it will run on a schedule every day until the next Monday

What could be the problem?

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5660
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

The kiosk does not run Monday (rtc_wake)

Post#2 by fanthom » 20 Feb 2018, 16:18

Maybe RTC can be programmed only one day ahead. Please start the kiosk on Sunday and shut it down after 30 mins:

Code: Select all

rtc_wake=Monday-09:30 Tuesday-09:30 Wednesday-09:30 Thursday-09:30 Friday-09:30 Saturday-09:30 Sunday-09:30
scheduled_action=Monday-21:30 Tuesday-21:30 Wednesday-21:30 Thursday-21:30 Friday-21:30 Saturday-21:30 Sunday-10:00 action: halt
Thanks
Please add [Solved] to your thread title if the solution was found.

xhtml
White ninja
White ninja
Posts: 10
Joined: 20 Feb 2018, 14:19
Distribution: Porteus Kiosk

The kiosk does not run Monday (rtc_wake)

Post#3 by xhtml » 20 Feb 2018, 16:51

I tried to put in the schedule Sunday, also at 30 minutes, but at 15:30. Unfortunately, did not help

xhtml
White ninja
White ninja
Posts: 10
Joined: 20 Feb 2018, 14:19
Distribution: Porteus Kiosk

The kiosk does not run Monday (rtc_wake)

Post#4 by xhtml » 20 Feb 2018, 16:53

Code: Select all

-rtc_wake=Monday-09:30 Tuesday-09:30 Wednesday-09:30 Thursday-09:30 Friday-09:30 Saturday-09:30 Sunday-15:30
+rtc_wake=Monday-10:03 Tuesday-09:30 Wednesday-09:30 Thursday-09:30 Friday-09:30 Saturday-09:30 Sunday-15:30
 scheduled_action=Monday-21:30 Tuesday-21:30 Wednesday-21:30 Thursday-21:30 Friday-21:30 Saturday-21:30 Sunday-16:00 action:shutdown now

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5660
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

The kiosk does not run Monday (rtc_wake)

Post#5 by fanthom » 20 Feb 2018, 17:36

Did the kiosk wake up on Sunday?
Please add [Solved] to your thread title if the solution was found.

xhtml
White ninja
White ninja
Posts: 10
Joined: 20 Feb 2018, 14:19
Distribution: Porteus Kiosk

The kiosk does not run Monday (rtc_wake)

Post#6 by xhtml » 20 Feb 2018, 17:42

Unfortunately, I can't say for sure. Monitoring with Zabbix has only been installed.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5660
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

The kiosk does not run Monday (rtc_wake)

Post#7 by fanthom » 21 Feb 2018, 07:41

Use 'run_command=' to download some file from your website and i'll know when kiosk is booted.
Please add [Solved] to your thread title if the solution was found.

xhtml
White ninja
White ninja
Posts: 10
Joined: 20 Feb 2018, 14:19
Distribution: Porteus Kiosk

The kiosk does not run Monday (rtc_wake)

Post#8 by xhtml » 21 Feb 2018, 08:06

Ok, thanks

Code: Select all

run_command = wget http://porteus-kiosk.org/public/4.6/md5sum

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5660
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

The kiosk does not run Monday (rtc_wake)

Post#9 by fanthom » 21 Feb 2018, 09:08

You should download a file from your website so you can track kiosk boot time in apache logs.
Please add [Solved] to your thread title if the solution was found.

xhtml
White ninja
White ninja
Posts: 10
Joined: 20 Feb 2018, 14:19
Distribution: Porteus Kiosk

The kiosk does not run Monday (rtc_wake)

Post#10 by xhtml » 21 Feb 2018, 09:13

fanthom wrote:
21 Feb 2018, 09:08
You should download a file from your website so you can track kiosk boot time in apache logs.
I changed the link, thanks

xhtml
White ninja
White ninja
Posts: 10
Joined: 20 Feb 2018, 14:19
Distribution: Porteus Kiosk

The kiosk does not run Monday (rtc_wake)

Post#11 by xhtml » 25 Feb 2018, 17:25

No, it didn't start today. config-Sunday 15.30, 16.00 halt

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5660
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

The kiosk does not run Monday (rtc_wake)

Post#12 by fanthom » 25 Feb 2018, 18:32

Maybe you are editing incorrect kiosk config?

Please show me output of following command run on the kiosk side:

Code: Select all

cat /opt/scripts/extras
Please add [Solved] to your thread title if the solution was found.

xhtml
White ninja
White ninja
Posts: 10
Joined: 20 Feb 2018, 14:19
Distribution: Porteus Kiosk

The kiosk does not run Monday (rtc_wake)

Post#13 by xhtml » 26 Feb 2018, 07:36

yesterday changed the start time

Code: Select all

root@kiosk:~# cat /opt/scripts/extras
boot_dev=/dev/sda2
scheduled_action=Monday-21:30 Tuesday-21:30 Wednesday-21:30 Thursday-21:30 Friday-21:30 Saturday-21:30 Sunday-11:00 action:halt
rtc_wake=Monday-09:30 Tuesday-09:30 Wednesday-09:30 Thursday-09:30 Friday-09:30 Saturday-09:30 Sunday-09:30
root@kiosk2low:~#

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5660
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

The kiosk does not run Monday (rtc_wake)

Post#14 by fanthom » 26 Feb 2018, 11:57

Looks OK.

Please contact me on support@porteus-kiosk.org and provide SSH access to your kiosk (or i'll provide instructions how to associate your kiosk with my PK Server if port redirection is a problem) so i could see what exactly happens on Saturday/Sunday.

Thanks
Please add [Solved] to your thread title if the solution was found.

xhtml
White ninja
White ninja
Posts: 10
Joined: 20 Feb 2018, 14:19
Distribution: Porteus Kiosk

The kiosk does not run Monday (rtc_wake)

Post#15 by xhtml » 26 Feb 2018, 15:08


Post Reply