[RADIATOR] Installation on OpenWRT

Hugh Irvine hugh at open.com.au
Thu Aug 19 16:38:45 CDT 2010


Hello Andrea -

You just need to run Radiator directly from the distribution source directory:

	
	cd /your/Radiator/source/directory

	perl test.pl

	……

	perl radiusd -foreground -log_stdout -trace 4 -config_file /your/Radiator/configuration/file

	…..


You would of course use your local pathnames in the above and in the example below.

You don't need anything else.

Don't do "make install" and set up your startup script with fully qualified pathnames something like this:


	/usr/bin/perl -I /usr/local/src/Radiator/Radiator-4.7 /usr/local/src/Radiator/Radiator-4.7/radiusd -config_file /usr/local/etc/radius/your_configuration.cfg


Please let us know how you get on.

regards

Hugh



On 20 Aug 2010, at 02:59, Andrea Coppini (AIR Networks) wrote:

> Package info:
> 
> Package: perlbase-extutils
> Version: 5.10.0-2
> Depends: perl
> Provides: 
> Source: feeds/packages/lang/perl
> Section: lang
> Priority: optional
> Maintainer: Peter Colberg <peter at petercolberg.org>
> Architecture: metarouter
> Installed-Size: 515262
> Filename: perlbase-extutils_5.10.0-2_metarouter.ipk
> Size: 142072
> MD5Sum: 554e68044a0e362139a52039d79712a2
> Description:  ExtUtils perl module
> 
> 
> 
> -----Original Message-----
> From: radiator-bounces at open.com.au [mailto:radiator-bounces at open.com.au] On
> Behalf Of Andrea Coppini (AIR Networks)
> Sent: 19 August 2010 6:55 PM
> To: radiator at open.com.au
> Subject: Re: [RADIATOR] Installation on OpenWRT
> 
> Line 14 of Makefile.pl has "use ExtUtils::Install".
> 
> I'm suspecting ExtUtils are old or incomplete, how do I check which version
> they are?  Remember I have installed these with OPKG, from the source at
> http://openwrt.pantele.com.ua/trunk/metarouter/packages
> 
> TOP only shows 8644k are being used, but I've now increased the RAM
> allocation to 64Mb to be safe.
> 
> Regards
> Andrea
> 
> -----Original Message-----
> From: radiator-bounces at open.com.au [mailto:radiator-bounces at open.com.au] On
> Behalf Of Alexander Hartmaier
> Sent: 19 August 2010 6:09 PM
> To: radiator at open.com.au
> Subject: Re: [RADIATOR] Installation on OpenWRT
> 
> Hi,
> 
> Radiator is written in Perl, so check line 14 of Makefile.PL and figure
> out what's going wrong.
> Maybe some of your Perl modules are too old.
> 32MB of memory are really not much!
> Radiator takes 28MB on our prod server which isn't really a lot for a
> Perl app.
> 
> --
> Best regards, Alex
> 
> 
> Am Donnerstag, den 19.08.2010, 17:16 +0200 schrieb Andrea Coppini (AIR
> Networks):
>> 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
> 
> 
> *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
> *
> T-Systems Austria GesmbH   Rennweg 97-99, 1030 Wien
> Handelsgericht Wien, FN 79340b
> *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
> *
> Notice: This e-mail contains information that is confidential and may be
> privileged.
> If you are not the intended recipient, please notify the sender and then
> delete this e-mail immediately.
> *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
> *
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator
> 
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator
> 
> _______________________________________________
> 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.





More information about the radiator mailing list