this post was submitted on 17 Jul 2024
19 points (88.0% liked)

Arch Linux

7739 readers
1 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
19
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
 

So I just installed arch linux , the manual and the real way but I am facing error using pacman and while ping google.com . It was working fine in USB iso . Need suggestion . Read the wiki and tried thing but no good.

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 3 months ago

Have you installed a network manager?

[–] [email protected] 8 points 3 months ago* (last edited 3 months ago)

Probably ethernet/WiFi driver missing or NameServer not set up correctly.

Try pinging 8.8.8.8, if it works then it is a nameserver problem.

[–] [email protected] 5 points 3 months ago* (last edited 3 months ago)

"Note: In the installation image, systemd-networkd, systemd-resolved, iwd and ModemManager are preconfigured and enabled by default. That will not be the case for the installed system."

https://wiki.archlinux.org/title/Installation_guide#Connect_to_the_internet

So you probably didn't set anything up. Arch-chroot in to fix, or use a cable or phone tether to fix it from the new install.

Idk how to set up it with systemd suite, but for network manager it's pretty much

# pacman -S networkmanager
# systemctl enable --now NetworkManager.service 
[–] [email protected] 3 points 3 months ago (1 children)

There is no 'real way', BTW

[–] [email protected] 1 points 3 months ago

Butterflies

[–] [email protected] -1 points 3 months ago

Try starting/enabling systemd-resolved