You are not logged in.

#1 2018-03-13 20:25:46

YoranJansen
Member
Registered: 2018-03-13
Posts: 3

I can not get my ethernet working.

Please note that I am new to Arch.

I am using virtualbox and know the interface is e1000, so I run dmesg | grep e1000, which outputs enp0s3.
So I type in wifi-menu enp0s3, which says: "ioctl[SIOCSIWMODE]: Operating not supported" multiple times and then says "no network found", so I tried: ip link set enp0s3 up. No errors. But when I type ping 8.8.8.8 or any other hostname or IP it says connect: Network unreachable. This is from the installed disk, not from the CD because there it just works.
So what is going on and how do I fix this?

Offline

#2 2018-03-13 20:28:04

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: I can not get my ethernet working.

Why are you using wifi-menu for a wired / virtual interface? Network_configuration
Edit:
Oh and welcome to the arch linux forums YoranJansen.

Last edited by loqs (2018-03-13 20:28:48)

Offline

#3 2018-03-13 20:32:38

YoranJansen
Member
Registered: 2018-03-13
Posts: 3

Re: I can not get my ethernet working.

Because I thought it could work, but that is why I later tried ip link set enp0s3 up, but why didn't that do anything?

Offline

#4 2018-03-13 20:35:55

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

Re: I can not get my ethernet working.

YoranJansen wrote:

Because I thought it could work, but that is why I later tried ip link set enp0s3 up, but why didn't that do anything?

You don't have an IP address yet.   You can prove that by using ip addr

Next, run dhcpcd as root.  You should get an address from the virtual DHCP server in the host  Now you can use the Internet, and see your address with the command above.

If all that works, make it permanent by using systemctl to enable the dhcpcd service.


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

#5 2018-03-13 20:39:23

YoranJansen
Member
Registered: 2018-03-13
Posts: 3

Re: I can not get my ethernet working.

That worked, thank you very much!

Offline

#6 2018-03-14 08:58:55

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: I can not get my ethernet working.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB