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 Fri 19 Dec 2014, 11:14
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
LanPuppy...At Last... [ Testing & Suggestions ]
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 5 [61 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Author Message
sunburnt


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

PostPosted: Sat 29 Jul 2006, 23:11    Post subject:  LanPuppy...At Last... [ Testing & Suggestions ]  

I've been working on LanPuppy for about 8 months (much too long, it should have been quicker).
Lots of folks here have contributed, I wanted to make a list but didn't want to leave anyone out.
The last bit of help was by Ted Dog, who was also one of the first to help when I first came here.

I've kept it simple & as similar to the standard Puppy as I could with only a few changes over all.
The PupServer / LanPuppy package seems to work well, the tools I've made aren't as tested.
I haven't made a manual as such, but raffy suggested that I post it anyway to get it going.
So as bug reports & suggestions for improvements come in, & I answer Qs, I'll compile Docs.

LanPuppy / PupServer setup:
The PupServer is built on EmptyCrust-1.0.7, other Puppy 1 versions would probably work also.
The PupServer is a frugal setup (3 base Puppy files), with Samba server DotPup installed.
The LanPuppy1-01.pup package checks for Samba server install & if networking is setup.
It installs DHCP3, Xinet, Tftp-hpa, & makes dirs.: /docs, /public, /homes, /tftpboot, & /lanpup.
I've been using SimplePup for a client as I like it, most any Puppy 1 versions should work.
I use a frugal install on the H.D., it might work on a full H.D. install, I haven't tried it.
I don't use CDs to run Puppy, but a little modification would allow the setup to work on a CD.

PXE network booting:
PCs with a BIOS PXE network boot option should work for client PCs.
Also PXE ready NICs, on eBay I bought 10: "3com-905c-tx-m" used for $3 each!
Alot of the Intel NICs do PXE boot also, but I haven't used any of them.
I just tested out a EtherBoot PXE Floppy Disk, & it's worked on all the PCs I've got, WOW!
I'm posting this from a 2.4 AMD PC that booted with the floppy from a 1.7 Celeron PC.

Limitations:
The number of clients is controlled by the HOME share dirs., for more clients add more dirs.
The clients run as root user with no login same as Puppy, so there's one setup per client.
This will work well for homes, keosks, churches, small offices, & maybe classrooms.
I'm sure many will want a login with separate users & work spaces for a more robust setup.
When booting, each client briefly uses a common IP add. (x.x.x.9), so stagger booting.

Save & Squash files:
One change is the "save" file is used for settings & app. installs, work space is a share.
The "save" file can be as small as 8 MB, but to install apps. it must be larger.
There's a dir.: /homes/pup-BASE for a base save file, if you want custom settings.
Ideally I'll make an "everything" squash file (any help offers?), so no apps. to install.
All the clients use the same squash file, so there's only one, so it can be HUGE (1 - 2 GB?).
With some modifing,the clients could share the same app. install dir. (/root/.usr)... trick!

Tools:
I've written tools to help administer LanPuppy, but I haven't spent much time testing them.
Better tools are needed, but as LanPuppy changes different tools will be needed.
The main tool is: "xmklanpup", it extracts a Puppy ISO file & modifies it into a LanPuppy.
"xhomesadd" makes client HOME share dirs. & copies a base "save" file, if there's one.
"xmntroot" allows the administrator to mount the clients "save" file to work with it.
"xbootmount" is a PupServer utility to auto. mount H.D.s at bootup.
I want to make a DotPup tool from the package: "MakePxeBootFloppy.tar.gz".

Abilities:
240 clients are allowed (IP add. x.x.x.11 to .250), that can be booted by WakeOnLan.
The usr_devx.sfs developers file & MU's usr_more.sfs MegaPup file work... not tested.
PupServer supplies internet info, so new client's have web access immediately, no setup!
PupServer could boot any PXE ready Linux distro. (Knoppix, DSL) & even Win95 & Win98!
A WinBlows PC can also be a boot server with an app. called tftpd32, but then... WHY?
I'll work with LanPuppy1 for a bit to debug it, then I'll look at using Puppy2 for clients.

PupServer install:
Put EmptyCrust Puppy on a H.D. & setup to boot, install Samba server & LanPuppy.
After installing LanPuppy the Samba & boot servers are running, no need to reboot PupServer.
Then run: xmklanpup, select a Puppy ISO file to use for a client & it's converted to a LanPuppy.
The 3 main files (vmlinuz, image.gz, usr_cram.fs) are put in: /tftpboot/(ISO file name).
To setup the new LanPuppy, copy: vmlinuz & image.gz to: /tftpboot, & usr_cram.fs to: /lanpup/sys
The setup is ready to go, boot a PXE client PC with a PXE BIOS, a PXE NIC, or the PXE floppy.


NOTE: This package is a test release, but will remain available so folks can make their own setups.
After testing & improvement is done I intend to make a ready-to-go PupServer version of Puppy.
And a few ready-to-go client versions, OR just one client version & a HUGE "everything" squash file.

I'm sure there's all kinds of stuff I've forgotten to mention, but it'll all come out in the Qs.
Here's LanPuppy1-01.pup & MakePxeBootFloppy.tar.gz (PXE boot floppy disk).
LanPuppy1-01.pup
Description  DotPup to setup PupServer to boot a LanPuppy.
pup

 Download 
Filename  LanPuppy1-01.pup 
Filesize  581.8 KB 
Downloaded  1135 Time(s) 
MakePxeBootFloppy.pup
Description  DotPup to make a PXE boot floppy disk for a client PC.
pup

 Download 
Filename  MakePxeBootFloppy.pup 
Filesize  77.63 KB 
Downloaded  919 Time(s) 

Last edited by sunburnt on Sun 30 Jul 2006, 21:00; edited 3 times in total
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: Sun 30 Jul 2006, 00:30    Post subject:  

Awesome
Created a wiki page for you here
http://puppylinux.org/wikka/LanPuppy

The Q and A format works well - for example
http://puppylinux.org/wikka/UsingThisWiki

Cool

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
sunburnt


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

PostPosted: Sun 30 Jul 2006, 01:07    Post subject:  

Awesome indeed, the mighty crustacean leaps into action!

Wiki thoughts:
A number of the camel case words & maybe others should be links to web sites with that info.
I may have missed how to set the camel case words to link to another site, I'm not familiar with the Wiki.
I know HTML programming so adding links that way is familiar.
Example: The word: EtherBoot should link to: http://www.etherboot.org/

Last edited by sunburnt on Sun 30 Jul 2006, 01:29; edited 1 time in total
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: Sun 30 Jul 2006, 01:23    Post subject:  

Code:
"" ""
double speech marks around camel case that you do not want to page link to

links
[[http://link.com Link words here]]


Hope that helps Smile

more formatting here
http://demo.wikkawiki.org/FormattingRules

If you can do HTML - 10 minutes of study and wiki editing should be yours . . .

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
raffy

Joined: 25 May 2005
Posts: 4798
Location: Manila

PostPosted: Sun 30 Jul 2006, 09:53    Post subject: Toast for LanPuppy  

A toast for LanPuppy! With Sunburnt's work, many organizations will begin looking seriously into using Puppy Linux.

Right now the 1.xx server packages can be built into the LanPuppy CD and a full room of PCs can be served with just a CD! See for example the Wikipedia static CD package for Puppy. Game and education contents can already be found here in the Forum.

The highmem kernel should enable LanPuppy to be a true server-on-DVD. This is an exciting development that coincides with NTFS writing ability in Puppy.

There are soft spots, though, such as the multi-user access, but the setup can be adjusted for this in time.

Congratulations!

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


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

PostPosted: Sun 06 Aug 2006, 04:18    Post subject:  

OK....... someone MUST have something to say, over 10 people have downloaded LanPuppy.

I'd like to hear how it's working, & suggestions, gripes, etc.

The BIG Q I want to know is if the utility: "xmklanpup" is working,
& what versions of Puppy1 have been converted to LanPups & successfully booted from the PupServer.

raffy; I'm working on a multi user login version, & with the help I"ve gotten from MU it won't be long.

NOTICE: In thinking about possable problems with LanPuppy it occured to me that the sequential IP add. numbering could interfere with existing PCs IP adds., as the LanPuppy boot code doesn't check for existing IP adds.
The problem is that DHCP servers all allocate IPs differently, my D-Link router starts at about x.x.x.100 and allocates around there.
If it can be controlled, set nonLanPuppy PCs IP adds. up high around x.x.x.200
PupServer starts allocating IP adds. at x.x.x.11 & goes up, there's an immediate problem if there's existing PCs there.
In the next version of LanPuppy I'll have PupServer ping for existing PCs & avoid them.
If HOME dir. work spaces are accessed by user login name instead of IP add., then the job's easier.
Back to top
View user's profile Send private message 
gabev

Joined: 15 Nov 2006
Posts: 38
Location: New York, NY

PostPosted: Wed 15 Nov 2006, 14:21    Post subject: XMKLANPUP  

so far I tried to create the vmlinuz, image.gz and usr_cram.fs files by using the xmklanpup tool and the only file it creates is vmlinuz which is found under mnt/home/tftpboot/ISO-puppy-lanpup folder.the other 2 files image.gz and usr_cram.fs are nowhere to be found.How do we fix that?
Back to top
View user's profile Send private message 
tedward

Joined: 09 Jul 2005
Posts: 27
Location: Katikati, New Zealand

PostPosted: Wed 15 Nov 2006, 15:01    Post subject:  

[quote="sunburnt"]OK....... someone MUST have something to say, over 10 people have downloaded LanPuppy.

I'd like to hear how it's working, & suggestions, gripes, etc.


Thanks, Sunburnt.
Will comment as soon as I get your software running.
My puppies have been starved of this necessary diet for a long time.
Should put some flesh around their bones.

Cool!
Woof Woof.
Back to top
View user's profile Send private message 
sunburnt


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

PostPosted: Wed 15 Nov 2006, 17:28    Post subject:  

tedward; hope to hear from you... let me fix gabev's problem.

With nobody responding I assumed there wasn't much interest in LanPuppy.

gabev; The only file that gets modified is image.gz,
vmlinuz & usr_cram.fs are just extracted from the ISO file.
To use the new LanPuppy copy vmlinuz & image.gz to /tftpboot,
& copy usr_cram.fs to /lanpup/sys
vmlinuz & image.gz are needed to boot, usr_cram.fs is Samba mounted later.

I'll look at xmklanpup & see what the problem is, it's been almost 4 months!

I've been working on LanPuppy-1.1, but I've gotten sidetracked again.
It'll have user login & a common install dir. for all clients.
The boot code will also handle existing networks better.
Back to top
View user's profile Send private message 
slapshot


Joined: 02 Apr 2006
Posts: 270
Location: Italy

PostPosted: Wed 15 Nov 2006, 17:52    Post subject:  

Hi Sunburnt,

I'm interested too your LanPuppy. I tried just one time and I was be able to boot from lan, which is great for me Smile but then I had some errors and X could not start. I could not be more precise because I did not try anymore, but the project for me is just in standby. Together with LTSP is a good one for our LUG.

I will let you soon.

_________________
Bye
Slapshot
EduPup 2.0 at
http://www.pieroni.biz/edupup
http://www.giovelug.org
http://puppylinux.ca/tpp/edupup/
Back to top
View user's profile Send private message MSN Messenger 
gabev

Joined: 15 Nov 2006
Posts: 38
Location: New York, NY

PostPosted: Wed 15 Nov 2006, 18:33    Post subject:  

hi sunburnt,

thats exactly my problem;vmlinuz gets created; image.gz and usr_cram.fs are nowhere to find.I was able to connect the pxe thin client to LanPuppy.I used another program to create the usr_cram.fs file and image.gz and placed them in the appropriate folders as per instructions.then the remote boot halts when the thin client cant find the init. Thats why I was hopping that xmklanpup will be able to build a correct image.gz file.Any advice?
Back to top
View user's profile Send private message 
gabev

Joined: 15 Nov 2006
Posts: 38
Location: New York, NY

PostPosted: Wed 15 Nov 2006, 19:46    Post subject:  

I used HackyRemaster to create vmlinuz,image.gz and usr_cram.fs.I used SimplePup-0.3.1.iso distro .I placed vmlinuz and image.gz in tftpboot folder and usr_cram.fs in lanpup/sys folder.x win tries to boot but it halts giving the following warning :

Warning ; Unable to open an initial console
Kernel panic :No init found. Try passing init = option to kernel.

My thinclient has 128 of RAM.

this is where i'm stack.I hoped xmklanpupy would solve this issue by creating the wright files for LanPuppy. How do I solve this issue?
Back to top
View user's profile Send private message 
sunburnt


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

PostPosted: Wed 15 Nov 2006, 21:02    Post subject:  

gabev; I looked at xmklanpup & saw what could cause your problem.
I've rewritten it & improved it, then tested it & it seems to work well.
I've learned a bit more about Bash programming in the last 4 months...

I improved it by adding code to make the file: /tftpboot/pxelinux.cfg/default
This file gives parameters for the client to boot (very critical).

When you do this stuff you tend to overlook stuff that's simple to yourself,
but others aren't prepared to deal with the "gutsy stuff".
LAN booting isn't complicated really, but it does have a number of parts & files.
I don't know what your knowledge level of PXE booting is,
if you need more intruction just say so & I'll be glad to explain.

Here's the PxeLinux site to refer to; http://syslinux.zytor.com/pxe.php

You don't say if your using PupServer or Win. for a boot server.
The server has to provide Samba shares (Win. shares) to LanPuppies,
they are: docs, public, sys, & homes/pup-1, homes/pup-2, etc.
The number of clients is controlled by the the number of home dirs.

Try the new xmklanpup utility & be sure to post back here if it worked or not.
If you still have trouble tell me what Puppy-1 version you want for a client,
& I'll make one for you (that way you won't waste any more time).

I intended to make full working versions of PupServer & many LanPuppies,
but with the total lack of response & interest to my post I didn't bother.
Instead I began working on the next generation, LanPuppy-1.1
xmklanpup.gz
Description  This is the NEW LanPuppy make utility.
Please post back any problems you have.
gz

 Download 
Filename  xmklanpup.gz 
Filesize  1.09 KB 
Downloaded  791 Time(s) 
Back to top
View user's profile Send private message 
gabev

Joined: 15 Nov 2006
Posts: 38
Location: New York, NY

PostPosted: Wed 15 Nov 2006, 21:39    Post subject:  

sunburn,

I use puppy seamonkey as a server platform and as a client.I use a pxe capable box with no harddrive nor cf or flash card but with 128 MB of RAM.I tried before to run puppy from a live cd I made and run it all from memory.So technically i believe i can try to boot a thin client over the network with the the os loading into the memory only.LanPuppy works ok , the issue I have right now is how to build the "compatible" files needed for the pxe boot to succed.Thas where I hope the new xmklanpuppy might make things easier.
So , I will try the new file right away and post the results.Lets hope it will work.Gabe
Back to top
View user's profile Send private message 
gabev

Joined: 15 Nov 2006
Posts: 38
Location: New York, NY

PostPosted: Wed 15 Nov 2006, 22:35    Post subject:  

by the way , how do i "pup" the xmklanpup.gz ? I uncompresse it but it doesnt execute just open by itself in the text editor.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 5 [61 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
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.1118s ][ Queries: 13 (0.0187s) ][ GZIP on ]