[SOLVED] RUN Command WGET-file

Post bug reports related to either the kiosk ISO or the kiosk wizard here.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
SVblue
White ninja
White ninja
Posts: 5
Joined: 29 Aug 2016, 13:04
Distribution: Thin Client and Kiosk
Location: Germany

[SOLVED] RUN Command WGET-file

Post#1 by SVblue » 27 May 2019, 06:53

Hello,

in my Kiosk-config I try to use:
run_command=wget http://192.168.5.80/config/index.htm -O /tmp/index.htm

After KIOSK-Startup there is no "index.htm" ind the "tmp"-Folder.
Executing this command in the shell using ssh ... it works well.

What I am doing wrong?

--- my config: ---
connection=wired
network_interface=eth0
ip_address=192.168.5.95
netmask=255.255.255.0
default_gateway=0.0.0.0
dns_server=0.0.0.0
hostname=Display-RN
browser=firefox
run_command=wget http://192.168.5.80/config/index.htm -O /tmp/index.htm
homepage=file:///tmp/index.htm
refresh_webpage=3
timezone=Europe/Berlin
primary_keyboard_layout=de
hide_mouse=5
disable_navigation_bar=yes
enable_file_protocol=yes
kiosk_config=http://192.168.5.80/config/Porteus_TB1_Info.cfg
root_password=xyz
vnc_interactive=yes
vnc_password=xyz
allow_icmp_protocol=yes
wake_on_lan=yes
additional_components=09-x11vnc.xzm uefi.zip 08-ssh.xzm 07-java.xzm 05-flash.xzm
Last edited by SVblue on 28 May 2019, 13:09, edited 1 time in total.

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

RUN Command WGET-file

Post#2 by fanthom » 27 May 2019, 07:31

Hello SVblue,

/tmp is cleared during every session start to get rid of all custom files saved there.
You need to save your file in some other location, e.g. /var/lib/storage or /opt/storage (folder must be created and must be accessible by the 'guest' user).

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

SVblue
White ninja
White ninja
Posts: 5
Joined: 29 Aug 2016, 13:04
Distribution: Thin Client and Kiosk
Location: Germany

RUN Command WGET-file

Post#3 by SVblue » 28 May 2019, 13:08

THANKS
It works well.

I love simple solutions ;-)

Locked