LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 11-23-2003, 07:20 PM   #1
RCook
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Rep: Reputation: 0
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
 
Old 11-24-2003, 12:47 PM   #2
mmealman
LQ Newbie
 
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
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.
 
Old 11-24-2003, 10:16 PM   #3
netboy_541
Member
 
Registered: Jul 2003
Location: Hamilton, OH
Distribution: Redhat 9, SuSE 10.1 & 10.2, Kubuntu
Posts: 173

Rep: Reputation: 30
One small little detail --

you gotta make the directory to mount the smb share to as root first or it won't work!!
 
Old 11-25-2003, 09:24 AM   #4
jwb
Member
 
Registered: Nov 2003
Location: NC, USA
Distribution: Fedora, Red Hat, Mandrake
Posts: 38

Rep: Reputation: 15
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)

Last edited by jwb; 11-25-2003 at 09:25 AM.
 
Old 11-25-2003, 06:13 PM   #5
RCook
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Original Poster
Rep: Reputation: 0
jwb, thank you that worked very nicely. I can now listen to my MP3's

RCook
 
Old 11-25-2003, 07:14 PM   #6
jwb
Member
 
Registered: Nov 2003
Location: NC, USA
Distribution: Fedora, Red Hat, Mandrake
Posts: 38

Rep: Reputation: 15
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. :-)
 
Old 12-10-2003, 09:31 AM   #7
davidforero
LQ Newbie
 
Registered: Dec 2003
Distribution: Fedora
Posts: 1

Rep: Reputation: 0
Angry 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
 
Old 12-10-2003, 10:04 AM   #8
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Map network Drive across WAN mattp Linux - Networking 2 11-16-2005 07:27 PM
map network drive the_agent Linux - Networking 24 08-14-2004 03:34 PM
Linux map network drive across internet Linux6574 Linux - Networking 6 04-12-2004 11:01 PM
map network drive indy317 Linux - Networking 2 09-04-2003 04:07 PM
How do I map a network drive? MeatClown Linux - Distributions 2 08-10-2003 04:17 AM


All times are GMT -5. The time now is 08:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration