LanPuppy...At Last... [ Testing & Suggestions ]

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#21 Post by sunburnt »

As I said, I liked SimplePup 0.3 or 0.31, it has the XFCE window manager.

The files are put in: /tftpboot/(name of the ISO file)
So you must copy them to the dirs. stated in the final popup window of xmklanpup.
This is to keep different LanPuppy version apart so they won't be copied over.

Also there MUST be /homes/pup-1 /homes/pup-2 dirs. (one for each client PC)
for the clients to make SAVE files in.


gabev... THIS IS VERY IMPORTANT ..... WHAT are you using for the server?
Linux running Samba with my smb.conf file will auto. mount client HOME shares.
Win. WON'T DO THIS! So modifications would have to be made to the boot script.
If using Win., I assume your using tftpd32 for the boot server daemon.
You'll HAVE to setup shares in Win. for: /docs, /public, /sys
The HOMES shares (pup-1, etc.) are a problem as Win. won't auto. connect the client to it's HOME.

This is the file structure of PupServer & LanPuppy:

/mnt/home/docs ..... (a common read-only documents share for all clients)
/mnt/home/public ..... (a common read-write public share for all clients)
/mnt/home/lanpup/sys/usr_cram.fs ..... (the one being booted)
/mnt/home/lanpup/tools/(various tools)
/mnt/home/lanpup/image_files/(files to be added to image.gz)
/mnt/home/tftpboot/vmlinuz ..... (the one being booted)
/mnt/home/tftpboot/image.gz ..... (the one being booted)
/mnt/home/tftpboot/(LanPuppy versions)/(LanPuppy version files)
/mnt/home/tftpboot/pxelinux.cfg/default ..... (PxeLinux config. file)
Last edited by sunburnt on Thu 16 Nov 2006, 06:09, edited 1 time in total.

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

#22 Post by gabev »

The xmklanpup works good now, it does create the necesary files.
I worked a couples of pup1 iso .the pxe boot is working but the image created could not load properly.I was able to boot just the busy box after which I had a message that the X could not be started and that puppy was unable to mount the usr_cram.fs on /usr.I saw a couples of errors refering to smb-mounts also , but , at this point I dont know if its my hardrive which is failing or just some unrelated errors.I will start again from scratch with a different hardrive and a new Puppy install and see if I get the same errors.


I do use Linux Puppy 211-seamonkey as server with Samba instaled ( i followed your instructions on how to install LanPuppy ) .The client is a ntavo machine without hard drive nor flash card, just 128 MB of RAM and PXE capable.

Gee, i didnt see what time it is.I will continue tommorrow.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#23 Post by sunburnt »

gabev; ReREAD MY POST ABOVE! (I added to it)

You have to tell me what your server is !!!!!!!!!

The Samba errors are because there are no SMB shares for the client to mount!

usr_cram.fs is suppost to be in the /sys share, it can't find it if the share isn't mounted,
and X is in the usr_cram.fs file, so X can't load if this file isn't mounted!

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

#24 Post by gabev »

the Samba server package is : samba-3.021c.pup

I did install LanPuppy101.pup also.

I will do a fresh install tommorrow on a different hardrive and see if i will have the same issues.Maybe is my hardrive getting corrupted.

#################
other boot errors on the client :

cp cannot stat '/usr' : No such file or directory
init started BusyBox..etc etc
then
Mounting /proc : Can't find /proc in etc/fstab...

grrrrrrrrr

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#25 Post by sunburnt »

So your server is Puppy-1.x.x ?
I'm not sure the Samba package or my LanPuppy package will work with a Puppy-2.x.x server.

"Cannot stat /usr" is because the usr_cram.fs file IS the /usr dir.
I'm not sure about the /proc mount, but with the other errors it's not important.
When the other errors are corrected, the odd errors will usually go away.

PupServer is the Puppy that you installed the Samba & LanPuppy packages to.
It servs the boot files (vmlinuz & image.gz) to the client PCs by TFTP.
Then the SMB shares /docs, /public, /sys, /homes/pup-{N} are smbmounted.
All the apps., X, & pretty much everything is in the usr_cram.fs file that's in /sys.
The kernel vmlinuz is ~ 1mb, image.gz is ~ 7mb, & usr_cram.fs is ~ 40 to 80mb.
All 3 of these files are compressed, so uncompressed they'd be 2 to 3 times larger.

Q #1) What version of Puppy (exactly) did you install Samba & LanPuppy to?

Q #2) Is the PupServer & LanPuppy dirs. in the path: /mnt/home ?
.......................... (like the dir. list in the post above)

Again... If you'd like a step by step description of the full boot process, say so.

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

