You are not logged in.

#1 2022-09-21 01:32:29

Raven.the.emperor
Member
Registered: 2022-09-21
Posts: 4

no connection to network

So hi,
I've installed Arch on physical machines multiple times before and never encountered these problems. My VM (powered by Open Nebula) is refusing to connect to internet/ethernet.
First I tried iwctl and first command

 iwd# device list 

which displayed zero devices. So I tried to enable and start

 networkd 

and

 resolved 

according to another arch wiki page.
Nothing.

This stuff didn't connect to the internet, no matter what:

dhcpcd
lspci -k
ip link
modprobe (ethernet module)

Any other ideas?

Offline

#2 2022-09-21 01:36:07

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: no connection to network

A VM is extremely unlikely to have a wireless device, so iwd makes no sense.

You started networkd and resoved, but did you configure them?

Did you still have them running when starting dhcpcd? What did the lspci and ip link commands show?

Offline

#3 2022-09-21 01:43:28

Raven.the.emperor
Member
Registered: 2022-09-21
Posts: 4

Re: no connection to network

ip link  showed me two devices. The virtual one and another one.
lspci list of modules. Like storage and Ethernet

Yes I did have networks and resolved running while starting dhcpcd. But what I should put in the config file?

Offline

#4 2022-09-21 02:22:11

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: no connection to network

Offline

#5 2022-09-21 04:25:52

Raven.the.emperor
Member
Registered: 2022-09-21
Posts: 4

Re: no connection to network

I did. But it’s not working the way it should

Offline

#6 2022-09-21 04:40:01

dakota
Member
Registered: 2016-05-20
Posts: 273

Re: no connection to network

Raven.the.emperor wrote:

I did. But it’s not working the way it should

???

And? What steps did you try? Which succeeded? Which failed? What did you see?

You have to give us something to work with.

Last edited by dakota (2022-09-21 04:40:28)


"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb

Offline

#7 2022-09-21 08:41:47

Raven.the.emperor
Member
Registered: 2022-09-21
Posts: 4

Re: no connection to network

Checking this stuff from the beginning of the article

 1. Your network interface is listed and enabled. Otherwise, check the device driver – see /Ethernet#Device driver or /Wireless#Device driver.
2. You are connected to the network. The cable is plugged in or you are connected to the wireless LAN.
3. Your network interface has an IP address.
4. Your routing table is correctly set up.
5. You can ping a local IP address (e.g. your default gateway).
6. You can ping a public IP address

1. yes
2. apparently no
3. yes
4. hopefully, did try setting it up
5. yup
6. need internet for that

ping doesn't work at all to any address but mine. and when I ping mine, it's 100% package loss
I also managed to get the name of the device and the interface

Offline

#8 2022-09-21 14:37:02

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: no connection to network

What, specifically, is the output of ip addr


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB