aftp und xinetd
-
- Beiträge: 9
- Registriert: 14 Jul 2008, 11:14
aftp und xinetd
ich habe auf dem opsi Server den xinetd installiert. Seither kann ich keine Clients mehr von Grund auf, also inkl. OS, installieren. Kann mir jemand sagen, wie genau die xinetd konfig aussehen sollte, damit der atftp über den xinetd wieder funktionert?
Gruß Carsten
- j.schneider
- uib-Team
- Beiträge: 2042
- Registriert: 29 Mai 2008, 15:14
Re: aftp und xinetd
die xinetd config könnte etwa so aussehen:
Code: Alles auswählen
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
-
- Beiträge: 9
- Registriert: 14 Jul 2008, 11:14
Re: aftp und xinetd
Code: Alles auswählen
Nov 19 15:21:05 swdepot atftpd[2909]: Serving linux/pxelinux.0 to 172.16.0.57:2070
Nov 19 15:21:05 swdepot atftpd[2909]: Serving linux/pxelinux.0 to 172.16.0.57:2071
Nov 19 15:21:05 swdepot atftpd[2909]: Serving linux/pxelinux.cfg/01-00-30-05-66-4f-fa to 172.16.0.57:57089
Nov 19 15:21:05 swdepot atftpd[2909]: Serving linux/pxelinux.cfg/AC100039 to 172.16.0.57:56834
Nov 19 15:21:05 swdepot atftpd[2909]: Serving linux/pxelinux.cfg/AC10003 to 172.16.0.57:56579
Nov 19 15:21:05 swdepot atftpd[2909]: Serving linux/pxelinux.cfg/AC1000 to 172.16.0.57:56324
Nov 19 15:21:05 swdepot atftpd[2909]: Serving linux/pxelinux.cfg/AC100 to 172.16.0.57:56069
Nov 19 15:21:05 swdepot atftpd[2909]: Serving linux/pxelinux.cfg/AC10 to 172.16.0.57:55814
Nov 19 15:21:05 swdepot atftpd[2909]: Serving linux/pxelinux.cfg/AC1 to 172.16.0.57:55559
Nov 19 15:21:05 swdepot atftpd[2909]: Serving linux/pxelinux.cfg/AC to 172.16.0.57:55304
Nov 19 15:21:05 swdepot atftpd[2909]: Serving linux/pxelinux.cfg/A to 172.16.0.57:55049
Nov 19 15:21:05 swdepot atftpd[2909]: Serving linux/pxelinux.cfg/default to 172.16.0.57:54794
In diesem Fall sollte die "hwinvent" geladen werden.
Hier noch der Inhalt des /tftpboot auf dem Server:
Code: Alles auswählen
swdepot:~# ll /tftpboot/linux/
insgesamt 55M
lrwxrwxrwx 1 root root 14 2008-02-25 15:28 install -> vmlinuz-2.6.24
-rw-r--r-- 1 1053 pcpatch 97K 2007-01-11 22:48 memtest86
-rw-r--r-- 1 root root 53M 2008-02-07 12:56 miniroot-20080207.gz
lrwxrwxrwx 1 root root 20 2008-02-25 15:28 miniroot.gz -> miniroot-20080207.gz
-rw-r--r-- 1 root root 12K 2008-01-08 11:46 pxelinux.0
drwxr-sr-x 2 1053 pcpatch 4,0K 2008-11-19 15:00 pxelinux.cfg
-rw-r--r-- 1 root root 1,7M 2008-02-07 12:56 vmlinuz-2.6.24
swdepot:~# ll /tftpboot/linux/pxelinux.cfg/
insgesamt 16K
prw-r--r-- 1 root pcpatch 0 2008-11-19 15:00 01-00-01-0a-0a-c0-c8
prw-r--r-- 1 root pcpatch 0 2008-11-19 14:16 01-00-21-5a-c5-f6-0b
prw-r--r-- 1 root pcpatch 0 2008-11-19 14:16 01-00-22-64-16-cb-81
prw-r--r-- 1 root pcpatch 0 2008-11-19 14:16 01-00-30-05-8a-e7-9c
prw-r--r-- 1 root pcpatch 0 2008-11-19 14:16 01-00-30-05-c2-6d-3e
-rw-r--r-- 1 root root 43 2008-01-08 11:46 default
-rw-r--r-- 1 root root 158 2008-02-07 12:56 install
-rw-r--r-- 1 1053 pcpatch 55 2007-07-05 14:01 memtest86
-rw-r----- 1 root pcpatch 174 2008-02-26 09:26 win2003
Jemand einen Tipp? Danke schonmal

- j.schneider
- uib-Team
- Beiträge: 2042
- Registriert: 29 Mai 2008, 15:14
Re: aftp und xinetd
Diese "Dateien" sind in Wirklichkeit Named Pipes.Carsten Lenz hat geschrieben: Was sind das eigentlich für Dateien mit einem Namen ähnlich einer MAC Adresse?
Über solche Named Pipes können Prozesse Daten austauschen (Stichwort IPC).
In unserem Fall steht hinter einer Named Pipe der opsipxeconfd.
Sobald ein anderer Prozess diese Pipe zum Lesen öffnet (z.B. atftpd) schreibt opsipxeconfd die PXE-Konfiguration für den entsprechenden Client in diese Pipe.
Wenn eine Named Pipe unterhalb von /tftpboot/linux für einen Client existiert, bedeutet das, dass ein Netboot-Produkt für diesen Client auf setup steht.
Eine Übersicht über die von opsipxeconfd verwalteten Pipes bekommt man auch über:
Code: Alles auswählen
opsipxeconfd status
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
-
- Beiträge: 9
- Registriert: 14 Jul 2008, 11:14