From 44e696f245dd659219ee929d736dbf2cbdad0594 Mon Sep 17 00:00:00 2001 From: boffart <> Date: Wed, 28 Aug 2024 16:50:54 +0300 Subject: [PATCH] =?UTF-8?q?#779=20=D0=A2=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20?= =?UTF-8?q?=D0=B1=D1=83=D0=B4=D0=B5=D1=82=20=D0=BB=D0=B8=D1=88=D1=8C=20?= =?UTF-8?q?=D0=B4=D0=B2=D0=B5=20=D0=BF=D0=BE=D0=BF=D1=8B=D1=82=D0=BA=D0=B8?= =?UTF-8?q?=20=D0=BF=D0=BE=D0=BB=D1=83=D1=87=D0=B5=D0=BD=D0=B8=D1=8F=20?= =?UTF-8?q?=D0=B0=D0=B4=D1=80=D0=B5=D1=81=D0=B0=20=D1=87=D0=B5=D1=80=D0=B5?= =?UTF-8?q?=D0=B7=20DHCP=20=D1=81=20=D0=B8=D0=BD=D1=82=D0=B5=D1=80=D0=B2?= =?UTF-8?q?=D0=B0=D0=BB=D0=BE=D0=BC=20=D0=B2=202=20=D1=81=D0=B5=D0=BA?= =?UTF-8?q?=D1=83=D0=BD=D0=B4=D1=8B.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Core/System/Network.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Core/System/Network.php b/src/Core/System/Network.php index f7a832f57..87b877198 100644 --- a/src/Core/System/Network.php +++ b/src/Core/System/Network.php @@ -783,19 +783,17 @@ public function lanConfigure(): int // Obtain IP and wait for the process to finish $workerPath = '/etc/rc/udhcpc_configure'; - $options = '-t 6 -T 5 -q -n'; + $options = '-t 2 -T 2 -q -n'; $arr_commands[] = "$udhcpc $options -i $if_name -x hostname:$hostname -s $workerPath"; // Start a new udhcpc process in the background $options = '-t 6 -T 5 -S -b -n'; $arr_commands[] = "$nohup $udhcpc $options -p {$pid_file} -i $if_name -x hostname:$hostname -s $workerPath 2>&1 &"; /* udhcpc - utility for configuring the interface - - configures /etc/resolv.conf + - configures /etc/resolv.conf Further route configuration will be performed in udhcpcConfigureRenewBound(); - and udhcpcConfigureDeconfig(). These methods will be called by the script WorkerUdhcpcConfigure.php. - // man udhcp + and udhcpcConfigureDeconfig(). These methods will be called by the PHP script udhcpc_configure. // http://pwet.fr/man/linux/administration_systeme/udhcpc/ - */ } else { // Static IP configuration