Network Delay

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
JesseR
White ninja
White ninja
Posts: 4
Joined: 25 Jan 2017, 17:39
Distribution: porteus
Location: Connetquotlibrary

Network Delay

Post#1 by JesseR » 25 Jan 2017, 17:48

I am new to porteus, I have been using it for a few months now.

I have a question about the network connection. is there a way to delay the executeing of the config until the network connection to the lan has been established?

here is the problem, i have old cisco switches, which take about 30 seconds to provide a live internet connection to a computer that has just booted.

this is the line having a problem.

browser_preferences=http://mywebsitehere/opacs/opacconfig.txt

when the computers boot, it throws an error because it can't find the text file.

as a test, I connected one of the computers to a different switch and it works without a problem.

so all I need is a on boot delay of about 30 seconds.

is there a setting like that?

Thanks!
Jesse

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Network Delay

Post#2 by Blaze » 25 Jan 2017, 17:58

JesseR wrote:so all I need is a on boot delay of about 30 seconds.

is there a setting like that?
Yes. Try delay=30 in /mnt/sdb1/boot/syslinux/porteus.cfg

For example

LABEL GRAPHICAL section
....
APPEND initrd=initrd.xz changes=/porteus delay=30

Cheers
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

JesseR
White ninja
White ninja
Posts: 4
Joined: 25 Jan 2017, 17:39
Distribution: porteus
Location: Connetquotlibrary

Re: Network Delay

Post#3 by JesseR » 25 Jan 2017, 19:23

I don't know enough about linux to be able to do that. is there anything I can add to the config file?

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

Re: Network Delay

Post#4 by fanthom » 25 Jan 2017, 20:11

Hello Jesse,

You should post in kiosk section of the forum or at least indicate that you are using kiosk to not confuse Porteus Desktop users.

To resolve your problem you could use 'run_command=sleep 30' parameter. More info:
http://porteus-kiosk.org/parameters.html#run_command

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

JesseR
White ninja
White ninja
Posts: 4
Joined: 25 Jan 2017, 17:39
Distribution: porteus
Location: Connetquotlibrary

Re: Network Delay

Post#5 by JesseR » 25 Jan 2017, 21:18

Thanks that worked for me!

Locked