I was having problems with radwho after I changed the IP address of my
Radiator server . Following a suggestion I deleted my RADONINE database.
radwho is working HOWEVER, it only list connections from external realms. We
are using Megapop to outsource dialups. These are the only connections that
appear in radwho. Below is my radius.cfg
>>>
Trace 4
AuthPort 1645
AcctPort 1646
LogDir /usr/local/radius/log
LogFile
DbDir /usr/local/radius/raddb
DictionaryFile /usr/local/radius/dictionary.usr
PidFile /var/run/radiusd.pid
#<SNMPAgent>
# Community TeekieUptiC
#</SNMPAgent>
RewriteUsername tr/[A-Z]/[a-z]/
#the following will strip out the realms
RewriteUsername s/^([^@]+).*/$1/
<Client 63.112.159.252>
Secret xxxxxxx
NasType TotalControlSNMP
SNMPCommunity xxxxxxx
</Client>
<Client 63.112.159.254>
Secret xxxxxxx
NasType TotalControlSNMP
SNMPCommunity xxxxxxx
</Client>
<Client 206.165.153.21>
Secret xxxxxxx
NasType TotalControlSNMP
SNMPCommunity xxxxxxx
</Client>
<Client 63.237.136.2>
Secret xxxxxxx
NasType TotalControlSNMP
SNMPCommunity xxxxxxx
</Client>
<Client 209.206.60.133>
Secret xxxxxxx
</Client>
#test for ntplex
<Client 204.213.176.6>
Secret xxxxxxx
</Client>
<Client 204.213.176.7>
Secret xxxxxxx
</Client>
# MegaPop Radius Servers
<Client 204.178.185.222>
Secret xxxxxxx
</Client>
<Client 204.178.185.3>
Secret xxxxxxx
</Client>
<Client 204.178.185.221>
Secret xxxxxxx
</Client>
<Client 204.178.185.220>
Secret xxxxxxx
</Client>
# End of MegaPop Servers
<Client 63.237.136.100>
Secret xxxxxxx
</Client>
<Client 127.0.0.1>
Secret xxxxxxx
DupInterval 0
</Client>
<Realm DEFAULT>
AuthByPolicy ContinueUntilAccept
AcctLogFileName %L/%Y/%m/%d-details
<AuthBy FILE>
Filename /etc/acctmgr/users
</AuthBy>
</Realm>
<Realm cshore.com>
AuthByPolicy ContinueUntilAccept
AcctLogFileName %L/%Y/%m/%d-details
<AuthBy FILE>
Filename /etc/acctmgr/users
</AuthBy>
</Realm>
<SessionDatabase SQL>
DBSource dbi:mysql:Radius
DBUsername Radius
DBAuth KnubbyDo
AddQuery \
insert into Sessions (UserName, NASIdent, NASPort, \
SessionID, TimeStamp, FramedIPAddress, NASPortType, \
ServiceType) values ('%n', '%N', %{NAS-Port}, \
'%{Acct-Session-Id}', %{Timestamp}, '%{Framed-IP-Address}', \
'%{NAS-Port-Type}', '%{Service-Type}')
DeleteQuery \
delete from Sessions where Username='%n' and \
NASIdent='%N' and NASPort=%{NAS-Port}
ClearNasQuery \
delete from Sessions where NASIdent='%N'
CountQuery \
select NASIdent, NASPort, SessionID from Sessions \
where Username='%n'
</SessionDatabase>
Andrew P. Kaplan, CNE, MCSE+Internet, MCT, CCNA, CCDA
CyberShore, Inc. -- Premium Internet Services -- http://www.cshore.com
"The ultimate measure of a man is not where he stands in moments of comfort,
but where he stands at times of challenge and controversy."
-Martin Luther King, Jr.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.