From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EPVfIrJUb2ApCAAAgWs5BA (envelope-from ) for ; Thu, 08 Apr 2021 21:08:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8Ak1HLJUb2DyDwAA1q6Kng (envelope-from ) for ; Thu, 08 Apr 2021 19:08:34 +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 D90B5125A9 for ; Thu, 8 Apr 2021 21:08:33 +0200 (CEST) Received: from localhost ([::1]:56888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUa11-00005u-W9 for larch@yhetil.org; Thu, 08 Apr 2021 15:08:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUa0d-0008WR-Kb for help-guix@gnu.org; Thu, 08 Apr 2021 15:08:07 -0400 Received: from knopi.disroot.org ([178.21.23.139]:60174) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUa0b-0004Gc-GZ for help-guix@gnu.org; Thu, 08 Apr 2021 15:08:07 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 37F4A50D86; Thu, 8 Apr 2021 21:08:02 +0200 (CEST) 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 UTF8SMTP id NcWGH78gk5vU; Thu, 8 Apr 2021 21:08:01 +0200 (CEST) References: <87ft09fowi.fsf@disroot.org> <87eefsg7fk.fsf@disroot.org> <87blaw1xhf.fsf@disroot.org> <87czv7f5v6.fsf@disroot.org> <87o8eqxix7.fsf@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1617908869; bh=6iqr4mFH4YeinMV/YM85WetjZ62VkExAjkM0+Ho90Vg=; h=References:From:To:Cc:Subject:In-reply-to:Date; b=Q9tXq/SCkN/c/VWWo8y78Ae06rwzYFWVIEFHRYFGDYwbeFmlQIepFhbD01WWscFnk HSt0cCqON3xMxdoOH2mtn/B4SpvIHtWCYPhceMGeidGiQnIJf0QJaLGYyHvCLRw//P iONGLjMBHlp+leTv87PoSZhW2MSHjaiESz2MKvUNKJAcCRDYvG/RSrerVYzZxVyFJ/ FtL8uT8ffyAGx1XYodVYLVqZ3vyVdTQ4UTbNmfBfotmi+le0EvWL8kUBumikOY1Rwg /iIjnW6ClLQ+gSuGfbtLGcknef//7ZxAZtMMEiJHMwesa1/3V6SFyQRGUjK6L35Kfr AFEiAa0uI5J5g== From: Bone Baboon To: Gary Johnson Cc: help-guix@gnu.org Subject: Re: Edits to `etc/resolv.conf` being overwritten In-reply-to: <87o8eqxix7.fsf@disroot.org> Date: Thu, 08 Apr 2021 15:07:48 -0400 Message-ID: <878s5sfvcr.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=bone.baboon@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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617908914; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5L43nHnPi+y/xFO4yA3GbSAuWdXBUjkhRuF5eWvFst4=; b=o3s4GeGWPwMPxxQEKRacdwfnxqmWLrxp7GLhTterHOk48/1roPD6JMBf/49jHNoyOsK2fg NLl2q1cRshoyKiSYvRP2qxV40e5nbYGWpaV7BKYYVlk8qpnn2md5eht1hGrVG9/d5djyuW qC3HFnbzA0mLtIHcKSBdRqVU3+bmGYUY7y/M5D+WI7qiAOEK+IWU4UAJ4I7oQDurZ4Ya1z Lbu7wPDn4e7ytWwmiZhi36n8iBZTyIDBeLObOxBYhbDrSgovX7mbfNPyLv7pV49PfFgpx5 gG7A0+V7yI/z+y7Sn9F+LzMNxA8Mn5VrZTm8sVr9FIy3UxHm+cqO+80E7Kb7dw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617908914; a=rsa-sha256; cv=none; b=F6nIat1hsFv1PNtAlYa/CqRkWNJ/2fWnH8jqYGRipR17XtiNSP1w7jQ0yWO3BG8inRXQgd wn3OaRcTqIdrB7DXVMvs95S2iZMsAVg3DNYXMVrOoGPedSk6kpfoFoqdLoke7fc9Vqpb7f eoSZXVes5dLvzuSgQspn5yc1eSUSkMqZ4McWjB9DIsEJFTWy4bRoAxD/aOnVUG0xeXVkJX sgy58jpac/T6EgUolqISznxOHxTT79+MNBEOscDfN4X7lNiFBcDY74l/4fzXddYT+VZ+L5 gxbplecGiP285BATvqwJVf+cLLelIr0V0FO19TBKisgRzg0lQwb2HkpsEERpyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b="Q9tXq/SC"; 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-Spam-Score: -2.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b="Q9tXq/SC"; 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: D90B5125A9 X-Spam-Score: -2.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5eS38hIDgGhR Gary Johnson writes: > That's unfortunate to hear. Perhaps you could check out the > network-manager-service-type? I believe it includes a parameter that > lets you tell NetworkManager not to overwrite /etc/resolv.conf. The > command-line interface for NetworkManager is called nmtui. This is what > I use on my machine. I do not have NetworkManager installed and am not using `network-manager-service-type`. There is no NetworkManager service listed when I run `sudo herd status`. The commands I am using to connect to the internet are: ``` sudo ip link set up sudo wpa_supplicant -Dnl80211 -i -c/path/to/wpa/config.conf -B sudo dhclient ``` It is almost like `sudo dhclient ` is taking instruction from the router (provided by my internet service provider) to overwrite `/etc/resolv.conf` to the DNS of my internet service provider. > (use-modules (ice-9 rdelim)) > > (define my-host-aliases (with-input-from-file "/path/to/your/file" > (lambda () (read-delimited "")))) Thank you for sharing this. It works for me.