Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 14:01
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Does anyone know of a TFTP server for Puppy? - SOLVED
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 4 [46 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
tombstone

Joined: 12 Jan 2009
Posts: 6

PostPosted: Mon 12 Jan 2009, 08:24    Post subject:  Does anyone know of a TFTP server for Puppy? - SOLVED  

Very much a newbie to Linux and I love Puppy as it works on everything I have needed it for.
I am now trying to set it up as a network boot server for another Linux machine (not puppy), I have succesfully set up DHCP but I now need a TFTP server.
I have searched all the usual places but cannot find a .pup or similar that will do the job.
Any suggestions ?

Thanks

Last edited by tombstone on Fri 16 Jan 2009, 09:22; edited 1 time in total
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4779
Location: Manila

PostPosted: Mon 12 Jan 2009, 10:45    Post subject: lanpuppy  

LanPuppy by sunburnt here in the forum includes a TFTP server. You can also search for TFTP binaries for Linux (say, from Slackware) and use it. (Am on trip now, so I have no access to the binary that I used.)

Netbooting in Puppy 4.1.2 was just recently implemented, so TFTP is just starting to be in demand. Smile

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
tombstone

Joined: 12 Jan 2009
Posts: 6

PostPosted: Mon 12 Jan 2009, 11:55    Post subject: TFTP Server
Subject description: Does anyone know of a TFTP server for Puppy ?
 

raffy

Thanks for the prompt response but this was what I was afraid of, as I said I am a newbie so comments such as find a TFTP binary and use it, while being a simple thing once you have done it, is a black art as far as I am concerned.

I have used the Puppy Package Manager to download and install such things as the DHCP server but I have never needed to get down into the guts of the thing (windows has a lot to answer for).

If there is a simple description of acheiving what you have suggested then I will happily give it a go.

Thanks
Back to top
View user's profile Send private message 
MagicZaurus

Joined: 05 Jan 2009
Posts: 88

PostPosted: Mon 12 Jan 2009, 13:25    Post subject:  

I'm using 'dnsmasq' for DHCP and TFTP on a Puppy Linux machine.

I compiled it from source and it was working out of the box. If I have time next weekend I can try to make Pet-Package.

Seems there is a lof of interest in 'Netbooting' now.
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: Mon 12 Jan 2009, 22:46    Post subject:  

Hi guys; I hate to say it but my Puppy stuff is in total disarray.
I had a tftp server made into a Puppy package awhile back.
I posted it here years back, so I don't even know if it's still here.

I got the binary files "tftp-hpa" from Debian.
It takes a little effort to get it working (some files to tweak).

LanPuppy PXE booted the kernel & initrd.gz files & mounted the SFS file over a Samba mount.
It's slower than Barry's humungous initrd.gz file but ran with less memory.

I assume you want to make Puppy PXE boot?
If so I can walk you through it depending on how you want to boot Puppy.
Back to top
View user's profile Send private message 
tombstone

Joined: 12 Jan 2009
Posts: 6

PostPosted: Thu 15 Jan 2009, 10:33    Post subject: TFTP Server  

Guys

To give you a little more information.
I am trying to bring up an Emerson MicroTCA system that will be running WindRiver PNE/LE (a real time Linux), it is currently a diskless system so I need something for it to boot from. Once it is up and running I will pass it over to the software developers to do the rest. To enable it to boot I need TFTP, DHCP and PXE. I have all the kernel / ramdisk images available.
I could do this with Windows but I would really rather not for a number of reasons.

The ‘server’ with Puppy 4.1 is an old Dell laptop, Puppy loaded directly on to a clean disk using live-Puppy bootable CD, only additional software so far is the dhcp server installed via the package manager.

I have had a look at dnsmasq and it looks just what I need, if you could make a Pet-Package that would be great, alternatively instructions as to how I could download and compile from source would be a good start (remember I am new to Linux).

Thanks
Back to top
View user's profile Send private message 
MagicZaurus

Joined: 05 Jan 2009
Posts: 88

PostPosted: Thu 15 Jan 2009, 15:41    Post subject: dnsmasq as DHCP and TFTP server for netbooting  

Hi!

I burned a few hours of midnight oil and made a package for dnsmasq setup as TFTP server. It's pretty basic and I hope it works for the people who want to play with netbooting.

1) Install the package dnsmasq-2.46-i486.pet.

2) Copy the vmlinuz and initrd.gz (humungous) to /root/tftpboot. The folder is created during package installation.

3) Start DHCP and TFTP server for netbooting by typing the command 'ppxe start' in the terminal.

That's all. Make sure that the firewall is disabled or open the ports for DHCP and TFTP. Also disable any other DHCP server connected to the same subnet, as there might be a conflict.

Then set your client to 'Network Boot' or 'PXE Boot' and it should boot from the TFTP server.

