LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 07-12-2008, 04:37 AM   #16
xwishmasterx
Member
 
Registered: Jul 2008
Posts: 30

Original Poster
Rep: Reputation: 0

Hi Jomen:-)

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

thanks for sticking around:-)

Casper
 
Old 07-12-2008, 04:44 AM   #17
xwishmasterx
Member
 
Registered: Jul 2008
Posts: 30

Original Poster
Rep: Reputation: 0
Back already..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 04:57 AM.
 
Old 07-12-2008, 05:00 AM   #18
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
This is rather specific info tailored towards the distribution I'm running but as far as the config-file is the issue it will apply to any setup of vsftp:
http://gentoo-wiki.com/HOWTO_vsftpd
or rather the second ?
http://wjholden.com/vsftpd-help.html

There are many was to find info on how to configure it...
 
Old 07-12-2008, 06:21 AM   #19
xwishmasterx
Member
 
Registered: Jul 2008
Posts: 30

Original Poster
Rep: Reputation: 0
hmm

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?
 
Old 07-12-2008, 06:55 AM   #20
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
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

search-engine --> "man vsftp" will give you hints

Last edited by jomen; 07-12-2008 at 07:17 AM.
 
Old 07-13-2008, 03:38 AM   #21
xwishmasterx
Member
 
Registered: Jul 2008
Posts: 30

Original Poster
Rep: Reputation: 0
hi Jomen

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?

Casper
 
Old 07-13-2008, 05:17 AM   #22
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
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.
 
Old 07-13-2008, 05:39 AM   #23
xwishmasterx
Member
 
Registered: Jul 2008
Posts: 30

Original Poster
Rep: Reputation: 0
I am able to ping the nas.
However trying the ftp in browser(ftp://nasiphere) returns "an" error (directly translated):

"Windows cannot open this folder. MAke sure the filename is correct and that you have permission to access the folder.

Details: Connection to server re-stablished"

So what now?

Also I tried the grep ftp command. IT shows one result but I donot now what to do here.

Regards,
Casper

PS. If its possible would you consider comming on yahoo messenger or msn?
 
Old 07-13-2008, 05:53 AM   #24
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
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
 
Old 07-13-2008, 02:37 PM   #25
xwishmasterx
Member
 
Registered: Jul 2008
Posts: 30

Original Poster
Rep: Reputation: 0
Hi Jomen!

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.

Regards,
Casper
 
Old 07-22-2008, 03:10 PM   #26
xwishmasterx
Member
 
Registered: Jul 2008
Posts: 30

Original Poster
Rep: Reputation: 0
Hello

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?

Regards,
Casper
 
Old 07-25-2008, 02:15 PM   #27
psteele555
LQ Newbie
 
Registered: Jun 2008
Distribution: RHEL 5.0
Posts: 24

Rep: Reputation: 15
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.
 
Old 07-25-2008, 03:33 PM   #28
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
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.

That part is solved now...
 
Old 07-26-2008, 08:10 AM   #29
Nityanandi
LQ Newbie
 
Registered: Jul 2008
Location: Australia
Distribution: Mageia 5, CentOS
Posts: 12
Blog Entries: 6

Rep: Reputation: 0
edit /etc/inittab

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
 
Old 07-28-2008, 08:14 AM   #30
psteele555
LQ Newbie
 
Registered: Jun 2008
Distribution: RHEL 5.0
Posts: 24

Rep: Reputation: 15
Quote:
Originally Posted by jomen View Post
This was no easy task for someone who never used a command-line and had suddenly to use putty to configure his NAS.

That part is solved now...
Good! I like it when problems are solved :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
<--Complete Linux Noob stevejoul LinuxQuestions.org Member Intro 4 06-13-2008 02:30 PM
just got damn small linux and am a complete and total noob jcapinc Linux - Newbie 1 11-02-2007 10:03 PM
COMPLETE LINUX NOOB - needs wireless networking help. noobrm Linux - Wireless Networking 13 02-13-2007 06:19 AM
Complete Linux noob BurtonSquirton Linux - Software 7 08-24-2004 02:32 PM
Complete linux noob trying to configure his hardwares... skyro Linux - Hardware 3 10-17-2003 10:43 AM


All times are GMT -5. The time now is 07:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration