Hello
I want to change the login.html so when I open the webpage I will redirect to another page (http://www.mycompany.com/wifi)
how do I do this ?
this is what I have now an image - I want to replace the img to an address
O.K
yes I can see it does something but my server doesn’t see any information about who is trying to connect
also the “Active” in the hotspot doesn’t shown anything ..
maybe there is a way to connect to the hotspot of the RB and then do redirect to my site - all this automatically?
what I want is to connect automatically to the hotspot with user\pass
so I will be able to control it
and after it to redirect to a page of my own
just to be able to see my logo before it goes to the site
for example -
<html>
<head>
<title>Welcome to David WiFi .....Please wait</title>
<body onload='connect.submit()'>
<h2 align=center><i>Please wait while redirecting to google .....</i></h2>
<form name='connect' action='http://www.google.com' method='post'>
------> I'm assuming this part it my mistake
<input type="hidden" name="popup" value="true" />
<INPUT CLASS="sumbit" </a></center><input type="hidden" style="width: 80px" name="username" type="text" value="test"/>
--------------------- mistake
</form>
<br /><div style="color: #c1c1c1; font-size: 9px">Powered by David</div>
</form></tr><td align="center"><img src="logo.png"></a></td></tr></center>
</body></html>
that way all the users that connected by this WiFi will called test and in the hotspot I will be able to mange them as I want
this is what I have done
But I don’t redirect to google - why ?
all I want is to see my logo and name - and then redirect to google (after it register in the hotspot )
That won’t work either. You must make those modifications to the login.html page. It must include all the form and Javascript parts from the login.html doc.