November 23, 2007 at 7:39 pm #40832
Excuse for my English. Thank for your good job.
I have problems with my Zeroshell Configuration.
My architecture is the next :
Users Connected by Wifi (10.0.0.0/16)
Linksys WRT54GL (With Freifunk and OLSR – Wifi 10.0.1.1/16 )
Wan 184.108.40.206/24 (OLSR)
ZeroShell (With 2 Network Cards)
| (my lan)
I activated the portal captive, it works well.
My problem is that the captive portal retrieves the IP and MAC address of the Linksys router, not the IP address and MAC address of the user connected to the linksys.
As a result, when a user is logged on , the captive portal allows access to the network without authentication for other wifi users, because the first user has transmitted the IP and mac address of linksys router.
How can I do for captive portal retrieves the IP address or MAC address of each machine connected by WiFi linksys router?
Thanks.March 8, 2008 at 1:39 pm #46025
Sorry for my bad english!
I have the same problem, on linksys there is a NAT betwen wan and lan(with olsr routing), so zeroshell can view only the IP of WAN! I think there is no solution on zeroshell, perhaps in olsr configuration… I wrote to freifunk community to know if there is a solution to this problem but I had no answer. I don’t know if there is a solution in freifunk configuration becouse I think Nat is the only way to make possible communication betwen olsr(that is all routed) and Zeroshell. The OLSR protocol need connect the gateway on wan to generate a route to gateway, with the NAT problem!
Other way can be make zs a olsr node! But I am not able to make this…
Someone can suggest something?June 8, 2008 at 2:12 pm #46026
The behaviour of your linksys is normal. It’s because you use it like a router an not an access point.
The router will make NAT between your “wifi-side”(10.0.0.0/16) of the linksys and the “Wan-side” (220.127.116.11/24).
If you use it like an access-point, the linksys will ‘bridge’ user on the wifi side to the lan-side. So your ZeroShell will see the MAC&IP of your wifi user and not the MAC&IP of the wan-side of your Linksys.
The solution is to connect your linksys to your ZeroShell with an lan-port and not the wan-port of the linksys
Users Connected by Wifi (18.104.22.168->254)
Linksys WRT54GL (ip 22.214.171.124 and disable the DHCP server !!)
ZeroShell (With 2 Network Cards + Enable the DHCP server for the subnet 126.96.36.199/24 from 188.8.131.52 to 184.108.40.206)
I hope it will help you (an other) 😉
(also sorry for his English )
You must be logged in to reply to this topic.