[gelöst]ansible boot-zeit bei WLan

  • Nachdem ich von Lan auf Wlan umgestiegen bin dauert das booten gefühlt 5min.

    Hab folgendes versucht um rauszufinden woran es liegt


    Code
    root@stube:/home/frank# systemctl show -p WantedBy network-online.target
    WantedBy=autofs.service nmbd.service iscsid.service postfix@-.service avahi-linker.service open-iscsi.service proftpd.service
    root@stube:/home/frank#

    Mehrere Service warten auf das Netzwerk,aber wie kann ich das warten umgehen???

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Hast du die Konfiguration für die Kabelverbindung entfernt? Nicht dass er da so lange wartet, weil sich kein DHCP-Server für die LAN-Verbindung meldet...


    Worauf das System beim Booten wartet, kannst du dir mit systemd-analyze critical-chain anzeigen lassen.

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Und hier meine 01-netcfg.yaml


    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Was sagt systemd-analyze blame?

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Habe meine 01-netcfg.yaml umgestellt von DHCP auf statisch,aber ohne Erfolg.

    Netzwerk ist ok,aber booten dauert genauso lange.

    ????????????

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Könnte das eventuell ein Entropie-Problem sein? Ändert sich etwas, wenn du das Paket haveged installierst (soweit ich weiß haben die Atom 330 keinen brauchbaren Hardware-Generator für Zufallszahlen, der sich mit den rng-tools nutzen lässt)?

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Ist schon installiert.

    Werde heute Nachmittag Mal diesen ersten Service der 2mindauert auf --ignore setzen,Mal sehen ob's hilft.

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Habe nun folgendes gemacht


    Code
    cd /lib/systemd/
    
    nano systemd-networkd-wait-online

    Dort den Eintrag --ignore=interface

    mit meinem WLan angepasst

    --ignore=wlx24050ff62433


    Dann abspeichern und neu starten.


    Dann noch folgendes


    Code
    systemctl edit apt-daily.timer

    Dort folgendes eingefügt


    Code
    [Timer]
    OnBootSec=15min
    OnUnitActiveSec=1d
    AccuracySec=1h
    RandomizedDelaySec=30min

    Neu starten und das System bootet in ca 35s



    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Was sagt systemd-analyze blame?


    Danke für den Tip seahawk1986

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Habe gerade ein ähnliches Problem, bei einer Ubuntu ansible Installation - ganz ohne Netzwerk/Internet.


    systemd-analyze blame zeigt mir eine Verzögerung von 2min irgendwas an.


    Komme mit der oben gezeigten Lösung nicht klar. nano nano systemd-networkd-wait-online ?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!