Re: Booten über TFTP
Am Mittwoch, 11. Oktober 2006 17:54 schrieb Mag. Leonhard Landrock:
> Habe noch eine Ergänzung.
>
> Am Mittwoch, 11. Oktober 2006 17:27 schrieb Mag. Leonhard Landrock:
> > Hallo Liste!
> >
> > Ich möchte über TFTP booten. :-) In der Folge geht es um FAI, aber
> > zunächst muss ich einmal booten können. ;-)
> >
> > Derzeit scheint der TFTPd nicht so zu tun, wie er soll.
>
> [...]
>
> > Was muss ich prüfen bzw. machen, um TFTP zum laufen zu bekommen?
>
> Der Versuch TFTP zu Testzwecken im Nicht-Daemon Modus - BTW: wie nennt man
> das eiogentlich korrekt? - zu starten funktioniert auch nicht.
>
> "root@veneto:~# atftpd --port 12345 /srv/tftp/
> Usage: tftpd [options] [directory]
> [options] may be:
> -t, --tftpd-timeout <value>: number of second of inactivity before
> exiting -r, --retry-timeout <value>: time to wait a reply before
> retransmition -m, --maxthread <value> : number of concurrent thread
> allowed -v, --verbose [value] : increase or set the level of output
> messages --trace : log all sent and received packets
> --no-timeout : disable 'timeout' from RFC2349
> --no-tisize : disable 'tsize' from RFC2349
> --no-blksize : disable 'blksize' from RFC2348
> --no-multicast : disable 'multicast' from RFC2090
> --logfile <file> : logfile to log logs to ;-)
> --pidfile <file> : write PID to this file
> --daemon : run atftpd standalone (no inetd)
> --no-fork : run as a daemon, don't fork
> --user <user[.group]> : default is nobody
> --group <group> : default is nogroup
> --port <port> : port on which atftp listen
> --bind-address <IP> : local address atftpd listen to
> --mcast-ttl : ttl to used for multicast
> --mcast-addr <address list>: list/range of IP address to use
> --mcast-port <port range> : ports to use for multicast transfer
> --pcre <file> : use this file for pattern replacement
> --pcre-test <file> : just test pattern file, not starting server
> --mtftp <file> : mtftp configuration file
> --mtftp-port <port> : port mtftp will listen
> --no-source-port-checking : violate RFC, see man page
> --mcast-switch-client : switch client on first timeout, see man page
> -V, --version : print version information
> -h, --help : print this help
>
> [directory] must be a world readable/writable directories.
> By default /tftpboot is assumed."
>
> Das gleiche Ergebnis erhalte ich auch wenn ich als Verzeichnis "/tmp"
> angebe. "/tmp" hat folgende Attribute:
>
> "root@veneto:~# ls /tmp/ -ald
> drwxrwxrwx 9 root root 320 2006-10-11 17:35 /tmp/"
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?
LG,
Leonhard.
Reply to: