Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-17-2001, 02:18 PM
|
#1
|
Member
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214
Rep:
|
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.......
|
|
|
05-17-2001, 04:01 PM
|
#2
|
Member
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496
Rep:
|
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
|
|
|
05-17-2001, 04:18 PM
|
#3
|
Member
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214
Original Poster
Rep:
|
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.
|
|
|
05-17-2001, 07:36 PM
|
#4
|
Member
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131
Rep:
|
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..
|
|
|
05-18-2001, 01:53 PM
|
#5
|
Member
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496
Rep:
|
Just add the IP addresses of the machines you want to access from. I think its fab adjusting the superior machine from windoze.
|
|
|
05-18-2001, 02:53 PM
|
#6
|
Member
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214
Original Poster
Rep:
|
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.
|
|
|
05-18-2001, 05:55 PM
|
#7
|
Member
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496
Rep:
|
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
|
|
|
05-18-2001, 06:05 PM
|
#8
|
Member
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131
Rep:
|
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]
|
|
|
05-18-2001, 09:39 PM
|
#9
|
Member
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214
Original Poster
Rep:
|
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.
|
|
|
05-18-2001, 10:48 PM
|
#10
|
Member
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214
Original Poster
Rep:
|
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.
|
|
|
05-19-2001, 08:27 AM
|
#11
|
Member
Registered: May 2001
Distribution: RedHat 9.1
Posts: 131
Rep:
|
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.
|
|
|
05-19-2001, 10:22 AM
|
#12
|
Member
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214
Original Poster
Rep:
|
I checked it out a little and indeed it does look awesome.
Thanks for the pointer
|
|
|
All times are GMT -5. The time now is 05:13 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|