no Proxy Supoprt for Kiosk Wizard that I can find

Share your opinion about Porteus Kiosk Edition.
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
SJack
White ninja
White ninja
Posts: 8
Joined: 04 Sep 2013, 07:15
Distribution: 1
Location: UK

no Proxy Supoprt for Kiosk Wizard that I can find

Post#1 by SJack » 05 Sep 2013, 08:48

Doesn't mean there isn't any, but looking at the script, most of it is binary payload, so hard to tell.

Could someone give me the full URL for the stuff that the wizard downloads so that I can gab it trough a proxy?

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

Re: no Proxy Supoprt for Kiosk Wizard that I can find

Post#2 by fanthom » 05 Sep 2013, 08:54

here it is:
http://dl.porteus.org/i486/packages/kiosk/

but you should better use wizard which downloads components into correct places and does md5sum check.
here is a tweak for getting the wizard working behind the proxy:
http://forum.porteus.org/viewtopic.php? ... 307#p15348
Please add [Solved] to your thread title if the solution was found.

SJack
White ninja
White ninja
Posts: 8
Joined: 04 Sep 2013, 07:15
Distribution: 1
Location: UK

Re: no Proxy Supoprt for Kiosk Wizard that I can find

Post#3 by SJack » 05 Sep 2013, 09:04

lower case http_proxy? lol, how did i miss that. who needs standards.

SJack
White ninja
White ninja
Posts: 8
Joined: 04 Sep 2013, 07:15
Distribution: 1
Location: UK

Re: no Proxy Supoprt for Kiosk Wizard that I can find

Post#4 by SJack » 05 Sep 2013, 10:02

i've downloaded the files manually to /tmp/kiosk-creator

Code: Select all

ls -c1 /tmp/kiosk-creator/
007-java-extension.xzm
porteus-kiosk-v2.1-i486.iso
006-fonts-extension.xzm
004-wifi-extension.xzm
005-flash-extension.xzm
005-flash_legacy-extension.xzm
initrdpxe.xz
porteus-kiosk.txt
and checked integrity manually

Code: Select all

md5sum -c porteus-kiosk.txt 
004-wifi-extension.xzm: OK
005-flash-extension.xzm: OK
005-flash_legacy-extension.xzm: OK
006-fonts-extension.xzm: OK
007-java-extension.xzm: OK
initrdpxe.xz: OK
porteus-kiosk-v2.1-i486.iso: OK
md5sum: WARNING: 2 lines are improperly formatted
but it looks like the wizard is trying to download the files anyway.

Code: Select all

strace -f -o /tmp/wizard.trace.out ./porteus-kiosk-wizard-v2.1-noarch.run && tail -f /tmp/wizard.trace.out
7878  close(3)                          = 0
7878  socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
7878  connect(3, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("46.105.102.104")}, 16^C
So, I set the proxy in /etc/wgetrc and test wget http://dl.porteus.org/i486/packages/kio ... ension.xzm which works fine, and now when i run the kiosk I get

"Sorry, an internet connection is required in order to download the kiosk components"

EDIT (again)

ok, a further trace reveals that a wget is execed to "test" for an internet connection

Code: Select all

execve("/usr/bin/wget", ["wget", "-q", "--spider", "--force-html", "--inet4-only", "http://ponce.cc"], [/* 17 vars */]) = 0
and ponce.cc is, unsurprisingly, blocked by the proxy behind which i sit.

Can we do a more reliable test?

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

Re: no Proxy Supoprt for Kiosk Wizard that I can find

Post#5 by fanthom » 05 Sep 2013, 14:17

Can we do a more reliable test?
probably yes but wizard still has to download http://ponce.cc/porteus/i486/packages/k ... -kiosk.txt which is contains all needed information.
some people had /tmp folder persistent during reboot and went into troubles when new kiosk version was released so i had to hardcode downloading of the config every time the wizard is run (to overwrite the old config).

if your proxy is not allowing ponce.cc then please unpack wizard and comment out internet check function and the line where wizard is downloading the config and you should be set.
Please add [Solved] to your thread title if the solution was found.

Locked