Okay so I just finished struggling through my archlinux install. I have arch Linux with hyprland now.

But I cannot figure out how to download anything.

At minimum i need a browser, and git. But I cannot figure out web downloads in kitty.

Edit: nmtui to connect to WiFi, and then a reboot solved it.

    • greyw0lvOP
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      using

      sudo pacman -S <filename>

      I get a fatal error from every mirror it attempts to download through.

      • Responsabilidade@lemmy.eco.br
        link
        fedilink
        arrow-up
        4
        ·
        8 months ago

        This can be 2 things:

        1. You’re not connected to the internet
        2. You need to properly set the mirrors

        Try run ping www.google.com and see if you have connection. If you don’t you need to connect your PC to the internet

        Otherwise, you have to set the mirrors. So go to https://archlinux.org/mirrorlist/ and select the best location to you, then in the file /etc/pacman.d/mirrorlist you paste the content you got when clicking Generate List at this site I mentioned before

        Then run sudo pacman -Syyu to update everything and then try install your apps again

        • greyw0lvOP
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          8 months ago

          Thank you!

          So far I’ve determined I’m definitely not connected to internet.

          Unfortunately i cannot seem to connect.

          I’ve tried iwctl, and also nmtui.

          I dont know if I’m describing this right but both connect without error for a bit. But the second I go to use the WiFi it disconnects.

          Edit: rebooting after connecting seems to have solved it.

          • ZWQbpkzl [none/use name]@hexbear.net
            link
            fedilink
            English
            arrow-up
            3
            ·
            8 months ago
            1. confirm you can connect via ethernet. It sounds like you can.
            2. Check available WiFi networks with nmcli device wifi
            3. Connect with nmcli device wifi connect <ssid> password <password>

            If nothing is listed in #2 then you need to install drivers for your WiFi. Check the arch wiki for how to identify which wifi card you have and what AUR package is needed. Installing an AUR package without internet will be an adventure so I recommend jacking in for that.

          • Responsabilidade@lemmy.eco.br
            link
            fedilink
            arrow-up
            1
            ·
            8 months ago

            Well, this is strange…

            You said you’re using both iwctl and nmtui, and maybe that’s the issue, cause you’re configuring 2 distinct apps to handle your connection and I think they can conflict with each other

            Choose 1 and disable the other

            For example, let’s suppose you wanna keep iwd, so enable it with

            sudo systemctl enable --now iwd.service

            And disable NetworkManager

            sudo systemctl disable NetworkManager.service

            Reboot your system

            However I suggest you to take a look at https://wiki.archlinux.org/title/Network_configuration