Answer the question
In order to leave comments, you need to log in
How to make it so that any device connected locally to the router has access to the local folder?
There is a D-Link DIR-620 router, two computers on Xubuntu 14.02 x86 are locally connected to it (let's designate one as a server). I would like the computer to see the local folder on the server, plus that it would have local access, for example, via SSH. Tell me, please, what programs do you need to install, make settings on the router, so that this can be done? The option to share a flash drive on the router is not an option - the folder is too large.
Answer the question
In order to leave comments, you need to log in
Well, raise it on the OpenSSH server.
Install the client on the PC. Mount the desired directory on the server via sshfs on the PC.
It will look like a local directory, no different from others.
The router has nothing to do with it at all.
The 620 has the ability to share a device, such as a flash drive.
And the easiest way will probably be to raise a web server with access to the folder. All devices from the zoo will be able to.
Two computers are connected to the router.
In fact, this is a local network of two computers.
Therefore, you need to do it the way it is usually done in an office LAN:
1. On the server, you raise samba and share the folder.
2. On the second (client) install cifs-utils and monetize the folder either with the command
# mount -t cifs //192.168.х.х/folder /folder-on-client
Or mount via /etc/fstab - mounting will occur at startup.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question