Find a website to host my MultiDistroDVD so newbie's can download it?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
There, you restarted the vsftp daemon, with the init script in init.d
Quote:
Originally Posted by linus72
bz@bz-desktop:~$ sudo vsftpd
500 OOPS: vsftpd: not configured for standalone, must be started from inetd
Your trying to start vsftpd again as a standalone daemon, but if its configured to run multiple daeomns i think it is check ps -e | grep vsftpd and see if its up, else you start it like sudo /etc/init.d/vsftpd start.
bz@bz-desktop:~$ sudo vsftpd
500 OOPS: vsftpd: not configured for standalone, must be started from inetd
bz@bz-desktop:~$
The above is not needed to restart the server, just use
Quote:
bz@bz-desktop:~$ sudo /etc/init.d/vsftpd restart
The ftp server works OK, since you an telnet to it
Quote:
bz@bz-desktop:~$ telnet 127.0.0.1 21
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 Welcome to Megaloth FTP service.
So now you need to verify if the server is reachable from the outside.
As told before, you need to know if you are allowed to run servers.
If yes verify if there is any firewall in the router, if yes forward the ports to your server.
It seems the computer is as clueless as me!
How do I forward a port?
Code:
bz@bz-desktop:~$ telnet 127.0.0.1 21
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 Welcome to Megaloth FTP service.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
What is the USER and PASS??
What does this mean?
Code:
vsftpd: not configured for standalone, must be started from inetd
Please take a deep breath, calm down and read what is said in the thread.
Quote:
What does this mean?
It means the ftp server is working OK
login and pass are "anonymous" and "your email adress" if the server is configured for anonymous logins.
Quote:
vsftpd: not configured for standalone, must be started from inetd
as said 2 times in previous posts, you need to restart the service from inetd
Quote:
sudo /etc/init.d/vsftpd restart
NOT
Quote:
sudo vsftpd
All this is useless if verizon is blocking ports from servers (mail, ftp, web) so first make sure they are open.
Also, I don't know what your upload is, but 4GB download from a server with 256 upload, may take a long time, and in the meanwhile your connection is going to slow down, so perhaps you should consider other options.
OK-first I wanna thank all of you for your help-as I need it!
Alright-it seems to be working except for this
Code:
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 Welcome to Megaloth FTP service.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
421 Timeout.
Connection closed by foreign host.
bz@bz-desktop:~$ telnet 127.0.0.1 21
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 Welcome to Megaloth FTP service.
530 Please login with USER and PASS.
anonymous
530 Please login with USER and PASS.
USER
331 Please specify the password.
gogadget@peoplepc.com
530 Please login with USER and PASS.
Please take a look at the vsftpd.conf and tell me what I need to change-
Code:
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
#
# Run standalone? vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
#listen=NO
#
# Run standalone with IPv6?
# Like the listen parameter, except vsftpd will listen on an IPv6 socket
# instead of an IPv4 one. This parameter and the listen parameter are mutually
# exclusive.
#listen_ipv6=NO
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=YES
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
#write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
chown_uploads=YES
chown_username=whoever
#
# You may override where the log file goes if you like. The default is shown
# below.
#xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
#xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that on some FTP servers, ASCII support allows a denial of service
# attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
# predicted this attack and has always been safe, reporting the size of the
# raw file.
# ASCII mangling is a horrible feature of the protocol.
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
# You may fully customise the login banner string:
ftpd_banner=Welcome to Megaloth FTP service.
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd.banned_emails
#
# You may restrict local users to their home directories. See the FAQ for
# the possible risks in this before using chroot_local_user or
# chroot_list_enable below.
#chroot_local_user=YES
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd.chroot_list
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#ls_recurse_enable=YES
#
#
# Debian customization
#
# Some of vsftpd's settings don't fit the Debian filesystem layout by
# default. These settings are more Debian-friendly.
#
# This option should be the name of a directory which is empty. Also, the
# directory should not be writable by the ftp user. This directory is used
# as a secure chroot() jail at times vsftpd does not require filesystem
# access.
secure_chroot_dir=/var/run/vsftpd
#
# This string is the name of the PAM service vsftpd will use.
pam_service_name=vsftpd
#
# This option specifies the location of the RSA certificate to use for SSL
# encrypted connections.
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
# This option specifies the location of the RSA key to use for SSL
# encrypted connections.
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
is only used to see if the port is open.
To connect to the ftp server use
Code:
ftp 127.0.0.1
Here is how it looks at my server:
Code:
repo@cannabis:~$ ftp 127.0.0.1
Connected to 127.0.0.1.
220 (vsFTPd 2.0.7)
Name (127.0.0.1:repo): repo
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> quit
221 Goodbye.
repo@cannabis:~$
If the server is configured for anonymous login use
login anonymous
pass emailaddress
bz@bz-desktop:~$ ftp 127.0.0.1
Connected to 127.0.0.1.
220 Welcome to Megaloth FTP service.
Name (127.0.0.1:bz): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
What does it mean "ftp>"?
Is it setup?
could you download?(not all of it-but does it start?
Ah! Cannabis Man!
Me too baby-straight out of the Appalachian Mountains!
Where do I get the GUI version of vsftpd?
I tried synaptic and it just displays "vsftpd".
OUTPUT of "ls"
Code:
bz@bz-desktop:~$ ls
Desktop Music
Documents Pictures
Domination Public
en_US.UTF-8 Templates
Firefox_wallpaper.png Videos
frank_frazetta_deathdealerVI(www.GalaWallpapers.com)-1024x768.jpg wwmkr
bz@bz-desktop:~$
The FTP folder is in /home/ftp so I don't see it listed..?
Can I move the ftp folder to Public or should I not?
Wow, all of this could be avoided if you just created a torrent file. And used public trackers.
I'm not an advocate of anonymous people connecting too my machine for a 4.6 gig file. This will bog down your entire connection. Not too mention from the recent nmap scan your wide open.
OK-REPO please stick with me!
Can I login as bz?
It doesn't sem to work with bz?
Code:
bz@bz-desktop:~$ ftp 127.0.0.1
Connected to 127.0.0.1.
220 Welcome to Megaloth FTP service.
Name (127.0.0.1:bz): bz
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.
ftp>
But with "anonymous"it does-
Code:
bz@bz-desktop:~$ ftp 127.0.0.1
Connected to 127.0.0.1.
220 Welcome to Megaloth FTP service.
Name (127.0.0.1:bz): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
Also, according to "ftp://127.0.0.1"
It took me to a webpage-see screenshot-I hit the link and it started downloading-is it working then!??
AND I TRIED ASKING ABOUT TORRENT NOBODY WILL TELL ME HOW TO DO IT.
CAN SOMEONE HIT THE LINK AND SEE IF IT STARTS TO DOWNLOAD?
I GET 190KBS SO NO PROBLEM.
LINK= ( ftp://127.0.0.1 )
WHAT AM I WIDE OPEN TO?
A VIRUS-HA! THIS WHOLE COMPUTER IS A TEST BED FOR LINUX DISTRO'S-IF YOU SEND A VIRUS, ETC I'LL JUST WIPE THE DISK AND START OVER!
I JUST WANNA SHARE THIS WITH NEWBIES' SO THEY DON'T HAVE TO DOWNLOAD AND BURN LOTS OF CD'S.
yes you can login as bz, with the password from bz (if enabled in the conf file)
Then you will see the home directory from bz
Quote:
bz@bz-desktop:~$ ls
Desktop Music
Documents Pictures
Domination Public
en_US.UTF-8 Templates
Firefox_wallpaper.png Videos
frank_frazetta_deathdealerVI(www.GalaWallpapers.com)-1024x768.jpg wwmkr
bz@bz-desktop:~$
You can't see ftp, because it is located at
/home/ftp
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.