From mboxrd@z Thu Jan 1 00:00:00 1970 From: znavko@disroot.org Subject: How to timeout herd's network services start for not to stop boot process ? Date: Mon, 23 Mar 2020 17:15:29 +0000 Message-ID: <29a98f87a01e64a00e0fb9833aaf6dc7@disroot.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--=_RainLoop_144_808823543.1584983729" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47562) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGQfo-0001F3-8a for help-guix@gnu.org; Mon, 23 Mar 2020 13:15:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGQfm-0007fD-PV for help-guix@gnu.org; Mon, 23 Mar 2020 13:15:36 -0400 Received: from knopi.disroot.org ([178.21.23.139]:58670) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jGQfl-0007dd-Em for help-guix@gnu.org; Mon, 23 Mar 2020 13:15:34 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 83D2E27F37 for ; Mon, 23 Mar 2020 18:15:31 +0100 (CET) Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CkBNJKEzT75Z for ; Mon, 23 Mar 2020 18:15:29 +0100 (CET) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: help-guix ----=_RainLoop_144_808823543.1584983729 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, Guix developers! I'm so happy that OS Guix works on a new PC, caus= e I've tried to buy 2 laptops where wifi or even graphics did not work!= =0AOn Dell Vostro 3670, Core i5 9400, Nvidia Geforce 710 Guix works and e= ven wifi works (but I use usb wifi adapter for better connection power).= =0A=0AI have inconvenience: during boot guix stops and wait for about 30 = seconds on wifi connection, as on images and dmesg:=0A=0Ahttp://0x0.st/ia= lz.jpg=0Ahttp://0x0.st/ial-.jpg=0A=0A# dmesg |grep wlp=0A[ 2.715775] ath9= k 0000:05:00.0 wlp5s0: renamed from wlan0=0A[ 3.383086] ath9k_htc 1-1:1.0= wlp0s20f0u1: renamed from wlan0=0A[ 174.055212] wlp0s20f0u1: authenticat= e with xx:pp:xx:pp:xx:pp=0A[ 174.313915] wlp0s20f0u1: send auth to xx:pp:= xx:pp:xx:pp (try 1/3)=0A[ 174.315645] wlp0s20f0u1: authenticated=0A[ 174.= 318674] wlp0s20f0u1: associate with xx:pp:xx:pp:xx:pp (try 1/3)=0A[ 174.3= 23907] wlp0s20f0u1: RX AssocResp from xx:pp:xx:pp:xx:pp (capab=3D0xc11 st= atus=3D0 aid=3D3)=0A[ 174.332535] wlp0s20f0u1: associated=0A[ 174.528137]= IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f0u1: link becomes ready=0A=0AI di= d not tried with internal wifi, but usb wifi adapter starts for soo long!= =0A=0AI've attached my config where I have to comment wpa_supplicant serv= ice and dhclient for resist this delay during boot. And I connect manuall= y.=0A=0APlease, can you say me how to postpone herd services networking, = wpa-supplicant, dhclient and start them after slim's start or for example= after 5 seconds after finish of boot process?=0A=0AAlso can you say how = to add my bash script to autorun after boot if I do not use cron (for my = future experiments)?=0A=0Aznavko. ----=_RainLoop_144_808823543.1584983729 Content-Type: application/octet-stream; name="guix-config.scm" Content-Disposition: attachment; filename="guix-config.scm" Content-Transfer-Encoding: base64 Oy0qLSBtb2RlOiBTY2hlbWU7IC0qLQo7O3RoaXMgaXMgem5hdmtvJ3MgY3V0ZSBjb25maWcK OzsgZm9yIGxpZ2h0d2VpZ2h0IHhmY2U0IGRlc2t0b3AKCih1c2UtbW9kdWxlcyAoZ251KSAo Z251IHN5c3RlbSBuc3MpCgkgICAgIChnbnUgc3lzdGVtIGxvY2FsZSkgOztmb3IgbG9jYWxl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