I uploaded the package to ftp://puppy:puppylinux@ftp.servage.net in the folder TFTP. I hope that is ok. I'm pretty new to this community and don't know where to 'publish' a package for testing.

Need to catch some sleep now.
Back to top
View user's profile Send private message 
tombstone

Joined: 12 Jan 2009
Posts: 6

PostPosted: Fri 16 Jan 2009, 09:26    Post subject:  

Thanks very much, that worked just as required, TPTP, DHCP and PXE working.

Thanks again.
Back to top
View user's profile Send private message 
MagicZaurus

Joined: 05 Jan 2009
Posts: 88

PostPosted: Fri 16 Jan 2009, 12:01    Post subject:  

Good to hear that it's working.
Back to top
View user's profile Send private message 
gary101


Joined: 08 Oct 2006
Posts: 539
Location: Boston, Lincs. UK

PostPosted: Mon 02 Feb 2009, 05:19    Post subject:  

Hi MagicZaurus

I have tried your package but seem to have a problem.

I am using the humongous 4.12 and have used that to pxe boot from a windows machine (I really do not want to have to use windows) so I know the humongous file is good.

When I try your package it seems to find the server but not the files to boot. The messages go by very quickly but it says something along the lines of: cannot find file root/tftpboot/ and sometimes some weird symbols after (though only on occasion).

I have no firewall running and am connecting through a cross over cable directly between the two network cards

I an going to try to reinstall the dnsmasq-2.46-i486.pet but wondered if you have come across this in your experience.

Any help appreciated.

Gary
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4779
Location: Manila

PostPosted: Mon 02 Feb 2009, 22:45    Post subject: files problem  

gary101 wrote:
When I try your package it seems to find the server but not the files to boot. The messages go by very quickly but it says something along the lines of: cannot find file root/tftpboot/ and sometimes some weird symbols after (though only on occasion).

I downloaded the file but could not unzip it (to inspect the config files).

It could be a filename or file permissions problem, especially if the file comes from Windows. The names vmlinuz and initrd.gz should be in lowercase.

If the names are alright, then there's some corrupted file somewhere.

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
MagicZaurus

Joined: 05 Jan 2009
Posts: 88

PostPosted: Fri 06 Feb 2009, 10:03    Post subject:  

Hi Gary!

I'm currently traveling and not online so often. At the same time I only have my notebook and no second machine to test PXE booting here.

As mentioned by Raffy I suggest to check the file permissions for vmlinuz and initrd.gz.

Maybe you can set your BIOS to only network booting and no other boot device, then you might be able to see the error message at the end.

It seems that DHCP and TFTP server is working in your setup, but cannot find/access the vmlinuz when requested from the client. Maybe you can post the contents of your folder /root/tftpboot with file permissions.

MagicZaurus
Back to top
View user's profile Send private message 
bbmak

Joined: 09 Jun 2008
Posts: 10

PostPosted: Sun 03 May 2009, 21:26    Post subject: Re: dnsmasq as DHCP and TFTP server for netbooting  

MagicZaurus wrote:
Hi!

I burned a few hours of midnight oil and made a package for dnsmasq setup as TFTP server. It's pretty basic and I hope it works for the people who want to play with netbooting.

1) Install the package dnsmasq-2.46-i486.pet.

2) Copy the vmlinuz and initrd.gz (humungous) to /root/tftpboot. The folder is created during package installation.

3) Start DHCP and TFTP server for netbooting by typing the command 'ppxe start' in the terminal.

That's all. Make sure that the firewall is disabled or open the ports for DHCP and TFTP. Also disable any other DHCP server connected to the same subnet, as there might be a conflict.

Then set your client to 'Network Boot' or 'PXE Boot' and it should boot from the TFTP server.

I uploaded the package to ftp://puppy:puppylinux@ftp.servage.net in the folder TFTP. I hope that is ok. I'm pretty new to this community and don't know where to 'publish' a package for testing.

Need to catch some sleep now.


hey where can I download it? I need pxe support too.
Back to top
View user's profile Send private message 
MagicZaurus

Joined: 05 Jan 2009
Posts: 88

PostPosted: Mon 11 May 2009, 01:12    Post subject:  

Hi!

Sorry was offline for some days. I uploaded the package to ftp://puppy:puppylinux@ftp.servage.net, but it seems that place has been cleared.

Is there any other place to hold this 'unofficial' package?

bbmak maybe you can send me your email by PM and I can email you the package.

Magic Zaurus
Back to top
View user's profile Send private message 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Sat 25 Jul 2009, 01:58    Post subject:  

MZ, sorry I missed this, do you still have a copy of this package? I would be happy to give you an account on www.ecomoney.eu for it.
_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 4 [46 Posts]   Goto page: 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0835s ][ Queries: 13 (0.0062s) ][ GZIP on ]