I made a slight programming change to m0n0wall that adds an additional field on the captive portal
authentication page. M0n0wall then uses this field as both userid/password to present to the radius
You could get the same effect with no programming change to m0n0wall if you create the radius
account name and account password the same as your preprinted code -- i.e. sowo-dene-p8 is userid
and password, too. You would have to set up the userids ahead of time in the radius server with the
cutoff time and let radius keep up with the time the person has used.
From: Vittore Zen [mailto:drzen at gamebox dot net]
Sent: Tuesday, May 02, 2006 10:39 AM
To: m0n0wall at lists dot m0n0 dot ch
Subject: captive portal pay-per-use
someone has a single code (no username/password) method for a captive portal pay-per-use wireless
A user buy a card with a code with a bonus time of 60 minutes. Connect to the wife using captive
portal and surf the web.
Disconnect, connect,... only for a total of 60 minutes. After that the code is unavaible.
Authentication by radius :-)