Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-19-2005, 09:12 PM
|
#1
|
LQ Newbie
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 13
Rep:
|
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
|
|
|
02-19-2005, 09:25 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
02-19-2005, 09:44 PM
|
#3
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187
|
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.
|
|
|
02-19-2005, 09:59 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well this is the networking forum.. same time he doesn't actually say either way...
|
|
|
02-20-2005, 02:44 AM
|
#5
|
LQ Newbie
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 13
Original Poster
Rep:
|
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?
|
|
|
02-21-2005, 02:33 PM
|
#6
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187
|
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
|
|
|
02-21-2005, 02:48 PM
|
#7
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187
|
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
|
|
|
All times are GMT -5. The time now is 10:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|