You are not logged in.

#1 2024-01-27 16:16:40

nobodouille
Member
Registered: 2024-01-27
Posts: 3

issue with network in virtualbox

for a project im asked to setup arch in a virtual machine, everything went well up until now when setting up the network, in the live installation env i was connected to the internet but ever since booting into arch on my virtual hard drive i got nothing no matter what i tried, for the project im supposed to connect to the internet via bridged adapter, i set only one directly to the name pointing to my wifi connection, as it was not working i also tried with a wired connection, changing the bridged adapter to the one pointing to my ethernet connection: still nothing. Inside of the via pacman is completely unusable all mirrors fail and pinging anything returns that "temporarily it does not work" as you would expect from having no connection...
Any idea?

Offline

#2 2024-01-27 16:20:19

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: issue with network in virtualbox

What did you install and configure to set up the network in Arch?

Offline

#3 2024-01-27 16:29:08

nobodouille
Member
Registered: 2024-01-27
Posts: 3

Re: issue with network in virtualbox

all i did that was network related, was setup my host name `paulc` and setup the host related entries file like so:

127.0.0.1   localhost
::1         localhost
127.0.1.1   paulc.localdomain   paulc

I probably fucked up around here or forgot to get some more drivers when i had internet in the live installation env?

Last edited by nobodouille (2024-01-27 16:29:55)

Offline

#4 2024-01-27 16:35:43

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: issue with network in virtualbox

https://wiki.archlinux.org/title/Instal … l_packages

See the note at the top and the bullet points. You have to make the decision on how the network is managed, install the necessary software, and set it up.

Offline

#5 2024-01-27 16:48:46

nobodouille
Member
Registered: 2024-01-27
Posts: 3

Re: issue with network in virtualbox

Do i need to go back to the live install env to set that up? like just mount everything from there and install the few network related packages. Because i feel like thats the step i missed, i did use the long pacstrap command but i didnt really check mirrors you think that could be my issue?

Offline

#6 2024-01-27 17:34:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: issue with network in virtualbox

If you want to use systemd-networkd, that would already be installed. If you want something else, you'll need to either use systemd-networkd temporarily, set a static IP manually, or go back to the install ISO.

Last edited by Scimmia (2024-01-27 17:57:34)

Offline

Board footer

Powered by FluxBB