From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6F+pBK99cWV1cgEAG6o9tA:P1 (envelope-from ) for ; Thu, 07 Dec 2023 09:09:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6F+pBK99cWV1cgEAG6o9tA (envelope-from ) for ; Thu, 07 Dec 2023 09:09:19 +0100 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 7251F5F044 for ; Thu, 7 Dec 2023 09:09:18 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=hdqO4Pf9; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701936559; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=PruP2AqSf7HW8qSBKpNA5gHHAwo7/xsW65Xo1brYGI8=; b=WwhP4ZRRWNhL6HKnq86NIvb1RoTYWzz5thC33AVWU5mA3YA8XFoYxUdkER15AMlghgsdpp P8TrTO9MliP85G26OduXOgscmpymZhNuq35OBT5VcPcoJpH/wxItu7+GGIuZOM5FYM538j pMlX6J7IvQSP39MGsPcrkvGXZey6AExVrCL1W1dy06s3uYZpLVU+u/N2l7w6hPiIyJ8tzd Nvb0MvTJxrvdvhqQlKmwtBLvH6Fj5PH7nvHQvYCBsFTHFP+rx3lN9n5ck3id8QWSyB7MtA Mh1dpYAsitpiVGjwe2lJ/eVobnncgNTVV2F6Yif0fzI9YAqwFJ+MbhWQG+lXQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=hdqO4Pf9; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701936559; a=rsa-sha256; cv=none; b=q6/VvgDLvQHmT7CAFomUM4B6CZfmhUVfTYG1EAOZZnN1xTnsEHJj5Hb4vbEGRil/R8Pogu s/UHq6ZThGGJ0zhd4SKGQZO2qIOD8IoGrEt087FTlF1P8EkxLFqZS+1GFfHBJ/nPzokn4m pkDSPzbaP64YdbpX0gzq9mk088y0LMeVqQRHMsjgLJARd3/i4TPeeahg6x8V2XJ4M30k4S C52kQCMB0LGs6qYVse+V5L7UGALShmxbdFFxC5vBcIt6dKMtJK0nWR+5DFELLkikK2wCbZ R1MaJROt9XLKYeegOYs3rZOIU8UbNAB+Tck3WwI6Q4JFfZqnx7M+H3mPd7uN6g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rB9R7-0003be-32; Thu, 07 Dec 2023 03:08:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rB9R5-0003b4-6s for help-guix@gnu.org; Thu, 07 Dec 2023 03:08:43 -0500 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rB9R3-0007vW-09 for help-guix@gnu.org; Thu, 07 Dec 2023 03:08:42 -0500 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-50c0f6b1015so388318e87.3 for ; Thu, 07 Dec 2023 00:08:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701936519; x=1702541319; darn=gnu.org; h=mime-version:message-id:content-transfer-encoding:in-reply-to:date :subject:cc:to:user-agent:from:from:to:cc:subject:date:message-id :reply-to; bh=PruP2AqSf7HW8qSBKpNA5gHHAwo7/xsW65Xo1brYGI8=; b=hdqO4Pf9xJF9eAvOEztqsmEXBRv5c/YaBPmmeztjesvW+5uv1jhEsIYzKirmqRv4s/ RhgPq8wzQt6Gur195DXTkVqD/HDiKGpa6GvEg6/DGn2p+Pli7iiAdXUyAT/0/JL5tCSg Ls0LF+K7STV0dKdOsK40va3ywFWarGynNnhsIeYyUZkKmVtfjqrFBCH0iYRvv3HTM8WV KpkEsfD9PeqGa1XS77RxCCG/jDwWYxNvAsfw3grbceJ3ihPP7caQwUJDdtQvrJnIbDFe HKOu/cwmS4Z6fRucKMo15UWDpcyCMCfZRdy9t9K2zEauh+gqK6gR4b6sqPlYuV2pouw7 JXDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701936519; x=1702541319; h=mime-version:message-id:content-transfer-encoding:in-reply-to:date :subject:cc:to:user-agent:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=PruP2AqSf7HW8qSBKpNA5gHHAwo7/xsW65Xo1brYGI8=; b=GD7rGbsxeKyPgUjxtBc98jbLdz0t49adhZIniu6b4KpccZi6b63QD8DZM6ogVmoylq HUBk+n/7b8q4pHkCRdn78pw4rli/b9h0EABl/hFi8penTlc5h+0uUrBKkIdjD4uCQ7Bc zJ27pn5lnaVxGWvpHPlHmTGzSFoRmnyA/8pDLs5qmkkKea/pSIMhMRzNf6ZwxBB5sAZf z7xjtSJEe4oZd+ArLrgixbxfBPbbLM/E85zjypCGOhv079fglLIq6e7CogOg+m5zZa/t 5HSagJqwWXZQN/7vw7rGPIGjFZSzDik5qOoJZlks9vUnPLqmFUXa1P3nVY3tA4JxGBAV EJug== X-Gm-Message-State: AOJu0YwyYpWCRBeEYo6615rgBbgKu95k4InQsFxYs72WlqV14+5ER7So aQRnJOTCacxgPjA/smHjksbodHAIemfKAg== X-Google-Smtp-Source: AGHT+IHeWaluEA2zQCOw8MuWONTJ1AK5xXFiTs0syvp3BtO169Fgacb0d7UfBwaxhN9P6iMVN9giYg== X-Received: by 2002:a05:6512:14f:b0:50b:feb3:badd with SMTP id m15-20020a056512014f00b0050bfeb3baddmr1132232lfo.60.1701936518359; Thu, 07 Dec 2023 00:08:38 -0800 (PST) Received: from localhost (78.79-160-60.customer.lyse.net. [79.160.60.78]) by smtp.gmail.com with ESMTPSA id h23-20020ac25977000000b0050c0c46e1desm105272lfp.33.2023.12.07.00.08.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 00:08:37 -0800 (PST) From: rustand.lars@gmail.com X-Google-Original-From: lars@yoga User-agent: mu4e 1.10.8; emacs 30.0.50 To: help-guix@gnu.org Cc: Felix Lechner , Oleg Pykhalov , Wojtek Kosior Subject: Re: Setting up multiple NICs Date: Thu, 07 Dec 2023 08:50:08 +0100 In-reply-to: <20231203054334.442e7d91.koszko@koszko.org> Content-Transfer-Encoding: quoted-printable Message-ID: <87lea6fn9e.fsf@yoga.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=rustand.lars@gmail.com; helo=mail-lf1-x12e.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 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, FREEMAIL_FROM=0.001, PDS_BTC_ID=0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.46 X-Spam-Score: -7.46 X-Migadu-Queue-Id: 7251F5F044 X-Migadu-Scanner: mx12.migadu.com X-TUID: F0vFba3kvgjQ Wojtek Kosior writes: >> On Linux, the static-network-service-type should create a file containing >> "set-up-network" in its name [1]. Will you please locate it with >>=20 >> ls -ld /gnu/store/*set-up-network* > > Btw, it might be even more convenient to do `ls -lhdct`. This will > list the items in order from newest to oldest (by real modification > time, not the fake one used by guix daemon) Sure here is the list of files: --8<---------------cut here---------------start------------->8--- -r--r--r-- 1 root root 1.3K Dec 7 08:44 /gnu/store/g64r168i3v4yiqb0cd32pc7= yqggx56wr-set-up-network -r--r--r-- 1 root root 1.9K Dec 7 08:44 /gnu/store/y0r29f5i9qzhykvx42w9ddw= ccsv9f2mc-set-up-network -r--r--r-- 1 root root 2.1K Dec 7 08:44 /gnu/store/2v6q6r2qybdz36sfdpiv9ll= 2k411wwfv-set-up-network-builder -r--r--r-- 1 root root 936 Dec 7 08:44 /gnu/store/7vn4rdsln9kr60j8fj3afad= krj9254fj-set-up-network.drv -r--r--r-- 1 root root 1.3K Dec 7 08:39 /gnu/store/2fal9d49xlwfisicp59kbvk= 6qgryawyh-set-up-network -r--r--r-- 1 root root 1.6K Dec 3 01:05 /gnu/store/viakdpgib14a0acsvaqb1wi= iny38x7vd-set-up-network -r--r--r-- 1 root root 1.9K Dec 3 00:49 /gnu/store/748zg4c04r716wfdzr46rrg= f1p0rh3gp-set-up-network -r--r--r-- 1 root root 2.0K Dec 3 00:08 /gnu/store/95nwcggb4si3ni714jajm8d= wvmchfrlm-set-up-network-builder -r--r--r-- 1 root root 936 Dec 3 00:08 /gnu/store/f49na8slabsx66xmwbbgmn7= siaqd7cwf-set-up-network.drv -r--r--r-- 1 root root 2.1K Dec 3 00:02 /gnu/store/3gpmwcymbyawy798x9jh5c5= 0yq9l1lpa-set-up-network -r--r--r-- 1 root root 2.2K Dec 3 00:02 /gnu/store/qrpy1m7v2nhpsrmhssv92b4= qq5042ia2-set-up-network-builder -r--r--r-- 1 root root 936 Dec 3 00:02 /gnu/store/41gww72b45kwqi5gda8r0l2= j75nl3x7b-set-up-network.drv -r--r--r-- 1 root root 1.5K Nov 29 10:04 /gnu/store/njnka38xz6wpg7yrkl9fzbh= hnz5fggmy-set-up-network -r--r--r-- 1 root root 1.6K Nov 29 09:51 /gnu/store/f6j5cca8d0spl66q80r5yvv= 4p8iiy02j-set-up-network-builder -r--r--r-- 1 root root 936 Nov 29 09:51 /gnu/store/dq0x3nlybh3vf79zm23hphx= agib839vz-set-up-network.drv -r--r--r-- 1 root root 2.1K Nov 29 09:46 /gnu/store/gdkzqpiqk9xc3z0n0cq1vvm= znm1cl3rs-set-up-network -r--r--r-- 1 root root 2.2K Nov 29 09:45 /gnu/store/8d2cy47462nc1ngn8vwpa6n= 2ydkl8zf0-set-up-network-builder -r--r--r-- 1 root root 936 Nov 29 09:45 /gnu/store/h5hiaxm9vxlvfm22d1p218l= 8jlqjg03s-set-up-network.drv -r--r--r-- 1 root root 2.8K Nov 29 09:12 /gnu/store/vyq6sbny5g0kb4d29jgj4lv= rk2wiars9-set-up-network -r--r--r-- 1 root root 2.9K Nov 29 09:11 /gnu/store/qcxq1ki3ajyjghc6hrj9jc7= cxdj3gszp-set-up-network-builder -r--r--r-- 1 root root 936 Nov 29 09:10 /gnu/store/wk6k6mn6ihip2cv043b3c9h= lhfkqgwys-set-up-network.drv -r--r--r-- 1 root root 2.5K Nov 23 19:48 /gnu/store/frmq7p9fqkifp6k4zag21zz= 7qn1jvb64-set-up-network -r--r--r-- 1 root root 2.7K Nov 23 19:48 /gnu/store/vkg6079rr3k8rdyacqyr6fh= wjx06gdfx-set-up-network-builder -r--r--r-- 1 root root 936 Nov 23 19:48 /gnu/store/967zsmd46wyvahb4gp54h23= j88nnxh7x-set-up-network.drv -r--r--r-- 1 root root 2.1K Nov 23 19:47 /gnu/store/sazxsclh6fj4475xsxck48y= rrfr5jadz-set-up-network -r--r--r-- 1 root root 2.3K Nov 23 19:46 /gnu/store/dzfiyqx3wsx70hn0jdf1bkd= mnn6bi0s5-set-up-network-builder -r--r--r-- 1 root root 936 Nov 23 19:46 /gnu/store/0pzwyvlkhx0ayk1d6vh3bag= ixi440cvj-set-up-network.drv -r--r--r-- 1 root root 1.5K Nov 23 19:44 /gnu/store/amppm2x57hv3b295qamj9mn= npny2pqf8-set-up-network -r--r--r-- 1 root root 1.6K Nov 23 19:44 /gnu/store/fqcpbwwjq22imylnwl5axjn= 4hk73w9s7-set-up-network-builder -r--r--r-- 1 root root 936 Nov 23 19:44 /gnu/store/1k4h2mjdrxlaxvcg2c5wcn7= c943pd5xl-set-up-network.drv -r--r--r-- 1 root root 1.5K Nov 23 19:41 /gnu/store/5ssj3xpnyya8l087plv7kn9= iddjiyi5l-set-up-network -r--r--r-- 1 root root 1.6K Nov 23 19:40 /gnu/store/1s82g30dr2mpc45awsaqpvb= 3dz6dwyih-set-up-network-builder -r--r--r-- 1 root root 936 Nov 23 19:40 /gnu/store/l8lw2cfp4caylrwl1ynmmrn= 2xp3w64s0-set-up-network.drv -r--r--r-- 1 root root 1.6K Nov 23 19:39 /gnu/store/9rppan8sc1mkmlhwjfpq9b9= mv25gia41-set-up-network -r--r--r-- 1 root root 1.7K Nov 23 19:39 /gnu/store/cs4mlsncckmnbi2p73s6ih7= n1d3rwfxp-set-up-network-builder -r--r--r-- 1 root root 936 Nov 23 19:39 /gnu/store/l92yy1xacsj01p768smxq2w= fwvlgpm19-set-up-network.drv -r--r--r-- 1 root root 1.6K Nov 23 19:33 /gnu/store/nipniyr23x74n33sww7q212= lwd51v240-set-up-network -r--r--r-- 1 root root 1.8K Nov 23 19:33 /gnu/store/3pnsqw2yky6f5nh2jq8v1aj= kp9zp5fsx-set-up-network-builder -r--r--r-- 1 root root 936 Nov 23 19:33 /gnu/store/4cqh9fypw9qwq9imw3mngcm= vw6p4ql0k-set-up-network.drv -r--r--r-- 1 root root 1.8K Nov 23 11:08 /gnu/store/p2qv18daak55nrgjf4n4n1w= 4d7pjd5rj-set-up-network-builder -r--r--r-- 1 root root 936 Nov 23 11:07 /gnu/store/9n7nci7c448jlcfqfka2hcj= v6f105a0q-set-up-network.drv -r--r--r-- 1 root root 1.5K Nov 23 09:40 /gnu/store/ba25d8yv1qa5mvml5j2db75= 41x5f2vjf-set-up-network-builder -r--r--r-- 1 root root 936 Nov 23 09:40 /gnu/store/3lxb8p3iqgb9fvir8hqbzky= q9b0mvs20-set-up-network.drv -r--r--r-- 1 root root 2.8K Nov 23 09:34 /gnu/store/9d9my2yrizxc79l84vvplrn= ajcdnqcg2-set-up-network -r--r--r-- 1 root root 2.9K Nov 23 09:28 /gnu/store/2vqr58kayx910xz3rsvlc7l= j3rz0l0i5-set-up-network-builder -r--r--r-- 1 root root 936 Nov 23 09:28 /gnu/store/6jkanggpg3r1s2j268hp2vb= 6fpdvjvba-set-up-network.drv -r--r--r-- 1 root root 2.7K Nov 23 09:21 /gnu/store/3pkaka6wq19swgi2yxrb0lr= i8nlqwxi5-set-up-network -r--r--r-- 1 root root 918 Nov 23 00:00 /gnu/store/fk6slzbvqwfvg7ici782sic= 0yp05b4nf-set-up-network -r--r--r-- 1 root root 2.1K Nov 23 00:00 /gnu/store/pckmy79lban5fh6nin51say= s81jlhj9w-set-up-network -r--r--r-- 1 root root 2.3K Nov 22 23:58 /gnu/store/mqvv4amw0lj7za3bg9n8vcz= 0r5j7ky5s-set-up-network-builder -r--r--r-- 1 root root 1.1K Nov 22 23:58 /gnu/store/f1ahmarg3nzhq3dk7848vn8= pzw1znccp-set-up-network-builder -r--r--r-- 1 root root 930 Nov 22 23:43 /gnu/store/j1lpfpz1ksbxyg8ykwyjgxg= 855n66raj-set-up-network.drv -r--r--r-- 1 root root 930 Nov 22 23:43 /gnu/store/y5bi5a1pwd2qkw0aznfc87g= 7f13zm819-set-up-network.drv -r--r--r-- 1 root root 936 Nov 22 22:02 /gnu/store/i16kkanalxhddszqyy931ln= kz7r1wh27-set-up-network.drv -r--r--r-- 1 root root 936 Nov 22 22:02 /gnu/store/jpxr76hv6w6if52j9l7vgfi= 0y80rr3s0-set-up-network.drv -r--r--r-- 1 root root 1.4K Nov 22 21:16 /gnu/store/qm7kk3msk6rd12q2ssviqay= 1jmvrc81w-set-up-network-builder -r--r--r-- 1 root root 2.9K Nov 22 21:16 /gnu/store/y6rmw1wdi8xj6yll6hkfdfl= gakd9a1rm-set-up-network-builder -r--r--r-- 1 root root 936 Nov 22 21:01 /gnu/store/ggcg18gpac9zd4l183617jb= 188y4gasy-set-up-network.drv -r--r--r-- 1 root root 936 Nov 22 21:01 /gnu/store/17gqgb342ynid20h0p0zmiw= nrp6kxlbm-set-up-network.drv -r--r--r-- 1 root root 884 Nov 21 21:56 /gnu/store/4j8vdqrxsbfjxqcl62kn4xl= 4fdp9ysc1-set-up-network --8<---------------cut here---------------end--------------->8--- And this is the contents of the newest one: --8<---------------cut here---------------start------------->8--- (eval-when (expand load eval) (let ((extensions (quote ("/gnu/store/1wg092w= qd4041n7k11g17machlmpb5w0-guile-netlink-1.2.1"))) (prepend (lambda (items l= st) (let loop ((items items) (lst lst)) (if (null? items) lst (loop (cdr it= ems) (cons (car items) (delete (car items) lst)))))))) (set! %load-path (pr= epend (cons "/gnu/store/9970qxhisnrr8cq4rq25zrc4698b037b-module-import" (ma= p (lambda (extension) (string-append extension "/share/guile/site/" (effect= ive-version))) extensions)) %load-path)) (set! %load-compiled-path (prepend= (cons "/gnu/store/pp2cqdcpaxvw3fka3d6d16c0q9yz37d5-module-import-compiled"= (map (lambda (extension) (string-append extension "/lib/guile/" (effective= -version) "/site-ccache")) extensions)) %load-compiled-path))))(begin (use-= modules (ip addr) (ip link) (ip route) (srfi srfi-1) (ice-9 format) (ice-9 = match)) (define (match-link-by field-accessor value) (fold (lambda (link re= sult) (if (equal? (field-accessor link) value) link result)) #f (get-links)= )) (define (alist->keyword+value alist) (fold (match-lambda* (((k . v) r) (= cons* (symbol->keyword k) v r))) (quote ()) alist)) #f (begin (wait-for-lin= k "lo" #:blocking? #f) (addr-add "lo" "127.0.0.1/8" #:ipv6? #f) (link-set "= lo" #:multicast-on #t #:up #t)) --8<---------------cut here---------------end--------------->8---