[Solved] Kiosk delays if internet connection not available

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
codinghusi
White ninja
White ninja
Posts: 11
Joined: 27 Aug 2019, 20:06
Distribution: Porteus Kiosk

[Solved] Kiosk delays if internet connection not available

Post#1 by codinghusi » 04 Sep 2019, 15:10

Hi,
on my Porteus Kiosk runs a local webserver so I won't need an internet connection.
But if I have no, and the browser starts first after a minute or so. During that minute a message sais "gateway not is not set".
How can I prevent that delay?
Btw. though if there is a connection available I want to use it!
Last edited by codinghusi on 14 Sep 2019, 10:30, 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:

Kiosk delays if internet connection not available

Post#2 by fanthom » 04 Sep 2019, 15:42

codinghusi,

"How can I prevent that delay?"
You need to set static IP which include (an even fake) gateway address.

"Btw. though if there is a connection available I want to use it!"
You cant eat the cake and have the cake.

You either wait on connection or set static IP (and gateway) to bypass the gateway check.

Please post in kiosk section of the forum only.


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

codinghusi
White ninja
White ninja
Posts: 11
Joined: 27 Aug 2019, 20:06
Distribution: Porteus Kiosk

Kiosk delays if internet connection not available

Post#3 by codinghusi » 04 Sep 2019, 17:47

Hi, thanks for the reply,
fanthom wrote:
04 Sep 2019, 15:42
You cant eat the cake and have the cake.
You either wait on connection or set static IP (and gateway) to bypass the gateway check.
I want that the kiosk connects to the network parallel so the browser will start as fast as possible.
Sometimes it could also be that the wifi won't be available.

(Could I btw change my ip and gateway with simply customizing the iso?)
fanthom wrote:
04 Sep 2019, 15:42
Please post in kiosk section of the forum only.
Ohhh sorry, I have searched for that forum. Will do that in future :)

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

Kiosk delays if internet connection not available

Post#4 by fanthom » 05 Sep 2019, 06:43

"(Could I btw change my ip and gateway with simply customizing the iso?)"
You cant as config is encrypted.
However - you could remaster the ISO and disable gateway check by editing /etc/xdg/openbox/autostart in 003-settings.xzm module.

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

codinghusi
White ninja
White ninja
Posts: 11
Joined: 27 Aug 2019, 20:06
Distribution: Porteus Kiosk

[Solved] Kiosk delays if internet connection not available

Post#5 by codinghusi » 14 Sep 2019, 10:31

Thank you very much!
That worked :)

Locked