Hot answers tagged

4

tftpd comes in a variety of implementations; some may only be run under an inetd daemon, while others support standalone operation. The Linux iputils tftpd at time of writing only supports operation under an inetd daemon, so must be run that way. Other implementations may have a -l or --listen option to operate as a standalone daemon.


1

TFTP is a protocol. The specification is available in RFC 1350. If you want source code for an implementation, a Google search for "tftp source code" finds a lot of answers, among them [TFTP].


1

tftp is a protocol and not a piece of software. It has no source code itself but there are many open source implementations available.


1

I believe you have to pass the service option once for each service you are adding to the firewall: firewall --enabled --service=ssh --service=glusterfs --service=tftp --service=ntp I cannot remember if you can use bash brace expansion in kickstart, but it would look close to what you originally had: firewall --enabled --service={ssh,glusterfs,tftp,ntp}


1

tftp is usually restricted to /tftpboot directory, I wouldn't expect it to work to get something from a user home directory. Also check the file permissions. IIRC (it has been awhile), since tftp is unauthenticated files need to be world readable.


1

These steps helps to you boot your custom image: 1) You need decide location of your future root (/) (is being located entirely in network resource (i.e. NFS) or it will be loaded into RAM during the boot. 2) Prepare your initrd depends on step 1). 3) Place your kernel and initrd in TFTP server. 4) Change your /etc/fstab of your system image (it may be ...


1

I found the answer myself that, in the configuration for my virbr1 interface, I specified the tftp root for my virtual network interface. <network> <name>pxe_bridge</name> <uuid>17970555-f3dc-40ee-a2af-16f0898a5ff6</uuid> <forward mode='nat'/> <bridge name='virbr1' stp='on' delay='0' /> <ip address='192.168.122....


1

You tftp server setting can be viewed in /etc/xinetd.d/tftp. server_args = -s /tftproot # tftproot is where your tftp base directory. Say you tftp server is hostx From hosty, try this command tftp hostx > tftp get file # file is any file under this /tftproot directory. > tftp quit ls -l file


Only top voted, non community-wiki answers of a minimum length are eligible