Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




460 posts

Ultimate Geek
Inactive user


# 12158 2-Mar-2007 04:08
Send private message

OK the topic is a little vague, let me explain my delemma.

I have ADSL, and due to events untold I will be moving to a plan which has excess usage. I will be having flatmates move in, and I want to keep track of how much internet each flatmate uses, and control their bandwidth.

Idealy, I want them to plug into the LAN (or the WIFI here) and be presented with a page to login, and then have internet access which is restricted/counted.

Basically a net-cafe at home.

PLEASE advise on which software I can use to get this going. I have been experimenting with Smoothwall however I'm having bad luck finding restriction features on a per-user basis and for non-HTTP.

Here is my hardware setup:

http://silenceisdefeat.org/~weblordpepe/pepeslan.gif

The smoothwall machine is a p2 400MHz 96mb, 6gb HDD with two NICs working currently with Smoothwall 2 SP1. $37.50 from Super Shed in Chch.

I'm really clueless in this department, and I need flatmates in to cover my rent. Everyone wants internet access but I need a way of knowing who uses what etc. Any help would be appreciated times ten plus a million times infinity.



Create new topic
4527 posts

Uber Geek

Trusted

  # 62547 2-Mar-2007 08:20
Send private message

I think chillispot is designed for this

http://www.chillispot.org/release/release-0.91.html#mozTocId867888


If you're running smooth wall I assume you can install this (don't ask me how to run it, I just know of the program). 




Previously known as psycik

OpenHAB: Gigabyte AMD A8 BrixOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Xiaomi Humidity and Temperature sensors and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 10
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex




460 posts

Ultimate Geek
Inactive user


  # 62570 2-Mar-2007 12:55
Send private message

zomg
thats exactly what I was after.

How is it that hours and hours of google searching brought up a bunch of dead ends, but one reply on geekzone saved the day?
Nows I just gotta get a tiny linux distro which has RPM support. Thanks heaps.

I don't suppose you can reccomend me one. Damn small linux doesnt come with RPM support does it?

 
 
 
 


4527 posts

Uber Geek

Trusted

  # 62573 2-Mar-2007 13:26
Send private message

I don't know if VeryBusyBox can be run on a machine??  I only know about it and the chillispot because my Linksys WRT54G router using DD-WRT firmware instead of the linksys one is using VeryBusyBox linux.






Previously known as psycik

OpenHAB: Gigabyte AMD A8 BrixOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Xiaomi Humidity and Temperature sensors and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 10
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex




460 posts

Ultimate Geek
Inactive user


  # 62640 3-Mar-2007 01:35
Send private message

OK Looks like I've found the right thing to search for. A 'captive portal'. It seems there's a few things out there. After browsing em all it looks like Wifidog is the right thing.

It has the abilitity to do bandwidth accounting. IE  - user blobsmith has used 24mb this month, while user weblordpepe has used 3.2tb etc


290 posts

Ultimate Geek


  # 62668 3-Mar-2007 15:28
Send private message

I'd be interested to see how it turns out.... care to keep us posted?

643 posts

Ultimate Geek


  # 62717 4-Mar-2007 15:47

In Linux you can setup accounting without any extra software because Netfilter/iptables is awesome, but if you need control then look into chillispot.

in your iptables firewall script add the following (or similar):

iptables -A FORWARD -s bobs_ip
iptables -A FORWARD -d bobs_ip

to account based on MAC address instead of IP
iptables -A FORWARD -m mac --mac 00:11:22:33:44:55

and to view the data bobs_ip has used,
iptables -L FORWARD -v -n
to zero the counters
iptables -Z FORWARD

(if you want a whole iptables script made from scratch PM me with your eth1, eth0, ips etc)

Setting up chillispot is easy but setting up a RADIUS server for authorisation and an accounting database is another topic. I've setup data billing systems at a number of hotels based on MySQL, FreeRADIUS, chillispot, apache+php with a web interface. You can do what you want with out-of-the-box FreeRADIUS talking to chillispot (without the tricky MySQL backend). PS Don't try and do time-based tokens and you'll save some headaches :-)

pfsense has a captive portal built in, with web-based config all the way, highly reccomended. smoothwall and ipcop are not really distros to run a MySQL and RADIUS server on but if you can find a pre-built package then go for it (cross-compiling to uClibc takes a bit of effort).




Sniffing the glue holding the Internet together

Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Logitech introduces new Made for Google keyboard and mouse devices
Posted 16-Oct-2019 13:36


MATTR launches to accelerate decentralised identity
Posted 16-Oct-2019 10:28


Vodafone X-Squad powers up for customers
Posted 16-Oct-2019 08:15


D Link ANZ launches EXO Smart Mesh Wi Fi Routers with McAfee protection
Posted 15-Oct-2019 11:31


Major Japanese retailer partners with smart New Zealand technology IMAGR
Posted 14-Oct-2019 10:29


Ola pioneers one-time passcode feature to fight rideshare fraud
Posted 14-Oct-2019 10:24


Spark Sport new home of NZC matches from 2020
Posted 10-Oct-2019 09:59


Meet Nola, Noel Leeming's new digital employee
Posted 4-Oct-2019 08:07


Registrations for Sprout Accelerator open for 2020 season
Posted 4-Oct-2019 08:02


Teletrac Navman welcomes AI tech leader Jens Meggers as new President
Posted 4-Oct-2019 07:41


Vodafone makes voice of 4G (VoLTE) official
Posted 4-Oct-2019 07:36


2degrees Reaches Milestone of 100,000 Broadband Customers
Posted 1-Oct-2019 09:17


Nokia 1 Plus available in New Zealand from 2nd October
Posted 30-Sep-2019 17:46


Ola integrates Apple Pay as payment method in New Zealand
Posted 25-Sep-2019 09:51


Facebook Portal to land in New Zealand
Posted 19-Sep-2019 18:35



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.