Page 1 of 2

The kiosk does not run Monday (rtc_wake)

Posted: 20 Feb 2018, 14:40
by xhtml
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?

The kiosk does not run Monday (rtc_wake)

Posted: 20 Feb 2018, 16:18
by fanthom
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

The kiosk does not run Monday (rtc_wake)

Posted: 20 Feb 2018, 16:51
by xhtml
I tried to put in the schedule Sunday, also at 30 minutes, but at 15:30. Unfortunately, did not help

The kiosk does not run Monday (rtc_wake)

Posted: 20 Feb 2018, 16:53
by xhtml

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

The kiosk does not run Monday (rtc_wake)

Posted: 20 Feb 2018, 17:36
by fanthom
Did the kiosk wake up on Sunday?

The kiosk does not run Monday (rtc_wake)

Posted: 20 Feb 2018, 17:42
by xhtml
Unfortunately, I can't say for sure. Monitoring with Zabbix has only been installed.

The kiosk does not run Monday (rtc_wake)

Posted: 21 Feb 2018, 07:41
by fanthom
Use 'run_command=' to download some file from your website and i'll know when kiosk is booted.

The kiosk does not run Monday (rtc_wake)

Posted: 21 Feb 2018, 08:06
by xhtml
Ok, thanks

Code: Select all

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

The kiosk does not run Monday (rtc_wake)

Posted: 21 Feb 2018, 09:08
by fanthom
You should download a file from your website so you can track kiosk boot time in apache logs.

The kiosk does not run Monday (rtc_wake)

Posted: 21 Feb 2018, 09:13
by xhtml
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

The kiosk does not run Monday (rtc_wake)

Posted: 25 Feb 2018, 17:25
by xhtml
No, it didn't start today. config-Sunday 15.30, 16.00 halt

The kiosk does not run Monday (rtc_wake)

Posted: 25 Feb 2018, 18:32
by fanthom
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

The kiosk does not run Monday (rtc_wake)

Posted: 26 Feb 2018, 07:36
by xhtml
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:~#

The kiosk does not run Monday (rtc_wake)

Posted: 26 Feb 2018, 11:57
by fanthom
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

The kiosk does not run Monday (rtc_wake)

Posted: 26 Feb 2018, 15:08
by xhtml