LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-16-2009, 12:20 PM   #1
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Rep: Reputation: 15
how do I "map network drive" from XP to Fedora 10?


I have a computer with XP on it and I'm trying to connect to a computer in the network with Fedora 10 on it.

I can "map" from the Fedora computer to the XP.
Internet works on the Fedora computer.
The Fedora computer can be Pinged sucessfully and can Ping sucessfully
The connection is through an ethernet wire.

thanks in advance
 
Old 04-16-2009, 12:24 PM   #2
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Which is the client and which is the server?

Are you trying to access files stored on the XP machine, or files stored on the Fedora machine?
 
Old 04-16-2009, 12:24 PM   #3
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
trying to access files on the Fedora machine
 
Old 04-16-2009, 12:25 PM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You need to share out the directory then mount it on Linux.

The following has steps on how to mount on Linux:
http://www.cyberciti.biz/tips/how-to...der-linux.html
 
Old 04-16-2009, 12:25 PM   #5
AboveTheLogic
LQ Newbie
 
Registered: Apr 2009
Location: Vegas
Distribution: Mythbuntu w/ KDE
Posts: 14

Rep: Reputation: 0
Quote:
Originally Posted by ct_hamster View Post
I have a computer with XP on it and I'm trying to connect to a computer in the network with Fedora 10 on it.

I can "map" from the Fedora computer to the XP.
Internet works on the Fedora computer.
The Fedora computer can be Pinged sucessfully and can Ping sucessfully
The connection is through an ethernet wire.

thanks in advance
Does the computer with Fedora 10 have samba running?

start > run > "\\(fedora computer's IP)" <--- what happens when you do that?
 
Old 04-16-2009, 12:39 PM   #6
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
when i try the code:

mount -t cifs //ntserver/download -o username=Myusername,password=************ /mnt/ntserver
i get:

mount: wrong fs type, bad option, bad superblock on //ntserver/download,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so

and if I run :

mount -t smbfs -o username=Myusername,password=****************** //ntserver/
i get:

mount: unknown filesystem type 'smbfs'

-------------------------------------

yes i have Samba

nothing happens when i run "\\192.168.xxx.xxx"

Last edited by ct_hamster; 04-16-2009 at 12:42 PM.
 
Old 04-16-2009, 12:41 PM   #7
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
As suggested by AboveTheLogic, check to make sure samba's running on the Fedora box: open up a terminal, type
Code:
ps -ef | grep smbd
You should see something like:
Code:
root      2525     1  0 Mar23 ?        00:00:00 /usr/sbin/smbd -D
root      2529  2525  0 Mar23 ?        00:00:00 /usr/sbin/smbd -D
1000     22088 27898  0 18:36 pts/3    00:00:00 grep smbd
If it's not, you need to enable samba, then create a share, then try mapping the drive from Windows as suggested by AboveTheLogic (start > run > \\fedora_ip > enter).

This site seems to give pretty straightforward instructions on setting up sambda on Fedora: http://www.reallylinux.com/docs/sambaserver.shtml. Start from step 3, I think. For more detail, see http://www.fedoraguide.info/index.ph...amba_Server.29.
 
Old 04-16-2009, 12:54 PM   #8
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
This site is rather helpful for getting answers and learning how to get them later:
http://lmgtfy.com/
 
Old 04-16-2009, 01:30 PM   #9
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
After I setup Samba and ran:

ps -ef | grep smbd
I got:

root 2892 2858 0 14:24 pts/0 00:00:00 grep smbd


then I ran

start > run > \\192.168.xxx.xxx > enter
and got:

\\192.168.xxx.xxx

Network Path Was Not Found
 
Old 04-16-2009, 01:59 PM   #10
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by ct_hamster View Post
After I setup Samba and ran:

ps -ef | grep smbd
I got:

root 2892 2858 0 14:24 pts/0 00:00:00 grep smbd
At this point, samba wasn't running (smbd is the process you're looking for). So, you need to start the Samba service.

Last edited by pwc101; 04-16-2009 at 02:00 PM.
 
Old 04-16-2009, 02:09 PM   #11
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
i ran the code at:

http://www.fedoraguide.info/index.ph...amba_Server.29

and can now connect to the Fedora computer but now when I try to view the mapped network, i get an error saying:

Z:\ is not Accessable.

Access Denied
 
Old 04-16-2009, 02:15 PM   #12
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Are you trying to share the drives such that you will need to supply a user name and password to access them, or do you want to just be able to see and copy the files (like Windows XP does by default)?

What do you mean by "can now connect to the Fedora computer"? In what way can you connect?
 
Old 04-16-2009, 02:20 PM   #13
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
"Z: is not accessible"

Just to be sure your clear on this - The share has to come from the server that owns the drive. If Z: on your XP workstation is actually a mount from another system then you can't share it from your workstation - it has to be shared from that other system (and already is or you wouldn't be able to mount it from XP).

If this is the case you need to determine the server and path that is mounted as Z: on your XP workstation and use that server and path in your mount for Linux.
 
Old 04-16-2009, 02:21 PM   #14
ct_hamster
Member
 
Registered: Apr 2009
Posts: 47

Original Poster
Rep: Reputation: 15
i need to be able to add, edit and delete files from the Fedora computer while on the XP computer.

I can go into the windows map network drive,
select a drive letter,
type in \\192.168.xxx.xxx\username
type in a username and password
and connect to the Fedora computer.

the icon and name of the drive are displayed in My Computer on the XP computer but do not allow access...
 
Old 04-17-2009, 04:37 PM   #15
AboveTheLogic
LQ Newbie
 
Registered: Apr 2009
Location: Vegas
Distribution: Mythbuntu w/ KDE
Posts: 14

Rep: Reputation: 0
Have you enabled permissions to users and/or groups in your samba.conf file?

Does the user you are using in windows also exist on the linux box? That makes things easier usually.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
I'm trying to "Map network drive" Aubrey-calm Linux - Newbie 12 08-22-2005 08:10 AM
SYSERR(root): hash map "generics": missing map file /etc/mail/genericstable.db? singying304 Linux - Networking 4 02-28-2005 06:49 AM
How to map a network drive in Fedora? RCook Fedora 7 12-10-2003 10:04 AM
how to "map network resource" in linux shassouneh Linux - Networking 6 04-04-2002 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:46 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration