LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   How to map a network drive in Fedora? (https://www.linuxquestions.org/questions/fedora-35/how-to-map-a-network-drive-in-fedora-119308/)

RCook 11-23-2003 07:20 PM

How to map a network drive in Fedora?
 
In other distro's I have used typically I could use LinNeighborhood or similar to map or mount a network drive, so far in Fedora I have been unable to do so. I can see the server (ClarkConnect v2.0) fine and can move files to and from the share. What I would like to do is have a mounted share in say my home directory so that I can play my MP3's in XMMS without having to copy them first to the computer.

Thanks,
RCook

mmealman 11-24-2003 12:47 PM

I'm not too sure how to handle this graphically, but you can use the command like to do this.

First install the samba-client package then you can issue the following command as root:

mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test

That will mount a remote samba share as a part of your filesystem. You could also try a LinNeighborhood package off of rpmfind.net but one of the ones I tried from there didn't work for me(wouldn't properly mount a filesystem).

I'd love to hear what other Fedora users are using though, as I'd like a nice browsable mounting tool for end users.

netboy_541 11-24-2003 10:16 PM

One small little detail --

you gotta make the directory to mount the smb share to as root first or it won't work!!

jwb 11-25-2003 09:24 AM

I added this to /etc/fstab:

//remoteserver/remotedirectory /home/myusername/mnt/somename smbfs users,uid=500,gid=500,username=aaabbb,password=xxxyyy 0 0

(All on a single line)

Make sure you create /home/myusername/mnt/somename (I did it as my user name, not root)

Then, as root, I did:

mount //remoteserver/remotedirectory

Of course, adjust as needed for paths, username, etc. And the user name and password must exist on the remote machine as a samba user.

By setting the uid/gid to your numbers, you get past permission issues. You see the files as being owned by you, but the remote machine sees it as the samba user.

In Gnome, this should pop an icon to the remote share right on your desktop. (YMMV)

RCook 11-25-2003 06:13 PM

jwb, thank you that worked very nicely. I can now listen to my MP3's :)

RCook

jwb 11-25-2003 07:14 PM

Quote:

Originally posted by RCook
jwb, thank you that worked very nicely. I can now listen to my MP3's :)

RCook

Glad to help! Makes life easier in a lot of ways. :-)

davidforero 12-10-2003 09:31 AM

Samba client hangs in Fedora
 
In Fedora Core 1:
I obtain this error message mounting a shared resource.
mount -t smbfs -o username=myuser,password=mypassword,ro //shared/server /var/www/html/calidad/s_calidad
3954: Connection to snmulp02 failed
SMB connection failed

This command works well in Red Hat 8. I think it is the same bug of RH9:

https://bugzilla.redhat.com/bugzilla...g.cgi?id=90036

homey 12-10-2003 10:04 AM

Quote:

This command works well in Red Hat 8. I think it is the same bug of RH9:
That wouldn't be very hard to imagine if you look at the results of this command from a Fedora box: cat /etc/redhat-release


All times are GMT -5. The time now is 05:32 AM.