LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-11-2003, 12:34 AM   #1
euangel
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake 9.1 and IPCop 1.3
Posts: 2

Rep: Reputation: 0
how to access a Linux drive from Windows 2k


Okay everyone,
I'm sure the answer to this is out there, but I can't seem to find it. I've been able to find plenty of threads on how to mount a Windows drive in Linux, which I have done successfully using LinNeigborhood in Mandrake 9.1. My question is, how can I make my Linux drive available to be shared in Windows. When I browse to Network Neighborhood in Windows 2k, my Linux box doesn't show up at all...
 
Old 07-11-2003, 12:41 AM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
You'll need to read up on Samba

There are also MANY threads that exist on the subject here. Use the search feature, and you'll probably find much more than you could ever possibly want.
 
Old 07-11-2003, 01:28 AM   #3
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Yup, Samba is the key.

You probably already have samba installed. I believe it comes installed on most distributions.

So take a look at your smb.conf file in /etc/ or /etc/samba/

Then go to http://www.tldp.org and check out the Samba how-to.

There's lots of easy info out there, it's not too much of a hairpuller... There's even a graphical config tool called Swat to help you out.

cheers,
-Shade
 
Old 07-11-2003, 08:02 AM   #4
german
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Debian etch, Gentoo
Posts: 312

Rep: Reputation: 30
This smb.conf should allow you to access your home dir, but any .exe files you move over will disappear, as it filters file types commonly associated with virii (the "veto files" line). You will need to run smbpasswd for each user you want to access the computer over NetBIOS. It is a quite simple tool, man smbpasswd should tell you all you need to know. After that you must start smbd and nmbd, which on RedHat (and perhaps Mandrake as well) is done with:

# /etc/rc.d/init.d/smb start


# start /etc/samba/smb.conf
[global]
workgroup = HOME
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
hosts allow = 10.1.1.0/255.255.255.0 127.0.0.1
hosts deny = ALL
hide unreadable = yes
hide dot files = yes
browseable = yes
veto files = /*.exe/*.dll/*.com/*.vbs/*.{*}/

[homes]
guest ok = no
read only = yes
write list = root jamin
# end smb.conf

HTH

Ben.
 
  


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
Access to Windows FAT32 Drive Hangetsu Linux - Newbie 4 11-20-2005 03:47 PM
access linux hard drive from windows pcandpc Linux - Newbie 12 05-14-2005 04:41 PM
how to access windows folders from linux on a partitioned drive nickiv Linux - General 2 03-24-2005 03:37 AM
gaining access to my Windows C:/ drive spano Linux - Newbie 16 03-22-2004 11:21 PM
Access contents of Linux drive from Windows???? welchdoc Linux - Newbie 3 11-15-2003 08:19 PM

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

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