network ; basic how to...

Dan Lund situationalawareness at gmail.com
Tue Mar 29 06:45:40 MST 2011


True... but it is more an answer when going Unix to Unix as opposed to
using a Windows protocol ;)

It's not terribly complicated.  You toss your entries into /etc/exports like so:
/nfs_share/ *(ro,sync)

Of course changing 'ro' to 'rw' if you want write access through the mount.
then, run /etc/init.d/nfs start (or whatever your distro uses to start
the nfs daemon), and your golden.

When doing simple shares between two machines, it's better to stay
with the native ways to handle it, and this is about as native as it
gets.
Here's a good starter on NFS: http://www.linuxconfig.org/HowTo_configure_NFS

--Dan Lund


On Fri, Mar 25, 2011 at 8:31 AM, kitepilot at kitepilot.com
<kitepilot at kitepilot.com> wrote:
>> For heterogenous unix networks, NFS is a great answer.
>
> Agree...
> But that's not Betty's case!   :)
> (or most case around mundane Linux geeks anyway)
> ET
>
>
> Dan Lund writes:
>>
>> For heterogenous unix networks, NFS is a great answer.  Though to avoid a
>> hanging system, it's better to use the soft mount feature.
>> -Dan
>> Sent from my iPhone
>> On Mar 24, 2011, at 1:38 AM, "kitepilot at kitepilot.com"
>> <kitepilot at kitepilot.com> wrote:
>>>>
>>>> I tried to get NFS to work once, but it wasn't worth the hassle.
>>>
>>> I've done it.
>>> I've suffered it.
>>> I've seen the puters hung.
>>> I haven't seen the corrupted files.
>>> And I won't, cuz I ditched NFS and use sshfs....   :)
>>> YMMV.
>>> ET Living on Earth is expensive,
>>> but it does include a trip around the Sun every year...
>>>
>>> Eric Cope writes:
>>>>
>>>> I tried to get NFS to work once, but it wasn't worth the hassle. I
>>>> recall
>>>> reading about issues when the mounts would hang and file corruption, but
>>>> I
>>>> don't recall exactly...
>>>> Eric On Wed, Mar 23, 2011 at 11:27 PM, kitepilot at kitepilot.com <
>>>> kitepilot at kitepilot.com> wrote:
>>>>>
>>>>> I would stay away from NFS too.
>>>>> Complicated, it's sometimes impossible to kill and requires root
>>>>> privileges.
>>>>> sshfs will do everything that NFS does in userspace without root
>>>>> getting
>>>>> involved.
>>>>> ET
>>>>> keith smith writes:
>>>>>>
>>>>>> Samba is not native to Linux.  It is for sharing files on Linux in a
>>>>>> file
>>>>>> server fashion with windows.
>>>>>> For two Linux boxes you might want to look at NFS or Network File
>>>>>> System.
>>>>>> This might get you started : http://nfs.sourceforge.net/nfs-howto/
>>>>>> ------------------------
>>>>>> Keith Smith 2 Chronicles 7:14 (New International) : if my people, who
>>>>>> are called by my
>>>>>> name, will humble themselves and pray and seek my face and turn from
>>>>>> their
>>>>>> wicked ways, then I will hear from heaven, and I will forgive their
>>>>>> sin and
>>>>>> will heal their land.
>>>>>> --- On Tue, 3/22/11, S Kreimeyer <skreimey at gmail.com> wrote:
>>>>>> From: S Kreimeyer <skreimey at gmail.com>
>>>>>> Subject: Re: network ; basic how to...
>>>>>> To: nicepenguin at webcanine.com, "Main PLUG discussion list" <
>>>>>> plug-discuss at lists.plug.phoenix.az.us>
>>>>>> Date: Tuesday, March 22, 2011, 4:31 PM
>>>>>>  Betty, I'm not familiar with Samba, but I know you can accomplish the
>>>>>> same thing
>>>>>> through SSH. There is a pretty good tutorial for that here,
>>>>>>
>>>>>> http://linuxowns.wordpress.com/2008/06/08/share-files-between-2-ubuntu-computers/
>>>>>> The steps are pretty straight forward, and SSH is included in most
>>>>>> modern
>>>>>> linux distributions. The only thing I don't think it mentions
>>>>>> explicitly is
>>>>>> how to determine your IP. This is most easily done through the
>>>>>> terminal. $ ifconfig your output will look something like this --snip--
>>>>>> wlan0     Link encap:Ethernet  HWaddr 1c:4b:d6:ba:86:dd
>>>>>>                 inet addr:192.168.1.2  Bcast:192.168.1.255
>>>>>> Mask:255.255.255.0
>>>>>>                 inet6 addr: fe80::1e4b:d6ff:feba:86dd/64 Scope:Link
>>>>>> --snip-- The text I bolded is what you're looking for. The numbers may
>>>>>> even be the
>>>>>> same. If you are using a wired connection then you will likely need
>>>>>> the IP
>>>>>> from "eth0" If anything in that guide doesn't work, you should be able
>>>>>> to do
>>>>>> everything from the terminal. More info on that can be found here
>>>>>> http://support.suso.com/supki/SSH_Tutorial_for_Linux or from the man
>>>>>> pages for SSH in the terminal ( $ man ssh ). Hope that helps. Regards,
>>>>>> Sam
>>>>>> On Tue, 2011-03-22 at 15:43 -0700, betty wrote:
>>>>>> i have two linux computers called 'stormy' and 'stormy too'. i want to
>>>>>> be
>>>>>> in one of my offices in the house and access files or send files to
>>>>>> another
>>>>>> office in my house. ie, send from 'stormy' to 'stormy too' .
>>>>>> they are both on a wired connection to my cox service.
>>>>>> i have installed 'samba'. (but i don't know where it is on the gui)
>>>>>> i think i have to enable file sharing through the
>>>>>> 'admin>preferences>personal file sharing, but when i  go to that the
>>>>>> screen
>>>>>> says "this feature cannot be enabled because the required packages are
>>>>>> not
>>>>>> installed on your system" . well that is all fine and good, but it
>>>>>> does not
>>>>>> tell me what the required packages are.
>>>>>> this is frustrating.
>>>>>> is this something that is over my head?
>>>>>> as usual thank you for your magnificent and useful help; please keep
>>>>>> basic
>>>>>> as possible.
>>>>>> maybe there is an easy tutorial i can follow?, i looked but as
>>>>>> expected,
>>>>>> there is a plethora of sites....
>>>>>> -----Inline Attachment Follows-----
>>>>>> ---------------------------------------------------
>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>>>>
>>>>> ---------------------------------------------------
>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>>
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>


More information about the PLUG-discuss mailing list