You are not logged in.

#1 2022-06-23 17:12:22

yusuf
Member
Registered: 2022-01-15
Posts: 110

Ethernet not working on newly installed system but works in Live boot

My ethernet worked in the Live boot of Arch but when I followed the guide and chrooted, I pinged and had no internet connection but when I pinged outside of the chroot it worked. What package do I need to install? `ip link` produces the same result on both, so that is not the problem, it seems more like a driver issue, how do I fix this?
Edit: I have an ASUS TUF A520M Plus Motherboard.

Last edited by yusuf (2022-06-23 17:17:48)

Offline

#2 2022-06-24 12:39:05

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: Ethernet not working on newly installed system but works in Live boot

Online

#3 2022-06-24 12:48:08

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: Ethernet not working on newly installed system but works in Live boot

Sounds like you used chroot instead of arch-chroot?

Offline

#4 2022-06-24 12:50:54

yusuf
Member
Registered: 2022-01-15
Posts: 110

Re: Ethernet not working on newly installed system but works in Live boot

I

Scimmia wrote:

Sounds like you used chroot instead of arch-chroot?

I used arch-chroot

Offline

#5 2022-06-24 13:07:11

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: Ethernet not working on newly installed system but works in Live boot

Then what are you seeing, exactly?

Offline

#6 2022-06-24 13:24:53

seth
Member
Registered: 2012-09-03
Posts: 49,991

Re: Ethernet not working on newly installed system but works in Live boot

The installed system will likely have an empt resolv.conf, so you'll have DNS issues and "ping 8.8.8.8" works but "ping google.com"will fail.
Nothing between https://wiki.archlinux.org/title/Instal … ide#Chroot and https://wiki.archlinux.org/title/Instal … ide#Reboot should™ require a network connection, so that's not a problem per se.

Online

#7 2022-06-24 13:26:29

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: Ethernet not working on newly installed system but works in Live boot

arch-chroot bind mounts the resolv.conf from the live system, though.

Offline

#8 2022-06-24 13:28:28

yusuf
Member
Registered: 2022-01-15
Posts: 110

Re: Ethernet not working on newly installed system but works in Live boot

Scimmia wrote:

Then what are you seeing, exactly?

Here are 2 images:
https://imgur.com/a/a9Vkqwp
https://imgur.com/a/skGid70

Offline

#9 2022-06-24 13:35:24

seth
Member
Registered: 2012-09-03
Posts: 49,991

Re: Ethernet not working on newly installed system but works in Live boot

It even says that in the manpage - how embarrassing…

However, the photos reveal a likely DNS issue - can you still ping the IP from the chroot and what are the contents of /etc/resolv.conf?

Online

#10 2022-06-24 13:54:11

yusuf
Member
Registered: 2022-01-15
Posts: 110

Re: Ethernet not working on newly installed system but works in Live boot

seth wrote:

It even says that in the manpage - how embarrassing…

However, the photos reveal a likely DNS issue - can you still ping the IP from the chroot and what are the contents of /etc/resolv.conf?

Pinging 8.8.8.8 works:
https://imgur.com/a/gRvkn0a
Here is resolv.conf:
https://imgur.com/a/DewXoTQ

Offline

#11 2022-06-24 14:02:19

seth
Member
Registered: 2012-09-03
Posts: 49,991

Re: Ethernet not working on newly installed system but works in Live boot

"resolvectl status" in the chroot?

Online

#12 2022-06-24 14:26:04

yusuf
Member
Registered: 2022-01-15
Posts: 110

Re: Ethernet not working on newly installed system but works in Live boot

seth wrote:

"resolvectl status" in the chroot?

Here is it:
https://imgur.com/a/4QIDZ2o

Offline

#13 2022-06-24 14:34:01

seth
Member
Registered: 2012-09-03
Posts: 49,991

Re: Ethernet not working on newly installed system but works in Live boot

Can you ping any/all of

ping fe80::1::22039
ping fe80::1::32508
ping 169.168.18.1

Online

#14 2022-06-24 14:48:35

yusuf
Member
Registered: 2022-01-15
Posts: 110

Re: Ethernet not working on newly installed system but works in Live boot

seth wrote:

Can you ping any/all of

ping fe80::1::22039
ping fe80::1::32508
ping 169.168.18.1

Here are the results of them:
https://imgur.com/a/jbyf4ML
The first two didn't work but the final one was able to send a ping but receive nothing back.

Offline

#15 2022-06-24 15:04:18

seth
Member
Registered: 2012-09-03
Posts: 49,991

Re: Ethernet not working on newly installed system but works in Live boot

What exactly do "ip a"/"ip r" look like in the live system and the chroot and what's "resolvectl status" in the live system?

Also, does the network actually work if you boot the installed system?

Online

#16 2022-06-24 15:24:10

yusuf
Member
Registered: 2022-01-15
Posts: 110

Re: Ethernet not working on newly installed system but works in Live boot

seth wrote:

What exactly do "ip a"/"ip r" look like in the live system and the chroot and what's "resolvectl status" in the live system?

Also, does the network actually work if you boot the installed system?

Here is ip a and ip r (Top is live, and bottom is chroot):
https://imgur.com/a/8JROZMa
Here is resolvectl status in live:
https://imgur.com/a/SNTgdvz

