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

For talk and support relating specifically to Puppy derivatives
Message
Author
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.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#41 Post by Flash »

Try ifconfig. Ipconfig is proprietary Windows software. :lol:

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

#42 Post by gabev »

Flash , thank you :) :)

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

#43 Post by gabev »

sunburnt,

i'm trying now the system with puppy211 and the client is able to boot but without x, just the busy box.I looked at the errors on the client's screen and I see a mismatch for the temporary paths :

the client is giving me this error :

cp: cannot stat '/mnt/sys/lanboot-smb' : No such file or directory
cp : cannot stat '/mnt/sys/resolv.conf' : No such file or directory
/mnt/sys probably not smb-filesystem
>>> Error #2: Unable to unmount the / sys dir.
exec : 68 : /tmp/lanboot-smb not found

BusyBox v1.01 blah blah built in shell(ash)
etc etc

and I get the prompt where I can run shell commands.

Now,wasnt suppose to have lanboot-smb and the other files within /mnt/home/lanpup/sys?
I did check for /mnt /home/homes/ and I have pup-11 ,pup -12 ,pup- 13 directories...
and also checked the /mnt/home/lanpup/sys/ and it does contain all the files tha the client is looking for.Is that a path problem maybe which was overlooked?

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

#44 Post by gabev »

AT LAST ... all issues fixed and yeas , its working .

I was able to boot Smallpup on a remote computer.

Geee, was a little challenging.its hard to convert from a winz base mentality to the sudden freedom of Linux.

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

#45 Post by gabev »

Sunburnt,

I tested LanPuppy with puppy2.11 - seamonkey(as server) and I was able to boot Simplepuppy0.3 (as client).
My main problem was the dhcpd.conf file and also smb.conf;I look into the error logs and so I found out that incoming connection to samba server were rejected.

So you can be sure that it works on both versions of Puppy linux, "light " or "heavy".From the performance part , on the client I run Mozila Firefox 1.5.0.1 and speed is ok , but if I go to YouTube .com , sound is totally chopped.

Congrats for such a nice program.

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

#46 Post by gabev »

hi sunburnt,

check out this link :

http://httpfs.sourceforge.net/net_boot.htm

Looks like we gonna have a LanPuppy booting of LAN or WAN

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

#47 Post by sunburnt »

Hi gabev; The new forum was sending me notices, but now it's stopped.

The web page about Knoppix looks interesting, it looked like a really modified setup.

So Puppy-2.x.x versions will work good for PupServers? Great!

Your error sounds exactly like the one I'm getting on the new build of it.
The file: /var/log/messages said that libwrap had refused connection from the client.
I haven't figured out just what the difference was between the old & new versions.
HOW DID YOU FIX YOUR PROBLEM?

The sound from YouTube shouldn't be messed up, I've played movies over the LAN.
But YouTube connects to the web, so maybe that's the problem.
Try putting one of the YouTube songs into the PupServer's /docs share dir. & play it (if you can).
Or try playing some Mp3s in the /docs share, that's where I had the media files.

Booting over a WAN should be possable but slow, & if there were lots of clients...

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

#48 Post by gabev »

in smb.conf I commented out the following lines:

#hosts allow = 192.168.1.253
#hosts deny = ALL

and after that it worked. I understand that is not secure but at least I had the opportunity to experiment and see how it works.

I believe that #hosts allow shoud be a range instead of a single ip.

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

#49 Post by gabev »

Also , if you look into the description of the smb.conf here :
http://www.faqs.org/docs/securing/chap29sec284.html

we can see that

" hosts allow = 192.168.1.4 127.0.0.1

The option hosts allow specifies which hosts are permitted to access a Samba service. By default, we allow hosts from IP class C 192.168.1.4 and our localhost 127.0.0.1 to access the Samba server. Note that the localhost must always be set or you will receive some error messages. '

hope that helps

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

#50 Post by gabev »

hi sunburnt,

a question of topic:

I loaded Simplepup0.3.1 on a 1 GB USB flash drive and so far I couldnt boot it.I've tried puppy211 and it loaded just fine but I run out of memory (I got 128MB RAM on a thin client).On a previous post u asked how to control the loading of squash files and "save files".Did anybody answer that?
Should I create a swap file on the USB on a different partition?
Or maybe I should try a different version of puppy which runs good of an USB?

Need your advice.

Post Reply