Re: Problem while running test.sh script

Sanket Desai <[email protected]>
Newsgroups gmane.network.nocat
Message-ID <[email protected]>
Hi Yann,
 I think you need to set DocumentRoot in your apache's httpd.conf file (i.e. 
httpd.conf located in /etc/httpd). Set DocumentRoot as 
/usr/local/nocat/authserv/htdocs. Restart your computer. I think this should 
solve your problem.
 regards,
 Sanket.
 On 9/8/05, Yann Garcia <[email protected]> wrote: 
> 
>  Hello Sankey
> 
>  Hum, it is not so great because if I try to connect 
> http://10.1.10.31:5280/status, it fails and the connection the 
> http://10.1.10.31 return me the Apache welcome HTML page.
> 
> So apache seems to work fine, but nocat not.
> 
>  Does anyone have any idea of what happening?
> 
>  Thanks again for your help.
> 
>  Yann
> 
>   ------------------------------
>  
> *De :* Sanket Desai [mailto:[email protected]] 
> *Envoyé :* jeudi 8 septembre 2005 07:44
> *À :* [email protected]
> *Cc :* [email protected]
> *Objet :* Re: [NoCat] Problem while running test.sh script
> 
>  Great!
>  
>  rgds,
>  
>  Sanket.
> 
>   On 9/7/05, *Yann Garcia* <[email protected]> wrote: 
>  
> Hi,
> 
>  Yes, I do it.
> 
> It seems that the problem came from the configuration between httpd & 
> Nocat .
> 
> I had these following lines at the end of the httpd.conf file. The IP 
> address 10.1.10.20 <http://10.1.10.20/> is the address of my wlan 
> interface (wlan0).
> 
>  Thanks again,
> 
> Yann 
> 
>  Httpd.conf (at the end of the file):
> 
> #
> 
> # Use name-based virtual hosting.
> 
> #
> 
> NameVirtualHost 10.1.10.20:443 <http://10.1.10.20:443/> 
> 
>  #
> 
> # VirtualHost example:
> 
> # Almost any Apache directive may go into a VirtualHost container.
> 
> # The first VirtualHost section is used for requests without a known
> 
> # server name.
> 
> #
> 
> <VirtualHost 10.1.10.20:443 <http://10.1.10.20:443/>>
> 
> ServerAdmin [email protected]
> 
> ServerName localhost
> 
> DocumentRoot /usr/local/nocat/authserv/htdocs
> 
> <Directory "/usr/local/nocat/authserv/htdocs">
> 
> AllowOverride all
> 
> Options FollowSymLinks Includes Indexes MultiViews
> 
> Order allow,deny
> 
> Allow from all
> 
> </Directory>
> 
> ScriptAlias /cgi-bin/ "/usr/local/nocat/authserv/cgi-bin/"
> 
> <Directory "/usr/local/nocat/authserv/cgi-bin">
> 
> AllowOverride all
> 
> Options ExecCGI
> 
> Order allow,deny
> 
> Allow from all
> 
> </Directory>
> 
> <IfModule mod_ssl.c>
> 
> Include /etc/httpd/conf.d/ssl.conf
> 
> </IfModule>
> 
>  # Add NoCat/Authentication module
> 
> #<meta>
> 
> # http-equiv ="Refresh" content="$redirect"
> 
> #</meta>
> 
> Include /usr/local/nocat/authserv/httpd.conf
> 
> </VirtualHost>
> 
>     ------------------------------
>  
> *De :* Sanket Desai [mailto: [email protected]] 
> *Envoyé :* mercredi 7 septembre 2005 13:32 
>  
> 
> *À :* [email protected] 
> *Cc :* [email protected]
> *Objet :* Re: [NoCat] Problem while running test.sh script
>  
>  Hi,
>  
>  If you want to install both the things on same computer, then execute 
> "make gateway" and "make authserver" commands one after the other from the 
> nocat's source directory. If you wish you can change default path where it 
> will be installed. It is all written in either README or similar type of 
> file Nocat source. 
>  
>  I hope this will help you.
>  
>  Note: Did you got solution for your httpd configuration file issue?
>  
>  regards,
>  
>  Sanket.
> 
>  On 9/7/05, *Yann Garcia* < [email protected]> wrote: 
>  
> Hi,
> 
>  Yes I have only one Linux computer (Fedora 4) and I try to transform this 
> Linux box into Access Point. I have already installed a NetGear card with 
> hostap drivers & wireless tools (iwconfig and so on). The dhcp server & the 
> Apache server are configured and run fine separately. 
> 
> The next step is to install Nocat (aie aie aie!). 
> 
>  So I have to install the Nocat Gateway & the Nocat AuthServ on the same 
> machine in /usr/local/nocat/gateway & /usr/local/nocat/authserv. The 
> configuration file Nocat.conf is in /usr/local/nocat.
> 
>  Regards,
> 
>  Yann
> 
>   ------------------------------
>  
> *De :* Sanket Desai [mailto: [email protected]] 
> *Envoyé :* mercredi 7 septembre 2005 10:47 
> *À :* [email protected]
> *Cc :* [email protected] 
> 
>  
> *Objet :* Re: [NoCat] Problem while running test.sh script 
>  
>  Hello Yann,
>  
>  First of all I am not an exper of Nocat. But whatever have you written in 
> points 1 & 2 are correct (I hope so even!). 
>  
>  Regarding Nocat on same computer - Did you mean that you want to have 
> Gateway and Authentication server on the same computer? 
>  
>  Regarding how to configure httpd configuration file - It will be better 
> if you try to find whatever you want to know about httpd configuration on 
> apache's site. Because this question has very large context. This question 
> doesn't tell me what do you want to know about httpd configuration. Please 
> be specific. 
>  
>  regards,
>  
>  Sanket.
>   
> On 9/7/05, *Yann Garcia* < [email protected]> wrote: 
> 
> Hello Sanket,
> 
> Thank you for your help.
> 
> I have other questions about Nocat configuration on the same computer 
> (sorry 
> I am newbie) because it does not work at all.
> 1) If I am well understood how Nocat work, the httpd daemon receives the
> HTTP request from a client and ' transfert this request' to the Nocat
> GateWay;
> 2) The Nocat Gateway pushes the logon HTTP page to the client and uses the 
> 
> Nocat AuthServ to authenticate the user.
> 
> 
> The things I do not understand are:
> - How to configure Nocat on the same machine?
> - How to configure the httpd configuration file?
> 
> Thanks again for your help. 
> 
> Cheers,
> 
> Yann
> 
> -----Message d'origine-----
> De: [email protected] [mailto: [email protected] 
> ] De 
> la part de Sanket Desai
> Envoyé: mardi 30 août 2005 07:18 
> À: [email protected] 
> Objet: Re: [ NoCat] Problem while running test.sh script
> 
> It seems that in your system there is no support of IMAP in perl. Just 
> install IMAP package for perl. It should work. 
> regards,
> Sanket.
> 
> On 8/29/05, Yann Garcia < [email protected]> wrote:
> >
> > Hello,
> > 
> > I wish to compile & install the NoCatAuth-nightly version on a Fedora 4. 
> 
> > I launch the script test.sh and I have some problem while checking 
> > lib/NoCat/Source/Passwd.pm (see following logs).
> > Please, anyone can explain me what happen and how to solve this problem? 
> 
> >
> > Thanks a lot for your help.
> >
> > Yann
> >
> >
> > [root@hotspot NoCatAuth-nightly]# ./test.sh
> > lib/NoCat/User.pm syntax OK 
> > lib/NoCat/AuthService.pm syntax OK
> > lib/NoCat/Source.pm syntax OK
> > lib/NoCat/Group.pm syntax OK
> > lib/NoCat/Firewall.pm syntax OK 
> > lib/NoCat/Source/Passwd.pm syntax OK
> > Can't locate Net/IMAP/ Simple.pm <http://simple.pm/> in @INC (@INC 
> contains: lib 
> > /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
> > /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi 
> > /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi 
> > /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi 
> > /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
> > /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 
> > /usr/lib/perl5/site_perl
> > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi 
> > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
> > /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread- multi 
> > /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
> > /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 
> > /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 
> > /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i386-linux-thread-multi 
> > /usr/lib/perl5/5.8.6 .) at lib/NoCat/Source/IMAP.pm line 4. 
> > BEGIN failed--compilation aborted at lib/ NoCat/Source/IMAP.pm line 4.
> > Can't locate Authen/PAM.pm in @INC (@INC contains: lib
> > /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi 
> > /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi 
> > /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
> > /usr/lib/perl5/site_
> >
> >
> > _______________________________________________ 
> > NoCat mailing list
> > [email protected]
> > http://lists.nocat.net/mailman/listinfo/nocat
> >
> _______________________________________________
> NoCat mailing list
> [email protected]
> http://lists.nocat.net/mailman/listinfo/nocat
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.