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.
YES! I have read and "looked" around in the box and sure I do have the "vi" option :-) I just didn't have permission to access that vftpd.conf file...now I do:-)
I need to see if I can get some info on what to edit and what not to edit here:-) I'll be back soon with more questions. lol
Ok..I don't need anything fancy here...just need to be able to manage files remotely...Any suggestions on what to edit (yes/no) and what to leave alone?
I was wondering..shouldn't I be able to reach the server by simply writting: "ftp://ip here" in my browser? (or is my pc skill similar to my 94 year-old grandma?)
I have tried getting acces using a ftp client..well, it lokos like I can get access but not really worth anything. after connection it writes: "SSH-1.99 -OpenSSH_3.9p1"
Does this mean anything to you? Just thought I would test if this ftp is installed correctly in the first place :-)
CAsper
(I am so close so make this work)
Last edited by xwishmasterx; 07-12-2008 at 03:57 AM.
Seems those guides refer to :/etc/vsftpd/vsftpd.conf. this returns "no such file or directory". I do however have /etc/vsftpd.conf, with LOTS of stuff...is this same stuff just in different places?
same stuff in different place
[edit]
- lines starting with # are comments or not active - you can activate them by removing the #
- there are only 4 options active (and set to "yes") in the file that comes with it
You should be good to go with that - maybe setting the line: connect_from_port_20=YES
to NO instead
I have tried setting it up ( with no big differences from the default) but I cannot get contact with the ftp..
Do you have any suggestions on how to do some checkup? Would be a good idea to check If there is something I have missed n the progress, or maybe some output that could give us(you:-)) some pointers why it is not working.
Could you give me and example of what should be writte in browser to access the ftp?
It should be as simple as typing ftp://your_NAS_ip in any ftp-program or in your browser.
Can you ping the router? ping your_NAS_ip
Can you ssh into it? ssh root@your_NAS_ip
...without that you could not have installed the thing so I suppose it is working...
try "top" and see if vsftpd is actually running
or try ps aux|grep ftp
this will list any process with ftp in its name
When I look at the package you downloaded and installed - I see no startup-script.
Eighter you need to start vsftpd by hand (logging in via ssh and starting the server with the command: vsftpd
) or you need to write a startup-script so the server starts up when the NAS is booted.
For examples you can look into the /etc/init.d/ directory - there will the startup scripts probably be.
You could also try to contact the author of that guide and ask him to elaborate on his guide.
The browser will not be very useful if you want to _use_ ftp - you could use it to download - but not to upload files - which is exactly the point I suppose...
Quote:
Also I tried the grep ftp command. IT shows one result but I donot now what to do here.
What does it say?
You are using windows, right?
I just remembered that I worked on a description for windows-users to connect to their routers (in a WiFi-Mesh project I'm involved in).
It is even easier - sshd running on the device (as is the case for you) should suffice.
The program is called WinSCP
You might find links to it here (the relevant page of the project): http://wiki.leipzig.freifunk.net/WinSCP
PS:
I can use xmpp (jabber) or icq - but not right now. Tomorrow morning maybe.
It is Sunday 11.53 AM here right now - just so you know what I mean by that
That WinSCP is pretty need:-) It grants me a much better look on how this device is structured. I have even managed to change some settings so I am now able to access my drives and folders, without the damn software!
Now I "just" need to be able to access these folders, instead of that darn admin panel. Any ideas on how I can get to my desired folder, when typing ip adress? Something in there must "tell" what and where to start when ip is entered.
I have gotten lots of help from Jochem (thank you so much)!! Now I am stuck with the final step (I hope)
I have a script (text file located on the desktop), which needs to be installed. I cannot get in touch with jochem so maybe one of you linux-experts can help me out :-)
How do I install a script that is located on my desktop? What are the commands?
What do you mean by "install" a script? To run a script, you open a command line (terminal) and do:
Code:
# cd Desktop_directory
# ./script_name
replacing Desktop_directory with the directory your desktop is in, and script_name with the name of the script.
You don't necessarily have to run it as root (that's what the # indicates, running the command as root), but as a regular user (indicated by a $, for future reference) you may not have permission to run the script. Root (usually) has permission to do pretty much anything.
The script in question is a script I sent to him - which needs to be copied to /etc/init.d/ , given a proper name and made executable.
It is the startup script for the vsftp server he wants to use.
This was no easy task for someone who never used a command-line and had suddenly to use putty to configure his NAS.
Casper,
To edit system files, log in as root. Open console. If i remember, ask for a text editor, like gedit and the file name, thus: gedit /etc/inittab.
Once in, make your changes. If anybody else comes along with advice, that person probably knows more than i do, but this is the gist of it. Good wishes... Keep going forward. Linux is just wonderful.
Nityanandi
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.