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.
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.
Have you installed a network manager?
Try starting/enabling systemd-resolved
There is no ‘real way’, BTW
“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