Upgrading freeradius

2003-10-14 Thread Lisa Casey
Hi,

I just upgraded from freeradius 0.4 to freeradius 0.9.1. I thought I was
logging the output of configure, make and make install, but it did not log
so I lost that. The radius binary was installed in /usr/local/sbin, and my
old binary is in /usr/sbin so I cacked up the 0.4 binary and copied the
0.9.1 binary there. The reported version is 0.9.1:

[EMAIL PROTECTED]:/etc/raddb# radiusd -v
radiusd: FreeRADIUS Version 0.9.1, for host i686-pc-linux-gnu, built on Oct
14 2003 at 11:00:34

Testing in debug mode seems OK:

radtest lisakc xx localhost 0

rad_recv: Access-Request packet from host 127.0.0.1:33372, id=75, length=58
User-Name = lisakc
User-Password = xx
NAS-IP-Address = 255.255.255.255
NAS-Port = 0
modcall: entering group authorize
  modcall[authorize]: module preprocess returns ok
  modcall[authorize]: module chap returns noop
rlm_eap: EAP-Message not found
  modcall[authorize]: module eap returns noop
rlm_realm: No '@' in User-Name = lisakc, looking up realm NULL
rlm_realm: No such realm NULL
  modcall[authorize]: module suffix returns noop
users: Matched DEFAULT at 152
  modcall[authorize]: module files returns ok
  modcall[authorize]: module mschap returns noop
modcall: group authorize returns ok
  rad_check_password:  Found Auth-Type System
auth: type System
modcall: entering group authenticate
  modcall[authenticate]: module unix returns ok
modcall: group authenticate returns ok
Sending Access-Accept of id 75 to 127.0.0.1:33372
Finished request 1
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
--- Walking the entire request list ---
Cleaning up request 1 ID 75 with timestamp 3f8c1d3e
Nothing to do.  Sleeping until we see a request.

But when I attempt to log in via one of my NAS'es it doesn't work:

rad_recv: Access-Request packet from host 65.207.130.7:1028, id=5, length=58
Ignoring request from unknown client 65.207.130.7:1028

client 65.207.130.7 is in /etc/raddb/clients.conf. I haven't changed any of
the configuration files (and I might point out that I haven't  done anything
with the dictionary file yet either). I dunno what's wrong here. Any ideas??

Thanks ,

Lisa Casey


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Upgrading freeradius

2003-10-14 Thread Lisa Casey
Hi,

OK, so I see part of the problem. My old freeradius used /etc/raddb for it's
conf files and /var/log/radiusd-freeradius for it's log files. This new one
seems to want to use /usr/local/etc/raddb for it's conf files and
/usr/local/var/log/radius for it's logfiles. I'ld like to have this work the
old way. What should I do?

Lisa Casey

 Original Message - 

From: Lisa Casey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 12:03 PM
Subject: Upgrading freeradius


 Hi,

 I just upgraded from freeradius 0.4 to freeradius 0.9.1. I thought I was
 logging the output of configure, make and make install, but it did not log
 so I lost that. The radius binary was installed in /usr/local/sbin, and my
 old binary is in /usr/sbin so I cacked up the 0.4 binary and copied the
 0.9.1 binary there. The reported version is 0.9.1:

 [EMAIL PROTECTED]:/etc/raddb# radiusd -v
 radiusd: FreeRADIUS Version 0.9.1, for host i686-pc-linux-gnu, built on
Oct
 14 2003 at 11:00:34

 Testing in debug mode seems OK:

 radtest lisakc xx localhost 0

 rad_recv: Access-Request packet from host 127.0.0.1:33372, id=75,
length=58
 User-Name = lisakc
 User-Password = xx
 NAS-IP-Address = 255.255.255.255
 NAS-Port = 0
 modcall: entering group authorize
   modcall[authorize]: module preprocess returns ok
   modcall[authorize]: module chap returns noop
 rlm_eap: EAP-Message not found
   modcall[authorize]: module eap returns noop
 rlm_realm: No '@' in User-Name = lisakc, looking up realm NULL
 rlm_realm: No such realm NULL
   modcall[authorize]: module suffix returns noop
 users: Matched DEFAULT at 152
   modcall[authorize]: module files returns ok
   modcall[authorize]: module mschap returns noop
 modcall: group authorize returns ok
   rad_check_password:  Found Auth-Type System
 auth: type System
 modcall: entering group authenticate
   modcall[authenticate]: module unix returns ok
 modcall: group authenticate returns ok
 Sending Access-Accept of id 75 to 127.0.0.1:33372
 Finished request 1
 Going to the next request
 --- Walking the entire request list ---
 Waking up in 6 seconds...
 --- Walking the entire request list ---
 Cleaning up request 1 ID 75 with timestamp 3f8c1d3e
 Nothing to do.  Sleeping until we see a request.

 But when I attempt to log in via one of my NAS'es it doesn't work:

 rad_recv: Access-Request packet from host 65.207.130.7:1028, id=5,
length=58
 Ignoring request from unknown client 65.207.130.7:1028

 client 65.207.130.7 is in /etc/raddb/clients.conf. I haven't changed any
of
 the configuration files (and I might point out that I haven't  done
anything
 with the dictionary file yet either). I dunno what's wrong here. Any
ideas??

 Thanks ,

 Lisa Casey


 -
 List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Upgrading freeradius

2003-10-14 Thread Alan DeKok
Lisa Casey [EMAIL PROTECTED] wrote:
 OK, so I see part of the problem. My old freeradius used /etc/raddb for it's
 conf files and /var/log/radiusd-freeradius for it's log files. This new one
 seems to want to use /usr/local/etc/raddb for it's conf files and
 /usr/local/var/log/radius for it's logfiles. I'ld like to have this work the
 old way. What should I do?

  Edit the configuration file, and see 'man radiusd'

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


upgrading freeradius

2002-02-06 Thread Tim Monaghan

Is there a different process for upgrading freeradius, or would you just install over 
your old install, and if so would this kill your configs like radiusd.conf, 
clients.conf etc. ?

Im currently running a version I got in mid august of 2001.
ps, how do you tell exactly what version you have?


Thanks
Tim
.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: upgrading freeradius

2002-02-06 Thread Alan DeKok

Tim Monaghan [EMAIL PROTECTED] wrote:
 Is there a different process for upgrading freeradius, or would you
 just install over your old install, and if so would this kill your
 configs like radiusd.conf, clients.conf etc. ?
 
  No, it doesn't do that.

 Im currently running a version I got in mid august of 2001.
 ps, how do you tell exactly what version you have?

  'radiusd -h' wouldtell you that '-v' gives you the version
information.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html