<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 22, 2009, at 3:14 PM, J. Benjamin Dudley wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div lang="EN-US" link="blue" vlink="purple"><div class="Section1"><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; ">Hello,<o:p></o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; ">I’m currently working on a script that will allow patrons to access our wireless access points AFTER they use their Evergreen login and password.<o:p></o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; ">So far, I’ve got it so that a user can be authenticated, but for logging/security purposes, I would like to also be able to have their name recorded and library card number as well (although some users may login with their barcode, others can login with their OPAC username…I still want to have a record of their barcode).<o:p></o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; ">I’ve modified the PHP script at<span class="Apple-converted-space">&nbsp;</span><a href="http://drupalib.interoperating.info/ilsauthen" style="color: blue; text-decoration: underline; ">http://drupalib.interoperating.info/ilsauthen</a><span class="Apple-converted-space">&nbsp;</span>so that it runs separate from drupal.<o:p></o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; ">Is there a way to also gather the patron’s name &amp; barcode in the same manner?<o:p></o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 12pt; "><o:p>&nbsp;</o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 12pt; ">Thanks!<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 12pt; ">Benjamin Dudley<o:p></o:p></span></div></div></div></span></blockquote></div><div><br></div>Hello Benjamin,<div><br></div><div>We are using&nbsp;pfSense&nbsp;(www.pfsense.com)&nbsp;for&nbsp;our&nbsp;wireless&nbsp;captive&nbsp;portal&nbsp;against our Evergreen Consortia using SIP2. &nbsp;I'm logging library card #'s, date/time, IP, and mac address by default and adding more information would be trivial. &nbsp;You're welcome to splice &amp; dice my code for your purpose, but I'd highly recommend taking a look at pfSense for this task. &nbsp;You can set timeouts, and block users with fines.</div><div>The code is still a work in progress, but it's completely functional. &nbsp;pfSense has it's own logging facility for captive portal that I'm building upon for statistics.</div><div><a href="http://www.zionsville.lib.in.us/media/niles/">http://www.zionsville.lib.in.us/media/niles/</a><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 11px; ">pfsense_sip2_mod_v-001.tar.gz</span></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 11px;">should work fine with 1.2-RELEASE and 1.2.2</span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 11px;"><br></span></font></div><div><div> <span class="Apple-style-span" style="font-size: 12px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Niles Ingalls</div><div>UNIX &amp; Web Administrator</div><div>Hussey-Mayfield Memorial Public Library</div><div>250 N. Fifth Street</div><div>P.O. Box 840</div><div>Zionsville, IN. 46077</div><div><br></div><div>Phone<span class="Apple-converted-space">&nbsp;</span>&nbsp;<span class="Apple-converted-space">&nbsp;</span>317-873-3149 x13280</div><div>Fax<span class="Apple-converted-space">&nbsp;</span>&nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span>317-873-8339</div><div><br></div><div>"Confidence is what you have before you understand the problem." - Woody Allen</div></div></div></span> </div><br></div></body></html>