#Pacman Nor bash connecting to internet [solved]

32 messages · Page 1 of 1 (latest)

prime iron
#

Hi, First of all I have tried looking it up on the wiki, it didnt come up with any results for the many things i tried in the wiki, i amy also be dumb and looked at the wrong wiki pages tho:
my issue is that My bash terminal is acting very odd on my fresh install of arch. I have used arch before but i wanted to give i3wm a try so i made a vm and ran an archinstall script to get it installed asap to give it a try and im running into an error that i havent had with standard arch desktop environment.

I went into terminal and wanted to install some packages, so i hit SUPER+enter to ope terminal and ran '$sudo pacman -S firefox' and it gave me a password prompt, and it said i was wrong, and again 3 times, then i rebooted and it worked but gave me a different error, after the inital standard proceed with installation, it gives back:

error: failed retrieving file from 'firefox-120.........x86_64.pkg.tar.zst' frim archlinux.mirror....com.au : Could not resolve host: archlinux.mirror.....com.au
warning: too many errors from archlinux.mirrir....com.au, skipping for the remainder of this transaction

it did this several times, then i tried to ping google and it gave back :

ping: google.com Temporary failiure in name resolution

then i tried ping 8.8.8.8 and it gives back :

ping: connect: Network is unreachable

i genuinley do not know what is wrong, whether its my setup or the VM being buggy or what but ive been looking for like an hour for what to do and all of the tutorials and guides online say to do the same thing which dosent work, i'll have attached a screenshot of the VM with as many error messages as i can show.

thanks for taking the time

silent trail
prime iron
#

it's a wired network, how would i fix that?

silent trail
prime iron
#

windows laptop running virtual box

silent trail
#

can you run nmtui and check the Activate a connection tab

prime iron
#

thanks, ill give that a shot

#

is nmtui an external module from arch?

silent trail
#

no it's a command you have to run it through your terminal.

prime iron
#

"$nmtui" is just outputting "bash:nmtui: command not found"

silent trail
#

ohh

#

sudo systemctl status NetworkManager

prime iron
#

ty

silent trail
prime iron
silent trail
silent trail
prime iron
#

i think im just a bit out of my depth, doing i3wm with all of these errors, ill probably just go back to the default desktop env

silent trail
#

not sure how would you install on a vm, try attaching the iso again and try if you can access the vdi

silent trail
prime iron
#

right

prime iron
#

ill probably just reinstall arch and remember to put it in there this time lmao, its a fresh install with nothing else on it anyway so it's not like im losing any progress

silent trail
#

tbh, just reinstalling won't give you the skills to maintain arch.

prime iron
#

alr, ill give it my best shot with what i can get from the wiki and ill see how i go

silent trail
#

instead of setting up the whole systemd-networkd you can
-> connect the iso to the VM in a virtual CD reader and restart it, just like you did when you first installed Arch. The key difference is that you don't run the install scripts. Instead you mount the partition and chroot in to install what you missed.

👆 from the Reddit thread I mentioned.

halcyon gardenBOT
#

Looks like you're missing a DHCP client. Maybe you didn't know to set up networking?
Try creating /etc/systemd/network/20-wired.network. Make it say:```[Match]
Name=enp1s0

[Network]
DHCP=yes```but replace enp1s0 with whatever your network adapter is called (to do this, you can run ip a to find your device). Then start/enable networkd.service (sudo systemctl enable --now networkd).

CqkeMan ↩️

[Reply to:](#1176856393249210408 message) Hi, First of all I have tried looking it up on the wiki, it didnt come up with any results for the m… 📎

#

.avas

the whole systemd-networkd
It's 4 lines. And they're in the wiki. /nm

shashwat20 ↩️

[Reply to:](#1176856393249210408 message) instead of setting up the whole systemd-networkd you can
-> connect the iso to the VM in a virtua…

untold cove
#

@prime iron

halcyon gardenBOT
#

already pinged

killertofu ↩️

[Reply to:](#1176856393249210408 message) @prime iron

prime iron
#

got it fixed, thanks for the support