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

Arch Linux

7581 readers
1 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

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
[–] schnick@lemmy.dbzer0.com 9 points 1 month ago

Have you installed a network manager?

[–] quantumcog@sh.itjust.works 8 points 1 month ago* (last edited 1 month 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.

[–] potkulautapaprika@sopuli.xyz 5 points 1 month ago* (last edited 1 month 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 
[–] wuphysics87@lemmy.ml 3 points 1 month ago (1 children)

There is no 'real way', BTW

[–] caseyweederman@lemmy.ca 1 points 1 month ago

Butterflies

[–] Engywuck@lemm.ee -1 points 1 month ago

Try starting/enabling systemd-resolved