LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-30-2004, 12:17 PM   #1
neon_knight
LQ Newbie
 
Registered: Jul 2004
Location: USA
Distribution: Fedora
Posts: 6

Rep: Reputation: 0
Networking problems between Fedora Core 1, WinXP, and Win2k


Hi, I'm new to the site and to linux. I just installed Fedora Core 1 a few weeks ago (with no prior linux experience). Now that I've gotten used to it I'm trying to add it to a network of 2 other computers, 1 running XP Home and the other running Windows 2000. Before I installed Linux, I had XP on that one as well, and the 2 XP comps shared their drives and the printer on the 1st was shared to the 2nd.

The printer on the 2k comp died, so I now need to map my now-Linux printer over to the 2k. I also need to have the SharedDocs folder on the 2k sharing, but not the rest of the hard drive (the 2k comp isn't mine and the owner doesn't want all the files accessible). This would have been pretty easy except now that the 2k is in my workgroup, it can see everything on the XP hard drives (I had them shared to the Linux comp back when it was XP also). Is there a way I can ONLY share them to Linux? The XP sharing properties don't let you do anything besides share and unshare. If that's impossible, then I can just unshare the XP drives and use an FTP server later on to share between my 2 comps (Linux and XP), although it would be a little more inconvenient.

Now back to the printer thing, I can still print from the XP comp to the now-Linux printer, but the Linux comp won't appear anywhere on my workgroup, so I can't map it to the 2k. I've been to a few sites trying to fix this, and they all say to edit the /etc/smb.conf file so that 'netbios' is replaced with the name I want to give the comp and 'workgroup' is replaced with my windows workgroup. However, my smb.conf was in a different folder (/etc/samba/smb.conf) and looks nothing like what they say. How do I edit it so I can share the drives the way I want (if possible), share the printer, and add it to my workgroup/change the comp name?


Thanks in advance
 
Old 08-01-2004, 02:50 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 69
To take your problems in reverse order, you need to configure Samba in order to let your Linux PC be visible to the Windows ones.

The easiest way to do this that I've found is SWAT (The Samba Web Administration Tool). You may already have it running; try connecting to http://localhost:901 on the Linux computer. If not, I suggest that you should install it from your distro, at least for long enough to get a working smb.conf file.

To get the files shared so that only Linux can see them, your can't do this (over Windows SMB) with the low level of control XP gives you. You might look into installing an NFS server onto the XP box (a quick search on google for "Windows NFS" seems to turn up a few). NFS is a de-facto standard for file-sharing on a LAN, so it's well supported by Linux (e.g. "mount -t nfs" instead of "mount -t smbfs"), and tends to come with decent secutiry options (e.g. limiting the shares to just one computer).

Hope that helps,

Robert J Lee.
 
  


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
Networking WinXP with Fedora Linux (HELP!!!) B055 Linux - Networking 2 10-26-2005 01:55 PM
WinXP and Fedora Core 2 in same computer/different hard disks.. PROBLEMS!! 1957hemi Linux - Software 9 11-04-2004 12:56 PM
Networking WinXP and Fedora Rabe Linux - Newbie 7 10-10-2004 03:49 PM
Win2k Advanced Server 2 Fedora Core 1 lil_ak Linux - Networking 6 06-20-2004 11:07 PM
backup via Win2K from Fedora Core 2 rporter1980 Fedora 0 06-19-2004 06:54 AM


All times are GMT -5. The time now is 03:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration