File Server to run on linux, and view on Xp Home
Im looking for a file server for linux (slackware 10.1)
i have allready tried samba, but that doesnt work with xp home. Also, one that is able to show up in the map network drive, in the hard drive probably. are there any file servers like that out there? thanks swatward |
I think you should check why Samba is not working right. On the other hand, check NFS (Network File System)
|
Samba does work with the native networking components of Windows 98, 98SE, ME, NT, XP and XP Pro. It sounds like you have installed Samba, but did you configure it and start the nmbd and smbd daemons? There is a great deal of online literature about installing and running Samba. Since I had trouble with Samba at first, I learned that it was a matter of setting up shares correctly in the samba.conf file and setting up users and passwords in Samba's password file. Note: Linux users are not automatically Samba users.
As a good reference, you might try to put your hands on the O'Reilly Press book "Using Samba". I don't have the book anymore, and I've condensed all my hard drives into one tower to save power, so I don't use Samba, NFS or CFS anymore. You can view parts of it online at http://www.oreilly.com/catalog/samba.../ch02_04.html. This also explains about swat, the the Samba Web Administration Tool. Since I use Gentoo, I'm not sure about the directory hierarchy of Slakware, but I think you should find excellent documentation in something like /usr/share/doc/samba*. It comes in text, postscript and html formats, each in a different subdirectory if you installed the docs. The first place I would look for problems is into the /etc/samba/smb.conf (or samba.conf) file. When Samba-3.x installs, it creates a smb.conf.example file. Look at the remarks and adjust your smb.conf accordingly. There are many notes pertaining to what needs to be done for Windows access. When shares are properly set up, smbd and nmbd are started, the shares will appear in Window's "Network Neighborhood". After that step, I would create the Samba users and Samba passwords. These are the users/computers that may access your Linux box via Samba. With Samba properly setup, you can not only access files, but use the CUPS daemon to print from your XP box, assuming your printer is supported by CUPS, ghostscript and/or gimp print. Of course, if you want to share your Windows printer with Linux, that also works via Samba and CUPS. Hardware (scanners, dvd drives, etc) call all be shared via Samba. Good luck! |
Also make sure your not running a firewall on both the windows and linux boxes untill you have a connection, this is also know to cause headaches for the newbies.
|
i have the conf file running ok, i have Swat running also... i think the problem is the name im giving it, like the netbios name and machnie name in the .conf file, could that be it?
|
i have the conf file running ok, i have Swat running also... i think the problem is the name im giving it, like the netbios name and machnie name in the .conf file, could that be it?
Thanks in advance |
Quote:
|
sure
Code:
# Samba config file created using SWAT |
Perhaps fotoguy will give you a better answer, but the only thing I see amiss in this file that you have "security = user" commented out. Does the version of Samba you are using default to "security = share"? Echoing fotoguy's query...is "rooks" the workgroup name chosen for all of your computers?
Let me also point out that SWAT is simply a tool to administer Samba. It is not Samba. The daemons nmbd and smbd have to be running for Samba to work. |
right, swat just creates the smb.conf and more. but im not exactly sure what a workgroup is? im kinda a network noob
|
No problem.
In XP, right click on "My Computer" and click "Properties". Click on the Computer Name tab. Click "Change". Note that each computer must have a unique name for smb networking to work, but the "workgroup" entry should be the same for all computers on the local network. If is "rooks" on your Linux box, it should be "rooks" in the XP boxes, too. |
ok, so i set the workgroup name to OPKOW, so now my file is
Code:
# Samba config file created using SWAT and ps ax shows that nmbd and smbd are running, but i type in command prompt net use m: \\rooks\data or net use m: \\192.168.0.13\data (im sure the ip is right) and i get... "System error 53 has occurred. The Network Path was not found." Thanks again in advance |
Did you restart smbd and nmbd? You can send them each a sighup to restart them...kill -SIGHUP (pid# of both).
After you do that, open the Network Neighborhood window in XP and see if the computer is now visible. If you click on its icon, you should see any available shares. Whether you can access them or not is a different matter. If you don't see it in the Network Neighborhood, you won't be able to use the "net use" command. |
HAHA :-D it works!!! thanks so much for you help in this..
Thankyou so much. |
Glad to help.
|
All times are GMT -5. The time now is 05:28 PM. |