From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0DjQF13H319fVAAA0tVLHw (envelope-from ) for ; Sun, 20 Dec 2020 21:51:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GB+XE13H31+mCAAAB5/wlQ (envelope-from ) for ; Sun, 20 Dec 2020 21:51:25 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CEC069403C8 for ; Sun, 20 Dec 2020 21:51:24 +0000 (UTC) Received: from localhost ([::1]:37444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kr6bq-0003kn-2u for larch@yhetil.org; Sun, 20 Dec 2020 16:51:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kr6be-0003kT-Dp for help-guix@gnu.org; Sun, 20 Dec 2020 16:51:10 -0500 Received: from knopi.disroot.org ([178.21.23.139]:47594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kr6bc-0001vX-3R for help-guix@gnu.org; Sun, 20 Dec 2020 16:51:10 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D74195259B for ; Sun, 20 Dec 2020 22:51:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6d7sbvY5b4qr for ; Sun, 20 Dec 2020 22:51:01 +0100 (CET) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1608501061; bh=FZcIQNoDJOWfRcVb2Cv55Be+RDPy6Uk/lg6uD8RmthE=; h=Date:From:Subject:To:In-Reply-To:References; b=bGvTnMyMGA0ano0V9151qChv7eZ6m/d8Ta2PTKEam2zzhaXSiUupq20sv4I4jtH6X i+HR0e5eZpOidFVODJCmWKElNn8LQwodZ/tyYu8KWvSnQulDNdpkKuBVg3VhM0gTps 58fwMlQhsK1sPO6d2vAXabCX5l3gktxXp0jt8iKnwekfHMisKZ5u9tUVb3YhTAYzLA LoXvSlgEsWcHQr7Pr8DiZjqcuYucgKrKC6jVNTayLJ32r/wvPtfrDgxy19+cu+tetN jUSxzzHmCMbgqwRqhFlxldDDKh2VZlrqgmJRUzmV36MUGF5WQFU7L0kzD7HTdAB1Db 3FafQ/118wpGQ== Date: Sun, 20 Dec 2020 21:51:01 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: znavko@disroot.org Message-ID: <1584af4852ac35d1fe12da08ec80d69e@disroot.org> Subject: Re: Herd works with network not at all To: "znavko--- via" In-Reply-To: References: Received-SPF: pass client-ip=178.21.23.139; envelope-from=znavko@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=bGvTnMyM; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: CEC069403C8 X-Spam-Score: -2.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5dW/S6040JdZ You know, after I increased delay after services were stopped =0Ato 8 sec= onds=0Aand also placed dealy 8 seconds between start of wpa-supplicant an= d start of networking=0AMy reconnections are working nice.=0AI think the = reason is the delay, but it is just practical knowledge, not academical..= .=0A=0A=0ADecember 20, 2020 9:38 PM, "znavko--- via" = wrote:=0A=0A> Hello, Guix! My simple script is just using for reconnect t= o Internet provider from those 2 I use.=0A> =0A> It works bad.=0A> I have= internet after PC was booted.=0A> And then I have to use this script to = connect to another provider (just for to change IP).=0A> I run my script = with `# ./wpa bee` and it does things but I have no Internet and ping doe= s not find=0A> host gnu.org=0A> =0A> This script stops two services in my= system=0A> networking=0A> wpa-supplicant=0A> And then runs them with new= wpa-supplicant config.=0A> =0A> I placed `sleep 2` there between stoppin= g and running services. But did not get it works fine.=0A> =0A> My new co= nfig and using of another Internet provider works after reboot.=0A> Also = it works without herd just with=0A> =0A> # wpa_supplicant -B -i wlp2s0 -c= /etc/wpa_supplicant/wpa_supplicant.conf=0A> # dhclient -v=0A> =0A> I can= not see errors in herd services. Herd services works badly, but hand made= connection works=0A> fine.=0A> Is the deal over 2 seconds of delay? Do I= need to increase delay period?=0A> =0A> Please, what do I need to consid= er?