LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-17-2004, 12:30 PM   #1
NRHBasher
Member
 
Registered: Mar 2004
Location: East Side Long Beach
Distribution: Red Hat 9
Posts: 32

Rep: Reputation: 15
Swat will not load!


I have installed samba and swat 3.0
also I have read the documents on help
to man pages etc, and configured swat
according to the instructions,
after i also restarted the computer and was
unable to log into root but was able to log into
my regular home acct which i found unusual, the logon
screen would just hang, anyway all I want to do is use my
linux box as a file server, and as a newbie am wondering if there
is anything easier than using swat and samba, i heard of phlak or something like that, the only reason I wanted to use it was because it comes with most distros, and some company might be using it and I will need to learn to support it, but who uses what comes with os's anyway? so now I'm HERE to find out the most popular server program that I can access with a winxp client and is easy for newbies to use until they learn more, I am using red hat 9 and need a lil help, I've already config my host and ip address and dns. i know the nic card works because i can access my xp network from linux and the internet I also made sure to create my shares on my linux box, somebody anybody please help.
 
Old 03-17-2004, 01:33 PM   #2
Roy Pittman
LQ Newbie
 
Registered: Feb 2004
Posts: 7

Rep: Reputation: 0
using samba

In my opinion there is nothing better than samba for networking with windows computers, The Samba 3.0 HOWTO and reference guide edited by Terpstra is full of good examples and instruction. All you need to do is create a simple working /etc/samba/smb.conf file and start samba at boot with a command in /etc/rcX.d/S99local: "/etc/init.d/smb start" and you're there. Keep the smb.conf file as simple as you can!
 
Old 03-17-2004, 01:55 PM   #3
NRHBasher
Member
 
Registered: Mar 2004
Location: East Side Long Beach
Distribution: Red Hat 9
Posts: 32

Original Poster
Rep: Reputation: 15
so don't use swat?
 
Old 03-17-2004, 02:58 PM   #4
Roy Pittman
LQ Newbie
 
Registered: Feb 2004
Posts: 7

Rep: Reputation: 0
swat use is optional

Well, swat is part os samba, but I don't find swat worth using. I prefer to do things from command line - that way I'm more in touch with the actual nuts and bolts. If you are setting up a simple file or print server editing the redhat /etc/samba/smb.conf file or creating one from scratch with vi isn't hard. Here's a sample smb.conf file that will set up a common read/write file share:
[global]
workgroup = WORKGROUP
netbios name = my server
server string = samba server
hosts allow = 127. 192.168.0
log file = /var/log/samba/log.%m.log
max log size = 256
security = share
passdb = guest
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
[public]
comment = common file share
path = /usr/local/public
public = yes
guest only = yes
writable = yes
create mode = 0664
directory mode = 0775
#===================end of smb.conf===========

then just:
root# mkdir /usr/local/public
root# chmod 1777 /usr/local/public

and boot the machine. That should do it. Oh, remember to add the line starting samba to the S99local file.
 
Old 03-22-2004, 04:03 PM   #5
gvi
LQ Newbie
 
Registered: Jun 2003
Location: Upstate New York
Distribution: Ubuntu, Unbuntu CE, Kubuntu, Core 7, VMWare on Win32 host
Posts: 6

Rep: Reputation: 0
I got it to run!!! SWAT, that is. I went into System settings, Server settings, Services, checked the SWAT box, restarted xinetd (using RH 9), gosh now I can't remember whether I rebooted or not, (senior moment). Then started Konqueror (KDE) entered http://127.0.0.1:901 and there it was. Now how to use it. Ahh, discovery.
 
  


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
Swat will not load! NRHBasher Linux - Newbie 7 03-21-2004 10:53 AM
swat rjonese Linux - Software 0 07-15-2003 02:26 AM
swat nilbog Linux - Software 5 04-10-2003 05:37 PM
Swat Hone101 Linux - Newbie 4 03-22-2003 01:30 PM
I need help with swat, please jr_906 Linux - Networking 3 03-06-2002 11:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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