Salut, am o problema pe Gentoo si nu ii dau de cap:
Vreau sa folosesc LTSP si nu pot sa trec de urmatoarea eroare de la TFTP!
Problema:
(1) pe server:
Feb 16 16:43:02 radu dhcpd: DHCPDISCOVER from 00:02:44:45:f1:0d via eth1
Feb 16 16:43:02 radu dhcpd: DHCPOFFER on 192.168.1.2 to 00:02:44:45:f1:0d via eth1
Feb 16 16:43:02 radu dhcpd: DHCPREQUEST for 192.168.1.2 (192.168.1.1) from
00:02:44:45:f1:0d via eth1
Feb 16 16:43:02 radu dhcpd: DHCPACK on 192.168.1.2 to 00:02:44:45:f1:0d via eth1
Feb 16 16:43:02 radu xinetd[8177]: START: tftp pid=9275 from=192.168.1.2
Feb 16 16:43:02 radu tftpd[9276]: tftpd: trying to get file: /vmlinuz-2.4.19-ltsp-1
(2) pe clientul diskless:
.Me: 192.168.1.1, Server: 192.168.1.1, Gateway 192.168.1.1
Loading 192.168.1.1:/vmlinuz-2.4.19-ltsp-1 .TFTP error 2 (Access violation)
Unable to load file
<sleep>
<abort>
Bucati relevante din fisierele de configurare
radu root # cat /etc/xinetd.conf
defaults
{
# only_from = localhost 192.168.1.0/24
only_from = 0.0.0.0
instances = 60
log_type = SYSLOG authpriv info
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d
radu root # cat /etc/xinetd.d/tftp
service tftp
{
socket_type = dgram
protocol = udp
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot/lts
port = 69
wait = yes
# only_from = 192.168.1.0/24
disable = no
}
radu root # cat /etc/dhcp/dhcpd.conf
[...]
option root-path "192.168.1.1:/opt/ltsp/i386";
filename "/vmlinuz-2.4.19-ltsp-1";
[...]
radu root # tree -p -R /tftpboot/
[drwxr-xr-x] /tftpboot/
`-- [drwxr-xr-x] lts
`-- [-rw-r--r--] vmlinuz-2.4.19-ltsp-1
radu root # netstat -lp|egrep -i "(dhcp|xinet)"
udp 0 0 *:bootps *:*
8131/dhcpd
udp 0 0 *:tftp *:*
8177/xinetd
radu root # cat /etc/hosts.allow
ALL : localhost socrate.ccti.tuiasi.ro 192.168.1.0/255.255.255.0
[...]
radu root # uname -a
Linux radu 2.6.2-mm1 #2 Mon Feb 16 11:59:55 EET 2004 i686 AMD Athlon(tm) Processor
AuthenticAMD GNU/Linux
TIA
---
Detalii despre listele noastre de mail: http://www.lug.ro/