Things are still not work out for me. Here is what I did:
1) Install Samba server from redhat cd.
2) Add 'swat 901/tcp' to /etc/services.
3) Add ' swat  stream tcp nowait.400 root /usr/sbin/swat swat' to /etc/inetd.conf.
4) Use command  'ntsysv --level 35' to enable smb at boot time.
5) Reboot and login as root.
6) Point Netscape to 'http://localhost:901'.

The result was still that the browser went to netscape's site and start search there
and returned with 'cann't find localhast901'.

I checked swat's man page. It mentions something about after compiling SWAT we need to
run "make install" to install. I am confused here. Is swat installed already after
installing samba?

What did I do wrong?
Is there a way I can test if the inetd is listening?

Thank you very much.

feng

Tony Nugent wrote:

> On Wed Apr 12 2000 at 17:02, Hong F Du wrote:
>
> > Thank you the help. I did as what you said. When I point the netscape to
> > http://localhost:901, the browser automatcially went to the web site of netscape
> > and started to search there. And of cause it couldn't find what I need.
> > How do I fix it?
>
> It sounds like one step was missed - you didn't -HUP the inetd daemon
> so it wasn't listening to port 901.
>
> > Is there a way to disable this default search engin?
>
> No, if netscape finds nothing at a url (or gets an network error
> message), it goes off to a search engine.  ie does the same.
>
> > Thank you.
> >
> > feng
> >
> > Andy Rosen wrote:
> >
> > > On April 7, Hong F Du ([EMAIL PROTECTED]) mumbled:
> > > > I downloaded samba already. But I couldn't find any HOWTO on how to
> > > > install, setup or configure samba under linux. Can anyone tell me how or
> > > > point me to a web. Thank you.
> > >
> > > Since you're running RedHat 6.1, you can just install the Samba RPMs from
> > > the CD (if they weren't installed when you installed RedHat).
> > >
> > > SWAT, the Samba Web Administration Tool, is very good.  It's one of the
> > > only graphical or web based configurators I prefer over vi.
> > >
> > > Make sure you have a line in /etc/inetd.conf like:
> > >
> > > swat      stream  tcp     nowait.400      root /usr/sbin/swat swat
> > >
> > > Restart inetd if necessary (killall -HUP inetd).  Then point your
> > > favorite web browswer at http://localhost:901 and login as root.
> > >
> > > You can start Samba with "/etc/rc.d/init.d/smb start".  Running tksysv
> > > (the run-level editor) will let you start it each time you boot.
> > >
> > > --
> > > Andy Rosen  <[EMAIL PROTECTED]>            |  "The most valuable commodity I know of
> > > Senior Software Engineer/Architect  |   is information.  Wouldn't you agree?"
> > > finger [EMAIL PROTECTED] for PGP key    |        -Gordon Gekko, "Wall Street"
> >
>
> Cheers
> Tony
>  -=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
>   Tony Nugent <[EMAIL PROTECTED]>    Systems Administrator, RHCE
>   GrowZone OnLine       (a project of) GrowZone Development Network
>   POBox 475 Toowoomba Oueensland Australia 4350    Ph: 07 4637 8322
>  -=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-

Reply via email to