#26 Post by gabev »

Now that probably explains it.

in my setup I downloaded puppy 2.11 seamonkey and instaled it into my HD. After that I instaled Samba 3.0.21c.pup than I instaled LanPuppy 101.Basically I just followed the instructions found on the wiki page :http://puppylinux.org/wikka/LanPuppy.

As you mentioned , pupserver might not work on other pups 2 versions.Probably thats why I got those samba errors on boot.

I will install SimplePup as a server and follow from there.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#27 Post by sunburnt »

As the original post said, Pizzasgood's "EmptyCrust107" was what I used for the server.
It's been stripped of most of the apps. so it's smaller in size.
However if you intend to use the server PC to web browse or other stuff SimplePup03 should work.

The number of downloads of the LanPuppy package has got me thinking of making a full distro.
I'm looking into it, it'll probably take a little bit as the server will have to be remastered.

Todd
Posts: 311
Joined: Thu 31 Aug 2006, 18:25

LanPup

#28 Post by Todd »

Please, let me know what I can do to help. I have gotten pretty good at Unleashed. I just posted the base puplet that I used for iPup on my archive. If that looks like something you could use, I can change the opening boot screen to reflect your own tastes, etc.

Anyways, I love to tinker. Let me know how I can help.

Todd

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

#29 Post by gabev »

hi sunburnt,

Funny enough , SmallPup 0.3.1 wont detect my network card :shock: , while puppy 2.11-seamonkey didnt have any issues. before I can install LanPup seems like is gonna be another of those nights...

and yeas, indeed , SmallPup has a very clean look

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#30 Post by sunburnt »

Todd; I haven't heard of iPup (not an iPod I assume... ha ha), what it like?
Is it based on Puppy-2? What 's the WM, what apps. does it have, etc.?
PupServer is a boot & Samba server built on Pizzasgood's EmptyCrust107.
LanPuppy is any version of Puppy-1.x.x with the boot code modified to do a PXE boot.
PupServer will have to be remastered to join Samba & the boot daemons to it.
It's been working for quite some time now, so cleaning it up & remastering is the job.
Once it's ready to release as a beta package it'll need testing. I'll let you know.

gabev; What's you network card type? Post it & hopfully help will come.
I really liked XFCE for it's design, different from WinBlows & cleaner.
Most WMs seem to be carbon copys of WinSnows (IceWM, JWM, etc.).
I haven't even seen the full XFCE WM yet, SimplePup has a slimmed down version.
The full XFCE has a complete desktop environment & apps. like KDE.
In the future I want to try it out & make a LanPuppy with the full XFCE.

Todd
Posts: 311
Joined: Thu 31 Aug 2006, 18:25

iPup/iPupLite

#31 Post by Todd »

It is the same as emptycrust but based on 2.11. Additionally, it has sound files, xorg, and abiword. There are two versions. One with Firefox (iPup) and a cleaned up menu (unused categories removed), and the other without firefox (iPupLite) and without the unused categories removed. Neither of these includes Samba, but as I have said, I can custom build you an ISO to fit your needs. The two I have mentioned above can be found at:

http://www.toddrichardson.com/archive/

Sincerely,

Todd Richardson

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#32 Post by sunburnt »

Todd; First I'd have to see if the Samba server package will work with Puppy-2.
It probably will, but testing would be needed so further effort wasn't wasted.
iPup being stripped down makes it perfect as a base for building Puppies.

I don't work with ISO files, I just extract them & use the files.
The PupServer & LanPuppies go on a HD of course, so there's no ISO file.
But a complete setup of PupServer & LanPuppies could be run from a CD.
Being as servers almost always have HDs, I don't see much use for it, but...

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

#33 Post by gabev »

sunburnt,

damm net card. I just found out that i have a shity PCI MN-130 (of course , microshit, what else ..) and the tulip driver is the right one , BUT, it needs to be hacked because mr.shitsoft introduced some code and because of that it is not recognize .
now the catch 22 is that the smallpup ,which doesnt recognize the card, also doesnt have the ability to uncompres the tulip file so I can alter it and recompile.Simplepup tulip extension is .gz , and guess what, puppy211 has tulip with the extension .ko. Damm... so I need to get a tulip driver for simplepup in a format that can be text edited. Google here I come...


here I am ,again, Simplepup has rxvt but without make command.I cant recompile my kernel so...I'll have to dump the mn-130 net card.Thankx to microShit for trying to hold on our pockets...we should sue them again,now , for trying to monopolize the network card market.I got no more option but to replace the net card.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#34 Post by sunburnt »

