Pagina 1 di 3
LTSP a1k ti sei arreso subito ??
Inviato: gio 26 gen 2006, 9:36
da Luci0
LTSP a1k ti sei arreso subito ??
hai cominciato tu con:
http://www.slacky.it/forum/viewtopic.php?t=10956
... non hai accettato la sfida ...
... o meglio la missione impossibile...
sembravi abbastanza convinto a portare avanti la sperimentazione ...
Inviato: gio 26 gen 2006, 10:02
da a1k
arrendersi? mai!
e' che ho poco tempo...
comunque ieri sera ho fatto un passettino avanti
era colpa del floppy, l'ho formattato e adesso va.
solo che dopo aver riconosciuto la sk di rete non mi prende l' IP dal DHCP
Inviato: gio 26 gen 2006, 10:42
da a1k
Luci0 ha scritto:
5- boot da floppy
6- errore
Codice:
1000 AX:0212 BX:0000 CX:0001 DX:0000
Riformatta il floppy o riprova con altro.... o cambia lettore ... é un errore di lettura...!!
domande:
devo installare altro?
c'e' un modo piu' elegante per fare il dual boot o devo usare il floppy?
Per ora non guardare le soluzioni eleganti ... i PC che hai a disposizione non credo che siano dei mostri di eleganza...
Secondo me é il modo migliore .. non tocchi il "noto sistema operativo a finestre" e una volta che hai dei buoni dischetti formattati decentemente, puoi avviare tutte le macchine che vuoi se poi sono tutte uguali ... meglio !!
Devi controllare che funzioni il servizio DHCP con un /etc/dhcpd.conf
------------ snip
Codice: Seleziona tutto
#Sample configuration file for ISCD dhcpd
#
# Don't forget to set run_dhcpd=1 in /etc/init.d/dhcpd
# once you adjusted this file and copied it to /etc/dhcpd.conf.
#
default-lease-time 21600;
max-lease-time 21600;
ddns-update-style none;
allow booting;
allow bootp;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1;
option domain-name "example.org";
option root-path "192.168.0.254:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;
shared-network WORKSTATIONS {
subnet 192.168.0.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.0.100 192.168.0.253;
use-host-decl-names on;
option log-servers 192.168.0.254;
# trick from Peter Rundle <peter.rundle@au.interpath.net>
if substring (option vendor-class-identifier, 0, 9) = "PXEClient"
{
filename "/lts/pxe/pxelinux.0";
# NOTE: kernels are specified in /tftpboot/lts/pxe/pxelinux.cfg/
}
else
{
filename "/lts/vmlinuz.ltsp";
}
}
}
---------- snip
e un lts.conf per cominciare
Codice: Seleziona tutto
cat /opt/ltsp/i386/etc/lts.conf
#
# Copyright (c) 2003 by James A. McQuillan (McQuillan Systems, LLC)
#
# This software is licensed under the Gnu General Public License.
# The full text of which can be found at http://www.LTSP.org/license.txt
#
#
# Config file for the Linux Terminal Server Project (www.ltsp.org)
#
[Default]
SERVER = 192.168.0.254
XSERVER = vesa
X_MOUSE_PROTOCOL = "PS/2"
X_MOUSE_DEVICE = "/dev/psaux"
X_MOUSE_RESOLUTION = 400
X_MOUSE_BUTTONS = 3
USE_XFS = N
SCREEN_02 = shell
SCREEN_01 = startx
l' ltspadmin mi dice che e' tutto ok, i servizi funzionano, il firewall e' aperto...
l'unico e' kdm che mi dice che e' installato ma non attivo.
ma quei files li hai modificati tu o te li ha creati cosi l' ltspcfg?
se si riesci a colorare le parti che hai cambiato?
secondo me e' un problema del DHCP, perche' ho provato a decommentare i range di IP da x.x.x.10 fino a x.x.x.20 e cosi prende gli IP ma si impianta dopo perche' non trova il "name"
ma il kernel "/lts/vmlinuz.ltsp" e' sul floppy?
perche' io sul server non ho niente...
l'architettura di server e client non deve essere uguale, giusto?
volendo potrei anche usare un server sparc con client 486.
scusa la mia suprema ignoranza ma quando fai ltspadmin devi essere on-line?
io a casa non ho l' adsl e quindi non posso fargli fare eventuali aggiornamenti...
grazie.
Inviato: gio 26 gen 2006, 15:00
da Luke88
l' ltspadmin mi dice che e' tutto ok, i servizi funzionano, il firewall e' aperto...
l'unico e' kdm che mi dice che e' installato ma non attivo.
a me ltspadmin non è riuscito a confiugrare alcuni servizi, per cui non ci farei molto affidamento.
posta il tuo dhcpd.conf, magari... se hai il dhcpd versione 3.03 (mi sembra) devi aggiungere la linea "next-server ip_server_tftp;" a dhcpd.conf, guarda comunque qui:
http://www.ltsp.org/documentation/ltsp- ... tml#AEN446
ma si impianta dopo perche' non trova il "name"
non ho capito bene, ma forse devi aggiungere nomi host e ip a /etc/hosts.
il kernel non è su floppy, è su /tftpboot/lst.
posta il tuo dhcpd.conf e "grep tftp /etc/inittab".
Inviato: ven 27 gen 2006, 0:08
da Luci0
Ciao ...
Il mio server LTSP ha indirizzo 192.168.0.254 e il router gatway dns cache su 192.168.0.1
Per partire con LTSP devi scaricare l' immagine iso di circa 100M e poi segui/te le info su questo link
http://wiki.ltsp.org/twiki/bin/view/Ltsp/Slackware
in genere per far prima installo anche Webmin per configurare i (pochi) moduli necessari per far andare ltspadmin ...
conviene per prima cosa installare la tabella degli host etc.. e successivamente configurare i servizi...
per far partire il dhcp una volta configurato dare il comando dhcpd
per far partire tftpd devi decommentare e modificare la riga
tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s/tftpboot -r blksize
e dare un killall -HUP named
per far partire i servizi nfs e portmapper devi dare
chmod +x /etc/rc.d/rc.nfsd
e poi /etc/rc.d/rc.nfsd start
rimane da configurare xdmcp e qui divertiti da solo ...
ovviamente controlla che ogni servizio sia ok...
Inviato: ven 27 gen 2006, 14:50
da a1k
Luci0 ha scritto:
Per partire con LTSP devi scaricare l' immagine iso di circa 100M
forse ho capito cosa manca...

