Need .pup package: atftp & dhcp3, can't get them to run.

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

Need .pup package: atftp & dhcp3, can't get them to run.

#1 Post by sunburnt »

I put the packages needed for LANboot in the cram file & run them with their startup scripts.
Only Sambas nmbd shows running with "ps", so I think Samba's working, I still have to test that out.
The atftp & dhcp3 throw errors & I don't know enough to make them work.
Since the atftp & dhcp3 damons are a virtual package (they work together), I thought of a dot-pup.
I could probably make one, except I can't get the damons working, so I need help to do it.
I got atftp & dhcp3 from: debian.org - stable - i386, the dhcp3 startup script isn't right for Puppy.
Atftp doesn't have a startup script, it usually runs from inet which I don't know how to install.
Atftp should be able to run without inet, but again it has no startup script to run it with.

Short of solving these simple problems, I'll have to use the Freesco router for the server, it has packages available for tftp, dhcp, & Samba ready to go, I've used it before with great success, but it has no WM, console only, so not noob frendly for LanPuppy users.
I really wanted LanPuppy to do the whole "server-clients" package completely by itself for a single interface to learn.

P.S. Samba didn't start properly as smbd is not running, says it needs a lib that's not in the package.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

atftp

#2 Post by MU »

>The atftp & dhcp3 throw errors & I don't know enough to make them work.

atftp needs libreadline.so.5
There is one in puppy, but it is incompatible.
So I simply installed the one from Debian.

I copied atftp to /usr/local/bin,
now I can run it by typing "atftp".
This runs it in interactive mode, you can enter ftp-commands.
This means, it should not be started from startup-scripts, it is no ftp-server, but a client!

Or do you have other information?

Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#3 Post by MU »

hm. The doc say something about server, but no further information about it :(
------------------
DHCP3:

I undebed http://packages.debian.org/stable/net/dhcp3-server
Copied some files:
/etc/dhcp3/dhcpd.conf
/etc/init.d/dhcp3-server
/usr/sbin/dhcpd3

Ran
/etc/init.d/dhcp3-server
/usr/sbin/dhcpd3
Got an error concerning /var
So I did:
mkdir /var/lib/dhcp3
touch /var/lib/dhcp3/dhcpd.leases

Now again
/usr/sbin/dhcpd3

Result:
Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 leases to leases file.

Not configured to listen on any interfaces!


So this indicates, you must edit
/etc/dhcp3/dhcpd.conf
to your needs.

Does this help you further?
Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

atftp:
http://linux.com.hk/penguin/man/1/atftp.html

No word about servermode :?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#5 Post by MU »

aaaahhh... you need another package:
http://packages.debian.org/stable/net/atftpd

Mark

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

#6 Post by sunburnt »

Aww your kidding, I did get the client atftp package! Darn!

I guess the dhcpd.leases file doesn't need to be edited, I got no report at all when running: dhcpd3 start, it just returned to the prompt, like the command worked.
I know what to do with the dhcpd.conf file to get it to work with the PXE boot protocol, I've done that before with Freesco (nice router... look at your post).

I'm still looking for libcups.so.2 that Samba wants, I hoped I'd find it at the Slackware site, but it's hard to find anything there, unlike the Debian site that's so easy to use, I'll look both places again & with luck it'll be fixed.

Mucho Grasias mi compadre... Terry

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post by MU »

http://packages.debian.org/cgi-bin/sear ... &arch=i386

Does this help you?
Atftpd also does "nothing, as I told you in the pm.
It gives no errors, but simply stops immedeatly, if you run it with
atftpd --daemon (to avoid that it uses inet).
Have no idea on how to proceed there unfortunately...

greets, must go out in thecold now to get some tobacco *brrrrrrrrrrr*....

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

#8 Post by sunburnt »

Amazing that you found the cups lib file, I had my doubts but I just undeb it & there it is!
I searched for it at Debian & turned up nothing, although I knew it was there, they've got everything.

I got atftpd this time & it has a startup script, so I'll should be able to get it working, if not... inet or xinet.
I'll be getting dhcpd3 & Samba setup & checking them, then I'll tackle the atftpd thing tomorrow.

Many thanks for the blinding speed of your repairs, hope it didn't interfere with your own projects, I'll post here my luck or lack of with all of this.
Terry
Last edited by sunburnt on Wed 21 Dec 2005, 08:24, edited 2 times in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#9 Post by MU »

sunburnt wrote: hope it didn't interfere with your own projects, I'll post here my luck or lack there of at all of this.
no problem.
I did so much programming the last days I am kind of "powered out" and need a break.
Especially in the sticky atmosphere from the heater in my appartment at wintertime.

I might play some quake the next days ;)
If you have more questions, I like to help.

--------
If you search at http://www.debian.org/distrib/packages without result, try the form at the total bottom of the page, and check [x] "packages that contain files or directories whose names contain the keyword ".
That is the most intensive search.


Now its time to go to sleep, it is 8 am... ;)
Greets, Mark

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#10 Post by edoc »

sunburnt wrote:Amazing that you found the cups lib file, I had my doubts but I just undeb it & there it is!
I searched for it at Debian & turned up nothing, although I knew it was there, they've got everything.

I got atftpd this time & it has a startup script, so I'll should be able to get it working, if not... inet or xinet.
I'll be getting dhcpd3 & Samba setup & checking them, then I'll tackle the atftpd thing tomorrow.

Many thanks for the blinding speed of your repairs, hope it didn't interfere with your own projects, I'll post here my luck or lack of with all of this.
Terry
Does this mean we may soon have a DotPup for Samba for Puppy?

That would be very exciting!

doc
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

sunburnt_

#11 Post by sunburnt_ »

I agree edoc, the pieces & parts to the Puppy Server part of LanPuppy should be made into Puppy packages.
Samba server, dhcpd server, atftp server, & any GUIs that are made for administering them should become dotpups.

Ultimately a general purpose version may evolve with RAID, HTTP, FTP, email server, etc., as well as boot services.
Each of these items then would become dotpup packages as well.

All of this has to have good GUIs to be in keeping with Puppy's theology of being easy to learn & use.

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#12 Post by edoc »

sunburnt_ wrote:I agree edoc, the pieces & parts to the Puppy Server part of LanPuppy should be made into Puppy packages.
Samba server, dhcpd server, atftp server, & any GUIs that are made for administering them should become dotpups.
Given my relatively limited understanding of the technology and the many variables in the interaction between things I am shy about "should" and tend to default to "if possible" and "it would be neat if".

Given that others are doing the heavy lifting on the forum!

Less geek than I'd like to be but Merry Christmas anyhow!

doc
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

Post Reply