Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just wanted to see if someone could point me in the right directions (a HOWTO or website) on how to share a folder on one linux machine with another linux machine on a LAN (192.168.x.x).
I am just looking for a start, I should be able to get it going after a push in the right direction.
If it is just for occasional file copying I found scp and sftp to be very good. All you need to do is install and configure ssh on both machines (generally setup already in most distros). Sorry for the brief reply, I will probably go in to more detail if you want.
1. Use Webmin to share a directory on each system. Such as /usr/local/pub.
2. Create a corresponding directory on the local machine. On PC2 you would add /usr/local/pub/pc1.
3. At a terminal window enter the command mount -t nfs pc1:/usr/local/pub /usr/local/pub/pc1 to mount the NFS share of PC1 to the local directory /usr/local/pub/pc1.
4. Edit the /etc/fstab and add the NFS share information so the directory will be automounted on every restart. The man pages for NFS give the following example pc1:/usr/local/pub /usr/local/pub/pc1 nfs rsize=8192,wsize=8192,timeo=14,intr
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.