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 05-25-2003, 08:41 PM   #1
xfree143
LQ Newbie
 
Registered: Apr 2003
Posts: 3

Rep: Reputation: 0
Question Networking two Red Hat servers with windows


I am not completely new to Linux, I was able to setup an 7.1 redhat server and connect all my workstations. I liked it so well I decided to kill a novell server and add another linux sever. My question is how do I make the windows workstations see this new server and also how to make both linux's see each other...
 
Old 05-26-2003, 12:08 AM   #2
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30
There are at least two ways to connect a Winows computer to a Linux computer. The most common method is to run Samba on the Linux computers. Samba allows the sharing of files and printers between Windows computers, Unix computer, Linux computers and Macintosh OS-X computers. I uses the SMB protocol which Windows computers use. Notice the similarity between the name Samba and SMB. Samba also uses the TCP/IP protocols and the Windows NetBIOS protocol.

I have only used Samba on two occasions. In a class I took last Spring we each had to use Samba to connect a Windows 2000 computer to a Red Hat Linux 7.3 computer. We only spent a couple of days doing that so I do not feel very confident about trying to tell someone how to do that from memory. Samba comes on most Linux intallation CDs and is probably only installed by default. To see if you already have it installed you might try typing this on one of your Linux boxes:

su

Then type this:

/etc/init.d/smb status

If it will probably say that it is stopped. Leave it stopped for now, assuming it is even installed and is there. Next, create a directory by typing something like this:

mkdir /shared

Then go to /etc/samba and make a backup copy of the smb.conf file just in case you mess it up. Next, open the smb.conf file and look for something like what is below in the file somewhere:

; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no

Delete the semi-colon in front of each line and then change the line that begins with 'path=' so that it reads: path = /shared

Now start the Samba server by typing what is shown below (if it was already running you might possibly need to stop it and then start it)

/etc/init.d/smb start

It should then in some way tell you that it has started. This will only temporarily start it for you and does not cause it to sart automatically for you each time.

Well I am out of time tonight and am not an expert at doing using Samba anyway. What I have described so far is not enough to cause anything to be shared or anything useful to happen. Perhaps you could look up the rest in a Linux book or a Samba book. I am not an expert at using Samba anyway.
 
Old 05-26-2003, 12:22 AM   #3
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30
Samba also be used to connect two Linux computers together. I believe that NFS is an alternate method of connecting two Linux computers. In class, on one day we also each had to connect two Linux computers together. I recently bought a book called "Using Samba." I hope to get around to reading the book someday. It does give examples for Win ME, Win 2000, Win XP and of course Linux.

I do not know much about Novell but I believe that the newest versions of Novell can be based on Novells protocol (IPX/SPX or whatever it is called) or Novell can use TCP/IP instead. Samba will only work with TCP/IP but that is what is becoming the dominant protocol now anyway. Since you plan to get rid of the Novell server perhaps that is irrelevant anyway! I am not working in the computer field yet and have only had a few classes on using Cisco routers, Unix/Lenix and Windows.
 
Old 05-26-2003, 09:34 PM   #4
linux_pioneer
Member
 
Registered: May 2003
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203

Rep: Reputation: 30
To get a linux machine to browse different machines whether they be linux or windows install samba client.
 
Old 05-26-2003, 09:53 PM   #5
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30
Only the Linux machines would need to have Samba installed on them the Windows machines would not need Samba or any special software installed on them. Of course the appropriate protocols would also need to be selected as being available on the Windows computer. There are choices about how user names and permissions would need to handled on the two computers.

The Linux partion I mentioned earlier would also need to be mounted and without looking that up I forget the details of that. The shared folder on the Linux computer would also need to have the correct permissions set with chmod.

There is more to Samba than what I know about. I believe it even can allow a Linux computer to act as a Windows NT 4.0 domain controller (if I am not mistaken). It can also be used to share printers but I have not yet tried that.
 
  


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
Red Hat Networking ciberrust Linux - Networking 4 11-18-2004 12:27 PM
Windows XP Pro. and Red Hat 9.0 Networking Imhoteph Red Hat 4 06-02-2004 09:10 PM
XP and Red Hat 8.0 Networking kodiak Linux - Networking 2 04-12-2003 02:22 AM
Help with Red Hat Networking AlanLip Linux - Networking 3 08-27-2001 07:15 AM
Networking w/ Red Hat 7.0 mahoney Linux - Networking 4 07-25-2001 10:52 AM

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

All times are GMT -5. The time now is 09:36 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