14-Nov-02 at 14:41, Hilmi Hilmiev ([EMAIL PROTECTED]) wrote : > Basically my question is: Which way is simple way to get any record in > RADIUS logs without dial-up access?
radclient is probably what you need. You have to construct a file with a "packet" to send, e.g.: ===authcheck=== (filename) User-Name = user Password = pass ===acctcheck=== (filename) Acct-Session-Id = "123456" User-Name = "user" NAS-IP-Address = 10.0.2.4 NAS-Port = 45 NAS-Port-Type = ISDN Acct-Status-Type = Start Acct-Authentic = RADIUS Calling-Station-Id = "123456789" Service-Type = Framed-User Framed-Protocol = PPP Framed-IP-Address = 192.168.0.1 Acct-Delay-Time = 0 then run cat acctcheck | radclient radiusserver:port acct or similar (radcheck --help gives you syntax) Regards, -- |-Simon White, Internet Services Manager, Certified Check Point CCSA. |-MTDS Internet, Security, Anti-Virus, Linux and Hosting Solutions. |-MTDS 14, rue du 16 novembre, Agdal, Rabat, Morocco. |-MTDS tel +212.3.767.4861 - fax +212.3.767.4863 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
