(RADIATOR) Unable to install/configure EAP-SIM module

Mike McCauley mikem at open.com.au
Thu Feb 24 04:39:52 CST 2005


Hello Naresh,

On Thursday 24 February 2005 20:05, Naresh Mehta wrote:
> Hi All,
>
> Summary : Unable to install & configure EAP-SIM on Windows platform
> due to loadable object for Chipcard::PCSC module. I also checked FAQ &
> searched archieve for same problem.
>
>  I installed 'Radiator 3.11' on my Win2k3 server. This machine also
> runs Domain controller, DNS, DHCP server, CA etc. I have taken
> evaluation version for 30 days to evaluate Radiator for EAP-SIM
> against our client which supports EAP-SIM. I installed Radiator and
> LEAP is working fine.
OK.

>
> To test EAP-SIM I downloaded Radius-EAP-SIM-1.10.tar and extracted
> into a temp directry.
>  I configured my radius.cfg as below
>
> #RADIUS.CFG snippet
> .
> .
> .
> <Realm mnc400.mcc404.owlan.org>
> 	<AuthBy MAP>
> 		EAPType SIM
> 		TripletsFile "D:\Radiator\Radius-EAP-SIM-1.10\goodies\triplets.dat"
> 		#Pin 0000
> 	</AuthBy>
> 	AcctLogFileName	%D/detail
> </Realm>
>
> I also put my SIM triplets in required form in
> "D:\Radiator\Radius-EAP-SIM-1.10\goodies\triplets.dat"
>
> Now when I try to start radiusd, it started with following error
For this test, you must start your radiusd while in the 
D:\Radiator\Radius-EAP-SIM-1.10
directory.

>
> <Command Window snippet>
> C:\Documents and Settings\Administrator>perl c:\Perl\bin\radiusd
> Thu Feb 24 14:44:19 2005: ERR: Could not load AuthBy module
> Radius::AuthMAP: Can't locate Radius/AuthMAP.pm in @INC (@INC
> contains: . c:/Perl/lib c:/Perl/site/lib .) at (eval 29) line 3,
> <FILE> line 49.
>
> Thu Feb 24 14:44:19 2005: ERR: Unknown object 'AuthBy' in C:\Program
> Files\Radiator\radius.cfg line 49
> Thu Feb 24 14:44:19 2005: ERR: Could not load AuthBy module
> Radius::AuthMAP: Can't locate Radius/AuthMAP.pm in @INC (@INC
> contains: . c:/Perl/lib c:/Perl/site/lib .) at (eval 32) line 3,
> <FILE> line 85.
>
> Thu Feb 24 14:44:19 2005: ERR: Unknown object 'AuthBy' in C:\Program
> Files\Radiator\radius.cfg line 85
> Thu Feb 24 14:44:19 2005: DEBUG: Finished reading configuration file
> 'C:\Program Files\Radiator\radius.cfg'
> This Radiator license will expire on 2005-04-01
> This Radiator license will stop operating after 1000 requests
> To purchase an unlimited full source version of Radiator, see
> http://www.open.com.au/ordering.html
> To extend your license period, contact admin at open.com.au
>
> Thu Feb 24 14:44:19 2005: DEBUG: Reading dictionary file 'c:/Program
> Files/Radiator/dictionary'
> Thu Feb 24 14:44:20 2005: DEBUG: Creating authentication port 0.0.0.0:1645
> Thu Feb 24 14:44:20 2005: DEBUG: Creating accounting port 0.0.0.0:1646
> Thu Feb 24 14:44:20 2005: NOTICE: Server started: Radiator 3.11 on
> apps-2003server (LOCKED)
> ^C
> C:\Documents and Settings\Administrator>
> <End of command Window snippet>
>
>  Due to these errors, I copied required .pm files(authMAP.pm,
> simCard.pm etc 8 files which were extracted from
> Radius-EAP-SIM-1.10.tar) to C:\Perl\site\lib\Radius directory.

OK, but should not be necessary if you run the tests from within the EAP-SIM 
distribution directory.

>
> After putting these files, when I ran Radiator server, it gave
> following error & it did not start.
>
> <Command Window snippet>
> C:\Documents and Settings\Administrator>perl c:\Perl\bin\radiusd
> Thu Feb 24 14:37:41 2005: ERR: Could not load AuthBy module
> Radius::AuthMAP: Can't locate loadable object for module
> Chipcard::PCSC in @INC (@INC contains: . c:/Perl/lib c:/Perl/site/lib
> .) at c:/Perl/site/lib/Radius/SimCard.pm line 13
> Compilation failed in require at c:/Perl/site/lib/Radius/SimCard.pm
> line 13, <FILE> line 49.
> BEGIN failed--compilation aborted at
> c:/Perl/site/lib/Radius/SimCard.pm line 13, <FILE> line 49.
> Compilation failed in require at c:/Perl/site/lib/Radius/AuthMAP.pm
> line 23, <FILE> line 49.
> BEGIN failed--compilation aborted at
> c:/Perl/site/lib/Radius/AuthMAP.pm line 23, <FILE> line 49.
> Compilation failed in require at (eval 29) line 3, <FILE> line 49.
>
> Thu Feb 24 14:37:41 2005: ERR: Unknown object 'AuthBy' in C:\Program
> Files\Radiator\radius.cfg line 49
> Can't locate object method "new" via package "Radius::AuthMAP"
> (perhaps you forgot to load "Radius::AuthMAP"?) at
> c:/Perl/site/lib/Radius/Configurable.pm line 370, <FILE> line 85.
>         ...caught at c:\Perl\bin\radiusd line 2.
> <End of command Window snippet>
>
>
> Further I searched on google for 'Chipcard::PCSC' for Windows
> platform, but did not find. Did anybody faced same issue on windows
> plateform ? I need urgent help as I have this evaluation version for
> 30 days only.
Dont panic: we can extend you eval if necessary :-)

Chipcard::PCSC is part of the pcsc-perl module from 
http://ludovic.rousseau.free.fr/softwares/pcsc-perl/

I havent seen any windows PPM packages yet, so you may have to build it 
yourself. I had to slightly alter the Makefile.PL to make it compile on 
Windows, by changing the DEFINE line to:

    'DEFINE'    => '',

\>
> Thanks in advance,
> Naresh
>
> --
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.

-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
9 Bulbul Place Currumbin Waters QLD 4223 Australia   http://www.open.com.au
Phone +61 7 5598-7474                       Fax   +61 7 5598-7070

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP etc on Unix, Windows, MacOS etc.

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list