Jump to content

Freeblazin

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Freeblazin

  1. Hey guys. I've just picked up a mark V pineapple and started playing around with the Evil Portal infusion. Major thanks to newbi3 for porting this to an infusion! I looking for some guidance on possibly expanding the nodogsplash page capabilities. I am trying to configure the splash page to point to an index page of a custom captive portal containing multiple pages with java content and full stylesheet coding, all stored on the sd card of the pineapple. For instance, when nodogsplash is running all requests would redirect to the main portal landing page which would have links to other pages such as a seperate terms of service page, another page containing some relevant content, and another page that has a false login form to gather a username and password. The user would be free to navigate between all the pages in the portal, and not be able to browse through the gateway until the user fills out the login form and clicks the submit button to send the $authtarget response back to nodogsplash to authenticate the user and redirect to the origonal page requested. I am stuck on successfully getting the splash page to load from the sd card. As nodogsplash was coded to look for the splash page in /etc/nodogsplash/htdocs and have all graphics stored in /etc/nodogsplash/images location. I have tried a few configuration changes with no success such as creating symbolic links to point /etc/nodogsplash/htdocs/splash.html to /sd/www/customportalindex.html, a sym link from /www to /sd/www plus adding an iframe to splash.html that points to 172.16.42.1:8080/customportalindex.html. When I try the iframe reference in splash.html I can navigate to 172.16.42.1:8080/customportalindex.html page successfully but when nodogsplash loads the iframe it loops into itself and loads iframes into iframes infinitely. Any thoughts, suggestions, or feedback would be greatly appreciated.
×
×
  • Create New...