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

Re: Booten über TFTP



Am Mittwoch, 11. Oktober 2006 20:40 schrieb Andreas Putzo:
> Hallo,
>
> On Oct 11, Mag. Leonhard Landrock wrote:
> > OK. "atftpd --daemon --port 12345 /srv/tftp/" funktioniert. Getestet
> > mitels "atftp --get --verbose --remote-file fai/pxelinux.0 --local-file
> > pxelinux.0 192.168.1.100 12345".
> >
> > Bleibt noch die erste Frage dieses Threads offen: Wie muss tftpd mit
> > xinetd zusammenarbeiten um korrekt zu laufen?
>
> Das steht doch in deiner ersten Mail.
>
> > Richte atftpd ein (0.7.dfsg-1) ...
> > --------- IMPORTANT INFORMATION FOR XINETD USERS ----------
> > The following line will be added to your /etc/inetd.conf file:
> >
> > tftp            dgram   udp     wait
> > nobody /usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 300
> > +--retry-timeout
> > 5     --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl
> > 1 --maxthread 100 --verbose=5  /srv/tftp

Interessanterweise kann ich davon nichts finden in "/etc/inetd.conf". Aber 
halb so wild. Ich versuche sowieso erst einmal den "echten" xinetd-Weg. ;-)

> und
>
> > "README.Debian for xinetd
> >  ========================
> >
> >   - xinetd features an inetd.conf compatibility mode. When started with
> > +the
> >     -inetd_compat option, xinetd first reads its own configuration file
> >     (/etc/xinetd.conf), then /etc/inetd.conf.

Der "inetd.conf compatibility mode" scheidet mangels fehlendem Eintrag 
kurzfristig aus. Außerdem versuche ich gleich einmal eine korrekte xinetd 
Konfiguration.

> (ohne jemals xinetd benutzt zu haben..) müsste es also reichen, xinetd mit
> -inetd_compat zu starten. Oder eben man xinetd lesen und gucken, wie die
> Konfiguration aussehen muß.

"man xinetd": Habe ich gemacht. Wesentlich ist in diesem Zusammenhang der 
Eintrag "includedir":

"includedir
 Takes a directory name in the form of "includedir /etc/xinetd.d". Every file 
inside that directory, excluding files with names containing a dot ('.') or 
ending with a tilde ('~'), will be parsed as xinetd configuration files. The 
files will be parsed in alphabetical order according to the C locale. This 
allows you to specify services one per file within a directory. The 
includedir directive may not be specified from within a service declaration."

Werde also im Verzeichnis "/etc/xinetd.d" eine neue Konfigurationsdatei 
erzeugen. :-)

> Gruß, Andreas

LG,
Leonhard.



Reply to: