chillispot

Discussion in 'Server Operation' started by kswiss, Jul 9, 2008.

  1. kswiss

    kswiss New Member

    i need help with the setup of chillispot.i am using ubuntu 8.04
    i followed the installation instructions on http://www.chillispot.info/release.html and after the installation i tried going to my web browser and entered https://192.168.16.183/cgi-bin/hotspotlogin.cgi and the results were that firefox cant establish a connection to the server at 192.168.16.183 which is the ip address of my machine.
    on using http://192.168.16.183/cgi-bin/hotspotlogin.cgi the result is chillispot login failed:login must use encrypted connection.
    please give me detailed installation instructions and configuration steps so that i can start from scratch.

    thank you.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    netstat -tap
    ?
     
  3. kswiss

    kswiss New Member

    root@peter-desktop:~# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:www *:* LISTEN 16365/apache2
    tcp 0 0 192.168.182.1:3990 *:* LISTEN 17880/chilli
    tcp 0 0 localhost:ipp *:* LISTEN 4709/cupsd
    tcp 1944 0 peter-desktop.loc:36820 KevGT-R.loc:netbios-ssn ESTABLISHED 16423/gvfsd-smb-bro
    tcp 0 0 peter-desktop.loc:38732 192.168.16.253:webcache TIME_WAIT -
    tcp 0 0 peter-desktop.loc:38730 192.168.16.253:webcache TIME_WAIT -
    tcp 0 0 peter-desktop.loc:38729 192.168.16.253:webcache TIME_WAIT -
    tcp 0 0 peter-desktop.loc:38733 192.168.16.253:webcache TIME_WAIT -
    tcp 1944 0 peter-desktop.loc:49226 media.local:netbios-ssn ESTABLISHED 16423/gvfsd-smb-bro
    tcp 0 0 peter-desktop.loc:38735 192.168.16.253:webcache TIME_WAIT -
    tcp 1944 0 peter-desktop.loc:53232 media.local:netbios-ssn ESTABLISHED 16423/gvfsd-smb-bro
    tcp 0 0 peter-desktop.loc:38728 192.168.16.253:webcache TIME_WAIT -
    tcp 1928 0 peter-desktop.loc:49233 media.local:netbios-ssn ESTABLISHED 16423/gvfsd-smb-bro
    tcp 0 0 peter-desktop.loc:38734 192.168.16.253:webcache TIME_WAIT -
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Apache is running. Are there any errors in Apache's error log?
     
  5. kswiss

    kswiss New Member

    this is what i get when i enter the info in the terminal as root as u specified:

    peter@peter-desktop:~$ sudo bash

    [sudo] password for peter:

    root@peter-desktop:~# tcp 00*:www:*:*LISTEN 16365/apache2

    bash: tcp: command not found

    root@peter-desktop:~#


    it does not seem to recognise the tcp command
     
  6. DualFusion

    DualFusion New Member

    kswiss, falko was only quoting the output of netstat -tap in which apache is running, not to enter that as a command, what he meant by "Are there any errors in Apache's error log?" was to do this:

    Code:
    vi /var/log/apache2/error.log
    and scroll to the bottom
     
  7. kswiss

    kswiss New Member

    I coded as u told me and below are the results obtained:



    [Mon Jul 14 08:25:28 2008] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
    [Mon Jul 14 17:44:34 2008] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
    [Mon Jul 14 17:48:52 2008] [error] [client 192.168.16.183] File does not exist: /var/www/favicon.ico
    [Tue Jul 15 08:33:00 2008] [error] [client 192.168.16.183] File does not exist: /var/www/favicon.ico
    [Tue Jul 15 10:27:10 2008] [error] [client 192.168.16.253] File does not exist: /var/www/favicon.ico
    [Tue Jul 15 15:52:59 2008] [error] [client 192.168.16.253] File does not exist: /var/www/cgi.bin
    [Tue Jul 15 15:52:59 2008] [error] [client 192.168.16.253] File does not exist: /var/www/favicon.ico
    [Tue Jul 15 16:27:38 2008] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
    [Tue Jul 15 16:28:37 2008] [error] [client 192.168.16.183] File does not exist: /var/www/favicon.ico
    [Tue Jul 15 16:28:40 2008] [error] [client 192.168.16.183] File does not exist: /var/www/favicon.ico
    [Tue Jul 15 16:31:54 2008] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
    [Tue Jul 15 16:33:17 2008] [error] [client 192.168.16.183] File does not exist: /var/www/favicon.ico
    [Tue Jul 15 16:33:20 2008] [error] [client 192.168.16.183] File does not exist: /var/www/favicon.ico
    [Wed Jul 16 08:51:48 2008] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
    [Thu Jul 17 12:02:57 2008] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
    [Thu Jul 17 12:08:58 2008] [notice] caught SIGWINCH, shutting down gracefully
    [Thu Jul 17 12:10:31 2008] [notice] Apache/2.2.8 (Ubuntu) configured -- resuming normal operations
    ~
    ~
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Looks ok. Are you using a firewall? What's the output of
    Code:
    iptables -L
    ?
     
  9. kswiss

    kswiss New Member

    chillispot and phpmyadmin

    hi falko,
    there was a firewall but i disabled it......now i have a new problem, chillispot seems to be working well and i even get the login page bt my problem is that using phpmyadmin i am unable to add users. when i go to my sql i find that there is a database called radius but i dont know how to add a username and password that i can use to login to chillispot. Is there a default user or do i need to add one manually?
    Please help..
     
  10. falko

    falko Super Moderator Howtoforge Staff

    I'm afraid I can't help you. I've never used Chilispot...
     

Share This Page