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 |
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.
|
 |
07-11-2003, 01:34 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Distribution: Mandrake 9.1 and IPCop 1.3
Posts: 2
Rep:
|
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...
|
|
|
07-11-2003, 01:41 AM
|
#2
|
Senior Member
Registered: Jan 2003
Posts: 2,786
|
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.
|
|
|
07-11-2003, 02:28 AM
|
#3
|
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Rep:
|
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
|
|
|
07-11-2003, 09:02 AM
|
#4
|
Member
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Debian etch, Gentoo
Posts: 312
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:05 PM.
|
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
|
|