You are not logged in.

#1 2017-06-24 23:55:02

babs
Member
Registered: 2017-06-24
Posts: 5

Can not bring ethernet interface up during installation

Hi,

I am trying to install arch on a spare desktop I have. I have downloaded the latest image, copied it on a usb stick and booted my machine from it.

The computer has only one network interface, the on-board network card.

Sorry for posting limited command output but I can not think of a way for posting long output from the current state (nothing installed, no network). Please tell me if there is a way to post better output.

So, here are some first clues.

root@archiso ~ # ip link show eno1
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisk fq_codel state DOWN mode DEFAULT group default qlen 1000
      link/ether 64:1c:67:63:2c:45 brd ff:ff:ff:ff:ff:ff
root@archiso ~ # lspci -v
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 04)
             Subsystem: Lenovo Device 3097
             Flags: bus master, fast devsel, latency 0, IRQ 26
             Memory at f7c00000 (32-bit, non-prefetchable) [size=128K]
             Memory at f7c3d000 (32-bit, non-prefetchable) [size=4M]
             I/O ports at f080 [size=32]
             Capabilities: [c8] Power Management version 2
             Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
             Capabilities: [e0] PCI Advanced Features
             Kernel driver in use: e1000e
             Kernel modules: e1000e
root@archiso ~ # dmesg | grep e1000e
e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set ot dynamic conservative mode
e1000e 0000:00:19.0 0000:00:19.0 (uninitialized): registered PHC clock
e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 64:1c:67:63:2c:45
e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
e1000e 0000:00:19.0 eth0: MAC: 11, PHY: 12, PBA No: FFFFFF-0FF
e1000e 0000:00:19.0 eno1: renamed from eth0
root@archiso ~ # dmesg | grep eno1
e1000e 0000:00:19.0 eno1: renamed from eth0
IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready
root@archiso ~ # ethtool eno1
Settings for eno1:
             Supported ports: [ TP ]
             Supported link modes:   10baseT/Half 10baseT/Full
                                                     100baseT/Half 100baseT/Full
                                                     1000baseT/Full
             Supported pause frame use: No
             Supported auto-negotiation: Yes
             Advertised link modes:   10baseT/Half 10baseT/Full
                                                     100baseT/Half 100baseT/Full
                                                     1000baseT/Full
             Advertised pause frame use: No
             Advertised auto-negotiation: Yes
             Speed: Unknown!
             Duplex: Unknown! (255)
             Port: Twisted Pair
             PHYAD: 2
             Transceiver: internal
             Auto-negotiation: on
             MDI-X: Unknown (auto)
             Supports Wake-on: pumbg
             Wake-on: g
             Current message level: 0x000000007 (7)
                                                    drv probe link
             Link detected: no

I suppose that my biggest problem is that it cannot detect link, but I have already tested the cable to my laptop and works fine.

Any ideas?

Offline

#2 2017-06-25 09:03:56

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: Can not bring ethernet interface up during installation

What is the result of:
systemctl status dhcpcd@<TAB>

<TAB> is for the auto completion of the command line.

Did you read the wiki https://wiki.archlinux.org/index.php/Ne … ice_driver ?

Offline

#3 2017-06-25 11:18:17

babs
Member
Registered: 2017-06-24
Posts: 5

Re: Can not bring ethernet interface up during installation

Hi berbae,

This is the result of systemctl on a fresh boot:

root@archiso ~ # systemctl status dhcpcd@eno1
Loaded: loaded (/usr/lib/systemd/dhcpcd@.serivce; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2017-06-25 07:58:27 YTC; 4min 5s ago
Process: 314 ExecStart=/usr/bin/dhcpcd -q -w %I (code=exited, status=1/FAILURE)

systemd[1]: Starting dhcpcd on eno1...
dhcpcd[314]: eno1: waiting for carrier
systemd[1]: dhcpcd@eno1.service: Control process exited, code=exited status=1
systemd[1]: Failed to start dhcpcd on eno1.
systemd[1]: dhcpcd@eno1.service: Unit entered failed state.
systemd[1]: dhcpcd@eno1.service: Failed with result 'exit-code'.

Also,

root@archiso ~ # systemctl status dhcpcd
Loaded: loaded (/usr/lib/systemd/dhcpcd.serivce; disabled; vendor preset: disabled)
Active: inactive (dead)

Yes I have read the Network Configuration page, of course I may have missed something but I have checked that the the module is loaded.

root@archiso ~ # lsmod | grep e1000e
e1000e     225280  0
ptp             20480   1 e1000e

I have also tried to rmmod the module and load it again with no success...

Offline

#4 2017-06-25 11:50:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: Can not bring ethernet interface up during installation

2: eno1: <NO-CARRIER

Let's assume there's a non broken cable that is plugged into something else on the other end.

In that case see eg:
https://bbs.archlinux.org/viewtopic.php?id=159454
https://bbs.archlinux.org/viewtopic.php?id=153519
https://bbs.archlinux.org/viewtopic.php?id=183074

Offline

#5 2017-06-25 11:52:25

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,545
Website

Re: Can not bring ethernet interface up during installation

This isn't a kernel module issue.  The kernel module allows the device to be recognized - if the module was the problem, there would be no eno1 device listed in the `ip` output at all.

I know you claim to have tested the cable, but this really looks like an issue with the actual service.  Whether that is a jack, cable, or router problem I'm not sure.  Did you or do you have another OS on that same laptop that was able to connect over the same ethernet connection?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2017-06-25 12:07:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: Can not bring ethernet interface up during installation

The alternative is the power control for the device, thus the mentioned links.

Offline

#7 2017-06-25 14:11:45

Alber
Member
From: Spain - España
Registered: 2011-11-11
Posts: 227

Re: Can not bring ethernet interface up during installation

I assume:

# ip link set interface up

Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.

Offline

#8 2017-06-25 14:17:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: Can not bring ethernet interface up during installation

I assume it's up ...

2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> 
                                                                                               ^^^^^

The later DOWN does not indicate the interface state.

Offline

#9 2017-06-25 15:43:06

Alber
Member
From: Spain - España
Registered: 2011-11-11
Posts: 227

Re: Can not bring ethernet interface up during installation

seth wrote:

I assume it's up ...

2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> 

The later DOWN does not indicate the interface state.

True, my mistake.


Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.

Offline

#10 2017-06-27 11:08:32

babs
Member
Registered: 2017-06-24
Posts: 5

Re: Can not bring ethernet interface up during installation

Hi everybody,

thank you so much for your responses!

So here is my update:

Both of these threads proposed to

echo on > /sys/bus/pci/devices/0000:00:XX.0/power/control

Although it was already "on" on my system, I did that with no result. I also followed the links
mentioned and tested the following, as shown here https://lkml.org/lkml/2013/1/5/100:

root@zurg:/sys/bus/pci/devices# cat 0000\:00\:19.0/enable; modprobe e1000e; sleep 2; rmmod e1000e; cat 0000\:00\:19.0/enable
1
0

It seems I do not have the problem mentioned there.

Still no luck with

ethtool -s eno1 speed 100 duplex full autoneg off
Trilby wrote:

I know you claim to have tested the cable, but this really looks like an issue with the actual service.  Whether that is a jack, cable, or router problem I'm not sure.  Did you or do you have another OS on that same laptop that was able to connect over the same ethernet connection?

I do not have another OS on the desktop, but I have tried the cable on my netbook running
lubuntu 14.04.5 LTS and it works fine. In fact I am posting this from the netbook using this cable.

I believe that the next steps should be:

  1. Try another OS on the desktop to check if network is working

  2. Try another cable to be 100% sure that this is not the issue

Offline

#11 2017-06-27 11:15:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,545
Website

Re: Can not bring ethernet interface up during installation

A test with some other live system would be helpful to completely rule out my suspicions, but if the same cable/router/service all works with the other laptop that rules out all of my suspicions except potentially for a problem at the laptop jack itself which may be the least likely.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#12 2017-06-29 11:22:05

babs
Member
Registered: 2017-06-24
Posts: 5

Re: Can not bring ethernet interface up during installation

I tried latest Ubuntu live CD and the same problem occurred...

So I don't believe this needs any more investigation. The on-board
Ethernet is probably dead. I got a PCI network card and works as
expected.

Thank you all very much for your input and time!

Offline

#13 2017-06-29 11:29:46

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

Re: Can not bring ethernet interface up during installation

Have you checked route? I had to do it manually yesterday

Like:

# ip addr add 192.168.1.2/24 broadcast 192.168.1.255 dev eth0
# ip route add default via 192.168.1.1

From https://wiki.archlinux.org/index.php/Ne … figuration


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

#14 2017-06-29 11:42:50

babs
Member
Registered: 2017-06-24
Posts: 5

Re: Can not bring ethernet interface up during installation

Hi dockland,

I had already tried to set it up manually with no results.

Offline

#15 2017-06-29 12:10:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: Can not bring ethernet interface up during installation

Last hope: I recall having trouble because the stupid latch protection of a cable collided with some structure around the jack - it was impossible to fully plug the cable before I "fixed" the cable (hehehe ... ;-)

But it's probably a loose connection between the jack and the NIC :-(

Offline

Board footer

Powered by FluxBB