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 Tue 18 Jun 2013, 01:10
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Need .pup package: atftp & dhcp3, can't get them to run.
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
sunburnt


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

PostPosted: Fri 16 Dec 2005, 18:04    Post subject:  Need .pup package: atftp & dhcp3, can't get them to run.  

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.
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 20 Dec 2005, 14:45    Post subject: atftp  

>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
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 20 Dec 2005, 15:08    Post subject:  

hm. The doc say something about server, but no further information about it Sad
------------------
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
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 20 Dec 2005, 15:39    Post subject:  

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

No word about servermode Confused
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 20 Dec 2005, 15:47    Post subject:  

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

Mark
Back to top
View user's profile Send private message Visit poster's website 
sunburnt


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

PostPosted: Wed 21 Dec 2005, 02:46    Post subject:  

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
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Wed 21 Dec 2005, 02:57    Post subject:  

http://packages.debian.org/cgi-bin/search_contents.pl?word=+libcups.so.2&searchmode=searchfiles&case=insensitive&version=stable&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*....
Back to top
View user's profile Send private message Visit poster's website 
sunburnt


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

PostPosted: Wed 21 Dec 2005, 03:44    Post subject:  

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, 04:24; edited 2 times in total
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Wed 21 Dec 2005, 03:51    Post subject:  

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 Wink
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... Wink
Greets, Mark
Back to top
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 3942
Location: Southeast Georgia, USA

PostPosted: Wed 21 Dec 2005, 18:09    Post subject:  

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

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Multiple computers - currently running Puppy Exprimo ver. 5x15
Back to top
View user's profile Send private message Visit poster's website 
sunburnt_
Guest


PostPosted: Fri 23 Dec 2005, 20:37    Post subject:  

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.
Back to top
edoc


Joined: 07 Aug 2005
Posts: 3942
Location: Southeast Georgia, USA

PostPosted: Sun 25 Dec 2005, 11:45    Post subject:  

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

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Multiple computers - currently running Puppy Exprimo ver. 5x15
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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: 1.5772s ][ Queries: 12 (1.5217s) ][ GZIP on ]