You are not logged in.

#1 2017-08-12 13:37:28

jacky_lau
Member
Registered: 2016-03-10
Posts: 4

Qemu nic show "NO-CARRIER" after installation

I install a new arch linux system in qemu today. The installation is ok, I can access the internet when I install the system.
But dhcpcd say "no interfaces have a carrier" after I reboot and login to the new system. I run command "ip link show dev enp0s2", it show me:
2: enp0s2: <NO-CARRIER, BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_code1 state DOWN mode DEFAULT group default qlen 1000

Do I miss anythings?

Last edited by jacky_lau (2017-08-12 13:41:53)

Offline

#2 2017-08-12 14:40:55

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: Qemu nic show "NO-CARRIER" after installation

Have you enabled the interface?


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#3 2017-08-14 06:53:32

jacky_lau
Member
Registered: 2016-03-10
Posts: 4

Re: Qemu nic show "NO-CARRIER" after installation

dockland wrote:

Have you enabled the interface?

Yes, you can see there is "UP" in ip command's output

Offline

#4 2017-08-14 07:56:00

jacky_lau
Member
Registered: 2016-03-10
Posts: 4

Re: Qemu nic show "NO-CARRIER" after installation

In the installation system, dmesg show me:
[    2.536599] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    2.536600] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    2.846300] e1000 0000:00:02.0 eth0: (PCI:33MHz:32-bit) 52:54:00:12:34:56
[    2.846313] e1000 0000:00:02.0 eth0: Intel(R) PRO/1000 Network Connection
[    6.311608] e1000 0000:00:02.0 enp0s2: renamed from eth0
[    7.233461] e1000: enp0s2 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX

But in the installed system, only the first 5 lines present.

My host system is ubuntu 16.04 with kernel 4.10.0-32-lowlatency, qemu 2.10.0-rc2. The kernel version of arch linux installation iso is 4.12.3, the kernel version of installed arch system is 4.12.6

Last edited by jacky_lau (2017-08-14 07:57:03)

Offline

#5 2017-08-14 14:30:34

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

Re: Qemu nic show "NO-CARRIER" after installation

What was the specific command you used to start Qemu?


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