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 Anono14168@sh.itjust.works to c/archlinux@lemmy.ml
 

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 3 months ago

Have you installed a network manager?

[–] quantumcog@sh.itjust.works 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.

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

There is no 'real way', BTW

[–] caseyweederman@lemmy.ca 1 points 3 months ago

Butterflies

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

Try starting/enabling systemd-resolved