All,
I am runnning radiator version 2.14.1 and am trying to get the restartWrapper
script to work properly.
I appended the following lines to my /etc/rc.d/rc3.d/S99local startup file
# Start Radiator's RestartWrapper process
#
/opt/radiator/2.14.1/goodies/restartWrapper -mail [EMAIL PROTECTED] \
-delay 2 "/opt/radiator/2.14.1/radiusd -config_file \
/opt/radiator/2.14.1/radius.cfg" &
In addition I have the "Foreground" command in my radius.cfg file.
When my linux box boots, both the restartWrapper process and the radiator
process run. However, user's are not able to authenticate against the SQL
database. Every time a user tries to login to the NAS, it appears that
radiator starts itself all over - as indicated by the repeating "INFO:
Server started" messages in the file below - yet the user's
"Access-Request" NEVER becomes and "Access-Accepted" and the user's session
gets Deleted.
The only way I can get radiator to work properly is to NOT use the
restartWrapper script, but rather, login in as root after the linux box has
been rebooted and manually execute the following command from
/opt/radiator/2.14.1
perl ./radiusd -config_file ./radius.cfg
This works all the time, i.e, a user's "Access-Request" becomes an
"Access-Accepted" and the user's get logged into the NAS. However, I must
manually start the process - hence the need to get the RestartWrapper
script to work.
A Level 4 Trace provides the following info.
Mon Feb 7 20:28:31 2000: DEBUG: Packet dump:
*** Received from 202.111.111.252 port 1645 ....
Code: Access-Request
Identifier: 31
Authentic: <171><167><173>+<235>mb<20><13>{I<171><2><222><246><231>
Attributes:
NAS-IP-Address = 202.111.111.252
NAS-Port = 15
NAS-Port-Type = Async
User-Name = "cmarfeo"
Called-Station-Id = "2323605"
CHAP-Password = "Q<133>U\r<7><1>cxn<133>Z<194>L<1><194>/"
Service-Type = Framed-User
Framed-Protocol = PPP
Mon Feb 7 20:28:31 2000: DEBUG: Handling request with Handler 'Realm='
Mon Feb 7 20:28:31 2000: DEBUG: Deleting session for cmarfeo,
202.111.111.252,
15
Mon Feb 7 20:28:31 2000: DEBUG: Handling with Radius::AuthSQL
Mon Feb 7 20:28:36 2000: INFO: Server started
Mon Feb 7 20:28:41 2000: DEBUG: Packet dump:
*** Received from 202.111.111.252 port 1645 ....
Code: Access-Request
Identifier: 31
Authentic: <171><167><173>+<235>mb<20><13>{I<171><2><222><246><231>
Attributes:
NAS-IP-Address = 202.111.111.252
NAS-Port = 15
NAS-Port-Type = Async
User-Name = "cmarfeo"
Called-Station-Id = "2323605"
CHAP-Password = "Q<133>U\r<7><1>cxn<133>Z<194>L<1><194>/"
Service-Type = Framed-User
Framed-Protocol = PPP
Mon Feb 7 20:28:41 2000: DEBUG: Handling request with Handler 'Realm='
Mon Feb 7 20:28:41 2000: DEBUG: Deleting session for cmarfeo,
202.111.111.252,
15
Mon Feb 7 20:28:41 2000: DEBUG: Handling with Radius::AuthSQL
Mon Feb 7 20:28:46 2000: INFO: Server started
Mon Feb 7 20:28:51 2000: DEBUG: Packet dump:
*** Received from 202.111.111.252 port 1645 ....
Code: Access-Request
Identifier: 31
Authentic: <171><167><173>+<235>mb<20><13>{I<171><2><222><246><231>
Attributes:
NAS-IP-Address = 202.111.111.252
NAS-Port = 15
NAS-Port-Type = Async
User-Name = "cmarfeo"
Called-Station-Id = "2323605"
CHAP-Password = "Q<133>U\r<7><1>cxn<133>Z<194>L<1><194>/"
Service-Type = Framed-User
Framed-Protocol = PPP
Mon Feb 7 20:28:51 2000: DEBUG: Handling request with Handler 'Realm='
Mon Feb 7 20:28:51 2000: DEBUG: Deleting session for cmarfeo,
202.111.111.252,
15
Mon Feb 7 20:28:51 2000: DEBUG: Handling with Radius::AuthSQL
Mon Feb 7 20:28:56 2000: INFO: Server started
Mon Feb 7 20:29:01 2000: DEBUG: Packet dump:
*** Received from 202.111.111.252 port 1645 ....
Code: Access-Request
Identifier: 31
Authentic: <171><167><173>+<235>mb<20><13>{I<171><2><222><246><231>
Attributes:
NAS-IP-Address = 202.111.111.252
NAS-Port = 15
NAS-Port-Type = Async
User-Name = "cmarfeo"
Called-Station-Id = "2323605"
CHAP-Password = "Q<133>U\r<7><1>cxn<133>Z<194>L<1><194>/"
Service-Type = Framed-User
Framed-Protocol = PPP
Mon Feb 7 20:29:01 2000: DEBUG: Handling request with Handler 'Realm='
Mon Feb 7 20:29:01 2000: DEBUG: Deleting session for cmarfeo,
202.111.111.252,
15
Mon Feb 7 20:29:01 2000: DEBUG: Handling with Radius::AuthSQL
Mon Feb 7 20:29:06 2000: INFO: Server started
Mon Feb 7 20:30:02 2000: DEBUG: Packet dump:
*** Received from 202.111.111.252 port 1645 ....
Code: Access-Request
Identifier: 32
Authentic: <248><206><135><173>JR<170><233><13>{I<171><240><136><20><156>
Any insight would be greatly appreciated.
John
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.