You are not logged in.

#1 2018-03-06 14:16:54

Ryunaq
Member
Registered: 2018-03-06
Posts: 8

No Ethernet connection after a reboot

So yesterday I was using my ethernet connection just fine. I turned my pc off, turned it on again and suddenly I can't access the internet. I did not install anything at all, nor did I do anything that I don't usually do. The cable is working fine, I checked it with other devices, and I doubt the hardware went wrong since I haven't moved it at all. Here is some information about it:

$ lscpi -v
03:00.0 Ethernet controller: Qualcomm Atheros Killer E220x Gigabit Ethernet Controller (rev 13)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Killer E220x Gigabit Ethernet Controller
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Memory at efd00000 (64-bit, non-prefetchable) [size=256K]
	I/O ports at d000 [size=128]
	Capabilities: <access denied>
	Kernel driver in use: alx
	Kernel modules: alx

$ dmesg | grep alx
[    1.843141] alx 0000:03:00.0 eth0: Qualcomm Atheros AR816x/AR817x Ethernet [44:8a:5b:a1:fe:48]
[    1.894002] alx 0000:03:00.0 enp3s0: renamed from eth0
[   99.933168]  __alx_open+0x213/0x550 [alx]
[   99.933192]  __alx_open+0x222/0x550 [alx]

$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 44:8a:5b:a1:fe:48 brd ff:ff:ff:ff:ff:ff

$ sudo systemctl status dhcpcd
● dhcpcd.service - dhcpcd on all interfaces
   Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2018-03-06 08:25:18 -05; 11s ago
  Process: 15769 ExecStop=/usr/bin/dhcpcd -x (code=exited, status=0/SUCCESS)
  Process: 15918 ExecStart=/usr/bin/dhcpcd -q -b (code=exited, status=0/SUCCESS)
 Main PID: 15919 (dhcpcd)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/dhcpcd.service
           └─15919 /usr/bin/dhcpcd -q -b

Mar 06 08:25:18 archlinux systemd[1]: Starting dhcpcd on all interfaces...
Mar 06 08:25:18 archlinux dhcpcd[15918]: dev: loaded udev
Mar 06 08:25:18 archlinux dhcpcd[15918]: forked to background, child pid 15919
Mar 06 08:25:18 archlinux systemd[1]: Started dhcpcd on all interfaces.
Mar 06 08:25:18 archlinux dhcpcd[15919]: enp3s0: waiting for carrier

I tried using NetworkManager instead of dhcpcd with no results, too. Help is much appreciated.

Offline

#2 2018-03-06 15:10:51

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 15,778

Re: No Ethernet connection after a reboot

Please post the output of:
uname -a
pacman -Q linux
  (Assuming you are running the stock kernel)
ip link
and
find /etc/systemd

Edit:  Oh, and welcome to the Arch Linux forums smile


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

#3 2018-03-06 16:26:32

Ryunaq
Member
Registered: 2018-03-06
Posts: 8

Re: No Ethernet connection after a reboot

Here it goes:

$ uname -a
Linux archlinux 4.14.13-1-ARCH #1 SMP PREEMPT Wed Jan 10 11:14:50 UTC 2018 x86_64 GNU/Linux

$ pacman -Q linux
linux 4.14.13-1

$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 44:8a:5b:a1:fe:48 brd ff:ff:ff:ff:ff:ff

$ find /etc/systemd
/etc/systemd
/etc/systemd/system
/etc/systemd/system/mpd.service.d
/etc/systemd/system/mpd.service.d/mpd.conf
/etc/systemd/system/getty.target.wants
/etc/systemd/system/getty.target.wants/getty@tty1.service
/etc/systemd/system/multi-user.target.wants
/etc/systemd/system/multi-user.target.wants/remote-fs.target
/etc/systemd/system/multi-user.target.wants/lm_sensors.service
/etc/systemd/system/multi-user.target.wants/dhcpcd.service
/etc/systemd/system/multi-user.target.wants/razerd.service
/etc/systemd/system/multi-user.target.wants/ckb-daemon.service
/etc/systemd/system/multi-user.target.wants/mongodb.service
/etc/systemd/system/display-manager.service
/etc/systemd/network
/etc/systemd/user
/etc/systemd/user/default.target.wants
/etc/systemd/user/default.target.wants/xdg-user-dirs-update.service
/etc/systemd/user/sockets.target.wants
/etc/systemd/user/sockets.target.wants/gpg-agent.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket
/etc/systemd/user/sockets.target.wants/pipewire.socket
/etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket
/etc/systemd/user/sockets.target.wants/pulseaudio.socket
/etc/systemd/user/sockets.target.wants/dirmngr.socket
/etc/systemd/coredump.conf
/etc/systemd/journald.conf
/etc/systemd/system.conf
/etc/systemd/timesyncd.conf
/etc/systemd/resolved.conf
/etc/systemd/user.conf
/etc/systemd/journal-remote.conf
/etc/systemd/journal-upload.conf
/etc/systemd/logind.conf

