List Info

Thread: ftp server for 3.0.1




ftp server for 3.0.1
user name
2006-09-08 10:27:21
Hi,

so my Quadra 700 is happily running. What I would really
like to do, 
though, is using it as a light-weight ftp-server. Looking at
the 
collection of packages at  
.../pub/NetBSD/packages/packages-2006Q1/NetBSD-3.0/m68k I
could not 
detect anything that looks like an ftp-server app. Did I
overlook 
something? Can I use binaries from older BSD releases? Which
program 
would I use? Sorry, but  I am no expert in these things,
just an 
advanced idiot  All I
know about Unix stuff is what I learned from 
playing around with the terminal in OSX/Darwin. Any help
will be 
appreciated.

Thanks, Andreas

ftp server for 3.0.1
user name
2006-09-08 10:52:03
Hi,

While I haven't done this on the mac68k port, I can't 
imageine it's any different than any of the other ports.

Make sure that

inetd=YES

is in rc.conf

and then uncomment the line in /etc/inetd.conf that is for
ftp.
It should work fine then.

cheers

bruce

On Fri, Sep 08, 2006 at 12:27:21PM +0200, Andreas Wolf
wrote:
> Hi,
> 
> so my Quadra 700 is happily running. What I would
really like to do, 
> though, is using it as a light-weight ftp-server.
Looking at the 
> collection of packages at  
> .../pub/NetBSD/packages/packages-2006Q1/NetBSD-3.0/m68k
I could not 
> detect anything that looks like an ftp-server app. Did
I overlook 
> something? Can I use binaries from older BSD releases?
Which program 
> would I use? Sorry, but  I am no expert in these
things, just an 
> advanced idiot  All I
know about Unix stuff is what I learned from 
> playing around with the terminal in OSX/Darwin. Any
help will be 
> appreciated.
> 
> Thanks, Andreas
> 

-- 
edoneelsdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
ftp server for 3.0.1
user name
2006-09-08 10:58:58
Hi,

the one that is coming preinstalled on the system is not ok
for you?
You can enable this by editing /etc/inetd.conf (just
uncomment the
line with ftp on them -- there two lines one for IPv4 and
one for
IPv6) and starting the inetd (add inetd=YES in /etc/rc.conf
-- IIRC
in /etc/default/rc.conf is already YES).
Then "/etc/rc.d/inetd reload" or "killall
-HUP inetd".

Regards,

Johny.

P.S. Two very good info resources:
	http://www.netbsd.org/Documentation/#documentation-guide

	http://www.netbsd.org/Documentation/#documentation-howt
os

ftp server for 3.0.1
user name
2006-09-08 11:00:50
Hi Andreas,

You don't say who or how many you want to serve with ftp or
wether
it will be on an intranet or the internet(tm). These are
all possible, but implementation results may vary and
carries
some security risks, that's why it's disabled by default.

So you have been warned...

NetBSD has it's own built-in ftp server, but it's disabled
by default
as I say above.

As I recall, to enable you need to perform at least the
following:

1) In /etc/rc.conf, you need a line:
inetd=YES               inetd_flags="-l"       
# -l logs libwrap

2) In /etc/inetd.conf, you need to uncomment the line like:
ftp             stream  tcp     nowait  root   
/usr/libexec/ftpd      
ftpd -ll -V -

3) in /etc/ftpusers, you need an allow line for users who
are allowed to
actually use ftp:
some-user           allow

4) Now restart the inetd to use the new settings:
/etc/rc.d/inetd restart

For documentation start with
man ftp
man inetd

Good luck!
gene

> Hi,
>
> so my Quadra 700 is happily running. What I would
really like to do,
> though, is using it as a light-weight ftp-server.
Looking at the
> collection of packages at
> .../pub/NetBSD/packages/packages-2006Q1/NetBSD-3.0/m68k
I could not
> detect anything that looks like an ftp-server app. Did
I overlook
> something? Can I use binaries from older BSD releases?
Which program
> would I use? Sorry, but  I am no expert in these
things, just an
> advanced idiot  All I
know about Unix stuff is what I learned from
> playing around with the terminal in OSX/Darwin. Any
help will be
> appreciated.
>
> Thanks, Andreas
>
>

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )