Setup a TFTP Server


6 posts
by Steven715 » Mon Dec 24, 2012 9:19 pm
Hello there,
First of all let me introduce myself my name is Steve and I am from the UK. I have dabbed in and out of Linux for a few years but never properly leaned it. When I see the Raspberry Pi and I see what it can do I thought fantastic this little computer will be perfect for learning basic Linux.

Now to my problem I have a Raspberry Pi and I have the latest raspbian-wheezy-2012-12-16 I have already got a webserver working on this but even with a new install I am struggling to get TFTP working and I am hoping that someone can point me in the right direction of a tutorial. I have found 2 but I have not been successful as some of the commands don’t work. I think down to using the raspbian-Wheezy.

If anyone can suggest a good tutorial then please let me know.
Thank you in advanced.

Steve
Posts: 27
Joined: Mon Dec 24, 2012 9:01 pm
Location: Bedfordshire
by aaa801 » Mon Dec 24, 2012 11:09 pm
link to the tutorials ?
Posts: 427
Joined: Mon Jun 04, 2012 9:06 pm
Location: Berkshire
by Steven715 » Tue Dec 25, 2012 8:46 am
Woops silly me I forgot to put in the links.
Well hear they are.
http://elinux.org/R-Pi_PXE_Server
http://www.pbxinaflash.com/community/index.php?threads/t-f-t-p-installation-on-raspberry-pi.14517/
http://box.matto.nl/raspberrypxe.html
Basicley what I would like todo is pxe boot my pc's and use clonezilla to back them up and put on other utilitys as well. I have done the PXE menu before on a Windows pc and even edited a UDA menu to how I want it. The problem for me is getting this to work on the Pi.
Any other questians that you feel you need to know then please let me know and I will get back to you.
Thank you again for your help.
Steve
Posts: 27
Joined: Mon Dec 24, 2012 9:01 pm
Location: Bedfordshire
by Steven715 » Mon Dec 31, 2012 9:09 pm
I have been trying to follow these instructions on this website http://elinux.org/R-Pi_PXE_Server however when I type
Code: Select all
yum install tftp-server dhcp httpd syslinux
it comes up with
no package tftp-server available nothing to do
no package dhcp available nothing to do
no package httpd available nothing to do
no package syslinux available nothing to do

Any ideas on this?
Posts: 27
Joined: Mon Dec 24, 2012 9:01 pm
Location: Bedfordshire
by pluggy » Tue Jan 01, 2013 12:28 am
You would usually use

Code: Select all
apt-get install xxxxx


or

Code: Select all
sudo apt-get install xxxxx


with Debian rather than yum.

Yum doesn't work on a straight Debian image, so presumably you added it yourself ?
Don't judge Linux by the Pi.......
User avatar
Posts: 2604
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
by bgirardot » Tue Jan 01, 2013 1:03 am
I am wondering if you really want to do that. Do you really need to boot PCs over the network and not off of local hard drives?

Anyway, it looks like the first half of that RPi PXE tutorial is for Fedora and not Debian.

Toward the bottom of the tutorial is a section labeled "extra useful text" that has some of the instructions for the same thing but for debian, I would skip down to there, they explain how to install a tftp server on debian.
Posts: 517
Joined: Wed Oct 10, 2012 6:20 am
Location: Switzerland