Koozali.org: home of the SME Server

Problème Contrib Thinclient

thelinuxfr

Problème Contrib Thinclient
« on: April 02, 2006, 04:38:28 PM »
Bonjour,

J'ai voulu tester la contrib de trevorb, c'est à dire d'installer un serveur tftp + thinclient.

J'ai donc installé les deux paquetages suivants:
 * smeserver-tftp-server-0.39-rc2.i386.rpm
 * smeserver-thinclient-2.0.0-3.noarch.rpm

L'install c'est bien passée, j'ai fait comme dit dans le readme. J'ai donc redémarré mon serveur et installé plusieurs img pxe pour testé. La aussi pas de soucis tous ce passe bien.

C'est du coté client que ca ne va pas top. Je boot mon client en PXE il trouve bien le serveur DHCP, obtient sous adresse et cherche le tftp.

Et la il tombe en "time out" (essaye sur 2 clients différents)

Les logs ne me disent :p



Code: [Select]
2006-04-02 16:26:22.002969500 udpsvd: info: pid 7428 from 10.18.2.41
2006-04-02 16:26:22.077840500 udpsvd: info: start 7428 :0.0.0.0 :pc-00041.lieapart.no-ip.org:10.18.2.41:2070
2006-04-02 16:26:22.081442500 udpsvd: info: end 7428
2006-04-02 16:26:24.012839500 udpsvd: info: pid 7430 from 10.18.2.41
2006-04-02 16:26:24.013640500 udpsvd: info: start 7430 :0.0.0.0 :pc-00041.lieapart.no-ip.org:10.18.2.41:2071
2006-04-02 16:26:24.022858500 udpsvd: info: end 7430
2006-04-02 16:26:28.022718500 udpsvd: info: pid 7432 from 10.18.2.41
2006-04-02 16:26:28.023532500 udpsvd: info: start 7432 :0.0.0.0 :pc-00041.lieapart.no-ip.org:10.18.2.41:2072
2006-04-02 16:26:28.032892500 udpsvd: info: end 7432
2006-04-02 16:26:34.010168500 udpsvd: info: pid 7434 from 10.18.2.41
2006-04-02 16:26:34.011150500 udpsvd: info: start 7434 :0.0.0.0 :pc-00041.lieapart.no-ip.org:10.18.2.41:2073
2006-04-02 16:26:34.020710500 udpsvd: info: end 7434
2006-04-02 16:26:41.974952500 udpsvd: info: pid 7456 from 10.18.2.41
2006-04-02 16:26:41.975755500 udpsvd: info: start 7456 :0.0.0.0 :pc-00041.lieapart.no-ip.org:10.18.2.41:2074
2006-04-02 16:26:41.985243500 udpsvd: info: end 7456
2006-04-02 16:26:51.917753500 udpsvd: info: pid 7458 from 10.18.2.41
2006-04-02 16:26:51.918604500 udpsvd: info: start 7458 :0.0.0.0 :pc-00041.lieapart.no-ip.org:10.18.2.41:2075
2006-04-02 16:26:51.926598500 udpsvd: info: end 7458
2006-04-02 16:27:21.442242500 udpsvd: info: pid 7461 from 10.18.2.41
2006-04-02 16:27:21.443034500 udpsvd: info: start 7461 :0.0.0.0 :pc-00041.lieapart.no-ip.org:10.18.2.41:2070
2006-04-02 16:27:21.452505500 udpsvd: info: end 7461
2006-04-02 16:27:23.468451500 udpsvd: info: pid 7463 from 10.18.2.41
2006-04-02 16:27:23.469260500 udpsvd: info: start 7463 :0.0.0.0 :pc-00041.lieapart.no-ip.org:10.18.2.41:2071
2006-04-02 16:27:23.478801500 udpsvd: info: end 7463
2006-04-02 16:27:27.478340500 udpsvd: info: pid 7465 from 10.18.2.41
2006-04-02 16:27:27.479161500 udpsvd: info: start 7465 :0.0.0.0 :pc-00041.lieapart.no-ip.org:10.18.2.41:2072
2006-04-02 16:27:27.488545500 udpsvd: info: end 7465
2006-04-02 16:27:33.465730500 udpsvd: info: pid 7467 from 10.18.2.41
2006-04-02 16:27:33.466557500 udpsvd: info: start 7467 :0.0.0.0 :pc-00041.lieapart.no-ip.org:10.18.2.41:2073
2006-04-02 16:27:33.476040500 udpsvd: info: end 7467
2006-04-02 16:27:41.430526500 udpsvd: info: pid 7489 from 10.18.2.41
2006-04-02 16:27:41.431358500 udpsvd: info: start 7489 :0.0.0.0 :pc-00041.lieapart.no-ip.org:10.18.2.41:2074
2006-04-02 16:27:41.440863500 udpsvd: info: end 7489


Voila je voulais savoir si quelq'un avait eu le problème? Comment régler ca? Je suis sous SME 7rc1

Merci d'avance

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Problème Contrib Thinclient
« Reply #1 on: April 03, 2006, 12:39:22 PM »
ls -al /tftpboot
et subdirectories (distributions)

problème de permission?

Trevor B

thelinuxfr

Problème Contrib Thinclient
« Reply #2 on: April 03, 2006, 01:00:21 PM »
# ls -al :

drwxr-xr-x   3 root root 4096 jan 21 13:56 .
drwxr-xr-x  26 root root 4096 avr  2 19:56 ..
drwxr-xr-x   5 root root 4096 avr  2 19:52 pxes

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Problème Contrib Thinclient
« Reply #3 on: April 03, 2006, 01:06:00 PM »
pour le moment
config setprop tftpd user root
/etc/init.d/tftpd restart

I will look at why 'nobody' does NOT work.  

Merci
Trevor B

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Problème Contrib Thinclient
« Reply #4 on: April 03, 2006, 01:06:30 PM »
pour le moment
config setprop tftpd user root
/etc/init.d/tftpd restart

Je regarderai pourquoi 'nobody' ne travaille.  

Merci
Trevor B

thelinuxfr

Problème Contrib Thinclient
« Reply #5 on: April 03, 2006, 01:14:22 PM »
Ok pour:

config setprop tftpd user root
/etc/init.d/tftpd restart

C'est fait et j'ai fais un petit test pour la route:

DHCP OK
TFTP "File not found"

Merci

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Problème Contrib Thinclient
« Reply #6 on: April 03, 2006, 01:27:03 PM »
Quote from: "thelinuxfr"
TFTP "File not found"

Quel dossier essayez-vous de trouver?
Le dossier existe?  /tftpboot/<file>
Les permissions sont correctes?

Trevor B

thelinuxfr

Problème Contrib Thinclient
« Reply #7 on: April 03, 2006, 01:38:27 PM »
Oui tout est correcte. En plus je viens de faire un chmod -R +777 /tftpboot

En access nobody il tombe en "time out"
et en access root "file no found"


Et un truc bizard dans le log tftpd:

udpsvd: info: listening on 0.0.0.0:69, uid 99, gid 99, starting.

Les 0.0.0.0 c'est bon?


Et voici la fin de mon dhcpd.conf

Code: [Select]

    filename "PXES/pxelinux.0";
}
host DEBORA {
        allow bootp;
        filename "PXES/pxelinux.0";
        hardware ethernet 00:.............;
}


hosts.allow
Code: [Select]

in.tftpd: ALL


Par contre je n'ai pas trouvé de fichiers de config de tftpd.conf, ni thin... dans /etc/ es-ce normal? Et pas de service tftpd dans xinetd.d

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Problème Contrib Thinclient
« Reply #8 on: April 03, 2006, 02:16:11 PM »
Quote from: "thelinuxfr"
udpsvd: info: listening on 0.0.0.0:69, uid 99, gid 99, starting.

Les 0.0.0.0 c'est bon?

Ceci indique access=public (toutes les interfaces)
config setprop tftpd access private
pour internal

Quote
   filename "PXES/pxelinux.0";

Mais, l'annuaire s'appelle les pxes, pas PXES. Le linux est cas sensible.

Quote
Par contre je n'ai pas trouvé de fichiers de config de tftpd.conf, ni thin... dans /etc/ es-ce normal? Et pas de service tftpd dans xinetd.d

/var/service/tftpd/run
7.x utilise services supervised, pas xinet.d

Trevor B

thelinuxfr

Problème Contrib Thinclient
« Reply #9 on: April 03, 2006, 02:28:19 PM »
Ca marche !!!! :p

En changant PXES > pxes
Et ll'access root

Maintenant avez vous des adresses pour récupérer des imgs pxe?

Et peut-on en choisissant PXE defaut: NONE avec un choix des pxe installés?

Et et-il possible de par exemple partir d'un CD Windows pour en faire un pxe (pour l'install multi-postes)?

Merci ;)

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Problème Contrib Thinclient
« Reply #10 on: April 04, 2006, 12:08:54 AM »
Quote from: "thelinuxfr"
En changant PXES > pxes
En dhcpd.conf?

J'aurais
cd /tftpboot
mv pxes PXES
Quote
Et peut-on en choisissant PXE defaut: NONE avec un choix des pxe installés?
mais, vous pouvez
db setprop thinclients PXES dir pxes
Quote
Et et-il possible de par exemple partir d'un CD Windows pour en faire un pxe (pour l'install multi-postes)?
Non. Il est très complexe.

Regardez http://unattended.sourceforge.net/ , l'auteur crée un contrib de smeserver.

Trevor B