[Eisfair] kein ssh-Zugriff nach update UND reboot

Stefan Puschek stefan.puschek at t-online.de
Do Mai 25 16:14:54 CEST 2023


Hallo Holger,
> 
> >>>> /usr/bin/find /sys/class/net/ -maxdepth 1 -type l -printf '%f\n'
> >>>
> >>> barbrady # /usr/bin/find /sys/class/net/ -maxdepth 1 -type l
> >>> -printf '%f\n'
> >>> eth0
> >>> lo
> >>> barbrady #
> >>>
> > -----------------
> > 
> >>>
> >>> jetzt stehe ich auf dem Schlauch
> >>>
> >>>> das in den Platzhalter
> >>
> >> eth0
> > 
> > was willst Du mir mit dem Platzhalter sagen?
> 
> den habe ich jetzt  mit eth0 ausgefuellt ;-)
> 
> 
> >>>> #
> >>>> ------------------------------------------------------------------------------
> >>>> #  generated by ${package_name}
> >>>> #
> >>>> #  Do not edit this file, edit /etc/config.d/${package_name}
> >>>> #  Creation Date: ${EISDATE} Time: ${EISTIME}
> >>>> #
> >>>> -------------------------------------------------------------------------------
> >>>> [Unit]
> >>>> After=sys-subsystem-net-devices-eth0.device
> >>>> Wants=sys-subsystem-net-devices-eth0.device
>                                  ^^^^^^^^^^^^^^^^^^^^^
> 
> da kommt eth0 hin
> 


er hält sich aber nicht dran:

/var/log/messages

May 25 16:08:35 barbrady apcupsd[3549]: NIS server startup succeeded
May 25 16:08:35 barbrady dbus-daemon[3443]: [system] Successfully
activated service 'org.freedesktop.systemd1' May 25 16:08:36 barbrady
sshd[3609]: Server listening on 127.0.0.1 port 22. May 25 16:08:36
barbrady sshd[3609]: error: Bind to port 22 on 192.168.6.7 failed:
Cannot assign requested address. May 25 16:08:39 barbrady kernel:
r8168: eth0: link up May 25 16:08:39 barbrady kernel: IPv6:
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

der sshd ist immer noch zu früh

ist vlt. eth0 zwar schon da, aber eben noch nicht up?

Könnte man nicht wants eth0 = up als Wunsch eintragen?

Groetjes
Stefan




Mehr Informationen über die Mailingliste Eisfair