(RADIATOR) Can't Install Digest::MD5

Hugh Irvine hugh at open.com.au
Sun Jun 13 10:49:36 CDT 2004


Hello MJ -

The Realm is the string after the "@" sign.

Ie. in this username

	hugh at open.com.au

the Realm is "open.com.au".

regards

Hugh



On 13 Jun 2004, at 16:30, MJ wrote:

> Sorry, It was my mistake, I was using a username which was not in the  
> users
> file. Now I have a running radius server with simple.cfg.
> Now I want to setup my radius in a way that it can receive request  
> from two
> different NAS, both the NAS should use different users file because  
> both
> have different set of users, how I can achieve this. Please help. Also  
> I am
> confused about "Realm", can you tell me what is the meaning of Realm,  
> sorry
> for the silly questions.
>
> MJ.
> ----- Original Message -----
> From: "MJ" <php at cyberia.net.sa>
> To: "Hugh Irvine" <hugh at open.com.au>
> Cc: <radiator at open.com.au>; <elias at tmnet.com.my>; "Stefan Riegelnik"
> <sriegelnik at netway.at>
> Sent: Sunday, June 13, 2004 1:07 PM
> Subject: Re: (RADIATOR) Can't Install Digest::MD5
>
>
>> Hi Hugh,
>> I started with simple.cfg, what to do nex ( I am new to Radius world)
>>
>> When we try to login, we are getting following error in the logfile,
> please
>> help.
>> MJ
>> =============================Logfile start===========================
>>
>> *** Received from 212.119.67.21 port 1645 ....
>> Code:       Access-Request
>> Identifier: 20
>> Authentic:  r<27><131><155><213><212>ie$qr<217>x<214>q<239>
>> Attributes:
>>         Framed-Protocol = PPP
>>         User-Name = "5011036473"
>>         User-Password =
>> "<178><27><229><189><214>\<170><202><209><161><132><255><226><238><152 
>> >k"
>>         NAS-Port-Type = Virtual
>>         NAS-Port = 23
>>         Calling-Station-Id = "77210097"
>>         Called-Station-Id = "3010"
>>         Service-Type = Framed-User
>>         NAS-IP-Address = 212.119.67.21
>>
>> Sun Jun 13 11:04:53 2004: DEBUG: Handling request with Handler
>> 'Realm=DEFAULT'
>> Sun Jun 13 11:04:53 2004: DEBUG:  Deleting session for 5011036473,
>> 212.119.67.21, 23
>> Sun Jun 13 11:04:53 2004: DEBUG: Handling with Radius::AuthFILE:
>> Sun Jun 13 11:04:53 2004: DEBUG: Radius::AuthFILE looks for match with
>> 5011036473
>> Sun Jun 13 11:04:53 2004: DEBUG: Radius::AuthFILE looks for match with
>> DEFAULT
>> Sun Jun 13 11:04:53 2004: DEBUG: Radius::AuthFILE REJECT: Check item
>> Service-Type expression 'Administrative-User' does not match 'F
>> ramed-User' in request
>> Sun Jun 13 11:04:53 2004: DEBUG: Radius::AuthFILE looks for match with
>> DEFAULT1
>> Sun Jun 13 11:04:53 2004: DEBUG: Radius::AuthFILE REJECT: Check item
>> Service-Type expression 'Login-User' does not match 'Framed-Use
>> r' in request
>> Sun Jun 13 11:04:53 2004: DEBUG: Radius::AuthFILE looks for match with
>> DEFAULT2
>> Sun Jun 13 11:04:53 2004: DEBUG: Radius::AuthFILE REJECT: Check item
>> Service-Type expression 'Outbound-User' does not match 'Framed-
>> User' in request
>> Sun Jun 13 11:04:53 2004: DEBUG: Radius::AuthFILE looks for match with
>> DEFAULT3
>> Sun Jun 13 11:04:53 2004: WARNING: Could not find Identifier for  
>> Auth-Type
>> 'System'
>> Sun Jun 13 11:04:53 2004: DEBUG: Radius::AuthFILE REJECT: Could not  
>> find
>> Identifier for Auth-Type 'System'
>> Sun Jun 13 11:04:53 2004: DEBUG: Radius::AuthFILE looks for match with
>> DEFAULT4
>> Sun Jun 13 11:04:53 2004: DEBUG: Radius::AuthFILE REJECT: Username not
>> suffixed with .ppp
>> Sun Jun 13 11:04:53 2004: DEBUG: Radius::AuthFILE looks for match with
>> DEFAULT5
>>
>> =============================Logfile end===========================
>>
>>
>> ----- Original Message -----
>> From: "Hugh Irvine" <hugh at open.com.au>
>> To: "MJ" <php at cyberia.net.sa>
>> Cc: <radiator at open.com.au>; <elias at tmnet.com.my>; "Stefan Riegelnik"
>> <sriegelnik at netway.at>
>> Sent: Wednesday, June 02, 2004 2:01 PM
>> Subject: Re: (RADIATOR) Can't Install Digest::MD5
>>
>>
>>>
>>> Hello MJ -
>>>
>>> When testing first of all you should run radiusd from the Radiator
>>> distribution directory like this:
>>>
>>> perl radiusd -foreground -log_stdout -config_file ......
>>>
>>> where ..... is the fully qualified path name of the configuration  
>>> file.
>>>
>>> If you have the configuration file in the Radiator distribution
>>> directory you can do this:
>>>
>>> cd /usr/local/src/Radiator/Radiator-3.9
>>>
>>> pc-00011:/usr/local/src/Radiator/Radiator-3.9 hugh$ perl radiusd
>>> -foreground -log_stdout -config_file simple.cfg
>>>
>>> Wed Jun  2 20:57:28 2004: DEBUG: Reading users file ./users
>>> Wed Jun  2 20:57:28 2004: DEBUG: Finished reading configuration file
>>> 'simple.cfg'
>>> Wed Jun  2 20:57:28 2004: DEBUG: Reading dictionary file  
>>> './dictionary'
>>> Wed Jun  2 20:57:28 2004: DEBUG: Creating authentication port
>>> 0.0.0.0:1645
>>> Wed Jun  2 20:57:28 2004: DEBUG: Creating accounting port  
>>> 0.0.0.0:1646
>>> Wed Jun  2 20:57:28 2004: NOTICE: Server started: Radiator 3.9 on
>>> pc-00011.irvine.com.au
>>>
>>> .....
>>>
>>> The standard Radiator dictionary file is located in the main Radiator
>>> distribution directory.
>>>
>>> Once you have things working you should set up a directory which will
>>> be referenced by DbDir in the configuration file.
>>>
>>> I generally use "/usr/local/etc/radius" for this purpose (and
>>> "/var/log/radius" for logging with LogDir).
>>>
>>> Then you can copy the dictionary file into that directory.
>>>
>>> regards
>>>
>>> Hugh
>>>
>>>
>>>
>>> On 2 Jun 2004, at 18:38, MJ wrote:
>>>
>>>> At my first launch of Radiator, I am getting the following error, I
>>>> using
>>>> simple.cfg as /etc/radiator/radius.cfg, I know it is looking for
>>>> dictionary
>>>> and other databse files, but from where I can create, is there any
>>>> sample
>>>> dictionary file etc?
>>>>
>>>> MJ.
>>>>
>>>>
>>>> Wed Jun  2 11:30:55 2004: DEBUG: Reading dictionary file
> './dictionary'
>>>> Wed Jun  2 11:30:55 2004: ERR: Could not open dictionary file
>>>> './dictionary': No such file or directory
>>>> Couldn't create dictionary from './dictionary'. Check log for more
>>>> information: No such file or directory at (eval 8) line 436.
>>>>         ...caught at /usr/local/bin/radiusd line 5.
>>>>
>>>>
>>>> ----- Original Message -----
>>>> From: "Hugh Irvine" <hugh at open.com.au>
>>>> To: "MJ" <php at cyberia.net.sa>
>>>> Cc: <radiator at open.com.au>; <elias at tmnet.com.my>; "Stefan Riegelnik"
>>>> <sriegelnik at netway.at>
>>>> Sent: Wednesday, June 02, 2004 4:08 AM
>>>> Subject: Re: (RADIATOR) Can't Install Digest::MD5
>>>>
>>>>
>>>>>
>>>>> Hello MJ -
>>>>>
>>>>> On Solaris you will need to install both gcc and Perl (which is  
>>>>> built
>>>>> using gcc) from Sunfreeware.com.
>>>>>
>>>>> This is because the Perl that is supplied with Solaris has been
>>>>> compiled with the Solaris C complier, not gcc.
>>>>>
>>>>> BTW - you should also install bash, ethereal, top, and all of your
>>>>> other favourite tools.
>>>>>
>>>>> regards
>>>>>
>>>>> Hugh
>>>>>
>>>>>
>>>>> On 2 Jun 2004, at 00:25, MJ wrote:
>>>>>
>>>>>> Thanks, I will do it.
>>>>>>
>>>>>> MJ
>>>>>> ----- Original Message -----
>>>>>> From: <elias at tmnet.com.my>
>>>>>> To: "MJ" <php at cyberia.net.sa>
>>>>>> Cc: "Stefan Riegelnik" <sriegelnik at netway.at>;
> <radiator at open.com.au>
>>>>>> Sent: Tuesday, June 01, 2004 5:01 PM
>>>>>> Subject: Re: (RADIATOR) Can't Install Digest::MD5
>>>>>>
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> You'll need to have perl which is linked to gcc during
> installation.
>>>>>> Downloading the copy of perl from sunfreeware should solve this.
>>>>>>>
>>>>>>>
>>>>>>> - Elias -
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ----- Original Message -----
>>>>>>> From: MJ <php at cyberia.net.sa>
>>>>>>> Date: Tuesday, June 1, 2004 8:05 pm
>>>>>>> Subject: Re: (RADIATOR) Can't Install Digest::MD5
>>>>>>>
>>>>>>>> I have already installed gcc from sunfreeware.com. Any idea?
>>>>>>>> MJ
>>>>>>>>
>>>>>>>> ----- Original Message -----
>>>>>>>> From: "Stefan Riegelnik" <sriegelnik at netway.at>
>>>>>>>> To: "MJ" <php at cyberia.net.sa>
>>>>>>>> Sent: Tuesday, June 01, 2004 2:52 PM
>>>>>>>> Subject: Re: (RADIATOR) Can't Install Digest::MD5
>>>>>>>>
>>>>>>>>
>>>>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>>>>> Hash: SHA1
>>>>>>>>>
>>>>>>>>> Hallo,
>>>>>>>>>
>>>>>>>>> You have to install a compiler (cc is a compiler) to compie  
>>>>>>>>> MD5.
>>>>>>>>>
>>>>>>>>> REgards, Stefan
>>>>>>>>>
>>>>>>>>> Thus spake MJ on 01.06 13:52:
>>>>>>>>>> As a prerequisite of Radiator, I am trying to install
>>>>>>>>>> Digest-MD5-2.33 (downloaded from CPAN) on Solaris 8, but
>>>>>>>> getting the
>>>>>>>>>> following error, any clue
>>>>>>>>>>
>>>>>>>>>> #perl Makefile.PL
>>>>>>>>>>
>>>>>>>>>> Testing alignment requirements for U32... Can't exec "cc": No
>>>>>>>> such file
>>>>>>>> or
>>>>>>>>>> directory at Makefile.PL line 126.
>>>>>>>>>> Can't compile test program.  Will ensure alignment to play  
>>>>>>>>>> safe.
>>>>>>>>>>
>>>>>>>>>> Warning: prerequisite Digest::base 1.00 not found at (eval 1)
>>>>>>>> line 220.
>>>>>>>>>> Writing Makefile for Digest::MD5
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> ________________________
>>>>>>>>>> Mohammad Junaid
>>>>>>>>>
>>>>>>>>> - --
>>>>>>>>> Stefan Riegelnik               sriegelnik at netway.at
>>>>>>>>> Non esistono uomini cattivi - dice l'orso -
>>>>>>>>> se sono cucinati bene.     Stefano Benni
>>>>>>>>> Phone: +43 1 9009 4643    Mobile: +43 6991 388 4643
>>>>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>>>>> Version: GnuPG v1.2.2 (GNU/Linux)
>>>>>>>>>
>>>>>>>>> iD8DBQFAvG32TItIMi1CpmERAtCYAJsEwzcVVcP3gOSi1/ 
>>>>>>>>> oHIlTR7flcrwCfWkB4
>>>>>>>>> zMe22Lwm+bdGhKypA0vPwKI=
>>>>>>>>> =R1Zp
>>>>>>>>> -----END PGP SIGNATURE-----
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> 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.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> 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.
>>>>>>
>>>>>>
>>>>>
>>>>> NB: 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.
>>>>> -
>>>>> 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 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.
>>> -
>>> 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.
>>>
>>>
>>
>>
>> --
>> 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.
>>
>
>

NB: 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.
-
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.

--
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