I've been lurking here for a while, but just made an acc for this problem. Thanks for the welcoming smile

Offline

#4 2018-03-06 19:43:55

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 15,778

Re: No Ethernet connection after a reboot

Not quite what I expected.  But, what are you using to control your network?  For a wired Internet, I would generally expect to see systemd-networkd or dhcpcd service enabled.  What brought it up in the first place?

I am a bit concerned about this

[    1.894002] alx 0000:03:00.0 enp3s0: renamed from eth0

After you came back up, it reverted to enp3s0 from, presumably, eth0 before you rebooted.
Does it work if you do a sudo ip link set enp3s0 up  followed by a sudo dhcpcd
?


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-06 19:58:34

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 6,879

Re: No Ethernet connection after a reboot

He is running dhcpcd, it's in both of his posts.

The "renamed" entry is fine and perfectly normal. That's just systemd's predictable interface naming.

Offline

#6 2018-03-06 20:40:50

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,122

Re: No Ethernet connection after a reboot

'Waiting for carrier' generally means some issues with cabling/connection.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#7 2018-03-06 20:52:13

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 15,778

Re: No Ethernet connection after a reboot

Scimmia wrote:

He is running dhcpcd, it's in both of his posts.

But I don't see how it is started.  Systemd is doing it.

The "renamed" entry is fine and perfectly normal. That's just systemd's predictable interface naming.

Crap -- I got that backward; I thought the name was reverting to the old name.


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

#8 2018-03-07 02:38:44

Ryunaq
Member
Registered: 2018-03-06
Posts: 8

Re: No Ethernet connection after a reboot

Thanks for the answers! I'm running dhcpcd as my network service (not sure if this is how I should call it), it starts automatically at boot by systemd. Stopping it and making it start again doesn't work. Tried `sudo ip link set enp3s0 up' and `sudo dhcpcd' without success neither sad . The cable should be fine since I tried it in my laptop.

Offline

#9 2018-03-07 02:40:13

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,122

Re: No Ethernet connection after a reboot

Ryunaq wrote:

Thanks for the answers! I'm running dhcpcd as my network service (not sure if this is how I should call it), it starts automatically at boot by systemd. Stopping it and making it start again doesn't work. Tried `sudo ip link set enp3s0 up' and `sudo dhcpcd' without success neither sad . The cable should be fine since I tried it in my laptop.

The cable may be fine, but the port may not be (my laptop has that problem on and off).


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#10 2018-03-08 03:02:34

Ryunaq
Member
Registered: 2018-03-06
Posts: 8

Re: No Ethernet connection after a reboot

Silly question, how can I test the port? Is installing windows the only way?

Offline

#11 2018-03-08 03:07:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 19,307
Website

Re: No Ethernet connection after a reboot

That'd definitely be overkill.  Boot a live usb.  Any distro or OS could work.  An archlinux live iso would be a good test as everyone here knows what that's expected to do.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#12 2018-03-09 05:57:24

wtx
Member
Registered: 2014-06-09
Posts: 75

Re: No Ethernet connection after a reboot

Hi,

@Ryunaq - could you place the whole output from dmesg on pastebin.com portal or similar. I've seen part of some interestring message in your  "dmesg | grep alx" and I'd like to see the whole dmesg.
I suspect that the problem may be in the alx driver.

Offline

#13 2018-03-10 21:28:15

lo1
Member
Registered: 2017-09-25
Posts: 560

Re: No Ethernet connection after a reboot

I've seen part of some interestring message in your  "dmesg | grep alx" and I'd like to see the whole dmesg.

Would you mind to share your thoughts?

@Ryunaq, when you said in your first post that "you didn't install anything", did you also mean that you didn't do any system update?

Also, something else was scratching my mind: would you mind to post your /var/lib/dhcpcd/duid ? Feel free to redact the last six fields (your MAC address) if you think it's not safe to post it here.

Last edited by lo1 (2018-03-10 21:45:24)

Offline

#14 2018-03-11 13:31:11

Ryunaq
Member
Registered: 2018-03-06
Posts: 8

Re: No Ethernet connection after a reboot

I'm extremely confused, turned it on to do some stuff with my local files and I had internet again. I guess that confirms it was my port and not arch? Thanks a lot to everyone.

Offline

#15 2018-03-12 05:43:01

wtx
Member
Registered: 2014-06-09
Posts: 75

Re: No Ethernet connection after a reboot

lo1 wrote:

I've seen part of some interestring message in your  "dmesg | grep alx" and I'd like to see the whole dmesg.

Would you mind to share your thoughts?
(...)

Seems like there is some problem with the driver "alx", because in that part of dmesg there is so called "calltrace". But I cannot tell anything more because Rynaq didn't post the whole dmesg.
With the whole dmesg log I could probably tell more about the problem. For now I would suggest to check if there is any newer kernel or "alx" driver for this kernel. I suspect that the problem is in the driver.

Offline

Board footer

Powered by FluxBB