console-conf-write-login-details would crash if it ran before the system got an ip address. re-jig things a bit so that it displays an nice message when there is no ip address but still checks for a new address every 5s until it finds one.