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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
same stuff in different place
- 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...
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
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.
What do you mean by "install" a script? To run a script, you open a command line (terminal) and do:
# cd Desktop_directory
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.
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.