Posts: 903
plvera
Joined: 11 Oct 2008
#1
Hello:
Since I have 4 computers running AntiX at home, I thought it would be a good idea setting up a network fold where I can drop files that can be accessed by all computers (rather than transferring into USB keys; cd, whatever).

I've done this before with Ubuntu and windows but I have not clue how to do it in Antix (or just straight Linux). I've read some about SSH but that sets up a network first, correct? It also seems rather complicated. Any other ways? I don't need/want multiple users running programs from a designated server. I just want to be able to drop files into a folder that can then be accessed or downloaded to other computers.

Any help would be appreciated, and yes, of course I'll continue to RTFM __{{emoticon}}__

Pedro
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
It also seems rather complicated. Any other ways?
Don't know if you wanna do it this way, but you can set up your box as a email server and download said files/folders through email account.
Any help would be appreciated
Thats why I suggested this.
Posts: 903
plvera
Joined: 11 Oct 2008
#3
rokytnji

thanks for the suggestion. I've been doing some more reading and it looks like using sftp might do the trick. Just have to keep track of whether I'm dealing with a local or remote directory, but it's not too bad. This will work until I can come up with a better solution.

Pedro
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#4
Cool. I run so many different distros off of my boxes that I have a hard time keeping track of what is what. I'm not that organized when it comes to Linux.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#5
There is a post about fuse and samba for networking but samba has been a little buggy. Another option would be to use sshfs to mount a remote linux directory. You would need open-ssh-server installed on the machine you want to connect to and open-ssh-client should already be installed by default.

Create a mount point in /home/you(this is where I mount it) and call it"whatever". Then in a console:

Code: Select all

sshfs user@address:/path/to/directory /home/you/whatever
When asked, enter the password of the user your connecting to. The first time there will be some key exchanges and questions so just accept it with Y.

This will mount the remote directory to"whatever" in your home directory and you can now copy/paste, drag/drop, create/delete..................
Posts: 39
drghughes
Joined: 08 Mar 2009
#6
Hi Pedro!

Is this thread
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/access-shares-via-samba-fuse-t634.html"
linktext was:"on sharing"
====================================
what you're looking for? It's hidden under"Documentation".

I think that you only need samba installed on the machine that is going to share its files with the other machines. I have a Linksys NSLU2 (SLUG) network attached storage device and I've just used fusesmb as discussed there to connect to it.

fusesmb is installed as part of the AntiX-M8 set up so I didn't even need to install anything! However, I did need to set up the fusesmb.conf file with just the [global] and timeout = 10 entries - without that the share kept on dying when I tried to write to the shared drive.
Posts: 903
plvera
Joined: 11 Oct 2008
#7
thanks to erie and drghughes for your suggestions. I'll have to read up and try some of these things.
Posts: 903
plvera
Joined: 11 Oct 2008
#8
Erie:
thanks for your suggestion. I set up a mountpoint but I ran into a couple of problems. First, I could see the files in the local computer but I could not open them. Second, how do I remove the mountpoint? I tried delete and ended up deleting all the files in the folder in the remote computer, but the local folder still shows up.

sftp seems safer in my hands, although the transfer is rather slow.

thanks.
Pedro
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#9
To unmount it use fusermount -u /path/to/mount/point. Then you can delete it, but why?

When it was mounted, you should have had all the privileges of the user name you logged in with.