I have setup a hotspot that the public can access free with username and password passed in the html page (hidden). I have also edited the login.html page to represent a user agreement and changed the login promtp at the bottom to be an i agree statement.
All works fine when using a laptop and the user gets directed to his original request page with the status.html coming up. Eexcept for users that connect using iphone or similiar device, they get a page which just states “success” and the issue is that this page is a white blank page and the font of the success is so small you need magnifying glass to see it. Can anyone point me to where this page might come from and can you change the font of the resultant success message.
Do you mean the “You are logged in. If nothing happens, click here” page? That is alogin.html.
This is an issue relating to how an iToy (iPhone, iPad, etc) determine if there is Internet service behind a captive portal, which allows the device to automatically popup a web browser when you connect to the wireless network (where as a laptop, you have to manually open a browser and try to surf to get the hotspot redirect page to popup). On the iPhone, once you get that success page, you should be able to browse, but it confuses people.
What’s happening in the background is that once your iPhone connects, it automatically tries to connect to http://www.apple.com/library/test/success.html The work around to this, which essentially bypasses the iToy from wanting to popup the web browser automatically, is to add this specific web page to the walled garden like this:
/ip hotspot walled-garden
add action=allow disabled=no dst-host=www.apple.com dst-port=80 path=/library/test/success.html
Now, when connecting with your iPhone or other iToy, the web browser will no longer popup automatically, but the device will display the login.html page once the browser is opened manually and you try to browse. Users will still get a login page if they try to go to Apple’s website, except for that success.html page.
Edit: fixed the URL as I left out /test/ in body of my message, the walled garden code was correct.
I hate to jump in here with another question, but I’ll give it a shot. I have a similar setup, but I don’t require the free users to login. I took the default login page and made some changes. I added a accepted terms of use section and have it setup so they have to click “Accept” which then starts the trial features. I pretty much just changed the default “click here” to accept and made it bigger. The problem I’m having is that sometimes the “Accept” doesn’t show up and the user just sits there. Any ideas why it shows up sometimes instead of all the time.