Rootserver Sponsor

webtropia"

Donations

Please support your operating system's further development:

donate"

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Luis_POffline
Post subject: Issue at boot [Solved]  PostPosted: 04.11.2016, 19:30



Joined: 2010-09-11
Posts: 171
Location: Barcelona, Spain
Status: Offline
From some days ago, I have a minor, but annoying, problem at boot. This message appears:

      Code:
 IPv6: ADDRconf (METDEV_UP): eth0: link is not ready
A start job is running for Raise network interfaces (.... /5 min 12s)

and the system stops its boot until 5 min. 12 sec. have passed. And I have not other solution than wait.

Does anyone know a fix?

Thanks in advance,


Last edited by Luis_P on 06.11.2016, 12:33; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: Issue at boot  PostPosted: 04.11.2016, 21:08



Joined: 2010-08-25
Posts: 962

Status: Offline
The first message is normal, even in a IPv6 network it takes a bit for the IPv6 addresses to propagate, the second one isn't... Please provide your configuration (/etc/network/interfaces, /etc/systemd/network/*) and make sure that you don't have conflicting dæmons trying to configure the same interface under their own umbrella (ifupdown, systemd-networkd, network-manager, connman, ...).
 
 View user's profile Send private message  
Reply with quote Back to top
Luis_POffline
Post subject:   PostPosted: 05.11.2016, 15:07



Joined: 2010-09-11
Posts: 171
Location: Barcelona, Spain
Status: Offline
      Code:
# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp
   dns-nameservers 87.216.1.65 87.216.6.6

auto eth0
iface eth0 inet dhcp
   dns-nameservers 87.216.1.65 87.216.6.6
   
   
# ls /etc/systemd/network
#


i.e., /etc/systemd/network is empty.

Concerning dæmons trying to configure the same interface, I've found this:

      Code:
# cat /lib/systemd/system/networking.service
[Unit]
Description=Raise network interfaces
Documentation=man:interfaces(5)
DefaultDependencies=no
Wants=network.target
After=local-fs.target network-pre.target apparmor.service systemd-sysctl.service systemd-modules-load.service
Before=network.target shutdown.target network-online.target
Conflicts=shutdown.target

[Install]
WantedBy=multi-user.target
WantedBy=network-online.target

[Service]
Type=oneshot
EnvironmentFile=-/etc/default/networking
ExecStartPre=-/bin/sh -c '[ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle'
ExecStart=/sbin/ifup -a --read-environment
ExecStop=/sbin/ifdown -a --read-environment
RemainAfterExit=true
TimeoutStartSec=5min
#


apart from this, I've been not able to find any relevant. Please, give me more concrete test if needed.

Thanks for your support.
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject:   PostPosted: 05.11.2016, 19:14



Joined: 2010-08-25
Posts: 962

Status: Offline
Two interfaces configured for DHCP (unless augmented with quite a lot of special orchestration regarding default routes, routing metrics, etc.) is pretty much always an error, with quite dire consequences. Comment out one of them and probably change "auto" to "allow-hotplug" for the remaining one.
 
 View user's profile Send private message  
Reply with quote Back to top
Luis_POffline
Post subject:   PostPosted: 06.11.2016, 12:35



Joined: 2010-09-11
Posts: 171
Location: Barcelona, Spain
Status: Offline
Changes made and solved! Very Happy

Thank you very much!
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio