Hi, this is my first post.
I have a TL-WR841N router, with OpenWrt 15.05.1
I explain what I would like to do why I ask your help. I tried to search guides on the web but I'm uncertain about which is the best way to follow.
In my residence, I access to a common wifi connection, protected by a captive portal (where I insert username/password).
Clients receive via DHCP an IP address like 10.191.16.XXX. The gateway is on 10.191.0.XXX.
I would like to connect to internet even clients that don't have a web browser to use the captive portal, so I would like to connect my router with OpenWrt to the main wifi network and then create a second internal wireless network where clients can reach internet without a captive portal request.
Is it possible to do it with Open Wrt?
Summing up, what I'd like to do is:
- my router connects to the main network and obtains an IP address via DHCP
- a second wifi is created to connect the clients. Clients receive from my router an IP address like 192.168.1.X
- the first client requesting internet obtains the captive portal and login
- the next clients will find the internet already reachable without a captive portal
Is it possibile?
Reading the guides I tried the mode "Relay bridge" or "Routed client masquerade", but I can't receive the captive portal in any client.
Thank you very much in advance.