Regional-de archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Boot-Probleme mit dhcpd und named auf ALIX-Board



Liebe Listener,

ich habe mir ein ALIX-Board mit einer CF-Karte eingerichtet und darauf
NetBSD 5.0 installiert. Das ganze Dateisystem dort ist bis auf ein
Verzeichnis readonly gemountet. Dorthin werden die Verzeichnisse /dev/
und /var kopiert und dann Ãber die ursprÃnglichen Verzeichnis mit Nullfs
drÃbergelegt. Aber ich habe bei einigen Diensten Probleme und komme
nicht auf die LÃsung.

Da ist ersten ein DHCP-Server. Dieser meint beim Starten, dass in seiner
Config-Datei eine unerwartete geschweifte Klammer auftritt. Ich habe die
Datei immer wieder kontrolliert. Ich sehe keine Klammer zuviel.

Zum anderen soll ein Nameserver laufen. Er beklagt beim Starten genau
das Gleiche. Die Datei root.cache, die auch fehlen soll, ist im
entsprechenden chroot vorhanden.

Was lÃuft hier falsch oder habe ich falsch gemacht?
Im Anschluà habe ich die Ausgabe beim Booten und die Config-Dateien
drangehÃngt

Gruà Thomas

Boot-Meldung:

Building databases: utmp, utmpx, services done
zone: not found
hint: not found
root.cache: cannot open `root.cache' (No such file or directory)
/etc/rc.conf.d/named: 13: Syntax error: "}" unexpected
...
zone: not found
hint: not found
root.cache: cannot open `root.cache' (No such file or directory)
/etc/rc.conf.d/named: 13: Syntax error: "}" unexpected
...
option: not found
option: not found
zone: not found
primary: not found
/etc/rc.conf.d/dhcpd: 12: Syntax error: "}" unexpected

Die Konfigurations-dateien dafÃr sind:

/etc/rc.conf.d/dhcpd
option domain-name "Zuhause";
option domain-name-servers ALIX.Zuhause;

zone Zuhause. {
        primary 127.0.0.1;
}

zone 0.168.192.in-addr.arpa. {
        primary 127.0.0.1;
}

default-lease-time 600;
max-lease-time 7200;

  subnet 192.168.0.0 netmask 255.255.255.224 {
        option domain-name "Zuhause.";
        option domain-name-servers 192.168.0.1;
        option routers 192.168.0.1;
        option subnet-mask 255.255.255.224;
        option broadcast-address 192.168.0.14;
    pool {
      range 192.168.0.4 192.168.0.9;
      allow unknown-clients;
      ignore client-updates;
    }
    pool {
      range 192.168.0.2 192.168.0.3;
      deny unknown-clients;
    }
    pool { 
        range 192.168.0.11 192.168.0.11;
        deny unknown-clients;
    }
  }
host eins { 
        hardware ethernet 00:00:00:00:00:00; 
        fixed-address 192.168.0.2;
}

host Struppi {
        hardware ethernet 11:11:11:11:11:11;
        fixed-address 192.168.0.3;
}

host Haddock { hardware ethernet 22:22:22:22:22:22; 
                fixed-address 192.168.0.11; 
}

/etc/rc.conf.d/named

zone "." {
        type hint;
        file "root.cache";
};

zone "localhost" {
        type master;
        file "localhost";
};

zone "127.IN-ADDR.ARPA" {
        type master;
        file "127";
};

zone
"1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int"
{
        type master;
        file "loopback.v6";
};

zone
"1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa"

{
        type master;
        file "loopback.v6";
};

zone "Herge" {
        type master;
        file "Zuhause";
};

zone "0.168.192.IN-ADDR.ARPA" {
        type master;
        file "192.168.0";
};




Home | Main Index | Thread Index | Old Index