Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Set up landing page for my LAN


  • Please log in to reply
15 replies to this topic

#1 Martel

Martel

    Drfixup Human Internet Solutions


  • Members
  • 1,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina U.S.A.
  • Local time:02:38 AM

Posted 17 August 2010 - 01:39 AM

My neighbors and visitors like to use my Wi-Fi .

I would like to set up a landing page for my network.

From what I have read seems like Flashing the router and installing DD-WRT is the way.

BC AdBot (Login to Remove)

 


#2 Orecomm

Orecomm

  • Members
  • 261 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Roseburg, Oregon
  • Local time:12:38 AM

Posted 20 August 2010 - 09:46 AM

You are correct, DD-WRT or one of the other open firmware loads is what you want. What you are trying to do is what is called a "Captive Portal". A very simple one can be embedded directly in the router, more complex pages are set up on an external server with a handshake back to the router to allow the visitor to exit the sandbox. This page has a decent tutorial covering the basics of all three DD-WRT captive portal (or "hotspot") options, NoCat for simple pages, ChilliSpot for more complex environments and Sputnik for a commercial turnkey option. I'd recommend NoCat for a first attempt, then work your way up.

#3 Martel

Martel

    Drfixup Human Internet Solutions

  • Topic Starter

  • Members
  • 1,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina U.S.A.
  • Local time:02:38 AM

Posted 20 August 2010 - 05:52 PM

Orecomm,

Thanks for the in depth reply.

I will investigate the NoCat.

Any chance I might brick or ruin my router? ( Linksys WRT54GS )

#4 Orecomm

Orecomm

  • Members
  • 261 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Roseburg, Oregon
  • Local time:12:38 AM

Posted 21 August 2010 - 10:40 AM

There is always a chance you can brick your router, but if you follow the instructions exactly it's not much worse than the average firmware update. Just make sure you get the latest instructions for your specific model and version of router and don't skip any steps. Some require a multi-step upgrade, loading VXKiller or Micro before you can upgrade to the full version. Take your time and you will be fine.

#5 Martel

Martel

    Drfixup Human Internet Solutions

  • Topic Starter

  • Members
  • 1,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina U.S.A.
  • Local time:02:38 AM

Posted 21 August 2010 - 11:29 AM

Thanks,

I will post back after.

#6 Martel

Martel

    Drfixup Human Internet Solutions

  • Topic Starter

  • Members
  • 1,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina U.S.A.
  • Local time:02:38 AM

Posted 21 August 2010 - 06:27 PM

Checking the supported versions my ver is not listed

I have a WRT54GS V 7.1

They have a v 7.0 and a 7.2

EDIT
http://www.dd-wrt.com/site/support/router-database WRT54GS

also
Have submitted a post at the DD-WRT forum under (Post subject: Flashing a WRT54GS V 7.1 compatible or not)
and will update here if I get an answer

Edited by Martel, 21 August 2010 - 09:06 PM.


#7 Martel

Martel

    Drfixup Human Internet Solutions

  • Topic Starter

  • Members
  • 1,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina U.S.A.
  • Local time:02:38 AM

Posted 21 August 2010 - 06:45 PM

Upload the bin file
and
Posted Image

put a html doc on my web server ...that is where the users will be directed, including the following code...

<form name="login" method="post" action="http://192.168.1.1:5280/">
<div align="center">
<input type="hidden" name="accept_terms" value="yes" /> <input type="hidden" name="redirect" value="http://yoursite.com">
<input type="hidden" name="mode_login">

EDIT
Tell me I am dreaming ...can that be it?

Edited by Martel, 21 August 2010 - 06:47 PM.


#8 Orecomm

Orecomm

  • Members
  • 261 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Roseburg, Oregon
  • Local time:12:38 AM

Posted 21 August 2010 - 10:43 PM

That looks about right to me. I've never implemented one off-router yet, mine are just "I'll be good" agreement pages for open hotspots and don't need much code and no real logic. (hit "I'll be good" and you are in, hit "Stuff it, I'll do as I like!" and you are kicked off and your Mac address blocked.) But as I remember the documentation that seems to be about it. Let us know how it works !

You are missing a </div> and </form> I think.

Edited by Orecomm, 21 August 2010 - 10:45 PM.


#9 Martel

Martel

    Drfixup Human Internet Solutions

  • Topic Starter

  • Members
  • 1,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina U.S.A.
  • Local time:02:38 AM

Posted 23 August 2010 - 06:55 PM

I've never implemented one off-router yet


So I can host the .html doc on my router?

#10 Orecomm

Orecomm

  • Members
  • 261 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Roseburg, Oregon
  • Local time:12:38 AM

Posted 25 August 2010 - 12:25 AM

Yes, if you keep it simple you can host it on the router itself. Just follow the examples for the version of DD-WRT and NoCat you are using (beware of ancient web artifacts, particularly instructions for several year old versions of open source software you are trying to use.) Remember you only have a few K of space on the router, so keep it very simple. Minimal graphics, forget Flash, etc. Plain Jane HTML works pretty well.

#11 Martel

Martel

    Drfixup Human Internet Solutions

  • Topic Starter

  • Members
  • 1,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina U.S.A.
  • Local time:02:38 AM

Posted 26 August 2010 - 12:08 AM

Still tryin to find out if my WRT54GS V 7.1 is compatible

It is not mentioned http://www.dd-wrt.com/phpBB2/viewtopic.php...672&start=0

Otherwise I have most everything

#12 MichaelB51026

MichaelB51026

  • Members
  • 18 posts
  • OFFLINE
  •  
  • Location:USA
  • Local time:02:38 AM

Posted 31 August 2010 - 02:34 AM

You are correct, DD-WRT or one of the other open firmware loads is what you want. What you are trying to do is what is called a "Captive Portal". A very simple one can be embedded directly in the router, more complex pages are set up on an external server with a handshake back to the router to allow the visitor to exit the sandbox. This page has a decent tutorial covering the basics of all three DD-WRT captive portal (or "hotspot") options, NoCat for simple pages, ChilliSpot for more complex environments and Sputnik for a commercial turnkey option. I'd recommend NoCat for a first attempt, then work your way up.


interesting... i 'll give it a try.
God helps those who help themselves.

#13 Martel

Martel

    Drfixup Human Internet Solutions

  • Topic Starter

  • Members
  • 1,468 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina U.S.A.
  • Local time:02:38 AM

Posted 31 August 2010 - 08:23 AM

Make sure your router is compatible

Supported device list



Follow every step

#14 s1lents0ul

s1lents0ul

  • Members
  • 544 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:38 AM

Posted 31 August 2010 - 10:00 AM

Can you run WRT from a flash drive on Routers with USB?
==]--s1lents0ul-->

#15 Orecomm

Orecomm

  • Members
  • 261 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Roseburg, Oregon
  • Local time:12:38 AM

Posted 31 August 2010 - 10:40 AM

Nope. Must be flashed to firmware.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users