S
S
Sergey Koziakov2015-04-06 18:00:26
linux
Sergey Koziakov, 2015-04-06 18:00:26

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

3 answer(s)
A
AVKor, 2015-04-06
@SuperPrower

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.

P
polozad, 2015-04-06
@polozad

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.

W
Worlding, 2015-04-06
@Worlding

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 question

Ask a Question

731 491 924 answers to any question