LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-19-2005, 09:12 PM   #1
tbthorpe
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 13

Rep: Reputation: 0
Mapping a windows drive to a Linux box


Anyone know how to do this? Or have any resources to help me? Thanks a bunch

-Tim
 
Old 02-19-2005, 09:25 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you want to mount a windows share in linux? search this site for "smbmount" or check the manpage for smbmount on your system, if it's already installed.
 
Old 02-19-2005, 09:44 PM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
If, on the other hand, you want to access NTFS file systems, look at the Linux-NTFS project on SourceForge.

Samba is for network access -- mounting a remote filesystem.
 
Old 02-19-2005, 09:59 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well this is the networking forum.. same time he doesn't actually say either way...
 
Old 02-20-2005, 02:44 AM   #5
tbthorpe
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 13

Original Poster
Rep: Reputation: 0
Well i have a PC where i store all my movies/music/random stuff, and it's NTFS/WinXP. I want to be able to access the shared drives on my laptop, running Fedora core 3. would i use smbmount, or this Linux NTFS project on sourceforge?
 
Old 02-21-2005, 02:33 PM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
For that you need Samba.

Go to the Samba site and look at the How-to's and examples.

Here's the way mine is set:
[12:30 ~] $ cat /etc/samba/smb.conf | grep -e ^\[^#\;\]
[global]
workgroup = trenholme
server string = Upstairs office
hosts allow = 90.0.0. 127.
printcap name = /etc/printcap
printing = cups
cups options = raw
log file = /var/log/samba/%m.log
max log size = 50
security = share
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
remote browse sync = 90.0.0.1
remote announce = 90.0.0.255
local master = no
wins server = 90.0.0.1
dns proxy = no
winbind uid = 16777216-33554431
winbind gid = 16777216-33554431
restrict anonymous = no
domain master = no
preferred master = no
max protocol = NT
ldap ssl = No
server signing = Auto
disable netbios = yes
[homes]
comment = Home Directories
read only = no
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
printable = yes
 
Old 02-21-2005, 02:48 PM   #7
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Oh, after you get Samba configured, I find it useful to put something like the following in /etc/rc.d/rc.local (password masked just 'cause I'm paranoid).

# Mount the drives on tss-1
mount -t smbfs -o workgroup=trenholme,uid=peter,gid=peter,username='Peter Trenholme',password=****** //tss-1/'BOOT (C)' /mnt/tss-1/c
mount -t smbfs -o workgroup=trenholme,uid=peter,gid=peter,username='Peter Trenholme',password=****** //tss-1/D /mnt/tss-1/d

--------------------
Note that tss-1 is defined in /etc/samba/lmhosts as (surprise!) 90.0.0.1
 
  


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 Linux box to XP Fully dson78 Linux - Networking 2 08-29-2005 01:42 PM
Mapping Linux box to XP Fully dson78 Linux - Newbie 1 08-28-2005 07:49 PM
mapping a NT 2000 share to a linux box andy_Wa2x Linux - Networking 3 08-26-2004 02:44 PM
Mapping a network drive from Windows 2k to an ftp, Apache/1.3.27 Server DumbWindow$User General 5 04-08-2004 01:16 PM
Mapping drive from Windows to Linux rkingndayton Linux - Networking 1 10-15-2003 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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