Inviato: ven 27 gen 2006, 14:55
da Luke88
a1k ha scritto:Luci0 ha scritto:
Per partire con LTSP devi scaricare l' immagine iso di circa 100M
forse ho capito cosa manca...

puoi anche scaricare semplicemente le "ltsp-utils"(40kb) e far scaricare&installare tutto a quelle... non c'è alcuna differenza...
secondo me e' un problema del DHCP, perche' ho provato a decommentare i range di IP da x.x.x.10 fino a x.x.x.20 e cosi prende gli IP ma si impianta dopo perche' non trova il "name"
risolto? posta dhcpd.conf in caso

Inviato: dom 26 mar 2006, 21:07
da a1k
oggi ci ho riprovato:
Codice: Seleziona tutto
ltspcfg v0.11 The Linux Terminal Server Project (http://www.LTSP.org)
Interface IP Address Netmask Network Broadcast Used
eth0 192.168.0.210 255.255.255.0 192.168.0.0 192.168.0.255 <-----
Service Installed Enabled Running Notes
dhcpd Yes no no Version 3
tftpd Yes Yes Yes Has '-s' flag
portmapper Yes no Yes
nfs Yes Yes no
xdmcp Yes no no xdm, kdm Using: kdm
File Configured Notes
/etc/hosts Yes
/etc/hosts.allow Yes
/etc/exports Yes
/opt/ltsp/i386/etc/lts.conf Yes
Configured runlevel: 4 (value of initdefault in /etc/inittab)
Current runlevel: 4 (output of the 'runlevel' command)
Installation dir...: /opt/ltsp
Press <enter> to return to the main menu...
dhcpd.conf
Codice: Seleziona tutto
#
# Sample configuration file for ISC dhcpd
#
# Make changes to this file and copy it to /etc/dhcpd.conf.sample
#
ddns-update-style none;
default-lease-time 21600;
max-lease-time 21600;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.210;
option domain-name-servers 192.168.0.210;
option domain-name "ltsp"; # <--Fix this domain name
option root-path "192.168.0.210:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;
subnet 192.168.0.0 netmask 255.255.255.0 {
use-host-decl-names on;
option log-servers 192.168.0.210;
##
## If you want to use static IP address for your workstations, then un-comment
## the following section and modify to suit your network.
## Then, duplicate this section for each workstation that needs a static
## IP address.
##
## host ws001 { <----- Fix this hostname
## hardware ethernet 00:11:22:33:44:55; <-- Fix this MAC addr
## fixed-address 192.168.0.1; <-- Fix this IP addr
## filename "/tftpboot/lts/vmlinuz-2.4.26-ltsp-1";
## }
##
## If you want to use a dynamic pool of addresses, then un-comment the following
## lines and modify to match your network.
##
subnet 192.168.0.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.0.211 192.168.0.222;
}
##
}
#
# If you need to pass parameters on the kernel command line, you can
# do it with option-129. In order for Etherboot to look at option-129,
# you MUST have option-128 set to a specific value. The value is a
# special Etherboot signature of 'e4:45:74:68:00:00'.
#
# Add these two lines to the host entry that needs kernel parameters
#
# option option-128 e4:45:74:68:00:00; # NOT a mac address
# option option-129 "NIC=ne IO=0x300";
#
il client mi dice che non trova l' IP...
infatti il dhcp non va
non si puo' assegnare l' IP direttamente nel floppy di boot?
visto anche che poi in teoria il tutto dovra' essere collegato ad una rete che ha gia un dhcp server, in questo modo mi semplificherei la vita.
Inviato: lun 27 mar 2006, 0:59
da Luci0
Alla buon ora ... due mesi fa...
per far partire il dhcpd
usa il comando dhcpd .... da shell
semplice no ...
adesso comunque é tardi se hai bisogno di altre dritte o info urgenti
prova nel sito
http://www.ltsp.org e nel wiki dobrebbe esserci un howto per slackware... e per i vari problemi ...
Inviato: ven 31 mar 2006, 20:58
da a1k
come faccio a capire se funziona il dhcpd?
io ho dato il "dhcpd" (senza parametri?) ma non e' cambiato niente, per il resto ho seguito l' how to e sembrerebbe tutto apposto, ma il dhcp mi sa che non funziona...

