Menu

Installation with CoovaChilli - some installation notes and questions

Charles
2014-05-21
2014-11-08
  • Charles

    Charles - 2014-05-21

    Hi, All:

    I've just tried to install RadiusDesk and CoovaChilli to get a basic wifi captive portal set up. I'm setting it up on a Dell Optiplex 620, with a LAN connection to my router and the rest of the Internet (WAN side), and a wireless USB adapter (TP725) for the LAN side of the wifi portal. I'm doing the install from remote on the same network over SSH, with the captive portal having an IP address at the moment of 192.168.0.4.

    I have a few notes on which I'd appreciate feedback (especially the last one), as follows:

    1) At the point of installing RADIUSdesk CakePHP Application, for the code of:

    sudo chown -R www-data. /usr/share/nginx/html/cake2/rd_cake/tmp
    sudo chown -R www-data. /usr/share/nginx/html/cake2/rd_cake/Locale
    sudo chown -R www-data. /usr/share/nginx/html/cake2/rd_cake/webroot/img/flags
    sudo chown -R www-data. /usr/share/nginx/html/cake2/rd_cake/webroot/img/nas
    sudo chown -R www-data. /usr/share/nginx/html/cake2/rd_cake/webroot/img/realms
    sudo chown -R www-data. /usr/share/nginx/html/cake2/rd_cake/webroot/img/dynamic_details
    sudo chown -R www-data. /usr/share/nginx/html/cake2/rd_cake/webroot/img/dynamic_photos
    sudo chown -R www-data. /usr/share/nginx/html/cake2/rd_cake/webroot/files/imagecache

    I didn't have most of the directories for which ownership was changed, so I created them. What's going to happen when I start it all up?

    2) When I get to the point of "Test things out", the link of

    http://192.168.0.4/cake2/rd_cake/phrase_values/get_language_strings.json?_dc=1355816922405&language=

    gives 404 error page for nginx. The link works up to http://192.168.0.4/cake2/rd_cake, but there is no phrase_values directory at that point to walk down the URL structure further.

    I'm using 2.4.10 of CakePHP at this point, because that appears to be the latest 2.4.x production release.

    3) When I try and browse to http://192.168.0.4/rd, I get a RADIUSdesk page, but no login.

    4) For the section of "Speed Things Up", I don't have a /usr/share/nginx/html/rd/app/app.js file. I have an Application.js file, which I'm assuming is the correct file?

    5) The modifications to /usr/share/nginx/html/rd/index.html are already done.

    6) For cron scripts, there is no /var/www directory. Apache IIRC creates one on install, but I'm not sure if nginx does so. Left alone because it can be, but I don't know if it will work when I'm done.

    7) In setting up CoovaChilli, there is no mention that editing /etc/chilli/defaults would allow one to pick any interface for the LAN interface (including wlan0). Addressed with support mailing list from CoovaChilli.

    8) in adding NAT support, while editing /etc/init.d/chilli, it would be helpful to be more specific in where in /etc/init.d/chilli the changes are to be added. Since there is no indicated point at which the changes are to be inserted, I'm assuming the system breaks if they are added at the bottom. I await response on how the file should read with the changes implemented.

     
    • Mfawa Alfred Onen

      Hello Charles, you will need to ensure you follow the URL rewrite
      section of the documentation. Also, you may want to use the RADIUSDesk
      installer to help automate the process for you.
      http://muffycompo.github.io/radiusdesk-installer/ and check out the
      walk through videos here
      http://www.maomuffy.com/radiusdesk-installer-project/.

      Regards!

      On Wed, May 21, 2014 at 5:46 PM, Charles cchamb2@users.sf.net wrote:

      Hi, All:

      I've just tried to install RadiusDesk and CoovaChilli to get a basic wifi captive portal set up. I'm setting it up on a Dell Optiplex 620, with a LAN connection to my router and the rest of the Internet (WAN side), and a wireless USB adapter (TP725) for the LAN side of the wifi portal. I'm doing the install from remote on the same network over SSH, with the captive portal having an IP address at the moment of 192.168.0.4.

      I have a few notes on which I'd appreciate feedback (especially the last one), as follows:

      1) At the point of installing RADIUSdesk CakePHP Application, for the code of:

      sudo chown -R www-data. /usr/share/nginx/html/cake2/rd_cake/tmp
      sudo chown -R www-data. /usr/share/nginx/html/cake2/rd_cake/Locale
      sudo chown -R www-data. /usr/share/nginx/html/cake2/rd_cake/webroot/img/flags
      sudo chown -R www-data. /usr/share/nginx/html/cake2/rd_cake/webroot/img/nas
      sudo chown -R www-data. /usr/share/nginx/html/cake2/rd_cake/webroot/img/realms
      sudo chown -R www-data. /usr/share/nginx/html/cake2/rd_cake/webroot/img/dynamic_details
      sudo chown -R www-data. /usr/share/nginx/html/cake2/rd_cake/webroot/img/dynamic_photos
      sudo chown -R www-data. /usr/share/nginx/html/cake2/rd_cake/webroot/files/imagecache

      I didn't have most of the directories for which ownership was changed, so I created them. What's going to happen when I start it all up?

      2) When I get to the point of "Test things out", the link of

      http://192.168.0.4/cake2/rd_cake/phrase_values/get_language_strings.json?_dc=1355816922405&language=

      gives 404 error page for nginx. The link works up to http://192.168.0.4/cake2/rd_cake, but there is no phrase_values directory at that point to walk down the URL structure further.

      I'm using 2.4.10 of CakePHP at this point, because that appears to be the latest 2.4.x production release.

      3) When I try and browse to http://192.168.0.4/rd, I get a RADIUSdesk page, but no login.

      4) For the section of "Speed Things Up", I don't have a /usr/share/nginx/html/rd/app/app.js file. I have an Application.js file, which I'm assuming is the correct file?

      5) The modifications to /usr/share/nginx/html/rd/index.html are already done.

      6) For cron scripts, there is no /var/www directory. Apache IIRC creates one on install, but I'm not sure if nginx does so. Left alone because it can be, but I don't know if it will work when I'm done.

      7) In setting up CoovaChilli, there is no mention that editing /etc/chilli/defaults would allow one to pick any interface for the LAN interface (including wlan0). Addressed with support mailing list from CoovaChilli.

      8) in adding NAT support, while editing /etc/init.d/chilli, it would be helpful to be more specific in where in /etc/init.d/chilli the changes are to be added. Since there is no indicated point at which the changes are to be inserted, I'm assuming the system breaks if they are added at the bottom. I await response on how the file should read with the changes implemented.


      Installation with CoovaChilli - some installation notes and questions


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/radiusdesk/discussion/general/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

Log in to post a comment.

Monday.com Logo