LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-17-2001, 02:18 PM   #1
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Rep: Reputation: 30

After installing Samba-2.0.5a and running the ./configure, make and make install commands, I modified the /etc/services and /etc/inetd.conf files to make sure all was well to get SWAT running. Well, I brought up Netscape and typed the following after restarting the inetd process:

http://localhost:901/

My system tells me that I cannot connect to the machine.
I have checked numerous documentations and find answers that I have already done.

Any help would be appreciated.......

 
Old 05-17-2001, 04:01 PM   #2
drjimstuckinwin
Member
 
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496

Rep: Reputation: 30
Hi
SWAT comes disabled. comment out the line disable=yes in /etc/xinetd.d/swat . Also you need to make sure your firewall settings allow you to access the port.
Jim
 
Old 05-17-2001, 04:18 PM   #3
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Original Poster
Rep: Reputation: 30
Thanks for replying.
I had to create my /etc/xinetd.d/swat file myself. The Sama installaiton did not create one for me. No probelm there.
I have disable set to no. As far as firewal settings, I have not set any and am not really sure where to even check/set them at this point (I have not gotten to that point yet in my learning). So, as far as I can tell, all my settingsg are correct unless Mandrake 7.2 establishes default firewall settings when it is installed.

Thanks again for your help.
 
Old 05-17-2001, 07:36 PM   #4
Q25
Member
 
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131

Rep: Reputation: 16
This script made my SWAT server run
service swat
{
disable = no
port = 901
socket_type = stream
wait = no
only_from = (my pc)
user = root
server = /usr/sbin/swat
log_on_failure += USERID
}

Questions though:
can I add more pc's to the "only from" line and how?
Does "user" have to be set to root?
I can't use it if I change it to my other user name..
 
Old 05-18-2001, 01:53 PM   #5
drjimstuckinwin
Member
 
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496

Rep: Reputation: 30
Just add the IP addresses of the machines you want to access from. I think its fab adjusting the superior machine from windoze.
 
Old 05-18-2001, 02:53 PM   #6
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Original Poster
Rep: Reputation: 30
I have been trying all kinds of stuff but it just doesnt seem to want to work. I dont mind using the smb.conf file at all. Just dont like having the capability of doing something and not being able to get it working

I will post if I can get it going.
Thanks to you all for the help.


 
Old 05-18-2001, 05:55 PM   #7
drjimstuckinwin
Member
 
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496

Rep: Reputation: 30
Hi
You should be able to access SWAT from your other user account, but you won't be able to do anything except password change. I found SWAT to be tricky to get going, but eventually you have a light bulb moment! Are you sure it's not firewall related? My RH system seemed to disable everything by default. Try disabling FW from LinuxConf and giving 901 another try.
Jim
 
Old 05-18-2001, 06:05 PM   #8
Q25
Member
 
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131

Rep: Reputation: 16
Try this 1.. It's called Webmin. It'll give you web access to a whole bunch of admin stuff. Including setting up Samba.
http://www.webmin.com/webmin/

Another question..
How do you add 2 ip's to the "only from" line?
Any standard syntax. Like a ; or something?


[Edited by Q25 on 05-18-2001 at 07:10 PM]
 
Old 05-18-2001, 09:39 PM   #9
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Original Poster
Rep: Reputation: 30
Great!
I will give both ideas a try tomorrow and let everyone know how it comes out. At this point I am sure it simply some small access permission setting somewhere I have not checked yet.

Thanks again.
 
Old 05-18-2001, 10:48 PM   #10
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Original Poster
Rep: Reputation: 30
Okay, finally got it working. Here is what I needed to do:

1. When running 'make' during install, my BIOS date was incorrect. This caused the 'make'command to not work properly. Changing this value to correct date and time fixed install problem.

2. SWAT would not allow me to connect simply because I neglected to make sure the inetd daemon was running when the machine booted (yes, I feel VERY silly). On Makdrake, you can simply go into linuxconf, then startup options and change this with a click of the mouse.

My Mandrake 7.2 box did not require me to change any firewall settings.

Thanks again all.
Hope my problem helps other avoid the same problem.




 
Old 05-19-2001, 08:27 AM   #11
Q25
Member
 
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131

Rep: Reputation: 16
nice..
Have a look at Webmin anyway. I'm pretty sure you wont be disapointed..
I've been testing it out some more. And damn it's nice
There's almost nothing you can't configure or check.
 
Old 05-19-2001, 10:22 AM   #12
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Original Poster
Rep: Reputation: 30
I checked it out a little and indeed it does look awesome.
Thanks for the pointer

 
  


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
Problem running SWAT duffboygrim Linux - Networking 2 03-19-2004 05:07 AM
SWAT status, SMBD not running Dogface1SG Linux - Networking 5 10-16-2003 01:45 PM
Swat Hone101 Linux - Newbie 4 03-22-2003 01:30 PM
Swat Hone101 Linux - General 1 03-22-2003 07:33 AM
Running swat remotely bedwardj Linux - Networking 9 06-04-2001 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:57 PM.

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