[RADIATOR] Installation on OpenWRT

Andrea Coppini (AIR Networks) andrea at air.com.mt
Thu Aug 19 18:40:24 CDT 2010


Installed the ntpclient package and synchronised, I still get the same
errors when testing.

Re. Localhost, it was configured in /etc/hosts.  I have also tried starting
radius with the radius2.cfg config file, and I still get the same license
error (but not the localhost error):

root at Metarouter:/Radiator-Locked-4.7# perl radiusd -foreground -log_stdout
-trace 4 -config_file radius2.cfg 
Thu Aug 19 22:39:57 2010: DEBUG: Finished reading configuration file
'radius2.cfg'
Thu Aug 19 22:39:57 2010: ERR: Incorrect LicenseKey. For keys, contact
info\@open.com.au
Incorrect LicenseKey. For keys, contact info\@open.com.au
root at Metarouter:/Radiator-Locked-4.7#





-----Original Message-----
From: Hugh Irvine [mailto:hugh at open.com.au] 
Sent: 20 August 2010 12:54 AM
To: Andrea Coppini (AIR Networks)
Cc: radiator at open.com.au
Subject: Re: [RADIATOR] Installation on OpenWRT


Hello Andrea -

Part of the problem in the first case is the date not set correctly:

> Starting 2 test servers. Please wait.Thu Jan  1 00:00:49 1970: ERR:

and most of the other problems are because "localhost" is not configured in
"/etc/hosts":

> Thu Aug 19 21:17:39 2010: WARNING: Host 'localhost' has no IP address at

Your "/etc/hosts" file should contain at the very least something like this:

# /etc/hosts

127.0.0.1       localhost


regards

Hugh



On 20 Aug 2010, at 08:27, Andrea Coppini (AIR Networks) wrote:

> Hi Hugh,
> 
> I tried that, got these results:
> 
> root at Metarouter:/Radiator-Locked-4.7# perl test.pl 
> Starting tests...
> Starting 2 test servers. Please wait.Thu Jan  1 00:00:49 1970: ERR:
> Incorrect LicenseKey. For keys, contact info\@open.com.au
> Incorrect LicenseKey. For keys, contact info\@open.com.au
> Thu Jan  1 00:01:04 1970: ERR: Incorrect LicenseKey. For keys, contact
> info\@open.com.au
> Incorrect LicenseKey. For keys, contact info\@open.com.au
> ....................
> Can't locate AnyDBM_File.pm in @INC (@INC contains: . /usr/lib/perl5/5.10
.)
> at builddbm line 49.
> not ok 1a
> not ok 1b
> not ok 1c
> not ok 1d
> not ok 1e
> not ok 2a
> ok 2b
> not ok 2c
> ok 2d
> ok 2e
> not ok 2f
> ok 2g
> not ok 2h
> ok 2i
> not ok 2j
> ok 2k
> not ok 2l
> not ok 2m
> not ok 2n
> not ok 2o
> ok 2p
> not ok 2q
> not ok 2r
> not ok 2s
> not ok 2t
> not ok 2u
> not ok 2v
> not ok 2w
> not ok 2x
> ==== I got bored waiting at this stage, so I did a CTRL+C ====
> ^Cnot ok 2y
> 
> ok 2z
> 
> ^Cnot ok 2aa
> 
> ^Cnot ok 2ab
> ^Cnot ok 3a
> ^Cok 3b
> ^Cok 3c
> ^Cnot ok 3d
> ^Cok 3e
> ^Cok 3f
> ^Cnot ok 3g
> ^Cnot ok 3h
> ^Cnot ok 4a
> ^Cok 4b
> ^Cok 4c
> ^Cnot ok 5a
> ^Cok 5b
> ^Cok 5c
> ^Ccat: can't open './radiusd.pid': No such file or directory
> sh: you need to specify whom to kill
> cat: can't open './radiusd2.pid': No such file or directory
> 
> 
> 
> 
> Nevertheless I try to start radius, as follows:
> root at Metarouter:/Radiator-Locked-4.7# perl radiusd -foreground -log_stdout
> -trac
> e 4 -config_file radius.cfg 
> 
> Thu Aug 19 21:17:37 2010: DEBUG: AuthTEST loaded
> Thu Aug 19 21:17:37 2010: DEBUG: New Radius::AuthTEST constructed
> Thu Aug 19 21:17:39 2010: WARNING: Host 'localhost' has no IP address at
> 'radius.cfg' line 
> Thu Aug 19 21:17:41 2010: DEBUG: Finished reading configuration file
> 'radius.cfg'
> Thu Aug 19 21:17:41 2010: ERR: Incorrect LicenseKey. For keys, contact
> info\@open.com.au
> Incorrect LicenseKey. For keys, contact info\@open.com.au
> root at Metarouter:/Radiator-Locked-4.7#
> 
> 
> Keep in mind this is an evaluation (test) installation, not sure why it's
> asking me for a license key.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Hugh Irvine [mailto:hugh at open.com.au] 
> Sent: 19 August 2010 11:39 PM
> To: Andrea Coppini (AIR Networks)
> Cc: radiator at open.com.au
> Subject: Re: [RADIATOR] Installation on OpenWRT
> 
> 
> 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.
> 
> 
> 
> 



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