From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7384E1382C5 for ; Fri, 18 Dec 2020 17:11:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37D32E09BE; Fri, 18 Dec 2020 17:11:30 +0000 (UTC) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C3DD5E098E for ; Fri, 18 Dec 2020 17:11:29 +0000 (UTC) Received: by mail-lf1-x12e.google.com with SMTP id o17so7265556lfg.4 for ; Fri, 18 Dec 2020 09:11:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=7fydFM3Lg8kMHZnwUGDoghlSjgDzCn/7+ajPrbnCRss=; b=QcfeC6Czs8DKMlLhzT0V1S5N6IZTUvIlY3QSmy0CvwW++B8ZT3JIm652jXAF893SRB 0Y/0D4DE617sQiP822dgWmo1ULyyFq6byoEUxZjl5uhNYusdtL8X9BDBIT7Ckn9eCBLG czhwtnaZIYCjNM1fOLEdXpwHI6NZs/4C3GBiZZ9YCn0dSft+RrNzKnUxHlov4r/6nnVi yvh6frLkUI/zUHEV3cmYjp7mUGhNCAOLrb07pcGhNl+EZgZ16tdHWcfnFbd/oWSuQqQb sDjwAxTj/OfXsff29TLmg0yj/MPZOOh6tqcTyXKj6SVHiVC0PkP6ENfIuyLkIsI6sF/D I1Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=7fydFM3Lg8kMHZnwUGDoghlSjgDzCn/7+ajPrbnCRss=; b=jjqdkTaQj2XSaaKMnbEhH9P945y1ZQxs6Gq0+f0RC5U5Z7kDGr7WFaEN5NOser74L8 bOngUeAIjKiDftdyDJ2ZlAPv2YZO3EPTpbySxm9/a8Wubh4sxgvc69Y8Jt631x6NMlBL hqSSEi2PPPq7ThgtSBRqLPoNg1m1JFn6KNEHWrah/JsJFmc9WxiCemnuYTkBHe63a8fM uuRbpGqf8T1oXYSfhGMnpSmBHV2grYF+YUPBR+gkgKrmpb2m5SJ+m9julkebI7Rv8JI1 BL/JY2W7mF3QTewXQE0wioQJ5UFtDy9TN0r7sLN1BpXqPh2uAr/kgyerv1hyEASWCdhw DZ1w== X-Gm-Message-State: AOAM530QKL91pSACvp/Zudwit4plWWxG/WZq0JExZZ/2xBa3o/LnFSvE BjHuAL3Qs+tidpLx1iYhd5Nv+Cp0TbSt3LPpvSxqUZKfMpI= X-Google-Smtp-Source: ABdhPJw/4F7X5/2RfSS7pGf9RJIikq2zno8fHFUIZCSeiWCfR1e6DoqIffdTUe7U8E47zFTld+68nR3I0pHXpq7pCH4= X-Received: by 2002:a19:6547:: with SMTP id c7mr1795052lfj.14.1608311487717; Fri, 18 Dec 2020 09:11:27 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <4eebf7c6-4162-66ff-d02c-c4a92d66b6c8@88.com> In-Reply-To: <4eebf7c6-4162-66ff-d02c-c4a92d66b6c8@88.com> From: gevisz Date: Fri, 18 Dec 2020 21:06:35 +0200 Message-ID: Subject: Re: [gentoo-user] Mystically disabled Ethernet connection To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 74bf0cfc-d39f-446c-bcf0-8a3d16d218e2 X-Archives-Hash: 1e4bef3d0b9c68d80a029c9b1eaafa21 =D0=BF=D1=82, 18 =D0=B4=D0=B5=D0=BA. 2020 =D0=B3. =D0=B2 18:26, bobwxc : > > =E5=9C=A8 2020/12/19 =E4=B8=8A=E5=8D=881:29, gevisz =E5=86=99=E9=81=93: > > I am currently installing a new Gentoo system > > on a computer that is run by a Gentoo system > > that has not been updated since January 2019. > > > > Initially, I did so by chrooting to a newly formatted > > disk partition. My intention was to build everything > > in the chrooted environment and only then start > > to work in the new Gentoo system. > > > > However, when after installing Grub I rebooted into > > the new Gentoo system to find out if it works and > > rebooted again into the old Gentoo system to continue > > compilation in the chroot environment, I found out > > that my computer does not have a working ethernet > > connection to my home router. The "ip addr" command > > showed that my ethernet interface is down. > > > > I tried "ip link set up" and "ifconfig up" > > commands, where substitutes the correct, > > "predictable," name of my ethernet interface but it > > had not helped. > > > > Initially, I thought that something was wrong with my > > hardware, but when I rebooted into my new Gentoo > > system, the ethernet interface started to work again. > > Then, I rebooted back to the old system, and > > the ethernet interface stopped working again. > > > > It is very strange because I am sure that I have not > > changed anything on my old Gentoo system except > > for installing a new Grub onto the system disk. > > > > So, I have tried to reinstall (the old) Grub from > > my old system, but it has not helped either. > > > > Finally, I decided that it would be easier to complete > > installation of the new Gentoo system than to find out > > what is wrong with the old Gentoo system ethernet > > connection. So, I compiled xorg-x11, awesome, gvim, > > xfce4-terminal and are currently compiling firefox. > > > > Hopefully, tomorrow I will already have my new Gentoo > > system working. > > > > However, I am still wondering why the ethernet interface > > stopped working on my old Gentoo system. > > > > As, I have already said, I am pretty sure that I have not > > changed anything in its settings. Moreover, I have looked > > through the entire /etc directory of my old Gentoo system > > for config files that were modified during the installation > > of the new Gentoo system (suspecting that instead of the > > chrooted environment I put an installation command into > > the su terminal of my old Gentoo system or mistakenly > > edited a configuration file of my old Gentoo system) but > > found no config file that was modified during this period of time. > > > > So, I am not in a desperate need for help, but just interested > > to find out the reason for such a strange behaviour of the > > ethernet interface. > > > > P.S. I have read in the Gentoo Network management wiki > > that the connman, netifrc, dhcpcd, networkmanager, and > > openrc should not be run at the same time because it could > > lead to "unpredictable results" and checked if it is not > > the case on my old Gentoo system. No, on my old Gentoo > > system installed is only the openrc with the netifrc use flag > > and netifrc (which, as I guess, leads to only netifrc being used). > > But, anyway, it has been worked so for years and only > > now suddenly stopped. > > That is interesting. Something must been changed here. > Do you use some partitions for both gentoo systems? > Not the root, just like boot ESP partition or home. Yes, I mount the same home partition (actually the separate disk) on both. And it still has some configuration files from a pre-Gentoo era :) as it has been used for Ubuntu 10 years ago. A separate partition with rarely used virtual machines is also mounted into a user directory. Also a common swap. ESP partition also exists but I never mounted it on old Gentoo and recently disabled it from mounting into a new one as well (after realized that it is not needed at al= l :).