PDA

View Full Version : Installing SWAT on Knoppix



rex64
02-05-2004, 02:58 PM
Hi!

I have installed SWAT on my Knoppix 3.3 doing:

apt-get install swat

now if I try on mozilla localhost:901 swat does'nt work!

How can I do? :?:

Worm
02-05-2004, 06:31 PM
Did you fully read the documents? To get it working on my machine I had to add a line to /etc/services or somewhere that told it to run. I will check tonight when I get home as to what was added. It was a line or two in two different files.

I think I found the required hints in the documents provided. Either that or I looked on the SWAT website to learn what to do.

RockMumbles
02-05-2004, 06:33 PM
you will need to look at /etc/services and make sure there is a line like this:

swat 901/tcp # swat

and then edit /etc/inetd.conf

#<off># swat stream tcp nowait.400 root /usr/sbin/tcpd /usr/sbin/swat

and remove the #<off># so the line is:
swat stream tcp nowait.400 root /usr/sbin/tcpd /usr/sbin/swat

( if that still doesn't work change the /usr/sbin/tcpd in the above line to /usr/sbin/swat )

HTH

~rock

rex64
02-05-2004, 07:30 PM
Thanks!
Now it works!!!!!!

You are the best!!!!