Hallo,
hat schon jemand hier _erfolgreich_ versucht über Grub (Kernel)images
von einen TFTP Server zu laden?
Habe auf dem SuSE 8.1 Server aftp installiert und lasse es über xinetd
ausführen.
Wenn ich von einem anderen Rechner aus via aftp auf den Server zugreife
kann ich mir jedoch keine Dateien holen. Was gibt es zu beachten, was
habe ich vergessen? Laut der xinetd.log finden zugriffe auf den TFTP
Server statt. netstat -a zeigt an das TFTP läuft.
Das für TFTP freigegebene Verzeichniss ist /tftpboot und es beinhaltet
eine Datei menu.lst.
anbei die xinetd.conf, xinetd.log und die Ausgabe bei aftp und netstat
mfg
Stephan
---
gorchfock:/tftpboot # ls -al
total 12
dr-xr-xr-x 2 root root 4096 Oct 25 18:18 .
drwxr-xr-x 22 root root 4096 Oct 25 16:15 ..
-r-xr-xr-x 1 root root 1215 Oct 21 19:43 menu.lst
gorchfock:/tftpboot #
---
---/etc/xinetd.conf
#
# xinetd.conf
#
# Copyright (c) 1998-2001 SuSE GmbH Nuernberg, Germany.
# Copyright (c) 2002 SuSE Linux AG, Nuernberg, Germany.
#
defaults
{
log_type = FILE /var/log/xinetd.log
log_on_success = HOST EXIT DURATION
log_on_failure = HOST ATTEMPT RECORD
# only_from = localhost
instances = 2
#
# The specification of an interface is interesting, if we are on a
firewall.
# For example, if you only want to provide services from an internal
# network interface, you may specify your internal interfaces
IP-Address.
#
# interface = 192.168.0.0
#
#
# If you want to enable one of the following services, you only have to
# comment it out. After that, send SIGUSR1 to xinetd to force a
# reload of it's configuration
#
# disabled = ftp
disabled = rstatd
# disabled = telnet
# disabled = telnet
disabled = shell
# disabled = login
disabled = finger
# disabled = imap
disabled = pop3
disabled = comsat
disabled = ntalk
disabled = talk
disabled = discard-stream
disabled = discard-dgram
disabled = chargen-stream
disabled = chargen-dgram
disabled = daytime-stream
disabled = daytime-dgram
disabled = time-stream
disabled = time-dgram
disabled = echo-stream
disabled = echo-dgram
disabled = daytime-stream
disabled = daytime-dgram
disabled = time-stream
disabled = time-dgram
disabled = smtp
disabled = ident
disabled = nntp
# disabled = tftp
}
##
## Now the definitions of the different services
##
##
service ftp
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.ftpd
# server_args = -a
instances = UNLIMITED
}
.
.
.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = nobody
server = /usr/sbin/atftpd
server_args =/tftpboot
}
---
---netstat -a
gorchfock:/ # netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address
State
tcp 0 0 *:1024 *:*
LISTEN
tcp 0 0 *:blackjack *:*
LISTEN
tcp 0 0 *:nfs *:*
LISTEN
tcp 0 0 *:cap *:*
LISTEN
tcp 0 0 *:mysql *:*
LISTEN
tcp 0 0 *:netbios-ssn *:*
LISTEN
tcp 0 0 *:sunrpc *:*
LISTEN
tcp 0 0 localhost:smtp *:*
LISTEN
tcp 0 0 gorchfock.i:netbios-ssn 192.168.0.70:32775
ESTABLISHED
tcp 0 0 gorchfock.i:netbios-ssn korsar.inonet:mc-client
ESTABLISHED
tcp 0 0 gorchfock.i:netbios-ssn 192.168.0.70:32778
ESTABLISHED
tcp 0 0 gorchfock.i:netbios-ssn 192.168.0.22:de-server
ESTABLISHED
tcp 0 0 gorchfock.i:netbios-ssn 192.168.0.7:filenet-rpc
ESTABLISHED
tcp 0 0 gorchfock.i:netbios-ssn laser.inonet.:pcg-radar
ESTABLISHED
tcp 0 0 *:www-http *:*
LISTEN
tcp 0 0 *:ssh *:*
LISTEN
tcp 0 0 192.168.0.104:ssh 192.168.0.70:32786
ESTABLISHED
udp 0 0 *:1024 *:*
udp 0 0 *:nfs *:*
udp 0 0 *:cap *:*
udp 0 0 *:1027 *:*
udp 0 0 gorchfock.in:netbios-ns *:*
udp 0 0 gorchfock.in:netbios-ns *:*
udp 0 0 *:netbios-ns *:*
udp 0 0 gorchfock.i:netbios-dgm *:*
udp 0 0 gorchfock.i:netbios-dgm *:*
udp 0 0 *:netbios-dgm *:*
udp 0 0 localhost:1035 *:*
udp 0 0 localhost:pcg-radar *:*
udp 0 0 localhost:1037 *:*
udp 0 0 localhost:1038 *:*
udp 0 0 *:783 *:*
udp 0 0 localhost:netarx *:*
udp 0 0 localhost:1043 *:*
udp 0 0 *:bootps *:*
udp 0 0 *:tftp *:*
udp 0 0 *:sunrpc *:*
raw 0 0 *:icmp *:* 7
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ] DGRAM 1015
/var/lib/dhcp/dev/log
unix 12 [ ] DGRAM 1013 /dev/log
.
.
.
---
---atftp
inspiron:~ # atftp
tftp> verbose
Verbose mode on.
tftp> trace
Trace mode on.
tftp> connect 192.168.0.104
tftp> get menu.lst
Overwite local file [y/n]? y
sent RRQ