From nobody Thu Aug 17 18:07:06 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 4RRXyn1S3gz4mTqZ for ; Thu, 17 Aug 2023 18:07:13 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RRXyl5vFXz3MHd for ; Thu, 17 Aug 2023 18:07:11 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=otIHHJpa; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::12e as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4fe0d5f719dso13282966e87.2 for ; Thu, 17 Aug 2023 11:07:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692295630; x=1692900430; h=content-transfer-encoding:in-reply-to:subject:from:content-language :references:to:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=mfO2W/ATjembkikgreiVXknkj+Z8RX9UKIA8MSflMiE=; b=otIHHJpacDA/jRRH1bMMJtdGH03jHAs+Lad3QUac5R3NuJXIGfqpD02SeWZtPLeYjr 7txI7w2cB8LOEbsbtds+MxJ/gWnrLmyOJWNIueQ22cTVfOfzu/uU7dvdt8oZtlRutjVW 4TiYvjsh/3MzBgL6dJrDZKuTIkmb3wyjHFZpq83RTzkN0f5zm5yfZnemYbOj/JTbnSSm JDdIv+6cHW+JI8VOTGa9ss2t5bGBi3qaCPU62P+VrcjoOuWN1+TQ4S2+6yXmnZSWvEM5 PPH/5Wf+hKi4vcvsYxn4HgTbrxYlUIJZBfTrt8/tSak2PyWdb5DhDcjiyPik1tSW76Vf dZ6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692295630; x=1692900430; h=content-transfer-encoding:in-reply-to:subject:from:content-language :references:to:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mfO2W/ATjembkikgreiVXknkj+Z8RX9UKIA8MSflMiE=; b=LLlDDEDJXfNaWYXfKuBbEwit/FTkR2JPDMbJU86olWLpEjRx3nmlQGfEpLZgR+U7vR 6qajjkXLRA083Jh5nN5MSGQ29E4ffzlYD2gJYf8rX6sdI5GJrsSGPeDSg67i030W/fCY xxHMsdXKaS87A5wabo/w1iEIMoiSTDz3eVhk5cU/AGWLfYjp3SktqS3f1FjgxCu6eGkC /p7u9hXF2Y6GtLuRmrRe9R3+zl5CcnHTWgXf7VQCVXCgcomz3X6wGT0CP7OnDA8vmes6 cS8P8495tJgJjh/MfJLoLzZIdnhG8V7SlJgtnDkYXoIVJXtnpLURGqJMViK6EL1U3+w9 a/Cg== X-Gm-Message-State: AOJu0YwEAxvuHO14jh96Agm921YbuQNGjxwyJR2bN2eTocTxple/dKj/ CfTaUNLO/i37CaUBtahDG0yibcvn4qk= X-Google-Smtp-Source: AGHT+IFXFB45g9X0TSBUlX9LjdO5gZZ3mPBfMcEUTF7JbBBR5X3IcGt3eEVfjimZvy2y4m/nWfxaWg== X-Received: by 2002:a05:6512:15a6:b0:4fe:8ba9:4c0 with SMTP id bp38-20020a05651215a600b004fe8ba904c0mr62943lfb.26.1692295630007; Thu, 17 Aug 2023 11:07:10 -0700 (PDT) Received: from [192.168.1.10] (80-42-66-93.dynamic.dsl.as9105.com. [80.42.66.93]) by smtp.gmail.com with ESMTPSA id k25-20020aa7c059000000b0052889d090bfsm46183edo.79.2023.08.17.11.07.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Aug 2023 11:07:09 -0700 (PDT) Message-ID: Date: Thu, 17 Aug 2023 19:07:06 +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.14.0 To: Warner Losh , freebsd-current@freebsd.org References: <62d300c8-2c3e-58fa-334e-23a17962279a@freebsd.org> <753f3990-9903-3718-445c-49fc01f960a7@freebsd.org> Content-Language: en-US From: Graham Perrin Subject: Re: Fwd: Unreliability with DHCP In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.45 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.45)[-0.452]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[grahamperrin]; RCVD_VIA_SMTP_AUTH(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::12e:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4RRXyl5vFXz3MHd On 06/08/2023 17:05, Warner Losh wrote: > On Sun, Aug 6, 2023 at 12:38 AM Kevin Oberman wrote: > > On Sat, Aug 5, 2023 at 3:16 PM Graham Perrin > wrote: > > On 05/08/2023 12:39, Oleksandr Kryvulia wrote: > > > … > > > > As dirty workaround I have in my /etc/rc.resume > > > > service netif restart > > service routing restart > > Thanks, I'll try when I'm next on campus. > > I do know that 'service routing restart' can be problematic. > Please, > see, for example, ; I had > something > similar a few minutes ago. > > > My usual solution is "service netif restart wlan0" (or the > interface you are using). It should restart the interface, if > rc.conf calls for it, dhcpclient and wpa_supplicant (if appropriate). > > > I'll have to remember that. I've been removing and reinsterting my usb > dongle when when dhclient fails. > I'd like to move to the internal wlan card, but the driver support has > some show-stopper issues with > suspend/resume for me more basic than dhclient... However, once those > are resolved, I'd need a way to > workaround the dhclient bug. > > Anybody have a clue why this is needed? > > Warner I have no clue, however if such needs are commonplace then maybe someone who's network-savvy can make a bug report. There's been tumbleweed, over the years, whenever I've tried to make things reliable for myself. Warner, I'll be interested to know whether what's below (also) works around things for you. Assuming ue0. route delete default ; ifconfig ue0 down && sleep 5 ; ifconfig ue0 up && sleep 15 ; ls /var/run/resolvconf/interfaces/ ; cat /etc/resolv.conf ; ping -c 2 -4 freshports.org