[RADIATOR] Installation on OpenWRT

Hugh Irvine hugh at open.com.au
Mon Aug 23 18:43:36 CDT 2010


Hello Andrea -

It looks like Perl is missing "POSIX.pm" (at least) so I would suspect that Perl does not have all its additional modules installed.

regards

Hugh


On 23 Aug 2010, at 19:56, Andrea Coppini (AIR Networks) wrote:

> I was having problems with the evaluation complaining about a license, so I
> decided to rebuild the entire OpenWRT installation from scratch.
> 
> Went through the process, installed Perl and copied/untar'd Radiator as per
> FAQ (http://www.open.com.au/radiator/faq.html#188), but when I run radiusd,
> I get the following:
> 
> root at OpenWrt:/Radiator-Locked-4.7# perl radiusd -config radius2.cfg
> AutoLoader.pm did not return a true value at /usr/lib/perl5/5.10/POSIX.pm
> line 9, <_> line 575.
> BEGIN failed--compilation aborted at /usr/lib/perl5/5.10/POSIX.pm line 9,
> <_> line 575.
> Compilation failed in require at Radius/Util.pm line 15, <_> line 575.
> BEGIN failed--compilation aborted at Radius/Util.pm line 15, <_> line 575.
> Compilation failed in require at Radius/Configurable.pm line 16, <_> line
> 575.
> BEGIN failed--compilation aborted at Radius/Configurable.pm line 16, <_>
> line 575.
> Compilation failed in require at Radius/ServerConfig.pm line 11, <_> line
> 575.
> BEGIN failed--compilation aborted at Radius/ServerConfig.pm line 11, <_>
> line 575.
> Compilation failed in require at (eval 8) line 20, <_> line 575.
> BEGIN failed--compilation aborted at (eval 8) line 20, <_> line 575.
>        ...caught at radiusd line 2, <_> line 575.
> root at OpenWrt:/Radiator-Locked-4.7#
> 
> 
> I have tried goodies/simple.cfg, ./radius.cfg and ./radius2.cfg.  All the
> same.  Where did I go wrong?
> 
> 
> A
> 
> -----Original Message-----
> From: Hugh Irvine [mailto:hugh at open.com.au] 
> Sent: 21 August 2010 1:08 AM
> To: Andrea Coppini (AIR Networks)
> Cc: 'radiator list'
> Subject: Re: [RADIATOR] Installation on OpenWRT
> 
> 	
> Hello Andrea -
> 
> Yes the same evaluation version will work on Linux.
> 
> regards
> 
> Hugh
> 
> 
> On 20 Aug 2010, at 21:38, Andrea Coppini (AIR Networks) wrote:
> 
>> That's great news..
>> 
>> The only thing that's left now is the license issue.  Isn't there an eval
>> version of Radiator for linux?   I know I could run an eval on Windows.
>> 
>> Regards
>> Andrea
>> 
>> 
>> -----Original Message-----
>> From: Hugh Irvine [mailto:hugh at open.com.au] 
>> Sent: 20 August 2010 7:05 AM
>> To: Andrea Coppini (AIR Networks)
>> Cc: radiator list
>> Subject: Re: [RADIATOR] Installation on OpenWRT
>> 
>> 
>> Hello Andrea -
>> 
>> The FAQ now has an item on this topic.
>> 
>> 	http://www.open.com.au/radiator/faq.html#188
>> 
>> regards
>> 
>> Hugh
>> 
>> 
>> On 20 Aug 2010, at 10:58, Mike McCauley wrote:
>> 
>>> Hi Andrea,
>>> 
>>> thats a good tip. Thanks.
>>> 
>>> I have installed openwrt kamikaze x86 under qemu here and perl as
> advised.
>>> 
>>> When I installed the perlbase packages, I noticed that the perlbase *dbm 
>>> packages failed to install. The absence of these modules explains most of
>> the 
>>> problems you saw in the test suite. 
>>> 
>>> When I run 'perl Makefile.pl', is see the same ExtUtils error you saw,
> and
>> no 
>>> Makefile was produced. I put this down to a broken OPenWRT perl ExtUtils 
>>> package. That means you wont be able to do a make install.
>>> 
>>> Nevertheless when running Radiator from within the distribution
> directory,
>> it 
>>> starts fine and answers simple requests (at least) from radpwtst.
>>> 
>>> Cheers.
>>> 
>>> On Friday 20 August 2010 09:50:59 am you wrote:
>>>> Hi Mike,
>>>> 
>>>> Me too, but came across this command:
>>>> 
>>>> opkg list | grep -o -E perl-\\w+ | xargs opkg install
>>>> opkg list | grep -o -E perlbase-\\w+ | xargs opkg install
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> -----Original Message-----
>>>> From: Mike McCauley [mailto:mikem at open.com.au]
>>>> Sent: 20 August 2010 1:42 AM
>>>> To: Andrea Coppini (AIR Networks)
>>>> Subject: Re: [RADIATOR] Installation on OpenWRT
>>>> 
>>>> Hello Andrea,
>>>> 
>>>> On Friday 20 August 2010 08:54:37 am you wrote:
>>>>> Installed OpenWRT (on Metarouter - package sources
>>>>> http://openwrt.pantele.com.ua/trunk/metarouter/packages/)
>>>>> 
>>>>> Configured IP settings only
>>>>> 
>>>>> Installed all perl* and perlbase* packages using opkg
>>>> 
>>>> sorry, openwrt beginner:
>>>> 
>>>> how did you  Installed all perl* and perlbase* packages using opkg
>>>> 
>>>> Cheers.
>>>> 
>>>>> Downloaded Radiator-Locked-4.7.tgz to the root path (/)
>>>>> 
>>>>> Used gunzip to unpack the file to /Radiator-Locked-4.7/
>>>>> 
>>>>> Tried to install, failed.
>>>>> Tried to run the tests as explained below.
>>>>> 
>>>>> 
>>>>> 
>>>>> -----Original Message-----
>>>>> From: radiator-bounces at open.com.au
> [mailto:radiator-bounces at open.com.au]
>>>> 
>>>> On
>>>> 
>>>>> Behalf Of Mike McCauley
>>>>> Sent: 20 August 2010 12:47 AM
>>>>> To: radiator at open.com.au
>>>>> Subject: Re: [RADIATOR] Installation on OpenWRT
>>>>> 
>>>>> Hello Andrea,
>>>>> 
>>>>> Im going to try to reproduce this.
>>>>> What perl did you install?
>>>>> precisely how did you install perl?
>>>>> 
>>>>> Cheers.
>>>>> 
>>>>> On Friday 20 August 2010 01:16:06 am Andrea Coppini (AIR Networks)
>> wrote:
>>>>>> Hi,
>>>>>> 
>>>>>> I'm trying to install Radiator on an OpenWRT OS (www.openwrt.org).  I
>>>>>> have 256Mb of disk and 32Mb of RAM allocated to OpenWRT, which should
>>>>>> be
>>>>> 
>>>>> plenty.
>>>>> 
>>>>>> I have installed all the Perl and Perlbase modules successfully, and
>>>>>> unzipped Radiator-Locked-4.7 to the root.  I'm logged in as root, no
>>>>>> password (this is a test system).
>>>>>> 
>>>>>> When I run 'perl Makefile.PL', I get the following error:
>>>>>> ----
>>>>>> ExtUtils/Install.pm did not return a true value at Makefile.PL line
> 14.
>>>>>> BEGIN failed--compilation aborted at Makefile.PL line 14.
>>>>>> ----
>>>>>> Any ideas what this might be? And how I could fix it?
>>>>>> 
>>>>>> 
>>>>>> Regards
>>>>>> Andrea
>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> radiator mailing list
>>>>>> radiator at open.com.au
>>>>>> http://www.open.com.au/mailman/listinfo/radiator
>>> 
>>> 
>>> 
>>> -- 
>>> Mike McCauley                               mikem at open.com.au
>>> Open System Consultants Pty. Ltd
>>> 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, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
>>> DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare
>> etc.
>>> _______________________________________________
>>> radiator mailing list
>>> radiator at open.com.au
>>> http://www.open.com.au/mailman/listinfo/radiator
>> 
>> 
>> 
>> NB: 
>> 
>> Have you read the reference manual ("doc/ref.html")?
>> Have you searched the mailing list archive
>> (www.open.com.au/archives/radiator)?
>> Have you had a quick look on Google (www.google.com)?
>> Have you included a copy of your configuration file (no secrets), 
>> together with a trace 4 debug showing what is happening?
>> 
>> -- 
>> Radiator: the most portable, flexible and configurable RADIUS server
>> anywhere. Available on *NIX, *BSD, Windows, MacOS X.
>> Includes support for reliable RADIUS transport (RadSec),
>> and DIAMETER translation agent.
>> -
>> Nets: internetwork inventory and management - graphical, extensible,
>> flexible with hardware, software, platform and database independence.
>> -
>> CATool: Private Certificate Authority for Unix and Unix-like systems.
>> 
>> 
>> 
>> 
> 
> 
> 
> NB: 
> 
> Have you read the reference manual ("doc/ref.html")?
> Have you searched the mailing list archive
> (www.open.com.au/archives/radiator)?
> Have you had a quick look on Google (www.google.com)?
> Have you included a copy of your configuration file (no secrets), 
> together with a trace 4 debug showing what is happening?
> 
> -- 
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. Available on *NIX, *BSD, Windows, MacOS X.
> Includes support for reliable RADIUS transport (RadSec),
> and DIAMETER translation agent.
> -
> Nets: internetwork inventory and management - graphical, extensible,
> flexible with hardware, software, platform and database independence.
> -
> CATool: Private Certificate Authority for Unix and Unix-like systems.
> 
> 
> 
> 



NB: 

Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets), 
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.





More information about the radiator mailing list