LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-08-2008, 04:00 PM   #1
Holyninja
LQ Newbie
 
Registered: Sep 2007
Posts: 4

Rep: Reputation: 0
Mapping drives


Ok, I have been all over the web trying to find out how to "map a drive" to another system in Linux.

Is the command I use for mapping a drive to another system in Linux nmap?

It's driving me bananas!

Last edited by Holyninja; 04-08-2008 at 04:15 PM.
 
Old 04-08-2008, 04:06 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
You mean mount a network shared drive? You're looking for samba (smbclient if you're just the client) for Windows shares or NFS if it's a linux share.

nmap is a network auditing tool. Mainly it's used as a port scanner.

Last edited by pljvaldez; 04-08-2008 at 04:39 PM.
 
Old 04-08-2008, 05:05 PM   #3
Holyninja
LQ Newbie
 
Registered: Sep 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Ok, thanks, an once I get that done I edit my hosts.allow file to share my system, correct?
 
Old 04-08-2008, 05:16 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
I've only ever created a samba share. So I only had to allow one directory to be shared and I could configure that in /etc/samba/smb.conf.
 
Old 04-08-2008, 11:37 PM   #5
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
you need to be a little more specific. are you trying to mount a shared folder from another computer? what OS is that other computer running? what OS are you running? (fedora, debian, ubuntu, etc). depending on your OS, to mount a shared folder on a remote windows computer, you could do something like this:

Code:
sudo mkdir /mnt/folder
sudo /sbin/mount.cifs //192.168.1.15/folder /mnt/folder -ousers
where //192.168.1.15/folder is the shared folder you want to connect to, and /mnt/folder is the local folder you want to mount it in. obviously, change the IP address and "folder" to match whatever you are connecting to. if you want it to always mount automatically when you reboot, you could add this to your /etc/fstab file:

Code:
//192.168.1.15/folder     /mnt/folder     cifs     users     0 0
depending on how the folder is shared, you may also need to provide a username and password. if that is the case, post up and I'll show you how to provide those.
 
  


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
Mapping Network Drives in Suse 10.1 Robeasts Linux - Newbie 3 09-07-2006 02:31 PM
mapping network drives foliva SUSE / openSUSE 2 09-20-2005 03:02 PM
Mapping drives to multiple users from XP Cagao Linux - Networking 6 02-02-2005 01:41 PM
Samba and mapping drives Veteq Linux - Newbie 1 03-08-2004 05:56 PM
Mapping Linux Drives on XP agallant Programming 2 12-15-2003 09:29 AM


All times are GMT -5. The time now is 10:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration