Lynksys WRT310N - DD-WRT- Captive Portal without WAN connection

JPScolar

Commendable
Apr 5, 2016
2
0
1,510
I have a Lynksys WRT310N router running DD-WRT connected to a PC over Ethernet. There is no WAN connection. I would like to pop-up a html page on the PC when someone connects to the Wi-Fi router, like a captive portal, however, as per the DD-WRT documentation:

In order for NoCatSplash to display the splash page, the DD-WRT enabled device must have both of the following:

• An active internet connection
• A WAN address

Any advice, will be very much appreciated.
 
But what really is a "active" internet connection. I did not think it actually uses the internet. You could likely take anything that makes the port active....even plug it into a lan port (not recommended) and set the ip static.

I think more the problem is it only intercepts lan (ie wireless) ---> wan traffic. With no actual internet your only traffic will go lan-lan. The captive portal software can not block this. Now you might get creative and put the lan ports and the wireless ports on different vlans.

Not sure the captive portal stuff is kinda screwy when I was messing with it.

You can of course restrict wireless access by userid using radius..ie enterprise in the wireless security. If you want to secure wired you can use 802.1x with the same radius server. I have heard people that loaded the radius server into the router itself but you would need one of the newer powerful routers that have lots of memory and cpu.
 
Thank you very much for your help. I have trace the problem to Scheduled (Nocat splash) not starting. It complains that there is nothing on the WAN port, even though I have assigned it a dummy IP address (see the messages below from syslog).

Jan 1 02:16:09 OEHotspot daemon.notice NoCat[25436]: splashd start
Jan 1 02:16:09 OEHotspot daemon.err NoCat[25436]: No ExternalDevice detected!

I have see several postings claiming that is possible to build an OFFLINE Captive portal so I guess is possible, to get around the above problem. Hope someone could share some advice on this.