You are not logged in.

#1 2014-07-26 18:24:34

earlz
Member
Registered: 2010-07-11
Posts: 39

Linode with latest Arch Linux never brings networking online at boot?

Hello, I use Linode for my primary VPS related stuff. On it, I usually use Arch Linux. Recently however, I've faced a pretty big issue. If I spin up a new linode, do a pacman -Syu and then reboot it, it will not setup networking when it starts up.

I have to manually login with their Lish out-of-band access to login and start networking manually (ie, by doing dhcpcd eth0). I've filed a support ticket with them, but they said it was basically out of their control and pointed me here. I've never had this issue until recently.

I've already tried setting up netctl and such for defaults, but it still ends up with no DHCP lease upon boot, and I'm not sure why. Anyone know of this issue and/or how to fix it?

Offline

#2 2014-07-26 18:31:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Linode with latest Arch Linux never brings networking online at boot?

Can you tell us what exactly is installed - which packages, which versions?
I recall a similar issue https://bbs.archlinux.org/viewtopic.php?id=182274 but it may be completely unrelated as I don't know a thing about VPS.

Offline

#3 2014-07-26 19:20:21

earlz
Member
Registered: 2010-07-11
Posts: 39

Re: Linode with latest Arch Linux never brings networking online at boot?

That sytemd issue appears to be unrelated or something. And the packages are just what is latest as of this moment. I don't have much installed other than netctl I've tried using it, and using systemd for networking. neither work at boot, but if I manually force it to try again after boot, it works. Very weird issue that I'm not sure is unrelated to linode, considering I have a desktop machine that works just fine. Just trying to figure out how I can pinpoint the problem to report to them or to fix for myself.

Offline

#4 2014-07-26 19:52:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Linode with latest Arch Linux never brings networking online at boot?

How is it supposed to start - via a systemd service? Does it fail?

Offline

#5 2014-07-27 21:33:07

Gregosky
Member
From: UK
Registered: 2013-07-26
Posts: 174

Re: Linode with latest Arch Linux never brings networking online at boot?

Linode ethernet adapters naming is different than if you have built it locally. That was root cause in my case.

Offline

#6 2014-08-05 12:21:21

STUART
Member
From: Seattle, WA
Registered: 2010-08-19
Posts: 52
Website

Re: Linode with latest Arch Linux never brings networking online at boot?

I had this same issue. I fixed it by (via Lish) systemctl enabling and starting dhcpcd.service, and (if that didn't fix ssh) restarting sshd.service.

I also found this interesting:

[root@sandbox ~]# cat /usr/lib/systemd/network/10-dhcp.network                                        
[Match]                                                                                               
Name=eth0                                                                                             
                                                                                                      
[Network]                                                                                             
DHCP=yes

Is networkd supposed to be handling network configuration, and if so, shouldn't that be "ef*" rather than eth0?

Is there a better solution that should be put in place to fix this? How does Arch normally do DHCP on Ethernet right now?

Last edited by STUART (2014-08-05 12:23:04)

Offline

#7 2014-08-14 20:27:50

matth
Member
Registered: 2011-11-09
Posts: 24

Re: Linode with latest Arch Linux never brings networking online at boot?

This thread deals with the same issue: https://bbs.archlinux.org/viewtopic.php?id=183911

The fix will be in systemd-216, but that isn't out yet. The thread contains multiple workarounds until the fix is released.

Offline

#8 2015-11-28 05:49:25

pvinis
Member
From: lost in arch
Registered: 2013-04-29
Posts: 5

Re: Linode with latest Arch Linux never brings networking online at boot?

hello. i have this with my up to date system. is there something i should do to fix that?

Offline

#9 2015-11-28 10:00:10

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Linode with latest Arch Linux never brings networking online at boot?

pvinis wrote:

hello. i have this with my up to date system. is there something i should do to fix that?

Please do not necrobump and definitely don't be a help vampire. Do some research, see if you can fix it yourself, then if you still can't then open a new thread with specific information, and details of what you've tried so far instead of a lazy and open-ended "is there something I should do that fix that?".

Closing.

Offline

Board footer

Powered by FluxBB