You are not logged in.
Pages: 1
I am having a lot of trouble getting my tftp server to work. I am not even able to get files from myself. It always times out.
I have made a directory /var/tftpboot and put my files in it.
I added tftp: all allow to my hosts.allow.
I start tftpd and then try to get the file.
It still fails
Any advice.
Offline
Have you ever had it working in the past??
My question is, did it just now break? or are you setting it up for the first time?
Offline
hi! your supposed to put in.tftpd:all in your hosts.allow. i setup tftpd before and had this problem.
Offline
ill try the in.tftp in my hosts.allow
and yes this is my first time trying to set it up
Offline
alright so I put in.tftp: all allow in hosts.allow
log still showed connection denied from xx.xx.xx.xx so I commented out the ALL: deny: deny line in hosts.deny. Then it started working. So what would be the proper syntax in hosts.allow to allow this without allowing everything
Offline
not in.tftp its in.tftpd:all you forgot the d
Offline
damn, i knew it was something small like that. Thanks for your help.
Offline
yep, actually i was wondering if you could give me a hand. i just setup another diskless server/client thing and i'm having problems. this is what happens when i boot the client
Root-NFS: Server returned error -93 while mounting /netboot/diskless1
VFS: Unable to mount root fs via NFS, trying floppy.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
here is the dhcpd.conf
# DHCP configuration file for DHCP ISC 3.0
ddns-update-style none;
subnet 192.168.0.0 netmask 255.255.255.0 {
pool {
max-lease-time 86400;
default-lease-time 86400;
deny unknown clients;
range 192.168.0.6 192.168.0.7;
}
group {
next-server 192.168.0.5;
filename "/pxelinux.0";
option domain-name-servers 192.168.0.1;
option routers 192.168.0.1;
host diskless1.genesis.blogdns.net {
hardware ethernet 00:11:09:ba:0d:90;
fixed-address 192.168.0.6;
option host-name "diskless1.genesis.blogdns.net";
option root-path "/netboot/diskless1";
}
}
}
and the pxelinux.cfg file
DEFAULT bzImage
APPEND ip=dhcp root=/dev/nfs nfsroot=192.168.0.5:/netboot/diskless1
also i'm using atftpd and i started it like this
atftpd --daemon --logfile /var/log/atftpd.log --user nobody.nobody /netboot
notice anything wrong? i've been trying to figure out whats wrong for the past few days but everything looks fine to me.
Offline
Pages: 1