Offline

#17 2022-06-24 15:32:12

seth
Member
Registered: 2012-09-03
Posts: 49,991

Re: Ethernet not working on newly installed system but works in Live boot

It's actually a valid IPv6 there (and likely the chroot, I probably just misinterpreted the blurry previous image)

ping fe80::1%22039
ping fe80::1%32508

The first link doesn't show an image.

Online

#18 2022-06-24 15:47:35

yusuf
Member
Registered: 2022-01-15
Posts: 110

Re: Ethernet not working on newly installed system but works in Live boot

seth wrote:

It's actually a valid IPv6 there (and likely the chroot, I probably just misinterpreted the blurry previous image)

ping fe80::1%22039
ping fe80::1%32508

The first link doesn't show an image.

Here is the link that was not working
https://imgur.com/a/16NBI7y
Here are the pings:
https://imgur.com/a/ZxxV6R2

Offline

#19 2022-06-24 20:13:31

seth
Member
Registered: 2012-09-03
Posts: 49,991

Re: Ethernet not working on newly installed system but works in Live boot

There's no change at all but the gateway/dns server doesn't respond after the chroot - for whatever reason.

seth wrote:

does the network actually work if you boot the installed system?

Online

#20 2022-06-25 03:27:50

yusuf
Member
Registered: 2022-01-15
Posts: 110

Re: Ethernet not working on newly installed system but works in Live boot

seth wrote:

There's no change at all but the gateway/dns server doesn't respond after the chroot - for whatever reason.

seth wrote:

does the network actually work if you boot the installed system?

I have never messed with GRUB before, I used the Ubuntu GRUB. How do I set it up?

Offline

#21 2022-06-25 06:13:28

seth
Member
Registered: 2012-09-03
Posts: 49,991

Re: Ethernet not working on newly installed system but works in Live boot

What?
What does any of this have to do with "messing with grub"?

Also, more importantly, what tutorial do you currently follow to install archlinux?

https://wiki.archlinux.org/title/Instal … oot_loader
https://wiki.archlinux.org/title/Arch_b … oot_loader
https://wiki.archlinux.org/title/GRUB


Edit: did you previously arch-chroot into the ubuntu system??

Last edited by seth (2022-06-25 06:14:40)

Online

#22 2022-06-25 07:33:48

yusuf
Member
Registered: 2022-01-15
Posts: 110

Re: Ethernet not working on newly installed system but works in Live boot

seth wrote:

What?
What does any of this have to do with "messing with grub"?

Also, more importantly, what tutorial do you currently follow to install archlinux?

https://wiki.archlinux.org/title/Instal … oot_loader
https://wiki.archlinux.org/title/Arch_b … oot_loader
https://wiki.archlinux.org/title/GRUB


Edit: did you previously arch-chroot into the ubuntu system??

I used the Ubuntu one on my previous system on this there is none. I went through the links you sent me and they were a bit confusing, then I searched on YouTube (The browser did those spellings of YouTube) and got redirected to an article which worked but, when I boot into GRUB, there is no option to boot into Arch, only the BIOS. How do I fix this?
Here is the article:
https://www.arcolinuxd.com/5-the-actual … se-1-uefi/
The, section, I am talking about appears at the end, so just Ctrl+F and type `grub` to find it.

Offline

#23 2022-06-25 07:53:27

seth
Member
Registered: 2012-09-03
Posts: 49,991

Re: Ethernet not working on newly installed system but works in Live boot

arcolinux isn't archlinux, are you installing arcolinux?
It also seems to just explain installing Grub on an efi boot, is that your environment to begin with?

Though grub will rather not present you with a "BIOS" option, so what you're seing is most likely the UEFI - you need to boot the install iso in UEFI mode and also make sure to have configured an EFI partition,
https://wiki.archlinux.org/title/EFI_sy … _partition

But we're veering vastly off topic here, the thread started about "ethernet doesn't work on chroot" and now we're at "how to install archlinux"…

Online

#24 2022-06-25 07:59:09

yusuf
Member
Registered: 2022-01-15
Posts: 110

Re: Ethernet not working on newly installed system but works in Live boot

seth wrote:

arcolinux isn't archlinux, are you installing arcolinux?
It also seems to just explain installing Grub on an efi boot, is that your environment to begin with?

Though grub will rather not present you with a "BIOS" option, so what you're seing is most likely the UEFI - you need to boot the install iso in UEFI mode and also make sure to have configured an EFI partition,
https://wiki.archlinux.org/title/EFI_sy … _partition

But we're veering vastly off topic here, the thread started about "ethernet doesn't work on chroot" and now we're at "how to install archlinux"…

I used the official arch guide until the grub step. I have configured the EFI partition and I said BIOS instead of UEFI, because I thought they were interchangeable.

Offline

#25 2022-06-25 08:15:26

seth
Member
Registered: 2012-09-03
Posts: 49,991

Re: Ethernet not working on newly installed system but works in Live boot

Grub will also not present you w/ a UEFI option. You're seeing the UEFI boot options, grub is probably not even installed.

Post the output of

lsblk -f

and the exact commands you issued to installed grub.

Online

Board footer

Powered by FluxBB