Gentoo Archives: gentoo-user

From: bobwxc <bobwxc@××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Mystically disabled Ethernet connection
Date: Fri, 18 Dec 2020 16:26:12
Message-Id: 4eebf7c6-4162-66ff-d02c-c4a92d66b6c8@88.com
In Reply to: [gentoo-user] Mystically disabled Ethernet connection by gevisz
1 在 2020/12/19 上午1:29, gevisz 写道:
2 > I am currently installing a new Gentoo system
3 > on a computer that is run by a Gentoo system
4 > that has not been updated since January 2019.
5 >
6 > Initially, I did so by chrooting to a newly formatted
7 > disk partition. My intention was to build everything
8 > in the chrooted environment and only then start
9 > to work in the new Gentoo system.
10 >
11 > However, when after installing Grub I rebooted into
12 > the new Gentoo system to find out if it works and
13 > rebooted again into the old Gentoo system to continue
14 > compilation in the chroot environment, I found out
15 > that my computer does not have a working ethernet
16 > connection to my home router. The "ip addr" command
17 > showed that my ethernet interface is down.
18 >
19 > I tried "ip link set <eth0> up" and "ifconfig <eth0> up"
20 > commands, where <eth0> substitutes the correct,
21 > "predictable," name of my ethernet interface but it
22 > had not helped.
23 >
24 > Initially, I thought that something was wrong with my
25 > hardware, but when I rebooted into my new Gentoo
26 > system, the ethernet interface started to work again.
27 > Then, I rebooted back to the old system, and
28 > the ethernet interface stopped working again.
29 >
30 > It is very strange because I am sure that I have not
31 > changed anything on my old Gentoo system except
32 > for installing a new Grub onto the system disk.
33 >
34 > So, I have tried to reinstall (the old) Grub from
35 > my old system, but it has not helped either.
36 >
37 > Finally, I decided that it would be easier to complete
38 > installation of the new Gentoo system than to find out
39 > what is wrong with the old Gentoo system ethernet
40 > connection. So, I compiled xorg-x11, awesome, gvim,
41 > xfce4-terminal and are currently compiling firefox.
42 >
43 > Hopefully, tomorrow I will already have my new Gentoo
44 > system working.
45 >
46 > However, I am still wondering why the ethernet interface
47 > stopped working on my old Gentoo system.
48 >
49 > As, I have already said, I am pretty sure that I have not
50 > changed anything in its settings. Moreover, I have looked
51 > through the entire /etc directory of my old Gentoo system
52 > for config files that were modified during the installation
53 > of the new Gentoo system (suspecting that instead of the
54 > chrooted environment I put an installation command into
55 > the su terminal of my old Gentoo system or mistakenly
56 > edited a configuration file of my old Gentoo system) but
57 > found no config file that was modified during this period of time.
58 >
59 > So, I am not in a desperate need for help, but just interested
60 > to find out the reason for such a strange behaviour of the
61 > ethernet interface.
62 >
63 > P.S. I have read in the Gentoo Network management wiki
64 > that the connman, netifrc, dhcpcd, networkmanager, and
65 > openrc should not be run at the same time because it could
66 > lead to "unpredictable results" and checked if it is not
67 > the case on my old Gentoo system. No, on my old Gentoo
68 > system installed is only the openrc with the netifrc use flag
69 > and netifrc (which, as I guess, leads to only netifrc being used).
70 > But, anyway, it has been worked so for years and only
71 > now suddenly stopped.
72 That is interesting. Something must been changed here.
73 Do you use some partitions for both gentoo systems?
74 Not the root, just like boot ESP partition or home.
75
76 --
77 bobwxc

Attachments

File name MIME type
OpenPGP_signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Mystically disabled Ethernet connection gevisz <gevisz@×××××.com>