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 |
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. |
One small little detail --
you gotta make the directory to mount the smb share to as root first or it won't work!! |
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) |
jwb, thank you that worked very nicely. I can now listen to my MP3's :)
RCook |
Quote:
|
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 |
Quote:
|
All times are GMT -5. The time now is 05:32 AM. |