From nobody Sun Aug 06 16:23:55 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RJlBj1tY9z4m44T for ; Sun, 6 Aug 2023 16:23:57 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RJlBj15tDz3dmv for ; Sun, 6 Aug 2023 16:23:57 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691339037; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=INRPzX0EKsIbeJx4pIjqzi+jfilrR9SNk5AVZp29jYs=; b=e9U7rZHhYiaMRhJ3oU51t5+WgDkfTt3VGbynpFS55J+1LQvjLhhCeGEMVxjE53xBfH7uvd KuKVKAuyOdyjwY9gb8bFmD5M19Y4/OfL0QunRC9LVrazVARdIaQcAOJLT4JZLcJg8sii4f z6cpDyX5GFmlS4lz6FUAW3MfxbWt5IxPIza+GKkosSdgfSZ8hlCTOB983cSdr5dyQttrpJ 6TLLPPSXaLtpRV41zZyCA5BSJwMPc24/POrbbZhoS8ItfbnQe4C/QJE59hgN53oujS0hyK FAj48TqZUoKPZ4bmgH3iodc6px0S/BHjIgHLW6UELZInEFPtF2B0xxZIwBg42A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691339037; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=INRPzX0EKsIbeJx4pIjqzi+jfilrR9SNk5AVZp29jYs=; b=IpEylg56YK4kRQnkhnw/gvBVO5kO++b2yFPTiSHqX+x3FueWtCHPJj9v2yUoLq0cB2Qfik dI4oNgj0nFJP05glurFHXJOMeh5SGfvotzvzVv94xZJVWcYeo/Q1d8kQMmtMJ1Gm41RoWk 1Jq+ocv/uCW3ZSz66sHIyubMHdESvg+Ehiv/tpJhR62sf8h/Wc3K0TdOYSjjXe2j5EQ2Oc +qAvGXeKAhSvEqeZzkNDoFnH81PZle2QKCxcymu6YD4QwZ4v15IYKdk8VFwSJpo4kQFAFQ UHiOPjqamOnRZdhA435kGrZ8ucLK1T4+4LQYnU8EqWZXrZ5IpPy7yXB4HfpyRQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691339037; a=rsa-sha256; cv=none; b=u8gMnxt5Ku4JABgIDC9HoI/SAga64CKTDrRd5doI+MUrQKJElmiLCRCcAL14JI6WzwII30 ntLKyAxYTmRnGn204+oH7aqwydshECr5tRAYNhtNxfC9+MQsbucpVg2yJgdEbyubrO1b6y 1q7EmURLGSGBE61qC4S3Nch9RLdGsWDc6FkO7pC6in7yHBkZ9uUUxa7Beh8Ajyd+yRzmZx vzFnWxepOgVwjs2AR1O+v67DAI0YEOYNltqHiq79eOVCiXzIkcXo8Mm/T7Ult0zWbvtaml GWgBfQH6OVSzXVktuP4W1roQ5P9a4k6IC0SVYeSic7rNMkxQKTA3at8qpz8G0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from [192.168.1.10] (80-42-66-93.dynamic.dsl.as9105.com [80.42.66.93]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) (Authenticated sender: grahamperrin) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RJlBh5zsJzl2K for ; Sun, 6 Aug 2023 16:23:56 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Message-ID: Date: Sun, 6 Aug 2023 17:23:55 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1 Subject: service routing restart, service dhclient restart (was: Unreliability with DHCP) Content-Language: en-US To: freebsd-current@freebsd.org References: <62d300c8-2c3e-58fa-334e-23a17962279a@freebsd.org> <753f3990-9903-3718-445c-49fc01f960a7@freebsd.org> <354756c9-29e0-db1f-269e-3c219b5d9ac8@freebsd.org> From: Graham Perrin Organization: FreeBSD In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Thanks, On 06/08/2023 08:36, Oleksandr Kryvulia wrote: > … In my case default route is assigned by dhclient, so 'service > routing restart' must be run quickly after 'service netif restart' - > before we receive dhcp offer. Is this documented and explained somewhere, or did you learn through trial and error? > Another option is to run 'service dhclient restart wlan0' after > routing restart. … Is there, similarly, a need to rush the two commands? no route; /etc/rc.d/dhclient: WARNING: failed to start dhclient