IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Debian Discussion :

installer debian par le reseau


Sujet :

Debian

  1. #1
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Avril 2007
    Messages
    94
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2007
    Messages : 94
    Points : 35
    Points
    35
    Par défaut installer debian par le reseau
    BONJOUR
    j essaye d installer de part le reseaux une Debian mais voila j ai un probleme
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    PXE-E32: TFTP open time out
    j ai suivi a la lettre se tuto http://www.lri.fr/~quetier/tuto_cluster/cluster#tftp

    mon client a bien une adresse attribuer par mon dhcp voici le dhcpd.conf et l attribution
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    option domain-name "papou.com";
    default-lease-time 600;
    max-lease-time 7200;
     
    allow booting;
    allow bootp;
     
    # Le paragraphe suivant doit être modifié pour correspondre à votre système
    subnet 192.168.160.0 netmask 255.255.255.0 {
    	range 192.168.160.200 192.168.160.223;
    	filename "tftpboot/pxelinux.0";
    	option broadcast-address 192.168.160.255;
    	# Indiquez le DNS que vous voulez utiliser
    	option domain-name-servers 192.168.160.3;
             next-server 192.168.160.3;
    	}
    group {
    	filename "tftpboot/pxelinux.0";
    	}
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    192.168.160.222 	00:0c:6e:7a:96:5b 	
    	2002/01/08 06:12:58 	2002/01/08 06:22:58
    j ai donc par la suite cree un repertoire du nom de tftpboot ou j ai decompresser le netboottar.gz .a l interieure de se repertoire il y a
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    ~# ls -l /root/tftpboot
    total 5432
    drwxr-xr-x 3 root root    4096 2007-06-15 12:23 debian-installer
    -rw-r--r-- 1 root root 5544566 2002-01-04 07:09 netboot.tar.gz
    lrwxrwxrwx 1 root root      32 2002-01-04 07:09 pxelinux.0 -> debian-installer/i386/pxelinux.0
    lrwxrwxrwx 1 root root      34 2002-01-04 07:09 pxelinux.cfg -> debian-installer/i386/pxelinux.cfg
    apres j ai donc installer le tftp j ai editer le fichier de configuration nano /etc/pxe.conf
    pour le configurer

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    # which interface to use
    interface=eth2
    default_address=192.168.160.3
     
    # the multicast ip address to listen on
    multicast_address=192.168.160.255
     
    # mtftp info
    mtftp_address=192.168.160.200
    mtftp_client_port=1758
    mtftp_server_port=1759
     
    # the port to listen on
    listen_port=4011
     
    # enable multicast?
    use_multicast=1
     
    # enable broadcast?
    use_broadcast=0
     
    # user prompt
    prompt=Press F8 to view menu ...
    prompt_timeout=10
     
    # what services to provide, priority in ordering
    # CSA = Client System Architecture
    # service=<CSA>,<min layer>,<max layer>,<basename>,<menu entry>
    service=X86PC,0,0,local,Local boot
    service=X86PC,0,0,pxelinux,PXELinux
     
    # tftpd base dir
    tftpdbase=tftpboot/pxelinux.0
    #tftpdbase=/tftpboot
     
    #domain namePXE-E32 : TFTP open timeout
    domain=papou.com
    par la suite je demarre le pc client et la j ai une erreur PXE-E32 : TFTP open timeout

    merci a vous tous pour votre aide

  2. #2
    Membre actif Avatar de Purple Haze
    Profil pro
    Inscrit en
    Février 2007
    Messages
    293
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2007
    Messages : 293
    Points : 242
    Points
    242
    Par défaut
    Salut,

    j'ai déjà eu ce problème sur un PXE sous fedora et le problème venait du firewall, même avec le port 69 du tftp ouvert : TIME OUT. Pour faire simple desactive le firewalll pour l'install.

    A+

  3. #3
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Avril 2007
    Messages
    94
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2007
    Messages : 94
    Points : 35
    Points
    35
    Par défaut
    il y a un firewall par defaut sur debian ???

    car moi je n ai pas i nstaller de firewall

  4. #4
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Avril 2007
    Messages
    94
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2007
    Messages : 94
    Points : 35
    Points
    35
    Par défaut
    bonjour
    je viens de suivre a la lettre le tuto http://blogpmenier.dynalias.net/doce...ootreseau.html

    mais j ai toujour se probleme au demarrage de mon poste client
    qui me dit file not found
    mais quand je regarde dans var/log/syslog je voie qu il a comme essayer d envoyer les infos mais rien ne se passe par la suite
    Jan 10 02:33:19 localhost dhcpd: DHCPDISCOVER from 00:0c:6e:7a:96:5b via eth2
    Jan 10 02:33:20 localhost dhcpd: DHCPOFFER on 192.168.160.213 to 00:0c:6e:7a:96:5b via eth2
    Jan 10 02:33:23 localhost dhcpd: Wrote 2 leases to leases file.
    Jan 10 02:33:23 localhost dhcpd: DHCPREQUEST for 192.168.160.213 (192.168.160.3) from 00:0c:6e:7a:96:5b via eth2
    Jan 10 02:33:23 localhost dhcpd: DHCPACK on 192.168.160.213 to 00:0c:6e:7a:96:5b via eth2
    Jan 10 02:33:23 localhost atftpd[6236]: Serving /tftpboot/pxelinux.0 to 192.168.160.213:2070
    Jan 10 02:33:23 localhost atftpd[6236]: Serving /tftpboot/pxelinux.0 to 192.168.160.213:2071

    debian:/var/log#

    je ne comprend pas pourquoi
    encore merci pour votre aide

  5. #5
    Membre régulier
    Profil pro
    Inscrit en
    Avril 2003
    Messages
    131
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2003
    Messages : 131
    Points : 97
    Points
    97
    Par défaut
    Un truc bête, /tftpboot/pxelinux.0 existe bien sur le serveur bootp ?

  6. #6
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Avril 2007
    Messages
    94
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2007
    Messages : 94
    Points : 35
    Points
    35
    Par défaut
    je regarderais sa à 13h et je te donne la reponse
    je regarderais donc dans tftpboot : nano /etc/inetd.conf

  7. #7
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Avril 2007
    Messages
    94
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2007
    Messages : 94
    Points : 35
    Points
    35
    Par défaut
    voici se qu il y a dans nano /etc/inetd.conf

    #:BOOT: TFTP service is provided primarily for booting. Most sites
    # run this only on machines acting as "boot servers."
    tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 3 --ret$

  8. #8
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Avril 2007
    Messages
    94
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2007
    Messages : 94
    Points : 35
    Points
    35
    Par défaut
    alors voici ou j en suis je viens de voir que dans syslog j avais cette erreur apres avoir plusieur modification .

    j ai juste une question il me demande bien de cree un compte tftp ?


    Jan 10 20:23:20 localhost inetd[3057]: /usr/sbin/tcpd: exit status 64
    Jan 10 20:23:20 localhost in.tftpd[7245]: connect from 192.168.160.213 (192.168.160.213)
    Jan 10 20:23:20 localhost in.tftpd[7245]: Usage: in.tftpd [-vcl][-a address][-m mappings][-u user][-t inetd_t imeout][-T pkt_timeout][-r option...] [-s] [directory ...]
    Jan 10 20:23:20 localhost inetd[3057]: /usr/sbin/tcpd: exit status 64
    Jan 10 20:23:20 localhost in.tftpd[7246]: connect from 192.168.160.213 (192.168.160.213)
    Jan 10 20:23:20 localhost in.tftpd[7246]: Usage: in.tftpd [-vcl][-a address][-m mappings][-u user][-t inetd_t imeout][-T pkt_timeout][-r option...] [-s] [directory ...]
    Jan 10 20:23:20 localhost inetd[3057]: /usr/sbin/tcpd: exit status 64
    Jan 10 20:23:20 localhost inetd[3057]: tftp/udp server failing (looping), service terminated for 10 min

  9. #9
    Membre régulier
    Profil pro
    Inscrit en
    Janvier 2006
    Messages
    97
    Détails du profil
    Informations personnelles :
    Âge : 41
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Janvier 2006
    Messages : 97
    Points : 119
    Points
    119
    Par défaut
    Citation Envoyé par zyriuse Voir le message
    voici se qu il y a dans nano /etc/inetd.conf

    #:BOOT: TFTP service is provided primarily for booting. Most sites
    # run this only on machines acting as "boot servers."
    tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 3 --ret$
    tcpd est dans sbin (donc seul root est apte a l'utiliser)

    Je te conseil ceci :
    supprime (ou met en commentaire plutôt) ligne la ligne tftp de ton inetc.conf, et tape les commandes suivantes.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    root@debian#echo "tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot">>/etc/inetd.conf
    root@debian#update-inetd --enable BOOT
    Mon tit blog: blog.uliniux.org
    Dans la vie, on peut faire autre chose que travailler: Suivez le guide

Discussions similaires

  1. Installation Debian par Live CD sur un MSI
    Par utopiad dans le forum Debian
    Réponses: 4
    Dernier message: 21/04/2014, 16h22
  2. Installation debian par stick usb
    Par wappyboy dans le forum Debian
    Réponses: 8
    Dernier message: 05/09/2009, 15h00
  3. Install debian en reseau
    Par byloute dans le forum Réseau
    Réponses: 3
    Dernier message: 16/11/2006, 18h52
  4. Installation de Debian par le réseau !
    Par Franck.H dans le forum Debian
    Réponses: 27
    Dernier message: 24/09/2006, 14h20
  5. Installation d'une carte réseau
    Par sekiryou dans le forum Matériel
    Réponses: 7
    Dernier message: 11/10/2004, 01h42

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo