Hi, I have a Raspberry Pi running Raspbian, and I have configured it as a wifi hotspot using Hostapd and dhcp server. Mobile clients connect to the wifi network and browse internet. I need to keep the track of each user, how much internet data it uses, and also need to limit the user to particular data limit (e.g:1 GB). I need to track data plan, as well how much data used or left for particular user.
Which tool or configuration will allow me to achieve this scenario?
Thanks in Advance.
On Mon, Aug 25, 2014 at 7:55 PM, Rahul Mahale rahul.mahale123@gmail.com wrote:
Hi, I have a Raspberry Pi running Raspbian, and I have configured it as a wifi hotspot using Hostapd and dhcp server. Mobile clients connect to the wifi network and browse internet. I need to keep the track of each user, how much internet data it uses, and also need to limit the user to particular data limit (e.g:1 GB). I need to track data plan, as well how much data used or left for particular user.
Which tool or configuration will allow me to achieve this scenario?
Make all traffic go through a proxy server located at the egress point of your network. Try find some metering software or write something yourself which would be an interesting project.
-- Arun Khan
Hi, I have a Raspberry Pi running Raspbian, and I have configured it as a
wifi
hotspot using Hostapd and dhcp server. Mobile clients connect to the wifi network and browse internet. I need to keep the track of each user, how much internet data it uses, and also need to limit the user to particular data limit (e.g:1 GB). I need to track data plan, as well how much data used or left for particular user.
Which tool or configuration will allow me to achieve this scenario?
Make all traffic go through a proxy server located at the egress point of your network. Try find some metering software or write something yourself which would be an interesting project.
And share it under GPL :)
-- Arun Khan
On Mon, Aug 25, 2014 at 9:07 PM, Siji Sunny sijisunny@gmail.com wrote:
Hi, I have a Raspberry Pi running Raspbian, and I have configured it as a
wifi
hotspot using Hostapd and dhcp server. Mobile clients connect to the
wifi
network and browse internet. I need to keep the track of each user, how much internet data it uses, and also need to limit the user to
particular
data limit (e.g:1 GB). I need to track data plan, as well how much data used or left for particular user.
Which tool or configuration will allow me to achieve this scenario?
Make all traffic go through a proxy server located at the egress point of your network. Try find some metering software or write something yourself which would be an interesting project.
And share it under GPL :)
Squid-cache with delay pool permits quota. Squidclient provides monitoring
-- Arun Khan
-- Siji Sunny -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
On 25 August 2014 19:55, Rahul Mahale rahul.mahale123@gmail.com wrote:
Hi, I have a Raspberry Pi running Raspbian, and I have configured it as a wifi hotspot using Hostapd and dhcp server. Mobile clients connect to the wifi network and browse internet. I need to keep the track of each user, how much internet data it uses, and also need to limit the user to particular data limit (e.g:1 GB). I need to track data plan, as well how much data used or left for particular user.
Which tool or configuration will allow me to achieve this scenario?
Thanks in Advance.
*Rahul.R.Mahale.(**http://rahulmahale.wordpress.com/
http://rahulmahale.wordpress.com/**)*
Dear Rahul,
These systems will require a linux server/router box and little bit of setup( Sadly, i doubt the Pi has the grunt to run them.), but you can satisfy all your requirements and more. Again, it might be worth it if you are looking at doing this on an organized basis, but may be too much effort for just personal use.
http://www.freeside.biz/freeside/ http://www.citrusdb.org/ http://www.amberdms.com/
Thanks and Regards
R. K. Rajeev Ph : +91-9323802020
On 25 August 2014 19:55, Rahul Mahale rahul.mahale123@gmail.com wrote:
Hi, I have a Raspberry Pi running Raspbian, and I have configured it as a
wifi
hotspot using Hostapd and dhcp server. Mobile clients connect to the wifi network and browse internet. I need to keep the track of each user, how much internet data it uses, and also need to limit the user to particular data limit (e.g:1 GB). I need to track data plan, as well how much data used or left for particular user.
Which tool or configuration will allow me to achieve this scenario?
Thanks in Advance.
*Rahul.R.Mahale.(**http://rahulmahale.wordpress.com/
http://rahulmahale.wordpress.com/**)*
Dear Rahul,
These systems will require a linux server/router box and little bit of setup( Sadly, i doubt the Pi has the grunt to run them.), but you can satisfy all your requirements and more. Again, it might be worth it if you are looking at doing this on an organized basis, but may be too much effort for just personal use.
Squid will work without any issue on ARM platform, so RPi. Only you may need to compile it from source. Since the processing capacity of RPi is very low, you may not be able to handle much users/data.
http://www.freeside.biz/freeside/ http://www.citrusdb.org/ http://www.amberdms.com/
Thanks and Regards
R. K. Rajeev Ph : +91-9323802020 -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
On 26 August 2014 12:31, Siji Sunny sijisunny@gmail.com wrote:
On 25 August 2014 19:55, Rahul Mahale rahul.mahale123@gmail.com wrote:
Hi, I have a Raspberry Pi running Raspbian, and I have configured it as a
wifi
hotspot using Hostapd and dhcp server. Mobile clients connect to the
wifi
network and browse internet. I need to keep the track of each user, how much internet data it uses, and also need to limit the user to
particular
data limit (e.g:1 GB). I need to track data plan, as well how much data used or left for particular user.
Which tool or configuration will allow me to achieve this scenario?
Thanks in Advance.
*Rahul.R.Mahale.(**http://rahulmahale.wordpress.com/
http://rahulmahale.wordpress.com/**)*
Dear Rahul,
These systems will require a linux server/router box and little bit of setup( Sadly, i doubt the Pi has the grunt to run them.), but you can satisfy all your requirements and more. Again, it might be worth it if
you
are looking at doing this on an organized basis, but may be too much
effort
for just personal use.
Squid will work without any issue on ARM platform, so RPi. Only you may need to compile it from source. Since the processing capacity of RPi is very low, you may not be able to handle much users/data.
Siji, i was not taking about basic squid, but rather the ISP grade billing systems that i had listed in my mail as not being able to run on the RPi Specificaly(Remember, this is an ARMv6 platform, with very limited resources available, compared to something like the beagelboard black, ARMv7+lots more ram).
http://www.freeside.biz/freeside/ http://www.citrusdb.org/ http://www.amberdms.com/
Also, the way he described his setup, it looks like he has only minimal storage available(Agreed, my assumption), so he would have to add more flash/SDCard Storage to provide any meaningful caching with squid, else just use squid as a pass through to throttle/account data usage(And dont get me started on the required storage space for the log files for all that data usage accounting).
Thanks and Regards
R. K. Rajeev Ph : +91-9323802020
Thanks and Regards
R. K. Rajeev Ph : +91-9323802020 -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
-- Siji Sunny -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
On 26 August 2014 12:31, Siji Sunny sijisunny@gmail.com wrote:
On 25 August 2014 19:55, Rahul Mahale rahul.mahale123@gmail.com
wrote:
Hi, I have a Raspberry Pi running Raspbian, and I have configured it as a
wifi
hotspot using Hostapd and dhcp server. Mobile clients connect to the
wifi
network and browse internet. I need to keep the track of each user,
how
much internet data it uses, and also need to limit the user to
particular
data limit (e.g:1 GB). I need to track data plan, as well how much
data
used or left for particular user.
Which tool or configuration will allow me to achieve this scenario?
Thanks in Advance.
*Rahul.R.Mahale.(**http://rahulmahale.wordpress.com/
http://rahulmahale.wordpress.com/**)*
Dear Rahul,
These systems will require a linux server/router box and little bit of setup( Sadly, i doubt the Pi has the grunt to run them.), but you can satisfy all your requirements and more. Again, it might be worth it if
you
are looking at doing this on an organized basis, but may be too much
effort
for just personal use.
Squid will work without any issue on ARM platform, so RPi. Only you may need to compile it from source. Since the processing capacity of RPi is very low, you may not be able to handle much users/data.
Siji, i was not taking about basic squid, but rather the ISP grade billing systems that i had listed in my mail as not being able to run on the RPi Specificaly(Remember, this is an ARMv6 platform, with very limited resources available, compared to something like the beagelboard black, ARMv7+lots more ram).
This can be managed by Log-Cycle management and pushing data to a cloud server periodically. (which we are using ins some of our wifi projects, similar to his set-up).
http://www.freeside.biz/freeside/ http://www.citrusdb.org/ http://www.amberdms.com/
Also, the way he described his setup, it looks like he has only minimal storage available(Agreed, my assumption), so he would have to add more flash/SDCard Storage to provide any meaningful caching with squid, else just use squid as a pass through to throttle/account data usage(And dont get me started on the required storage space for the log files for all that data usage accounting).
Thanks and Regards
R. K. Rajeev Ph : +91-9323802020
Thanks and Regards
R. K. Rajeev Ph : +91-9323802020 -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
-- Siji Sunny -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers