Re: XDM_SERVER o SERVER

"Mauricio Biott" <[email protected]>
Newsgroups gmane.linux.pxes.spanish
Message-ID <[email protected]>
On 1/6/08, Ing. Arguello <[email protected]> wrote:
> Mauricio:
>              Lo que podes hacer es utilizar en la configuracion del
> dhcp del SERVER2 la sentencia next_server= ip server1 para los
> terminales que vas a hacer funcionar con el SERVER1. Esto se hace
> cuando tenes un servidor dhcp y un servidor ltsp y funcionan en
> equipos distintos. En teoria no hay nada que impida que este mecanismo
> te permita solucionar tu problema.
>
> Si queres que el ws002 arranque en el SERVER1, seria algo asi creo:
>
>
>        host ws002 {
>                hardware ethernet     00:01:03:0a:e4:1b;
>                fixed-address         192.168.0.53;
>                next-server IPSERVER1;
>                if substring( option vendor-class-identifier, 0, 9 ) =
> "PXEClient" {
>                        filename "/ltsp/i386/pxelinux.0";
>                }
>                else{
>                        filename "/ltsp/i386/nbi.img";
>                }
>
> Espero que te sirva.
> Saludos.
>


Muchisimas Gracias Marcelo, con next_server quedó solucionado.





>
> El 4/01/08, Mauricio Biott <[email protected]> escribió:
> > On 1/4/08, Cristian Mitchell <[email protected]> wrote:
> > > El 3/01/08, Mauricio Biott <[email protected]> escribió:
> > > > On 1/2/08, mariodebian <[email protected]> wrote:
> > > > >
> > > > > On mié, 2008-01-02 at 11:47 -0300, Mauricio Biott wrote:
> > > > > > Paso a comentarles lo que he hecho para ver si alguien me da una mano/idea.
> > > > > >
> > > > > > Tengo instalado en el SERVER1 un edubuntu con LTSP5 funcionando.
> > > > > > Ahora instalamos un SERVER2 con edubuntu y LTSP5 y tambien esta funcionando.
> > > > > >
> > > > > > Basicamente queriamos hacer que en SERVER2 esté el DHCP y que algunas
> > > > > > terminales tomen el X de SERVER1 y otras el X del SERVER2.
> > > > > >
> > > > > > Obviamente las terminales que se conectan al SERVER2 el cual es el
> > > > > > DHCP server, se conectan barbaro, en cambio las que quisimos conectar
> > > > > > al SERVER1 no.
> > > > > >
> > > > > > Lo que hicimos fue cambiar en lts.conf el XDM_SERVER poniendo como
> > > > > > dirección el SERVER1, pero al momento de logearse no nos da bola y
> > > > > > toma el usuario del SERVER2 (Como si no hubiésemos hecho nada).
> > > > > >
> > > > > > Como segunda opción agregamos a esas terminales la opcion
> > > > > > SERVER=SERVER1 y nos da el siguiente error en la pantalla cliente.
> > > > > > "This workstation isn't authorized to connect to server".   En los
> > > > > > logs no figura nada en concreto que nos de una idea de lo que esta
> > > > > > pasando.
> > > > > >
> > > > > > No se si en SERVER1 tengo que configurar algo en particular.  Alguna idea?
> > > > > >
> > > > > >  Mil gracias
> > > > > >
> > > > >
> > > > > ¿Has duplicado las claves SSH en los dos servidores?
> > > > >
> > > >
> > > > Dupliqué las llaves y aún asi me da el mismo mensaje... Las habré
> > > > duplicado bien?..  Me das una idea de como lo harías.? gracias.
> > > >
> > > > Mauricio Biott
> > > > _______________________________________________
> > > > Ltsp-es mailing list
> > > > [email protected]
> > > > https://listas.hispalinux.es/mailman/listinfo/ltsp-es
> > > > Web del proyecto http://terminales.hispalinux.es
> > > >
> > >
> > > por que no posteas tu dhcp.conf
> > >
> >
> >
> > # archivo dhcp.conf
> > #
> > # Default LTSP dhcpd.conf config file.
> > #
> >
> > authoritative;
> >
> > subnet 192.168.0.0 netmask 255.255.255.0 {
> >
> >         option domain-name "intra.net";
> >         option domain-name-servers 192.168.0.254;
> >         option broadcast-address 192.168.0.255;
> >         option routers 192.168.0.254;
> >         option subnet-mask 255.255.255.0;
> >         option root-path "/opt/ltsp/i386";
> >         if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
> >                 filename "/ltsp/i386/pxelinux.0";
> >         }
> >         else {
> >                 filename "/ltsp/i386/nbi.img";
> >     }
> > }
> > group{
> >         host ws001 {
> >                 hardware ethernet     00:01:02:4c:07:07;
> >                 fixed-address         192.168.0.54;
> >                 if substring( option vendor-class-identifier, 0, 9 ) =
> > "PXEClient" {
> >                         filename "/ltsp/i386/pxelinux.0";
> >                 }
> >                 else{
> >                         filename "/ltsp/i386/nbi.img";
> >                 }
> >         }
> >         host ws002 {
> >                 hardware ethernet     00:01:03:0a:e4:1b;
> >                 fixed-address         192.168.0.53;
> >                 if substring( option vendor-class-identifier, 0, 9 ) =
> > "PXEClient" {
> >                         filename "/ltsp/i386/pxelinux.0";
> >                 }
> >                 else{
> >                         filename "/ltsp/i386/nbi.img";
> >                 }
> >         }
> > }
> >
> >
> > #Archivo /etc/hosts
> > 127.0.0.1       localhost
> > 192.168.0.56    ltsp-server
> > 192.168.0.53    ws002   ws002
> > 192.168.0.54    ws001   ws001
> >
> >
> > # Archivo lts.conf
> > [default]
> >   LTSP_VERSION=5.0.39
> >         X_MODE_0        = 1024x768
> >         X_COLOR_DEPTH   = 24
> >
> > [192.168.0.54]
> >         X_MODE_0        = 800x600
> >         XDM_SERVER      = 192.168.0.19
> >         #server          = 192.168.0.19
> >
> > [192.168.0.53]
> >         X_MODE_0        = 1024x768
> >
> >
> >
> > En 192.168.0.19 es el Server al cual solo quiero acceder al X y nada
> > mas desde la terminal ws001 . Gracias
> > _______________________________________________
> > Ltsp-es mailing list
> > [email protected]
> > https://listas.hispalinux.es/mailman/listinfo/ltsp-es
> > Web del proyecto http://terminales.hispalinux.es
> >
> _______________________________________________
> Ltsp-es mailing list
> [email protected]
> https://listas.hispalinux.es/mailman/listinfo/ltsp-es
> Web del proyecto http://terminales.hispalinux.es
>


-- 
Mauricio Biott
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.