Re: Understanding Local Networking - help please?



DB wrote:

So now I can see all 3 computers from both Fedora machines. Now to find
out how to access the files/mount the shares.

One way to mount shares is to use fusesmb. What you can do is create
2 directories in your home directory. One has to be called .smb, and
you will need to create fusesmb.conf file. You will also need a
mount point for all the Windows shares. For this discussion, we will
use a directory called Windows.

The format of the fusesmb.conf file is covered in the fusesmb.conf
man page. It can be as simple or as complicated as you want. Here is
an example:

[global]
username=mikkel
password=Password

[ignore]
servers=PAT

It uses user name mikkel for all servers, with a password of
Password. The server PAT is ignored. (I don't have access to any
shares on PAT, so I want to ignore it.) You can also specify
username/password for each machine and/or each share.

Now, to get the shares I do have access to mounted, I run:
fusesmb ~/Windows
Now, under Windows, you will find a directory (or directories) for
your workgroup. Under the workgroup, you will find a directory for
each machine. Under the machine will be a directory for each share
on that machine that you can access.

You can also use cifs (mount.cifs) to mount Windows/Samba shares.
This requires root permission, or an entry in /etc/fstab with the
user(s) option.

For sharing file systems between Linux machines, you may also want
to look into the sshfs. (man sshfs) It is probably overkill on a
private network, but it does allow sharing files over a secure
connection.

One other option is using nfs. It will let all the machines mount
files from a server. But I don't believe Windows has a nfs server
installed by default. It is also takes a bit of work to set up.

I think that running Samba and fusesmb or cifs will probably work
best for you, at least to start. You may want to play more after you
have the basic setup working for you. Remember, you can run more
then one file sharing protocal at the same time.

Mikkel
--

Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines