LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 03: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 03:15 PM.
 
Old 04-08-2008, 03:06 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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 03:39 PM.
 
Old 04-08-2008, 04: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, 04:16 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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, 10:37 PM   #5
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:28 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