[ previous ] [ next ] [ threads ]
 
 From:  "Pascal Suter" <mail at psuter dot ch>
 To:  <m0n0wall dash dev at lists dot m0n0 dot ch>
 Subject:  local usermanager
 Date:  Mon, 7 Mar 2005 23:39:53 +0100
hi everybody
 
i have seen this requested several times on the mailinglists and i myself have a certain scenario
where i need it. i am talking about a local usermanager to be used instead of an external RADIUS
server. many people find that useful because they don't want to have an extra computer running all
the time just to be able to have some username/password combinations for the captive portal. 
putting a radius server onto the monowall is not an issue since it's too big and i think those
people who don't want to have an extra computer don't have to manage thousands of user accounts so
we're talking about some, say 5 or 10 accounts. 
 
i have programmed my own patch for version 1.11 over the last week-end and i have now portet it to
1.2b6. i have not yet added the speed-limit things, so it only allowes username, password, a
description and an expiration date (since i need that ;) ) to be used. if you want this you release,
i can of course work it out a bit and do for example some value testing, implement two more fields
for the bandwidth limits and maybe put it into a fourth tab in services_captiveportal.php (i don't
mean in that specific file, but visibly on this page)
 
for those of you who want to try it out: download
http://www.psuter.ch/downloads/patch_1.2b6_usermanager.tar and extract it to your monowall (the
directory structure is incloded) and chmod 755 all files. 
for all those who just want to apply the patch but dont know how: 
upload the file, then run: 
tar -C / -xf /tmp/patch_1.2b6_usermanager2.tar
chmod -R 755 /usr/local
chmod -R 755 /etc/inc
 
hope this thing is of any use for anybody.. 
cheers
pascal 
 
PS: since i am quite new to the mailing list, some words about me: 
i am from switzerland, more precisely from the area of Zurich, i'm 25 years old, i study
computerscience and economics at the university of zurich and i run a little web-design company
together with a firend of mine (w3design.ch) 
i have bought a pcengines wrap board in january 05. since that i am a very happy user. since i'm
currently on vacation (in the mountains for snowboarding) i talked to the guy who owns the
apartement we rent and several others and iv'e asked him about wlan internet access since he doesn't
offer anything like that (so i'm currently forced to use dial-up). i then thaught about using a
monowall but he doesn't want to have a pc running 24/7 just for the authentication (he needs
authentication because he would "sell" internet access as an optional extra to the appartment).
that's when i started setting up a test environment (with virtual pc's) on my laptop and playing
around with it.
i have never had any contact with freebsd so far but i program php for quite a while now (about 4
years). tomorrow i should get a set of freebsd cd's which will probably occupy my other evenings up
here ;) 
okay, i think now you know enough ;)