<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
It's been forever since I put this together, but it worked. My memory
is foggy though.<br>
<br>
I set the hotspot server to use the "hsprof1" profile.<br>
<br>
In the hsprof1 server profile: <br>
<br>
Set the Trial uptime limit and uptime reset to 2 hours. Set the trial
user profile to default. Allow login by HTTP PAP and Trial. Don't use
radius. <br>
<br>
On the "default" user profile, set up the proper address pool, no idle
timeout, 00:02:00 keepalive timeout, open status page to "always" <br>
<br>
On the HTML, the default stuff works. Modify as you need to remove /
comment out the unnecessary login form fields. Here's the code snippet
I use for :<br>
<br>
<pre id="line231"><span class="comment"><!-- Insert actual Form to allow access below --></span>
<<span class="start-tag">div</span><span class="attribute-name"> align</span>=<span
class="attribute-value">"center"</span>>
<<span class="start-tag">table</span><span class="attribute-name"> width</span>=<span
class="attribute-value">"100%" </span><span class="attribute-name">style</span>=<span
class="attribute-value">"margin-top: 10%;"</span>>
        <<span class="start-tag">tr</span>>
        <<span class="start-tag">td</span><span class="attribute-name"> align</span>=<span
class="attribute-value">"center" </span><span class="attribute-name">valign</span>=<span
class="attribute-value">"middle"</span>>
                <span class="comment"><!-- <div class="notice" style="color: #c1c1c1; font-size: 9px"> --></span> Please log on to use the hotspot service<<span
class="start-tag">br</span><span class="error"><span
class="attribute-name"> /</span></span>>$(if trial == 'yes') To log in, <<span
class="start-tag">a</span><span class="attribute-name"> style</span>=<span
class="attribute-value">"color: #FF8080"</span><span
class="attribute-name">href</span>=<span class="attribute-value">"$(link-login-only)?dst=$(link-orig-esc)&amp;username=T-$(mac-esc)"</span>>click here</<span
class="end-tag">a</span>>.$(endif)</<span class="end-tag">div</span>><<span
class="start-tag">br</span><span class="error"><span
class="attribute-name"> /</span></span>>
</pre>
<pre id="line242">                <span class="comment"><!-- <table width="240" height="240" style="border: 1px solid #cccccc; padding: 0px;" cellpadding="0" cellspacing="0">
                        <tr>
                                <td align="center" valign="bottom" height="175" colspan="2">
                                        <form name="login" action="$(link-login-only)" method="post"
                                         $(if chap-id) onSubmit="return doLogin()" $(endif)>
                                                <input type="hidden" name="dst" value="$(link-orig)" />
                                                <input type="hidden" name="popup" value="true" />
                                                        <table width="100" style="background-color: #ffffff">
                                                                <tr><td align="right">login</td>
                                                                                <td><input style="width: 80px" name="username" type="text" value="$(username)"/></td>
                                                                </tr>
                                                                <tr><td align="right">password</td>
                                                                                <td><input style="width: 80px" name="password" type="password"/></td>
                                                                </tr>
                                                                <tr><td>&nbsp;</td>
                                                                                <td><input type="submit" value="OK" /></td>
                                                                </tr>
                                                        </table>
                                        </form>
                                </td>
                        </tr>
                        <tr><td align="center"><a href=<a class="moz-txt-link-rfc2396E" href="http://www.mikrotik.com">"http://www.mikrotik.com"</a> target="_blank" style="border: none;"><img src="/img/logobottom.png" alt="mikrotik" /></a></td></tr>
                </table>
--></span>
        <span class="comment"><!-- <br /><div style="color: #c1c1c1; font-size: 9px">Powered by InfoWest, copyright 2007</div> --></span>
        $(if error)<<span class="start-tag">br</span><span class="error"><span
class="attribute-name"> /</span></span>><<span class="start-tag">div</span><span
class="attribute-name"> style</span>=<span class="attribute-value">"color: #FF8080; font-size: 9px"</span>>$(error)</<span
class="end-tag">div</span>>$(endif)
        </<span class="end-tag">td</span>>
        </<span class="end-tag">tr</span>>
</<span class="end-tag">table</span>>
</<span class="end-tag">div</span>>
</pre>
<br>
<br>
Josh Luthman wrote:
<blockquote
cite="mid:961092e10908051445u6559db9kdf7481bb346f442f@mail.gmail.com"
type="cite">
<pre wrap="">That should be a pretty easy solution. Is it required there be a user name
and password?
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373
"When you have eliminated the impossible, that which remains, however
improbable, must be the truth."
--- Sir Arthur Conan Doyle
On Wed, Aug 5, 2009 at 5:41 PM, ccrum <a class="moz-txt-link-rfc2396E" href="mailto:ccrum@dot11net.com"><ccrum@dot11net.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">You could download and modify the hotspot page to have a simple "I agree"
button that just logs everyone in with the same username. Put a session
timeout on the user for 24 hours or whatever and make sure you have
unlimited logins. If you need help with the page, let me know.
Cameron
Steve Barnes wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Yeah, Butch Please!!! :) I need the exact same setup at a hotel. And a
downtown Hotspot.
Steve Barnes
Manager
PCS-WIN
RC-WiFi Wireless Internet Service
Character cannot be developed in ease and quiet. Only through experience
of
trial and suffering can the soul be strengthened, vision cleared, ambition
inspired, and success achieved.
- Helen Keller
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:mikrotik-bounces@mail.butchevans.com">mikrotik-bounces@mail.butchevans.com</a>
[<a class="moz-txt-link-freetext" href="mailto:mikrotik-bounces@mail.butchevans.com">mailto:mikrotik-bounces@mail.butchevans.com</a>] On Behalf Of Josh Luthman
Sent: Wednesday, August 05, 2009 2:22 PM
To: Mikrotik discussions
Subject: Re: [Mikrotik] Walled Garden
I need Butch to do this simple thing for me too. All you need is MT.
Perhaps he will post something on his blog or the html page needed on
this list. Maybe, hopefully :). If not give him a ring.
On 8/5/09, Terry Trumbo <a class="moz-txt-link-rfc2396E" href="mailto:ttrumbo@nolinrecc.com"><ttrumbo@nolinrecc.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Yep just agree to the terms and off they go.
Terry
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:mikrotik-bounces@mail.butchevans.com">mikrotik-bounces@mail.butchevans.com</a>
[<a class="moz-txt-link-freetext" href="mailto:mikrotik-bounces@mail.butchevans.com">mailto:mikrotik-bounces@mail.butchevans.com</a>] On Behalf Of Josh Luthman
Sent: Wednesday, August 05, 2009 1:43 PM
To: Mikrotik discussions
Subject: Re: [Mikrotik] Walled Garden
What do you want it to do? Just catch people, force them to agree to
terms and conditions then let them online?
On 8/5/09, Terry Trumbo <a class="moz-txt-link-rfc2396E" href="mailto:ttrumbo@nolinrecc.com"><ttrumbo@nolinrecc.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello,
I am just getting started using Mikrotik and I really am impressed
with what it can do. I do have a question about the walled garden. I
have a hotel that needs to have the terms of use page come up when
first connected, when they accept the terms it takes them to the
hotels webpage then thye can surf all they want. Can this be done in
</pre>
</blockquote>
<pre wrap="">Mikrotik?
</pre>
<blockquote type="cite">
<pre wrap="">All I have seen so far is having to authenticate to go out. Am I
missing something here? Thanks.
Terry
_______________________________________________
Mikrotik mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Mikrotik@mail.butchevans.com">Mikrotik@mail.butchevans.com</a>
<a class="moz-txt-link-freetext" href="http://www.butchevans.com/mailman/listinfo/mikrotik">http://www.butchevans.com/mailman/listinfo/mikrotik</a>
Visit <a class="moz-txt-link-freetext" href="http://blog.butchevans.com/">http://blog.butchevans.com/</a> for tutorials related to Mikrotik
RouterOS
</pre>
</blockquote>
<pre wrap="">--
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373
"When you have eliminated the impossible, that which remains, however
improbable, must be the truth."
--- Sir Arthur Conan Doyle
_______________________________________________
Mikrotik mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Mikrotik@mail.butchevans.com">Mikrotik@mail.butchevans.com</a>
<a class="moz-txt-link-freetext" href="http://www.butchevans.com/mailman/listinfo/mikrotik">http://www.butchevans.com/mailman/listinfo/mikrotik</a>
Visit <a class="moz-txt-link-freetext" href="http://blog.butchevans.com/">http://blog.butchevans.com/</a> for tutorials related to Mikrotik
RouterOS
_______________________________________________
Mikrotik mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Mikrotik@mail.butchevans.com">Mikrotik@mail.butchevans.com</a>
<a class="moz-txt-link-freetext" href="http://www.butchevans.com/mailman/listinfo/mikrotik">http://www.butchevans.com/mailman/listinfo/mikrotik</a>
Visit <a class="moz-txt-link-freetext" href="http://blog.butchevans.com/">http://blog.butchevans.com/</a> for tutorials related to Mikrotik
</pre>
</blockquote>
<pre wrap="">RouterOS
</pre>
</blockquote>
<pre wrap="">_______________________________________________
Mikrotik mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Mikrotik@mail.butchevans.com">Mikrotik@mail.butchevans.com</a>
<a class="moz-txt-link-freetext" href="http://www.butchevans.com/mailman/listinfo/mikrotik">http://www.butchevans.com/mailman/listinfo/mikrotik</a>
Visit <a class="moz-txt-link-freetext" href="http://blog.butchevans.com/">http://blog.butchevans.com/</a> for tutorials related to Mikrotik
RouterOS
</pre>
</blockquote>
<pre wrap=""><!---->-------------- next part --------------
An HTML attachment was scrubbed...
URL: <a class="moz-txt-link-rfc2396E" href="http://www.butchevans.com/pipermail/mikrotik/attachments/20090805/5328f40a/attachment.html"><http://www.butchevans.com/pipermail/mikrotik/attachments/20090805/5328f40a/attachment.html></a>
_______________________________________________
Mikrotik mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Mikrotik@mail.butchevans.com">Mikrotik@mail.butchevans.com</a>
<a class="moz-txt-link-freetext" href="http://www.butchevans.com/mailman/listinfo/mikrotik">http://www.butchevans.com/mailman/listinfo/mikrotik</a>
Visit <a class="moz-txt-link-freetext" href="http://blog.butchevans.com/">http://blog.butchevans.com/</a> for tutorials related to Mikrotik RouterOS
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Randy Cosby
Vice President
InfoWest, Inc
work: 435-773-6071
email: <a class="moz-txt-link-abbreviated" href="mailto:rcosby@infowest.com">rcosby@infowest.com</a>
<a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/randycosby">http://www.linkedin.com/in/randycosby</a>
</pre>
</body>
</html>