You are not logged in.

#1 2023-07-01 16:08:54

Gergő111
Member
Registered: 2023-07-01
Posts: 3

[SOLVED]resolv.conf reset byNetworkManager,despite not being installed

I am unable to resolve domain names while chrooted into my new installation (havent installed the bootloader yet), and I've found that my resolv.conf is empty,
only containing:

# Generated by NetworkManager

I do not have networkmanager installed, but every time I try to change it, it is reverted to this state.

Last edited by Gergő111 (2023-07-02 13:24:21)

Offline

#2 2023-07-02 10:48:48

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,969

Re: [SOLVED]resolv.conf reset byNetworkManager,despite not being installed

Is network functional before starting the chroot ?

If yes, what are the exact commands you use to change root ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2023-07-02 11:08:29

Gergő111
Member
Registered: 2023-07-01
Posts: 3

Re: [SOLVED]resolv.conf reset byNetworkManager,despite not being installed

I can use the network properly outside of the chroot.
I change root with:

# arch-chroot /mnt/newroot

Offline

#4 2023-07-02 11:20:46

3beb6e7c46a615a
Member
Registered: 2021-03-27
Posts: 165

Re: [SOLVED]resolv.conf reset byNetworkManager,despite not being installed

"arch-chroot" normally bind-mounts the host (live-disk) "resolv.conf" into the chroot environment to provide it with name resolution.  Does "resolv.conf" appear in the out of "mount"?

Offline

#5 2023-07-02 13:22:21

Gergő111
Member
Registered: 2023-07-01
Posts: 3

Re: [SOLVED]resolv.conf reset byNetworkManager,despite not being installed

I set neworkmanager on the host to use a DNSserver, now it works!

Offline

Board footer

Powered by FluxBB