Inviato: ven 31 mar 2006, 21:22
da Luke88
si, in teoria ti basta dare "dhcpd", poi mi sembra vada in background...
per vedere se gira basta top, "ps aux" o qualsiasi altro monitor per processi...
guarda in /var/log/messages se vedi qualcosa tipo "dhcp request" o "dhcpoffer"...
ora non sono a casa e non ti so aiutare molto, ma questa parte "non mi gira":
subnet 192.168.0.0 netmask 255.255.255.0 {
use-host-decl-names on;
option log-servers 192.168.0.210;
subnet 192.168.0.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.0.211 192.168.0.222;
}
}
non basta cosi?
Codice: Seleziona tutto
shared-network WORKSTATIONS {
subnet 192.168.0.0 netmask 255.255.255.0 {
use-host-decl-names on;
option log-servers 192.168.0.210;
range 192.168.0.1 192.168.0.100;
filename "/lts/vmlinuz.ltsp";
}
}
se hai dhcpd vers. 3.03 mi sembra tu debba aggiungere una riga "next server xxx.xxx.xxx.xxx", altrimenti non manda il kernel con tftp...
Inviato: ven 31 mar 2006, 21:23
da a1k
infatti:
Codice: Seleziona tutto
ltspcfg v0.11 The Linux Terminal Server Project (http://www.LTSP.org)
Interface IP Address Netmask Network Broadcast Used
eth0 192.168.0.210 255.255.255.0 192.168.0.0 192.168.0.255 <-----
Service Installed Enabled Running Notes
dhcpd Yes no Yes Version 3
tftpd Yes Yes Yes Has '-s' flag
portmapper Yes no Yes
nfs Yes Yes Yes
xdmcp Yes no Yes xdm, kdm Using: kdm
File Configured Notes
/etc/hosts Yes
/etc/hosts.allow Yes
/etc/exports Yes
/opt/ltsp/i386/etc/lts.conf Yes
Configured runlevel: 4 (value of initdefault in /etc/inittab)
Current runlevel: 4 (output of the 'runlevel' command)
Installation dir...: /opt/ltsp
Press <enter> to return to the main menu...
Codice: Seleziona tutto
ls -l /etc/rc.d/rc.dnsmasq
-rwxr-xr-x 1 root root 512 2005-09-13 04:13 /etc/rc.d/rc.dnsmasq*
cosi' non dovrebbe partire in automatico?
Inviato: ven 31 mar 2006, 21:25
da a1k
...mhh, aspetta che provo...
Inviato: sab 1 apr 2006, 0:10
da Luci0
Prima fai i test e poi dai una sistemata agli script di avvio ...
Per far presto lo puoi modificare /etc/rc.d/rc.local per farlo partire all' avvio..
Inviato: mar 14 nov 2006, 16:44
da cointreau
salve, sto provando a installare un server ltsp, ho installato ltsp utisl con cui ho scaricato tutti i pacchetti necessari, ho configurato i vari file di conf
e ltspcfg mi dice:
Codice: Seleziona tutto
ltspcfg v0.16 The Linux Terminal Server Project (http://www.LTSP.org)
Interface IP Address Netmask Network Broadcast Used
eth0 192.168.1.4 255.255.255.0 192.168.1.0 192.168.1.255 <-----
Service Installed Enabled Running Notes
dhcpd Yes no Yes Version 3
tftpd Yes Yes Yes Has '-s' flag
portmapper Yes no Yes
nfs Yes Yes Yes
xdmcp Yes no no xdm Using: none!
File Configured Notes
/etc/hosts Yes
/etc/hosts.allow Yes
/etc/exports Yes
/opt/ltsp/i386/etc/lts.conf Yes
Configured runlevel: 4 (value of initdefault in /etc/inittab)
Current runlevel: 4 (output of the 'runlevel' command)
Installation dir...: /opt/ltsp
Press <enter> to return to the main menu...
sulla workstation ( per ora sto provando con una sola ) viene assegnato l'ip da dhcp, ma il caricamento del kernel è lentissimo e non porta a niente.
cosa potrei aver sbagliato?
ciao e grazie a tutti
