pihomeserver / Kupiki-Hotspot-Script

Create automatically a full Wifi Hotspot on Raspberry Pi including a Captive Portal
Other
300 stars 119 forks source link

MultiHotSpot #134

Open kaellau opened 6 years ago

kaellau commented 6 years ago

Hi, thanks for the awesome project! I did follow up with your tutorial and script to build the HotSpot and everything is working fine. Now i would have question regarding on multiple HotSpots. My setups:

HotSpot A (freeradius Server A): -freeradius server enabled -chilli enabled -nginx enabled

HotSpot B: -freeradius server disabled -chilli enabled -nginx enabled

HotSpot C: -freeradius server disabled -chilli enabled -nginx enabled

All HotSpots having same: -WiFi interface, SSID, and Channel. -Hardware : RPI 3 -Operating system: Raspbian Stretch

I am able to connect HotSpot B and HotSpot C to freeradius Server HotSpot A, by configuring clients.conf referencing #113 . (Meaning that i can use users that registered from HotSpot A).

According to https://github.com/pihomeserver/Kupiki-Hotspot-Script/issues/43#issuecomment-314054964, how can i roaming from one HotSpot to another without relogin?

I did have a dirty hack for this solution. Since all HostSpots generating different sessions in radacct table, we would just need to insert same session for different stationid(HotSpots).

Do we have any other proper solution for this?

pihomeserver commented 6 years ago

Hi. Late reply ... I don't think it's possible as when you go on another hotspot, the name is the same but it's another wifi network so that requires a new authentication with user/password. Maybe with the MAC address it could work as it's automatic. To be checked

kaellau commented 6 years ago

Thanks. I will try to check with MAC address authentication then.

EasyVoiceTel commented 6 years ago

I'm pretty curious at this one! I just use multiple pi's and add users manually, maybe a sync function is possible for an update?

pihomeserver commented 6 years ago

@EasyVoiceTel that's not required you have to use only one instance of Freeradius

EasyVoiceTel commented 6 years ago

@EasyVoiceTel that's not required you have to use only one instance of Freeradius

Really how to tie them together?

kaellau commented 6 years ago

@EasyVoiceTel It is quite simple to link them together actually. You may referencing #113.

EasyVoiceTel commented 6 years ago

@EasyVoiceTel It is quite simple to link them together actually. You may referencing #113.

Okay I read the topic but does the pie's need to see each other via wifi?

pihomeserver commented 6 years ago

No. The point is that you just share the same freeradius server.

EasyVoiceTel commented 6 years ago

Like how is there an a to z manual for that? Thanks (still a newbie)

Op 9 okt. 2018, om 19:49 heeft Pi Home Server notifications@github.com het volgende geschreven:

No. The point is that you just share the same freeradius server.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pihomeserver/Kupiki-Hotspot-Script/issues/134#issuecomment-428286457, or mute the thread https://github.com/notifications/unsubscribe-auth/AkjvDJ3TE_2uaOZ-eudwHzFuLanHBP4dks5ujOGSgaJpZM4W8As0.

pihomeserver commented 6 years ago

Look at the original post. On "slave" pi in the coova configuration set the param for the radius ip server with the ip of the master one. Of course it must be reachable !

reigelgallarde commented 5 years ago

any reason why you would want this kind of setup @12e1121 ?

pihomeserver commented 5 years ago

@reigelgallarde That could be useful to have only central place to declare, store and mange users for different access points

kaellau commented 5 years ago

@pihomeserver Indeed. However, I seems can't make sure every connections / packets from multiple access points route to central place.

reigelgallarde commented 5 years ago

Anyway, I asked because this might not be the ideal setup.

Like, why not use some outdoor AP that has a wider range? Because I've read his setup has the same WiFi interface, SSID, and Channel... Thinking, if the hotspot is just in one area, wider range AP should be suitable solution...

kaellau commented 5 years ago

@reigelgallarde I think it is a different scenario. My intention is to increase the number of APs and one Master AP control of multiple salves AP instead of improve the range of AP.