Probleme de tsize ( i think) dans un pxelinux

Fermé
vercetty92 - 10 juin 2008 à 12:06
 mass - 30 juin 2009 à 19:31
Bonjour,
j'ai mis en place dans ma boite un serveur pxe sous linux sur un debian avec tftpd-hap.

voila mes differents fichiers de conf:

/etc/default/tftpd-hpa

1 #Defaults for tftpd-hpa
2 RUN_DAEMON="yes"
3 OPTIONS="-l -s /mnt/datas/tftpboot/"

a noter que /mnt/datas/tftpboot est un point de montage car c'esr un dd additionnel.

/etc/inetd.conf

tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd -r blksize /tftpboot

Quand je check tout est bon:

$ netstat -uap | grep tftp
udp 0 0 *:tftp *:* 30265/in.tftpd

/mnt/datas/tftpboot/pxelinux.cfg/default

DISPLAY boot.txt
2
3 F1 boot-screens/f1.txt
4 F2 boot-screens/f2.txt
5 F3 boot-screens/f3.txt
6 F4 boot-screens/f4.txt
7 F5 boot-screens/f5.txt
8 F6 boot-screens/f6.txt
9 F7 boot-screens/f7.txt
10 F8 boot-screens/f8.txt
11 F9 boot-screens/f9.txt
12 F0 boot-screens/f10.txt
13
14 # On définit ce qui sera lancer par defaut lors du boot, | savoir le menu graphique choisi
15 DEFAULT menu.c32
16 localboot pxelinux
17 NOESCAPE 1
18
19 # On choisi un titre pour l'écran d'arrivé
20 MENU TITLE -=[ TFTP Server - OS Installer ]=-
21
22 # Il y a un boot automatique au bout de 20 secondes
23 TIMEOUT 0
24
25 # Le boot automatique s'effectue sur le disque dur en locale
26 LABEL Local Hard Drive Boot
27 localboot 0 --
28
29 LABEL x64 - Debian
30 kernel os-installer/debian-installer/x86/linux
31 append vga=791 priority=low initrd=os-installer/debian-installer/x86/initrd.gz --
32
33 LABEL x86 - Debian
34 kernel os-installer/debian-installer/x64/linux
35 append vga=791 priority=low initrd=os-installer/debian-installer/x64/initrd.gz --
36
37 LABEL Memtest86+ (RAM Testing Program)
38 kernel os-installer/memtest/memtest86+-1.70
39
40 LABEL x64 - OpenBSD 4.3
41 kernel memdisk
42 append initrd=x64/openbsd-installer/floppy41.fs --
43
44 LABEL x86 - OpenBSD 4.3
45 kernel memdisk
46 append initrd=x86/openbsd-installer/floppy41.fs --
47
48 LABEL x64 - Red Hat
49 kernel os-installer/redhat-installer/x86/linux
50 append vga=791 priority=low initrd=os-installer/redhat-installer/x86/initrd.gz --
51
52 LABEL x86 - Red Hat
53 kernel os-installer/redhat-installer/x64/linux
54 append vga=791 priority=low initrd=os-installer/redhat-installer/x64/initrd.gz --
55 PROMPT 1


Donc voila mes conf.

Now le pb c'est que kan je boot sur le réseau, j'ai des messages du genre

Trying to load: pxelinux.cfg/01-00-0c-29-4c-f4-1b
Trying to load: pxelinux.cfg/C0A800D0

etc...jusqu'à ce qu'il cherche le fichier default qu'il ne trouve pas

En parallele sur les log de syslog du server,(qui est aussi dhcp) j'ai ce message là, qui je pense se refere au tsize:

2688 Jun 10 11:20:21 tasmania dhcpd: DHCPOFFER on 192.168.0.208 to 00:0c:29:4c:f4:1b via eth1
2689 Jun 10 11:20:23 tasmania dhcpd: DHCPREQUEST for 192.168.0.208 (192.168.0.27) from 00:0c:29:4c:f4:1b via eth1
2690 Jun 10 11:20:23 tasmania dhcpd: DHCPACK on 192.168.0.208 to 00:0c:29:4c:f4:1b via eth1
2691 Jun 10 11:20:23 tasmania in.tftpd[22681]: tftp: client does not accept options


j'avais deja fais un serveur comme ca sans avoir de pb alors la je ne comprends pas....
si quelquun peut m'aider SVP!!!!!!!!!!

MERCI D'AVANCE
A voir également:

5 réponses

up!!
1
up
1
g pas mis assez d'info?
1
Slt Vercetty92,

J'ai mis en place la même configuration et je me retrouve dans le même cas "tftp: client does not accept options "

Est ce que tu aurais trouver la solution ?

Quel sont les options que tu a définit pour tftpd-hpa ?

Merci de ton aide

@+
1

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
slt au lieu d installer tftpd-hpa tu installe tftpd c est seulement ca le blem
-1