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 Mon 28 Jul 2014, 00:21
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 2 of 4 [46 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Author Message
ecomoney


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

PostPosted: Wed 29 Jul 2009, 07:05    Post subject:  

I found this tftp server, compiled by memeyou

http://www.murga-linux.com/puppy/viewtopic.php?p=272027

Is this the same package? Will it work in the same way?

_________________
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 
MagicZaurus

Joined: 05 Jan 2009
Posts: 88

PostPosted: Wed 29 Jul 2009, 11:45    Post subject:
Subject description: dnsmasq
 

Hi Ecomoney!

I just emailed you my package. Sorry for not answering faster here.

My package includes the conf files modified for netbooting. The rest is most likely the same, but I didn't check.

Are you netbooting all the clients at 'The Mission'?

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


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

PostPosted: Thu 30 Jul 2009, 05:34    Post subject:  

Ahh thank you, the settings in the other package were proving very difficult for me to understand.


Yes all of the clients at the "mission" are netbooted from a smoothwall box, but I would like to produce a version that would netboot from a CD based puppy, thus eliminating all hard disks in the system.

_________________
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 
MagicZaurus

Joined: 05 Jan 2009
Posts: 88

PostPosted: Thu 30 Jul 2009, 11:07    Post subject:  

You can run the DHCP server on the Smoothwall box and the TFTP on a Puppy box. It shouldn't be a problem to burn the initrd.gz and vmlinuz onto the same CD as the Puppy and serve them for the netbooting clients.

How is the performance when you boot up many clients at the same time?

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


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

PostPosted: Thu 30 Jul 2009, 11:27    Post subject:  

Performance can be "slow" (by puppy standards) when it comes to booting. At the moment they take 1 min 30 seconds when a single computer is booting, and more when booting 2 or more simultaneously. The computers are always turned off one by one so not a problem really.

It would be nice if a puppy computer could also have a dhcp server as well as the tftp for netbooting...with one ethernet port being "internet in" and the other ehternet out(attached to the netbooted cybercafe P.C.'s) that way I could create a cd that would simply boot a cybercafe (or a HanSamBen childrens distro!) from one CD.

_________________
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 
MagicZaurus

Joined: 05 Jan 2009
Posts: 88

PostPosted: Thu 30 Jul 2009, 12:03    Post subject:  

That's no issue at all to do all with a Puppy box. I thought you prefered to have the Smoothwall to connect to the outside world.

With my package the DHCP and the TFTP are both running on Puppy. Then you only need to find a way to share the internet from 'outside' to the 'inside'. I think that is explained somewhere here in the forum. I even think you were involved in that thread if I'm not wrong.

The DHCP server must run on the 'inside card', but if there are 2 cards it is pretty difficult to automatically detect which is 'inside' and which is 'outside'. Unless you go by convention that eth0 is 'outside' and eth1 is 'inside'.
Back to top
View user's profile Send private message 
ecomoney


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

PostPosted: Thu 30 Jul 2009, 23:22    Post subject:  

The smoothwall I put in place simply because it has a great deal of features that can be added to it...none of which seem to be needed so far. Embarassed An all-puppy solution would be simpler, and would mean that the cybercafe could run totally hard disk free, eliminating another moving part and increasing reliability.

I also work on the HanSamBen project, a childrens educational puppy derivative allowing really old computers to be used. Today with some experimentation I got it to netboot on the cybercafe system....this brings possible opportunities.

I am reliably informed by a great number of young ones that their school computers here in the U.K. often fail during their lessons...perhaps something to do with the fact that our Government prescribe all of our schools must have a Windows licience for each computer...even if it is Linux (or Mac). Having a netbooting capability would be a great emergency measure that could be used by teachers in failed Micro$oft classrooms (and teach kids not to fear the Penguin!).

Being able to Network Boot from a standard Puppy disk would be a great feature, especially if it were possible to install puppy linux onto the the newly-netbooted computer (this would make "processing" large volumes of what would otherwise be "computer waste" with Puppy Linux extremely quick and easy). Puppy is a distro that is supposed to be "easy to install" after all. Wink

MZ, may I trouble you to post a little information about how to configure this package to allow puppy to start itself over a network (in simple terms). Following the convention of eth0-in/eth1 out, what would be the procedure for enabling internet connection sharing also?

_________________
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 
MagicZaurus

Joined: 05 Jan 2009
Posts: 88

PostPosted: Sat 01 Aug 2009, 01:58    Post subject:  

Booting itself over the network is not possible for a standard Puppy CD as far as I know. It would still required that you make a humongous initrd.gz for netbooting. Similar like what you are doing on the Smoothwall. I think you can burn that humongous initrd.gz also onto the CD.

It might actually be possible that you also boot from the CD with that humongous initrd.gz. I never tried that.

About internet sharing have a look here.

http://murga-linux.com/puppy/viewtopic.php?t=37520&search_id=1834034402&start=20

That's a post from ecomoney. Another one here. Also from ecomoney, providing a .pup to do internet sharing.

http://murga-linux.com/puppy/viewtopic.php?search_id=1834034402&t=37161[/url]
Back to top
View user's profile Send private message 
ecomoney


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

PostPosted: Sun 02 Aug 2009, 10:41    Post subject:  

Hi MZ, networking is not my best subject, you will have to excuse me, I am learning. Those posts were there only to feed back the observation that internet connection sharing is something that Ive seen is a much required feature that could be added to puppy without much space overhead. The actual theory of it Im not at all familiar with.

I know it is possible to boot an initrd.gz image from a hard drive (with the pup_412.sfs contained within it). Im actually using this method while Im posting this. I will create an ISO with the initrd.gz in this format and see how it works.

The next stage after this works would be to include your tftp server package you mailed me in the initrd.gz/pup_421.sfs file, with a symlink to the initrd.gz and vmlinuz on the CD. This should, when booted, "broadcast" a tftp server over whatever network the computer booted with this CD...allowing other computers to boot from it (am I correct). I assume the symlink would need to be in the /root/tftpboot/pxelinux.cfg/ folder once the package was installed. I would also have to call the script /usr/sbin/ppxe to start the tftp server.

Many thanks for your help

_________________
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 
mikeb


Joined: 23 Nov 2006
Posts: 8032

PostPosted: Sun 02 Aug 2009, 10:52    Post subject:  

Erm sorry to drop in to a thread I never read Embarassed but having recently got NFS running happily on puppy would this be a good option perhaps for the future if not now.....NFS shares are mounted as easily and transparently as say dev_save is and I believe was a traditional way of running over a network

mike

this message may self destuct in the future
Back to top
View user's profile Send private message 
ecomoney


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

PostPosted: Mon 03 Aug 2009, 09:09    Post subject:  

You are welcome MikeB, thanks

What you are saying is....it may be possible to tftpboot a special initrd with no pup_412.sfs inside, but instead it gets its pup_412.sfs by NFS mounting back to the "servers" CD? This way programs from inside the .sfs would load transparently over the network? The network traffice would automatically be "compressed" as it would be read from the .sfs, so if say abiword were to be loaded then the user would only need to wait for about 3mb of data to transfer via ethernet. This would be similar to a low-ram frugal install loads its programs from a hard disk....and would mean essentially the clients would only need say 64mb as only the kernel/xwindows/jwm would need to be loaded, plus perhaps a browser or whatever programs the user was using. Could a swap partition also be mounted via NFS (not ideal I know but better than no swap).

_________________
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 
mikeb


Joined: 23 Nov 2006
Posts: 8032

PostPosted: Mon 03 Aug 2009, 09:48    Post subject:  

Not sure about the swap but nfs shares can be mounted just like partitions ... and the modules can be loaded just like ide.usb etc....at boot so open to various posibilities.
From what I have read running over a network is one of its purposes....some research needed but I am fairly familiar with server/client setup in puppy now.
Best idea would be to have a play
http://www.murga-linux.com/puppy/viewtopic.php?t=45090

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

Joined: 05 Jan 2009
Posts: 88

PostPosted: Mon 03 Aug 2009, 11:33    Post subject:  

A few months ago I met a guy on IRC who managed to boot Puppy with NFS. I think his nick was vxrt, but I'm not very sure.

It's a bit more difficult as just loading the NFS drivers. It requires that the network card gets configured during the initial boot. They guy knew which card his PC had and so just loaded the correct driver and assigned a fixed IP. For a generic solution it actually requires that some kind of 'Network-Wizard' is in the initial boot and also the DHCP client must be in the initial boot. I had a short try at it some months back, but realized it requires major changes in the init process and decided that humongous initrd.gz is the easier way. If there is more than 256MB RAM then the boot time will be similar, as the whole sfs-file will anyway be loaded into RAM.

Surely an interesting project.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8032

PostPosted: Mon 03 Aug 2009, 11:57    Post subject:  

Perhaps the network card answer
http://www.murga-linux.com/puppy/viewtopic.php?t=45074
surely ftp would need this too?
mike
Back to top
View user's profile Send private message 
MagicZaurus

Joined: 05 Jan 2009
Posts: 88

PostPosted: Mon 03 Aug 2009, 12:39    Post subject:  

Hi mikeb!

Thanks for the great info. Sounds like the right direction. Maybe ecomoney can make use of it and try that out.

TFTP doesn't require this, as the TFTP connection is initiated by the PXE-ROM of the network card, even before the very first line of the Linux boot process is executed.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 4 [46 Posts]   Goto page: Previous 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: 12 (0.0075s) ][ GZIP on ]