Well...tried to get it working on 6.01 and ran into some issues, first it seems that the rpm's found on vanhees.cc are corrupt?
Next, I wanted the tftpboot directory to be an ibay, so images, ios etc. can easily be transferred to the server. Further more this howto states that the xinetd config is stored in /etc/xinet.d. In fact the config file for xinetd in 6.01 is /etc/xinetd.conf.
So in short this is what I've changed to get it working:
STEP 2: Create storage directory
Create the storage ibay through the server manager:
Information bay name tftpboot
Description tftp share
Group everyone
User access via file sharing or user ftp write=group read=everyone
Add a user for tftpd who has read/write rights to the tftpboot ibay (server manager):
Account name tftp
First name tf
Last name tp
Login to the console
STEP 3: Change xinet.d parameter via the templates
# pico /etc/e-smith/templates-custom/etc/xinetd.conf/40tftpd
add the following lines
{
$OUT .= "service tftpd\n";
$OUT .= "{\n";
$OUT .= " disable = no\n";
$OUT .= " socket_type = dgram\n";
$OUT .= " protocol = udp\n";
$OUT .= " wait = yes\n";
$OUT .= " user = root\n";
$OUT .= " server = /usr/sbin/in.tftpd\n";
$OUT .= " server_args = -v -c -u tftp -s /home/e-smith/files/ibays/tftpboot/files\n";
$OUT .= " per_source = 11\n";
$OUT .= " cps = 100 2\n";
$OUT .= "}";
}
Rebuild the template:
# /sbin/e-smith/expand-template /etc/xinetd.conf
STEP 4: Adjust services
# pico /etc/e-smith/templates-custom/etc/services/40tftpd
add the following line:
tftpd 69/udp #tftpd
Rebuild the template:
# /sbin/e-smith/expand-template /etc/services
STEP 5: Restart Xinetd
# service xinetd restart
STEP 5: Create template for hosts.allow
# mkdir -p /etc/e-smith/templates-custom/etc/hosts.allow
# pico -w /etc/e-smith/templates-custom/etc/hosts.allow/tftp
in.tftpd: ALL
Rebuild the template
# /sbin/e-smith/expand-template /etc/hosts.allow
That's all folks.