[Eisfair] error missing variable IP_DEFAULT_GATEWAY in config file of package base

Uwe Kunze u.kunze.sdh at t-online.de
Mi Mär 4 22:27:39 CET 2026


> Also nochmal:
> 
> In der Konfigurationsdatei:
> 
> # grep DEFAULT /etc/config.d/base
> IP_DEFAULT_GATEWAY='192.168.1.1'  # do not edit
> 
> In der check-Datei:
> 
> # grep DEFAULT /etc/check.d/base
> IP_DEFAULT_GATEWAY     -                 -              HIDDEN
> 
> /var/install/config.d/base.sh setzt das auf den Wert der ersten Karte:
> 
> # grep DEFAULT /var/install/config.d/base.sh
>                  sed -i "s|IP_DEFAULT_GATEWAY=['\"].*['\"]|
> IP_DEFAULT_GATEWAY=\'${IP_ETH_1_V4_GATEWAY}\'|" /etc/config.d/base

Wenn die erste Karte aber kein default-gateway hat, weil es per 
dhcpc-Paket bezogen wird (und aktiv bleibt), scheint der Mechanismus 
nicht zu funktionieren !

VG Uwe




Mehr Informationen über die Mailingliste Eisfair