Problema Subir Servidor LTSP

Cristóbal Alvarez <[email protected]> Tue, 2 Nov 2010 16:52:35 -0500
Newsgroups gmane.linux.pxes.spanish
Message-ID <[email protected]>
--===============2026465163667117798==
Content-Type: multipart/alternative;
	boundary="_e8edf585-a9d0-4329-b0cd-16867efbf7fe_"


--_e8edf585-a9d0-4329-b0cd-16867efbf7fe_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Estimados,
Estoy intentando simular mediante VMWare un entorno donde existe un Servido=
r con Edubuntu 10.04 y 2 ThinClient, para llevarlo a la realidad para hacer=
lo en una escuelita de escasos recursos en donde ya tengo las maquinas (vie=
jitas), por mas que eh leido y re-leido manuales, no puedo levantar algo ta=
n secillo como parece ser el LTSP :-(

Escenario Virtual:
- 1 Server con 2 tarjetas de red  Eth1(VMnet2)->Switch para los ThinClient =
  Eth2(Bridge)->Conectado a mi Modem que me da el Internet (recordar q esto=
y usando VMWare)
- 2 ThinClient con su tarjeta de red y 128MB ram
- El boteo es mediante un imagen ISO para usar Etherboot (sea un CD o un di=
skett)

Problemas:
1.- Si reinicio el Server, cambian las configuraciones de la tarjeta de Red=
 Eth1 (no toma ip) , es decir, siempre tengo q hacer :
... init.d/networking restart
... init.d/dhcp3-server restart

2.- NO logro que se conecten mis ThinClient
El mens q me sale al encender las thinClient es:

dhcp.............ok
net0: 192.168.2.101 / 255.255.255.0 GW 192.168.2.10
Booting from File name "/ltsp/i38/vmlinux.etherboot"
Tftp://192.168.2.10//ltsp/i386/vmlinux.etherboot.  No such file or director=
y(0x2d1603b)

Could not boot from File name "/ltsp/i38/vmlinux.etherboot"
Tftp://192.168.2.10//ltsp/i386/vmlinux.etherboot.  No such file or director=
y(0x2d1603b)



Pasos que segui
1.-
sudo apt-get install ltsp-server-standalone openssh-server
(Aqui se crearon las carpetas correspondientes)

2.- Crear el ambiente Thin Client1
sudo ltsp-build-client

3.- Configurar el archivo /etc/network/interfaces (sugieren antes del paso =
2)

###################################################################
#En el VMWare coge como default la Eth2 SIEMPRE como internet,
#entonces se configurar=E1 la Eth1 para el SW de los  Thin Client
###################################################################
auto lo
iface lo inet loopback
#Interfaz NIC eth2 (internet)
auto eth2
iface eth2 inet static
address        192.168.1.10
netmask       255.255.255.0
network       192.168.1.0
broadcast     192.168.1.255
gateway      192.168.1.1
#dns- *Options are implemented by the resolvconf package, if installed
dns-nameservers    192.168.1.1

#Interfaz NIC eth1 (SW para ThinClient)
auto eth1
iface eth1 inet static
address        192.168.2.10
netmask       255.255.255.0
network       192.168.2.0
broadcast     192.168.2.255
#dns- *Options are implemented by the resolvconf package, if installed
dns-nameservers    192.168.1.1

4.-Reinicar la red y crear la otra interfaz de de la NIC2
sudo /etc/init.d/networking restart

5.-Configuramos el Archivo DHCPD.conf
sudo gedit /etc/ltsp/dhcpd.conf

# Default LTSP dhcpd.conf config file.
authoritative;

subnet 192.168.2.0 netmask 255.255.255.0 {
    range 192.168.2.100 192.168.2.110;
    option domain-name "escuela.com";
    option domain-name-servers 192.168.2.10;
    option broadcast-address 192.168.2.255;
    option routers 192.168.2.10;
#    next-server 192.168.1.1;
#    get-lease-hostnames true;
    option subnet-mask 255.255.255.0;
    option root-path "/opt/ltsp/i386";
    if substring( option vendor-class-identifier, 0, 9 ) =3D "PXEClient" {
       #filename "/ltsp/i386/pxelinux.0";
    filename "/ltsp/i386/vmlinux.etherboot";
    } else {
        filename "/ltsp/i386/nbi.img";
    }
}

host estudiante01 {
    hardware ethernet 00:0c:29:c3:8d:0e;
    fixed-address 192.168.2.101;
}

host estudiante02 {
    hardware ethernet 00:0c:29:91:30:9e;
    fixed-address 192.168.2.102;
}

6.- Al cambiar dhcpd.conf, iniciamos el servicio.
sudo /etc/init.d/dhcp3-server start

7.- En Sistema->Administracion->Usuarios y Grupos, a=F1adi los dos usuarios=
 (estudiante01 y estudiante02)

8.- Asigne Direcciones Estaticas a los ThinClient
sudo gedit /etc/ltsp/dhcpd.conf

host estudiante01 {
    hardware ethernet 00:0c:29:c3:8d:0e;
    fixed-address 192.168.2.100;
}

host estudiante02 {
    hardware ethernet 00:0c:29:91:30:9e;
    fixed-address 192.168.2.101;
}

La verdad no se que hacer, eh reinicado los sevicios mil veces y nada, a lo=
 mejor tengo algo mal en la config de las 2 tarjetas de red, si alguien tie=
ne una idea, muchas gracias de antemano


Atte.
=20
Crist=F3bal Alvarez B.
Ing. Electr=F3nica y Telecomunicaciones
CCNA=20
VoIP Asterisk

=20=09=09=20=09=20=20=20=09=09=20=20
--=20
Analizado antispam/virus.


--_e8edf585-a9d0-4329-b0cd-16867efbf7fe_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class=3D'hmmessage'>
Estimados,<br>Estoy intentando simular mediante VMWare un entorno donde exi=
ste un Servidor con Edubuntu 10.04 y 2 ThinClient, para llevarlo a la reali=
dad para hacerlo en una escuelita de escasos recursos en donde ya tengo las=
 maquinas (viejitas), por mas que eh leido y re-leido manuales, no puedo le=
vantar algo tan secillo como parece ser el LTSP :-(<br><br><b>Escenario Vir=
tual:</b><br>- 1 Server con 2 tarjetas de red&nbsp; Eth1(VMnet2)-&gt;Switch=
 para los ThinClient&nbsp;&nbsp; Eth2(Bridge)-&gt;Conectado a mi Modem que =
me da el Internet (recordar q estoy usando VMWare)<br>- 2 ThinClient con su=
 tarjeta de red y 128MB ram<br>- El boteo es mediante un imagen ISO para us=
ar Etherboot (sea un CD o un diskett)<br><br><b>Problemas:</b><br><b>1.-</b=
> Si reinicio el Server, cambian las configuraciones de la tarjeta de Red E=
th1 (no toma ip) , es decir, siempre tengo q hacer :<br>... init.d/networki=
ng restart<br>... init.d/dhcp3-server restart<br><br><b>2.-</b> NO logro qu=
e se conecten mis ThinClient<br>El mens q me sale al encender las thinClien=
t es:<br><br>dhcp.............ok<br>net0: 192.168.2.101 / 255.255.255.0 GW =
192.168.2.10<br>Booting from File name "/ltsp/i38/vmlinux.etherboot"<br>Tft=
p://192.168.2.10//ltsp/i386/vmlinux.etherboot.&nbsp; No such file or direct=
ory(0x2d1603b)<br><br>Could not boot from File name "/ltsp/i38/vmlinux.ethe=
rboot"<br>Tftp://192.168.2.10//ltsp/i386/vmlinux.etherboot.&nbsp; No such f=
ile or directory(0x2d1603b)<br><br><br><b><br>Pasos que segui</b><br>1.-<br=
>sudo apt-get install ltsp-server-standalone openssh-server<br>(Aqui se cre=
aron las carpetas correspondientes)<br><br>2.- Crear el ambiente Thin Clien=
t1<br>sudo ltsp-build-client<br><br>3.- Configurar el archivo /etc/network/=
interfaces (sugieren antes del paso 2)<br><br>#############################=
######################################<br>#En el VMWare coge como default l=
a Eth2 SIEMPRE como internet,<br>#entonces se configurar=E1 la Eth1 para el=
 SW de los&nbsp; Thin Client<br>###########################################=
########################<br>auto lo<br>iface lo inet loopback<br>#Interfaz =
NIC eth2 (internet)<br>auto eth2<br>iface eth2 inet static<br>address&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.1.10<br>netmask&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; 255.255.255.0<br>network&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; 192.168.1.0<br>broadcast&nbsp;&nbsp;&nbsp;&nbsp; 192.168.1.255<br>g=
ateway&nbsp;&nbsp;&nbsp; &nbsp; 192.168.1.1<br>#dns- *Options are implement=
ed by the resolvconf package, if installed<br>dns-nameservers&nbsp;&nbsp;&n=
bsp; 192.168.1.1<br><br>#Interfaz NIC eth1 (SW para ThinClient)<br>auto eth=
1<br>iface eth1 inet static<br>address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; 192.168.2.10<br>netmask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 255.255.2=
55.0<br>network&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.2.0<br>broadcas=
t&nbsp;&nbsp; &nbsp; 192.168.2.255<br>#dns- *Options are implemented by the=
 resolvconf package, if installed<br>dns-nameservers&nbsp;&nbsp;&nbsp; 192.=
168.1.1<br><br>4.-Reinicar la red y crear la otra interfaz de de la NIC2<br=
>sudo /etc/init.d/networking restart<br><br>5.-Configuramos el Archivo DHCP=
D.conf<br>sudo gedit /etc/ltsp/dhcpd.conf<br><br># Default LTSP dhcpd.conf =
config file.<br>authoritative;<br><br>subnet 192.168.2.0 netmask 255.255.25=
5.0 {<br>&nbsp;&nbsp;&nbsp; range 192.168.2.100 192.168.2.110;<br>&nbsp;&nb=
sp;&nbsp; option domain-name "escuela.com";<br>&nbsp;&nbsp;&nbsp; option do=
main-name-servers 192.168.2.10;<br>&nbsp;&nbsp;&nbsp; option broadcast-addr=
ess 192.168.2.255;<br>&nbsp;&nbsp;&nbsp; option routers 192.168.2.10;<br>#&=
nbsp;&nbsp;&nbsp; next-server 192.168.1.1;<br>#&nbsp;&nbsp;&nbsp; get-lease=
-hostnames true;<br>&nbsp;&nbsp;&nbsp; option subnet-mask 255.255.255.0;<br=
>&nbsp;&nbsp;&nbsp; option root-path "/opt/ltsp/i386";<br>&nbsp;&nbsp;&nbsp=
; if substring( option vendor-class-identifier, 0, 9 ) =3D "PXEClient" {<br=
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #filename "/ltsp/i386/pxelinux.0";<br=
>&nbsp;&nbsp;&nbsp; filename "/ltsp/i386/vmlinux.etherboot";<br>&nbsp;&nbsp=
;&nbsp; } else {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; filename "/l=
tsp/i386/nbi.img";<br>&nbsp;&nbsp;&nbsp; }<br>}<br><br>host estudiante01 {<=
br>&nbsp;&nbsp;&nbsp; hardware ethernet 00:0c:29:c3:8d:0e;<br>&nbsp;&nbsp;&=
nbsp; fixed-address 192.168.2.101;<br>}<br><br>host estudiante02 {<br>&nbsp=
;&nbsp;&nbsp; hardware ethernet 00:0c:29:91:30:9e;<br>&nbsp;&nbsp;&nbsp; fi=
xed-address 192.168.2.102;<br>}<br><br>6.- Al cambiar dhcpd.conf, iniciamos=
 el servicio.<br>sudo /etc/init.d/dhcp3-server start<br><br>7.- En Sistema-=
&gt;Administracion-&gt;Usuarios y Grupos, a=F1adi los dos usuarios (estudia=
nte01 y estudiante02)<br><br>8.- Asigne Direcciones Estaticas a los ThinCli=
ent<br>sudo gedit /etc/ltsp/dhcpd.conf<br><br>host estudiante01 {<br>&nbsp;=
&nbsp;&nbsp; hardware ethernet 00:0c:29:c3:8d:0e;<br>&nbsp;&nbsp;&nbsp; fix=
ed-address 192.168.2.100;<br>}<br><br>host estudiante02 {<br>&nbsp;&nbsp;&n=
bsp; hardware ethernet 00:0c:29:91:30:9e;<br>&nbsp;&nbsp;&nbsp; fixed-addre=
ss 192.168.2.101;<br>}<br><br>La verdad no se que hacer, eh reinicado los s=
evicios mil veces y nada, a lo mejor tengo algo mal en la config de las 2 t=
arjetas de red, si alguien tiene una idea, muchas gracias de antemano<br><b=
r><br><font style=3D"font-size: 8pt;"><font style=3D"font-size: 10pt;" size=
=3D"2"><strong><font color=3D"#000080" face=3D"Times New Roman, Times, Seri=
f">Atte.</font></strong><br><strong><font color=3D"#000080" face=3D"Times N=
ew Roman"></font></strong>&nbsp;<br><strong><font style=3D"font-size: 12pt;=
" color=3D"#000080" face=3D"Times New Roman" size=3D"3">Crist=F3bal Alvarez=
 B.</font></strong><br><strong><font color=3D"#000080" face=3D"Times New Ro=
man"><em>Ing. Electr=F3nica y Telecomunicaciones</em></font></strong><br><s=
trong><em><font color=3D"#000080" face=3D"Times New Roman">CCNA </font></em=
></strong><br><strong><em><font color=3D"#000080" face=3D"Times New Roman">=
VoIP Asterisk</font></em></strong></font></font><br><br> 		 	   		  </body>
<br />--=20
<br />Analizado antispam/virus.
</html>

--_e8edf585-a9d0-4329-b0cd-16867efbf7fe_--

--===============2026465163667117798==
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline