Page 1 of 1

Router that show one webpage

Posted: Tue Jun 21, 2016 10:56 pm
by drekthrall
Hello community

I am able to set raspberry to wifi router.

I need to open choosed website in webbrowser right after i connect on raspberry router and not to be able to go to another website. Is this make-able? Does someone try to solve this before?

Thanks for reply :)

Re: Router that show one webpage

Posted: Tue Jun 21, 2016 11:03 pm
by SonOfAMotherlessGoat
Sure, you should be able to do that with what's called a Captive Portal (or Walled Garden).

Re: Router that show one webpage

Posted: Tue Jun 21, 2016 11:23 pm
by broe23
drekthrall wrote:Hello community

I am able to set raspberry to wifi router.

I need to open choosed website in webbrowser right after i connect on raspberry router and not to be able to go to another website. Is this make-able? Does someone try to solve this before?

Thanks for reply :)
Only certain Gateways can do Captive Portal out of the box. They are going to be a little pricey. You can setup pfSense to handle Captive Portal, or roll one out with another Pi handling the Captive Portal, using FreeRadius.

Re: Router that show one webpage

Posted: Tue Jun 21, 2016 11:26 pm
by SonOfAMotherlessGoat
NoDogSplash should be able to handle the job?

Re: Router that show one webpage

Posted: Tue Jun 21, 2016 11:45 pm
by broe23
SonOfAMotherlessGoat wrote:NoDogSplash should be able to handle the job?
They would need one of the routers listed on OpenWRT's list, but it is doable.

Re: Router that show one webpage

Posted: Wed Jun 22, 2016 12:05 am
by SonOfAMotherlessGoat
broe23 wrote:
SonOfAMotherlessGoat wrote:NoDogSplash should be able to handle the job?
They would need one of the routers listed on OpenWRT's list, but it is doable.
Actually, you can run NoDog on a RaspberryPi, with the requirement of needing a Debian'ish OS.

Re: Router that show one webpage

Posted: Wed Jun 22, 2016 12:14 am
by broe23
All that I am finding is dated information for that software

Re: Router that show one webpage

Posted: Sat Oct 08, 2016 7:23 pm
by osh
Trying to build the nodogsplash on my pi3 gives this error:

Code: Select all

src/gateway.c: In function {main_loop}:
src/gateway.c:257:8: error: {MHD_OPTION_LISTENING_ADDRESS_REUSE} undeclared (first use in this function)
        MHD_OPTION_LISTENING_ADDRESS_REUSE, 1,
        ^
src/gateway.c:257:8: note: each undeclared identifier is reported only once for each function it appears in
Not really sure what the problem is. If there is a problem in nodogsplash or in my knowlege on how to configure and build things. It's been over 10 years since I had to deal with this. Normally everything comes in packages these days. :D

Re: Router that show one webpage

Posted: Mon Nov 07, 2016 12:30 pm
by StephNewPi
Hello,

I'm having exactly the same issue - has anybody had any experience with this?

Any advice would be great :)