You are not logged in.
So I have this peculiar issue with the network being up before I am automatically logged into the desktop ONLY after the very first time I boot into a new install. During almost every boot after the first it only becomes active AFTER I am logged into the desktop.
I run an @reboot chron job that needs the network up but it only works for the first boot. Up to a few weeks ago it always worked this way so something must have changed recently.
The only difference I can detect in the journal is that the first boot 'solicits' and is 'offered' while subsequent boots are 'rebinding' and 'adding'.
The r8169 module is autoloaded and dhcpcd.service and dhcpcd@enp2s0.service are enabled.
What additionally do I need to do to have the network consistently up before I am logged into the desktop?
First boot:
Kairi-TEST dhcpcd[539]: enp2s0: carrier acquired
Kairi-TEST kernel: r8169 0000:02:00.0 enp2s0: link up
Kairi-TEST kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready
Kairi-TEST dhcpcd[539]: enp2s0: soliciting an IPv6 router
Kairi-TEST dhcpcd[522]: enp2s0: soliciting an IPv6 router
Kairi-TEST dhcpcd[522]: enp2s0: soliciting a DHCP lease
Kairi-TEST dhcpcd[539]: enp2s0: soliciting a DHCP lease
Kairi-TEST dhcpcd[522]: enp2s0: offered 192.168.0.162 from 192.168.0.1
Kairi-TEST dhcpcd[539]: enp2s0: offered 192.168.0.162 from 192.168.0.1
99% of subsequent boots:
Kairi-TEST dhcpcd[522]: enp2s0: carrier acquired
Kairi-TEST kernel: r8169 0000:02:00.0 enp2s0: link up
Kairi-TEST kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready
Kairi-TEST dhcpcd[522]: enp2s0: soliciting an IPv6 router
Kairi-TEST dhcpcd[537]: enp2s0: soliciting an IPv6 router
Kairi-TEST dhcpcd[522]: enp2s0: rebinding lease of 192.168.0.162
Kairi-TEST dhcpcd[537]: enp2s0: rebinding lease of 192.168.0.162
Kairi-TEST dhcpcd[522]: enp2s0: leased 192.168.0.162 for 604800 seconds
Kairi-TEST dhcpcd[522]: enp2s0: adding host route to 192.168.0.162 via 127.0.0.1
Kairi-TEST dhcpcd[522]: enp2s0: adding route to 192.168.0.0/24
Kairi-TEST dhcpcd[522]: enp2s0: adding default route via 192.168.0.1
Kairi-TEST dhcpcd[537]: enp2s0: leased 192.168.0.162 for 604800 seconds
Last edited by KairiTech (2013-12-22 19:03:39)
Offline