You might try installing the Samba DotPup package on Puppy 2.11 & test if it works.
First install the Samba package, then run rxvt & type: ps
1 process: nmbd should show & 2 processes: smbd should show.
If those processes show, then Samba server is running properly.
If they don't show then in rxvt try typing: /etc/rc.d/rc.samba start
Then type: ps again & look for the 3 Samba server processes.

If Samba server is running, then you can try installing LanPuppy.pup again.
After installing it, ps should also show the 2 processes: dhcpd & xinetd
If you try... let me know of your progress.
These packages may very well work in Puppy-2.x.x versions, I don't know.
But it'd be real nice to find out if they do work... Good Luck!

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

#35 Post by gabev »

In pup211-seamonkey , all 3 processes they do show up; also dhcpd3 and xinetd , under /usr/sbin/

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#36 Post by sunburnt »

Then you need to find out the subnet of your LAN, mine is: 192.168.0.0
In rxvt type: ifconfig & find the IP address for your PupServer PC.
Mine is: 192.168.0.100. Just put a: 0 for the last number for the subnet.

In the file: /etc/xintd.conf there's a line like: only from = (subnet address)
If it's wrong, put in the subnet address for your LAN.

Then you need to get the IP address of your PupServer PC (SeaMonkey).
In the file: /etc/dhcp3/dhcpd.conf there's a line like: next server (IP add.)
If it's wrong, put in the PupServer's IP address.

Then you need to get the IP address of your router (if you have one).
Look in the file: /etc/resolv.conf & find the router's IP address.
If you don't have one then we'll have to talk somemore about your setup.
But if you do then do:
In the file: /etc/dhcp3/dhcpd.conf there's a line like: router = (IP add.)
If it's wrong, put in the router's IP address.

The file: /etc/samba/smb.conf may need to be changed also.
I don't have it in front of me now, but I think it'll be good (can't recall).

These 3 config. files control the 3 services.
Samba: /etc/samba/smb.conf ....... (allows network shares)
DHCP3: /etc/dhcp3/dhcpd.conf ...... (gives out IP addresses)
XINET: /etc/xintd.conf .................. (starts the tftpd daemon)

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#37 Post by sunburnt »

gabev; I've got LanPuppy up & running, if you want I can post the image.gz file & others.
This'll save you the trouble of making it, & your server seems to be working.

The file: /etc/samba/smb.conf has a line in it like: hosts allow = (subnet IP)

If the subnet value is wrong, fix it!

Mine looks like this: hosts allow = 192.168.0.

There is NO last number, different daemons & utilities do this differently!


Also, the dir.: /mnt/home/lanpup/sys should have these files in it:

homes-smb ------------- part of the LanPuppy package
lanpup-smb ------------- part of the LanPuppy package
usr_cram.fs ------------- part of the LanPuppy client version
mac2ip ------------------ part of the LanPuppy package, OR made by client
resolv.conf -------------- COPYED from /etc, after doing ether setup

Make sure all these files are there, if not tell me what's missing.

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

#38 Post by gabev »

hi sunburnt,

i did install a new network card and a new install of Simplepup on a different hardrive.I wont start experimenting with the LanPupp till later tommorrow, because i'm affraid that I'll end up again at 5 am in the morning.

I do enjoy alot SimplePup and I'm very happy that I tried it.Especially the Firefox is very well configure.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#39 Post by sunburnt »

I'm finishing up the full version build of LanPuppy1-02
I'll need to test it a bit myself before releasing the beta test version.
I've made some changes to it, the big one is a common app. install for all clients.
This way apps. won't have to be installed on each & every client PC, just install once!

I know you just want to get what your working on up & running...
But when I get the updated version web hosted, maybe you'll test it out.
I don't know if you've done programming, but what works on my PC may not work on yours.

When I posted LanPuppy I got no feedback posts until yours, so I had no idea if it worked.
All I could assume was my code is perfect (very unlikely), or there was no interest in it.

I'm glad to see someone's shown interest in my handy work. Thanks for posting!

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

#40 Post by gabev »

hi sunburnt,

finally we got the board up again :) .
I did install the Lanpup again, replaced with the new xmklanpup file and checked that all the file are generated and placedin the correct folders.

I do have a wireless Linksys router and now the chalenge will be to figure out the corect ip's.I checked in my dhcpd.conf file in the /etc/dhcp3 folder and it contains no entry. :?: In simplepup2.11 I remember were some lines in there.

My Lan IP is : 192.168.1.1
subnet mask : 255.255.255.0

DHCP server at : 192.168.1.100

by the way what version on rxvt yoy got ? mine doesnt recognize the ipconfig command.

Post Reply