RE: Radius does not try to register with SMUX

2003-06-28 Thread Yousef Jamous
My latest findings after installing UCD-SNMP for 11 :-)
Now, when installing UCD-SNMP it does not copy snmp.h, asn1.h and
snmp_impl.h to the /usr/local/include/ucd-snmp

Any clue what might be causing this? Is it a mib module that I should
install?

When I configure ucd-snmp I write:
./configure --with-mib-modules="host smux ucd-snmp/diskio target agentx"
Anything I'm missing?!!




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


RE: Radius does not try to register with SMUX

2003-06-28 Thread Yousef Jamous
APaul/Alan
Thanks for your time and effort
I tried to go back to UCD-SNMP, but first, I removed net-snmp as
follows:
1) Removed /usr/local/share/snmp
2) Removed /var/net-snmp
3) Removed /usr/local/include/net-snmp

I checked the config.log file (very spooky :-) " It had the following
entries (it was complaining about encryption stuff (though I tried to
put - - with-openssl): The sad thing of the story, I'm still facing same
problem  :-( I'm thinking it was a mistake to install net-snmp from the
start? But how could I remove net-snmp completely? And how could I get
snmpwalk and snmpget ..etc if I didn't install net-snmp?

The result is that it's still not working!! Is there any special options
to install ucd-snmp in order to work with Free Radius!! This is really
driving me crazy.

configure:740: checking for gcc
configure:853: checking whether the C compiler (gcc  ) works
configure:869: gcc -o conftestconftest.c  1>&5
configure:895: checking whether the C compiler (gcc  ) is a
cross-compiler
configure:900: checking whether we are using GNU C
configure:909: gcc -E conftest.c
configure:928: checking whether gcc accepts -g
configure:960: checking how to run the C preprocessor
configure:981: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1041: checking whether gcc needs -traditional
configure:1087: checking whether we are using SUNPro C
configure:1096: gcc -E conftest.c
configure:1107: checking for ranlib
configure:1139: checking for AIX
configure:1166: checking for gmake
configure:1197: checking for make
configure:1317: checking for lt_dlinit in -lltdl
configure:1336: gcc -o conftest -g -O2   conftest.c -lltdl   1>&5
configure:1441: checking for Cygwin environment
configure:1457: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:1453: `__CYGWIN32__' undeclared (first use in this function)
configure:1453: (Each undeclared identifier is reported only once
configure:1453: for each function it appears in.)
configure: failed program was:
#line 1446 "configure"
#include "confdefs.h"
int main() {
#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1474: checking for mingw32 environment
configure:1486: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:1482: `__MINGW32__' undeclared (first use in this function)
configure:1482: (Each undeclared identifier is reported only once
configure:1482: for each function it appears in.)
configure: failed program was:
#line 1479 "configure"
#include "confdefs.h"
int main() {
return __MINGW32__;
; return 0; }
configure:1578: checking host system type
configure:1599: checking build system type
configure:1628: checking for ld used by GCC
configure:1696: checking if the linker (/usr/local/bin/ld) is GNU ld GNU
ld version 2.11.2 (with BFD 2.11.2)
configure:1713: checking for /usr/local/bin/ld option to reload object
files
configure:1725: checking for BSD-compatible nm
configure:1763: checking whether ln -s works
configure:1784: checking how to recognise dependant libraries
configure:1967: checking for object suffix
configure:1973: gcc -c -g -O2  conftest.c 1>&5
configure:1993: checking for executable suffix
configure:2003: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2034: checking command to parse /usr/local/bin/nm -B output
configure:2114: gcc -c -g -O2  conftest.c 1>&5
configure:2117: /usr/local/bin/nm -B conftest.o | sed -n -e 's/^.*[
]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1
\2\3 \3/p' > conftest.nm
configure:2168: gcc -o conftest -g -O2   conftest.c conftstm.o 1>&5
configure:2217: checking for dlfcn.h
configure:2227: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2395: checking for -ranlib
configure:2462: checking for -strip
configure:2494: checking for strip
configure:2707: checking for objdir
configure:2738: checking for gcc option to produce PIC
configure:2890: checking if gcc PIC flag -fPIC works
configure:2904: gcc -c -g -O2 -fPIC -DPIC  conftest.c 1>&5
configure:2960: checking if gcc static flag -static works
configure:2975: gcc -o conftest -g -O2   -static conftest.c  1>&5
configure:3006: checking if gcc supports -c -o file.o
configure:3025: gcc -c -g -O2 -o out/conftest2.o  conftest.c 1>&5
configure:3054: checking if gcc supports -c -o file.lo
configure:3072: gcc -c -g -O2 -c -o conftest.lo  conftest.c 1>&5
configure:3130: checking if gcc supports -fno-rtti -fno-exceptions
configure:3143: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c
conftest.c 1>&5
configure:3174: checking whether the linker (/usr/local/bin/ld) supports
shared libraries
configure:3862: checking how to hardcode library paths into programs
configure:3894: checking whether stripping libraries is possible
configure:3912: checking dynamic linker characteristics
configure:4313: checking if libtool supports shared libraries
configure:4321: checking whether to build shared libraries
configure:4348: checking whether to build static libraries
configure:4391: ch

RE: Radius does not try to register with SMUX

2003-06-28 Thread Yousef Jamous
APaul/Alan
Thanks for your time and effort
I tried to go back to UCD-SNMP, but first, I removed net-snmp as
follows:
1) Removed /usr/local/share/snmp
2) Removed /var/net-snmp
3) Removed /usr/local/include/net-snmp

I checked the config.log file (very spooky :-) " It had the following
entries (it was complaining about encryption stuff (though I tried to
put - - with-openssl):
The sad thing of the story, I'm still facing same problem  :-( I'm
thinking it was a mistake to install net-snmp from the start?
But how could I remove net-snmp completely?
And how could I get snmpwalk and snmpget ..etc if I didn't install
net-snmp?

The result is that it's still not working!! Is there any special options
to install ucd-snmp in order to work with Free Radius!! This is really
driving me crazy.

configure:740: checking for gcc
configure:853: checking whether the C compiler (gcc  ) works
configure:869: gcc -o conftestconftest.c  1>&5
configure:895: checking whether the C compiler (gcc  ) is a
cross-compiler
configure:900: checking whether we are using GNU C
configure:909: gcc -E conftest.c
configure:928: checking whether gcc accepts -g
configure:960: checking how to run the C preprocessor
configure:981: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1041: checking whether gcc needs -traditional
configure:1087: checking whether we are using SUNPro C
configure:1096: gcc -E conftest.c
configure:1107: checking for ranlib
configure:1139: checking for AIX
configure:1166: checking for gmake
configure:1197: checking for make
configure:1317: checking for lt_dlinit in -lltdl
configure:1336: gcc -o conftest -g -O2   conftest.c -lltdl   1>&5
configure:1441: checking for Cygwin environment
configure:1457: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:1453: `__CYGWIN32__' undeclared (first use in this function)
configure:1453: (Each undeclared identifier is reported only once
configure:1453: for each function it appears in.)
configure: failed program was:
#line 1446 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1474: checking for mingw32 environment
configure:1486: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:1482: `__MINGW32__' undeclared (first use in this function)
configure:1482: (Each undeclared identifier is reported only once
configure:1482: for each function it appears in.)
configure: failed program was:
#line 1479 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1578: checking host system type
configure:1599: checking build system type
configure:1628: checking for ld used by GCC
configure:1696: checking if the linker (/usr/local/bin/ld) is GNU ld
GNU ld version 2.11.2 (with BFD 2.11.2)
configure:1713: checking for /usr/local/bin/ld option to reload object
files
configure:1725: checking for BSD-compatible nm
configure:1763: checking whether ln -s works
configure:1784: checking how to recognise dependant libraries
configure:1967: checking for object suffix
configure:1973: gcc -c -g -O2  conftest.c 1>&5
configure:1993: checking for executable suffix
configure:2003: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2034: checking command to parse /usr/local/bin/nm -B output
configure:2114: gcc -c -g -O2  conftest.c 1>&5
configure:2117: /usr/local/bin/nm -B conftest.o | sed -n -e 's/^.*[
]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1
\2\3 \3/p' > conftest.nm
configure:2168: gcc -o conftest -g -O2   conftest.c conftstm.o 1>&5
configure:2217: checking for dlfcn.h
configure:2227: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2395: checking for -ranlib
configure:2462: checking for -strip
configure:2494: checking for strip
configure:2707: checking for objdir
configure:2738: checking for gcc option to produce PIC
configure:2890: checking if gcc PIC flag -fPIC works
configure:2904: gcc -c -g -O2 -fPIC -DPIC  conftest.c 1>&5
configure:2960: checking if gcc static flag -static works
configure:2975: gcc -o conftest -g -O2   -static conftest.c  1>&5
configure:3006: checking if gcc supports -c -o file.o
configure:3025: gcc -c -g -O2 -o out/conftest2.o  conftest.c 1>&5
configure:3054: checking if gcc supports -c -o file.lo
configure:3072: gcc -c -g -O2 -c -o conftest.lo  conftest.c 1>&5
configure:3130: checking if gcc supports -fno-rtti -fno-exceptions
configure:3143: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c
conftest.c 1>&5
configure:3174: checking whether the linker (/usr/local/bin/ld) supports
shared libraries
configure:3862: checking how to hardcode library paths into programs
configure:3894: checking whether stripping libraries is possible
configure:3912: checking dynamic linker characteristics
configure:4313: checking if libtool supports shared libraries
configure:4321: checking whether to build shared libraries
configure:4348: checking whether to build static libraries
configure:4391:

Re: Radius does not try to register with SMUX

2003-06-27 Thread Alan DeKok
Yousef Jamous <[EMAIL PROTECTED]> wrote:
> I had some progress. I checked into the configuration script. It all
> talks about UCD-SNMP it does not account for the new version net-snmp.

  So... you're trying to use FreeRADIUS with an SNMP package it
doesn't support, and you're surprised it work?  I'm surprised at
that...

http://net-snmp.sourceforge.net/
...
History

This package was originally based on the Carnegie Mellon
University and Univerisity of California at Davis SNMP
implementations, but has been greatly enhanced, ported, fixed, made
easier to use and barely resembles the original package anymore.
...

> So, I installed the new version of net-snmp, and I started editing the
> configure file 

  Uh, no.  See 'configure.in', and the program 'autoconf'.

> But still I got errors as shown in this config.log file. I'm wondering
> if anyone has working version of Radius and net-snmp?

  No.

> If yes what is the version of net-snmp (or maybe ucd-snmp). I
> believe free radius was developed upon ucd-snmp structure.

  Yes.

  Which is why net-snmp doesn't work.

  Did you try installing ucd-snmp?

  Alan DeKok.

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


RE: Radius does not try to register with SMUX

2003-06-26 Thread Paul Hampson
> From: Yousef Jamous
> Sent: Friday, 27 June 2003 6:39 AM

> I had some progress. I checked into the configuration script. It all
> talks about UCD-SNMP it does not account for the new version net-snmp.

I just looked, and it links against UCD-SNMP on my machine, which has
headers for both installed. I think it'll need code changes to link to
net-snmp since net-snmp doesn't include 'snmp_build_var_op' which you
can see the check for below. (Or at least the headers on my system don't
list it... net-snmp 5.0.7)

ucd-snmp (I'm on 4.2.5) _does_ include those headers, so I suspect
something went wrong when you installed it before.

However, your errors below _aren't_ complaining that it doesn't have
snmp_build_var_op, it's complaining about not being able to find
cryptography stuff.

However, I'd still suggest going back to ucd-snmp and trying to work
out why it didn't install it's headers when you installed it.

> So, I installed the new version of net-snmp, and I started editing the
> configure file to make it work with net-snmp
> The good news is that it did not complain about non existing snmp.h
> asn1.h snmp_impl.h
> But still I got errors as shown in this config.log file. I'm wondering
> if anyone has working version of Radius and net-snmp? If yes what is the
> version of net-snmp (or maybe ucd-snmp). I believe free radius was
> developed upon ucd-snmp structure.
> So what do you think Paul :-(
> 
> Following my log file
[snip]
> configure:7690: checking for asn1.h,snmp.h,snmp_impl.h
> configure:7718: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -Wall -D_GNU_SOURCE -DNDEBUG  conftest.c 1>&5
> configure: In function `main':
> configure:7714: warning: unused variable `a'
> configure:7759: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/include  conftest.c 1>&5
> In file included from configure:7737:
> /usr/include/sys/types.h:16: warning: ignoring #pragma ident
> In file included from /usr/include/sys/types.h:18,
>  from configure:7737:
> /usr/include/sys/isa_defs.h:9: warning: ignoring #pragma ident
> In file included from /usr/include/sys/types.h:19,
>  from configure:7737:
> /usr/include/sys/feature_tests.h:13: warning: ignoring #pragma ident
> In file included from /usr/include/sys/types.h:24,
>  from configure:7737:
> /usr/include/sys/machtypes.h:16: warning: ignoring #pragma ident
> In file included from /usr/include/sys/types.h:36,
>  from configure:7737:
> /usr/include/sys/int_types.h:9: warning: ignoring #pragma ident
> In file included from /usr/include/sys/types.h:548,
>  from configure:7737:
> /usr/include/sys/select.h:12: warning: ignoring #pragma ident
> In file included from /usr/include/sys/select.h:17,
>  from /usr/include/sys/types.h:548,
>  from configure:7737:
> /usr/include/sys/time.h:22: warning: ignoring #pragma ident
> In file included from /usr/include/sys/time.h:410,
>  from /usr/include/sys/select.h:17,
>  from /usr/include/sys/types.h:548,
>  from configure:7737:
> /usr/include/time.h:16: warning: ignoring #pragma ident
> In file included from /usr/include/time.h:20,
>  from /usr/include/sys/time.h:410,
>  from /usr/include/sys/select.h:17,
>  from /usr/include/sys/types.h:548,
>  from configure:7737:
> /usr/include/iso/time_iso.h:28: warning: ignoring #pragma ident
> In file included from configure:7743:
> /usr/include/stdio.h:20: warning: ignoring #pragma ident
> In file included from /usr/include/stdio.h:22,
>  from configure:7743:
> /usr/include/iso/stdio_iso.h:32: warning: ignoring #pragma ident
> In file included from /usr/include/iso/stdio_iso.h:36,
>  from /usr/include/stdio.h:22,
>  from configure:7743:
> /usr/include/sys/va_list.h:9: warning: ignoring #pragma ident
> In file included from /usr/include/iso/stdio_iso.h:37,
>  from /usr/include/stdio.h:22,
>  from configure:7743:
> /usr/include/stdio_tag.h:9: warning: ignoring #pragma ident
> In file included from /usr/include/iso/stdio_iso.h:38,
>  from /usr/include/stdio.h:22,
>  from configure:7743:
> /usr/include/stdio_impl.h:9: warning: ignoring #pragma ident
> In file included from configure:7746:
> /usr/include/netdb.h:93: warning: ignoring #pragma ident
> In file included from /usr/include/netdb.h:96,
>  from configure:7746:
> /usr/include/netinet/in.h:30: warning: ignoring #pragma ident
> In file included from /usr/include/netinet/in.h:41,
>  from /usr/include/netdb.h:96,
>  from configure:7746:
> /usr/include/sys/stream.h:16: warning: ignoring #pragma ident
> In file included from /usr/include/sys/stream.h:22,
>  from /usr/include/netinet/in.h:41,
> 

RE: Radius does not try to register with SMUX

2003-06-26 Thread Yousef Jamous
Ok
I had some progress. I checked into the configuration script. It all
talks about UCD-SNMP it does not account for the new version net-snmp.
So, I installed the new version of net-snmp, and I started editing the
configure file to make it work with net-snmp
The good news is that it did not complain about non existing snmp.h
asn1.h snmp_impl.h
But still I got errors as shown in this config.log file. I'm wondering
if anyone has working version of Radius and net-snmp? If yes what is the
version of net-snmp (or maybe ucd-snmp). I believe free radius was
developed upon ucd-snmp structure.
So what do you think Paul :-(

Following my log file
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:740: checking for gcc
configure:853: checking whether the C compiler (gcc  ) works
configure:869: gcc -o conftestconftest.c  1>&5
configure:895: checking whether the C compiler (gcc  ) is a
cross-compiler
configure:900: checking whether we are using GNU C
configure:909: gcc -E conftest.c
configure:928: checking whether gcc accepts -g
configure:960: checking how to run the C preprocessor
configure:981: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1041: checking whether gcc needs -traditional
configure:1087: checking whether we are using SUNPro C
configure:1096: gcc -E conftest.c
configure:1107: checking for ranlib
configure:1138: checking for AIX
configure:1165: checking for gmake
configure:1196: checking for make
configure:1316: checking for lt_dlinit in -lltdl
configure:1335: gcc -o conftest -g -O2   conftest.c -lltdl   1>&5
configure:1440: checking for Cygwin environment
configure:1456: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:1452: `__CYGWIN32__' undeclared (first use in this function)
configure:1452: (Each undeclared identifier is reported only once
configure:1452: for each function it appears in.)
configure: failed program was:
#line 1445 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1473: checking for mingw32 environment
configure:1485: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:1481: `__MINGW32__' undeclared (first use in this function)
configure:1481: (Each undeclared identifier is reported only once
configure:1481: for each function it appears in.)
configure: failed program was:
#line 1478 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1577: checking host system type
configure:1598: checking build system type
configure:1627: checking for ld used by GCC
configure:1695: checking if the linker (/usr/local/bin/ld) is GNU ld
GNU ld version 2.11.2 (with BFD 2.11.2)
configure:1712: checking for /usr/local/bin/ld option to reload object
files
configure:1724: checking for BSD-compatible nm
configure:1762: checking whether ln -s works
configure:1783: checking how to recognise dependant libraries
configure:1966: checking for object suffix
configure:1972: gcc -c -g -O2  conftest.c 1>&5
configure:1992: checking for executable suffix
configure:2002: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2033: checking command to parse /usr/local/bin/nm -B output
configure:2113: gcc -c -g -O2  conftest.c 1>&5
configure:2116: /usr/local/bin/nm -B conftest.o | sed -n -e 's/^.*[
]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1
\2\3 \3/p' > conftest.nm
configure:2167: gcc -o conftest -g -O2   conftest.c conftstm.o 1>&5
configure:2216: checking for dlfcn.h
configure:2226: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2394: checking for ranlib
configure:2461: checking for strip
configure:2706: checking for objdir
configure:2737: checking for gcc option to produce PIC
configure:2889: checking if gcc PIC flag -fPIC works
configure:2903: gcc -c -g -O2 -fPIC -DPIC  conftest.c 1>&5
configure:2959: checking if gcc static flag -static works
configure:2974: gcc -o conftest -g -O2   -static conftest.c  1>&5
configure:3005: checking if gcc supports -c -o file.o
configure:3024: gcc -c -g -O2 -o out/conftest2.o  conftest.c 1>&5
configure:3053: checking if gcc supports -c -o file.lo
configure:3071: gcc -c -g -O2 -c -o conftest.lo  conftest.c 1>&5
configure:3129: checking if gcc supports -fno-rtti -fno-exceptions
configure:3142: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c
conftest.c 1>&5
configure:3173: checking whether the linker (/usr/local/bin/ld) supports
shared libraries
configure:3861: checking how to hardcode library paths into programs
configure:3893: checking whether stripping libraries is possible
configure:3911: checking dynamic linker characteristics
configure:4312: checking if libtool supports shared libraries
configure:4320: checking whether to build shared libraries
configure:4347: checking whether to build static libraries
configure:4390: checking for shl_load
configure:4418: gcc -o conftest -g

RE: Radius does not try to register with SMUX

2003-06-26 Thread Yousef Jamous
ans1.h is in: /usr/local/ssl/include/openssl/asn1.h
snmp.h : Does Not exist
snmp_impl.h: Does Not exist

So, could it be the ucd-snmp 4.2.2 does not have these files and didn't
install them?
I'll go back again to net-snmp 5.0.8 and I'll let you know or if you
have an idea, I hope you help me.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Hampson
Sent: June 26, 2003 8:49 PM
To: [EMAIL PROTECTED]
Subject: RE: Radius does not try to register with SMUX

> From: Yousef Jamous
> Sent: Friday, 27 June 2003 2:31 AM

> Still the problem persists (not being able to register with SMUX).
> It's really driving me crazy!!! (Note: I used now ucd-snmp because
> someone in the mailing lists mentioned once that he used older version
> and it worked fine)!!

Where on your system are asn1.h, snmp.h and snmp_impl.h?
They're not in {the default search path}/ucd-snmp/
They're not in /usr/include/ucd-snmp/
They're not in /usr/local/include/ucd-snmp/
They're not in /usr/include/ucd-snmp/
They're not in /usr/local/include/ucd-snmp/
They're not in /usr/include/ucd-snmp/
They're not in /usr/local/include/ucd-snmp/
(Yes, it checked three times each. :-)

Relevant parts of config.log included below:

> configure:7687: checking for asn1.h,snmp.h,snmp_impl.h
> configure:7715: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs  conftest.c 1>&5
> configure:7707:27: ucd-snmp/asn1.h: No such file or directory
> configure:7708:27: ucd-snmp/snmp.h: No such file or directory
> configure:7709:32: ucd-snmp/snmp_impl.h: No such file or directory

> configure:7756: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -I/usr/include  conftest.c
1>&5
> configure:7748:27: ucd-snmp/asn1.h: No such file or directory
> configure:7749:27: ucd-snmp/snmp.h: No such file or directory
> configure:7750:32: ucd-snmp/snmp_impl.h: No such file or directory

> configure:7756: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -I/usr/local/include
conftest.c
> 1>&5
> configure:7748:27: ucd-snmp/asn1.h: No such file or directory
> configure:7749:27: ucd-snmp/snmp.h: No such file or directory
> configure:7750:32: ucd-snmp/snmp_impl.h: No such file or directory

> configure:7803: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -I/usr/include/ucd-snmp
> conftest.c 1>&5
> configure:7795:18: asn1.h: No such file or directory
> configure:7796:18: snmp.h: No such file or directory
> configure:7797:23: snmp_impl.h: No such file or directory

> configure:7803: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -I/usr/local/include/ucd-snmp
> conftest.c 1>&5
> configure:7795:18: asn1.h: No such file or directory
> configure:7796:18: snmp.h: No such file or directory
> configure:7797:23: snmp_impl.h: No such file or directory

> configure:7850: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -I/usr/include/ucd-snmp
> conftest.c 1>&5
> configure:7842:18: asn1.h: No such file or directory
> configure:7843:18: snmp.h: No such file or directory
> configure:7844:23: snmp_impl.h: No such file or directory

> configure:7850: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -I/usr/local/include/ucd-snmp
> conftest.c 1>&5
> configure:7842:18: asn1.h: No such file or directory
> configure:7843:18: snmp.h: No such file or directory
> configure:7844:23: snmp_impl.h: No such file or directory



- 
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: Radius does not try to register with SMUX

2003-06-26 Thread Paul Hampson
> From: Yousef Jamous
> Sent: Friday, 27 June 2003 2:31 AM

> Still the problem persists (not being able to register with SMUX).
> It's really driving me crazy!!! (Note: I used now ucd-snmp because
> someone in the mailing lists mentioned once that he used older version
> and it worked fine)!!

Where on your system are asn1.h, snmp.h and snmp_impl.h?
They're not in {the default search path}/ucd-snmp/
They're not in /usr/include/ucd-snmp/
They're not in /usr/local/include/ucd-snmp/
They're not in /usr/include/ucd-snmp/
They're not in /usr/local/include/ucd-snmp/
They're not in /usr/include/ucd-snmp/
They're not in /usr/local/include/ucd-snmp/
(Yes, it checked three times each. :-)

Relevant parts of config.log included below:

> configure:7687: checking for asn1.h,snmp.h,snmp_impl.h
> configure:7715: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs  conftest.c 1>&5
> configure:7707:27: ucd-snmp/asn1.h: No such file or directory
> configure:7708:27: ucd-snmp/snmp.h: No such file or directory
> configure:7709:32: ucd-snmp/snmp_impl.h: No such file or directory

> configure:7756: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -I/usr/include  conftest.c 1>&5
> configure:7748:27: ucd-snmp/asn1.h: No such file or directory
> configure:7749:27: ucd-snmp/snmp.h: No such file or directory
> configure:7750:32: ucd-snmp/snmp_impl.h: No such file or directory

> configure:7756: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -I/usr/local/include  conftest.c
> 1>&5
> configure:7748:27: ucd-snmp/asn1.h: No such file or directory
> configure:7749:27: ucd-snmp/snmp.h: No such file or directory
> configure:7750:32: ucd-snmp/snmp_impl.h: No such file or directory

> configure:7803: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -I/usr/include/ucd-snmp
> conftest.c 1>&5
> configure:7795:18: asn1.h: No such file or directory
> configure:7796:18: snmp.h: No such file or directory
> configure:7797:23: snmp_impl.h: No such file or directory

> configure:7803: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -I/usr/local/include/ucd-snmp
> conftest.c 1>&5
> configure:7795:18: asn1.h: No such file or directory
> configure:7796:18: snmp.h: No such file or directory
> configure:7797:23: snmp_impl.h: No such file or directory

> configure:7850: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -I/usr/include/ucd-snmp
> conftest.c 1>&5
> configure:7842:18: asn1.h: No such file or directory
> configure:7843:18: snmp.h: No such file or directory
> configure:7844:23: snmp_impl.h: No such file or directory

> configure:7850: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -I/usr/local/include/ucd-snmp
> conftest.c 1>&5
> configure:7842:18: asn1.h: No such file or directory
> configure:7843:18: snmp.h: No such file or directory
> configure:7844:23: snmp_impl.h: No such file or directory



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


RE: Radius does not try to register with SMUX

2003-06-26 Thread Yousef Jamous
s -Wnested-externs -I/usr/local/include/ucd-snmp
conftest.c 1>&5
configure:7842:18: asn1.h: No such file or directory
configure:7843:18: snmp.h: No such file or directory
configure:7844:23: snmp_impl.h: No such file or directory
configure:7845: warning: function declaration isn't a prototype
configure: In function `main':
configure:7846: warning: unused variable `a'
configure: failed program was:
#line 7825 "configure"
#include "confdefs.h"

#ifdef HAVE_SYS_TYPES_H
#include 
#endif
#ifdef HAVE_STDINT_H
#include 
#endif
#ifdef HAVE_STDIO_H
#include 
#endif
#ifdef HAVE_NETDB_H
#include 
#endif
#ifdef HAVE_UNISTD_H
#include 
#endif
#include 
#include 
#include 
int main() {
 int a = 1;
; return 0; }
configure:7978: checking gethostbyaddr_r() syntax
configure:7987: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs  conftest.c 1>&5
configure:7982: warning: function declaration isn't a prototype
configure:8009: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs  conftest.c 1>&5
configure:8004: warning: function declaration isn't a prototype
configure: In function `main':
configure:8005: too many arguments to function `gethostbyaddr_r'
configure: failed program was:
#line 8002 "configure"
#include "confdefs.h"
#include 
int main() {
 gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL, NULL) 
; return 0; }
configure:8032: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs  conftest.c 1>&5
configure:8027: warning: function declaration isn't a prototype



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Hampson
Sent: June 22, 2003 12:23 PM
To: [EMAIL PROTECTED]
Subject: RE: Radius does not try to register with SMUX

> From: Yousef Jamous
> Sent: Sunday, 22 June 2003 5:48 PM

> Thanks Paul for your help
> Can you please tell me where to put this option? -lkstat!!!

When you call configure, use
CFLAGS=-lkstat
before the ./configure ... command. This assumes you're using bash:
CFLAGS=-lkstat ./configure ...

For {,t}csh, I _think_ it's
set CFLAGS=-lkstat
./configure ...

In both these cases, ... is the parameters you'd normally pass to
configure.

123456789112345678921234567893123456789412345678951234567896123456789712
34567898
--
=
Paul "TBBle" Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

The Creation of the Universe was made
possible by a grant from Texas Instruments.
-- PBS
-
Random signature generator 3.0 by Paul "TBBle" Hampson
=


- 
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: Radius does not try to register with SMUX

2003-06-22 Thread Paul Hampson
> From: Yousef Jamous
> Sent: Sunday, 22 June 2003 5:48 PM

> Thanks Paul for your help
> Can you please tell me where to put this option? -lkstat!!!

When you call configure, use
CFLAGS=-lkstat
before the ./configure ... command. This assumes you're using bash:
CFLAGS=-lkstat ./configure ...

For {,t}csh, I _think_ it's
set CFLAGS=-lkstat
./configure ...

In both these cases, ... is the parameters you'd normally pass to
configure.

12345678911234567892123456789312345678941234567895123456789612345678971234567898
--
=
Paul "TBBle" Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

The Creation of the Universe was made
possible by a grant from Texas Instruments.
-- PBS
-
Random signature generator 3.0 by Paul "TBBle" Hampson
=


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


RE: Radius does not try to register with SMUX

2003-06-22 Thread Yousef Jamous
Thanks Paul for your help
Can you please tell me where to put this option? -lkstat!!!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Hampson
Sent: June 22, 2003 11:01 AM
To: [EMAIL PROTECTED]
Subject: RE: Radius does not try to register with SMUX

> From: Yousef Jamous
> Sent: Saturday, 21 June 2003 4:09 PM

> Here's my config.log
> I have gcc 3.0.1

> configure:7918: gcc -o conftest -g -O2 -D_REENTRANT
> -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow
> -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs   conftest.c -lnsl -lresolv -lsocket -lposix4
> -lpthread -L/usr/local/lib -lsnmp 1>&5
> configure:7912: warning: function declaration isn't a prototype
> configure:7913: warning: function declaration isn't a prototype
> /usr/local/lib/libsnmp.so: undefined reference to `kstat_read'
> /usr/local/lib/libsnmp.so: undefined reference to `kstat_data_lookup'
> /usr/local/lib/libsnmp.so: undefined reference to `kstat_close'
> /usr/local/lib/libsnmp.so: undefined reference to `kstat_lookup'
> /usr/local/lib/libsnmp.so: undefined reference to `kstat_open'

Interesting... according to Google, kstat_read etc are in -lkstat
CFLAGS=-lkstat ./configure ... Maybe?
If this proves to fix it, maybe -lkstat should be added as a thing
for the configure script to attempt... (Note to self: aclocal.m4:3903)

> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 7911 "configure"
> #include "confdefs.h"
> extern char snmp_build_var_op();
> int main() {
>  snmp_build_var_op()
> ; return 0; }

--
=
Paul "TBBle" Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

The Creation of the Universe was made
possible by a grant from Texas Instruments.
-- PBS
-
Random signature generator 3.0 by Paul "TBBle" Hampson
=


- 
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: Radius does not try to register with SMUX

2003-06-21 Thread Paul Hampson
> From: Yousef Jamous
> Sent: Saturday, 21 June 2003 4:09 PM

> Here's my config.log
> I have gcc 3.0.1

> configure:7918: gcc -o conftest -g -O2 -D_REENTRANT
> -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow
> -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs   conftest.c -lnsl -lresolv -lsocket -lposix4
> -lpthread -L/usr/local/lib -lsnmp 1>&5
> configure:7912: warning: function declaration isn't a prototype
> configure:7913: warning: function declaration isn't a prototype
> /usr/local/lib/libsnmp.so: undefined reference to `kstat_read'
> /usr/local/lib/libsnmp.so: undefined reference to `kstat_data_lookup'
> /usr/local/lib/libsnmp.so: undefined reference to `kstat_close'
> /usr/local/lib/libsnmp.so: undefined reference to `kstat_lookup'
> /usr/local/lib/libsnmp.so: undefined reference to `kstat_open'

Interesting... according to Google, kstat_read etc are in -lkstat
CFLAGS=-lkstat ./configure ... Maybe?
If this proves to fix it, maybe -lkstat should be added as a thing
for the configure script to attempt... (Note to self: aclocal.m4:3903)

> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 7911 "configure"
> #include "confdefs.h"
> extern char snmp_build_var_op();
> int main() {
>  snmp_build_var_op()
> ; return 0; }

--
=
Paul "TBBle" Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

The Creation of the Universe was made
possible by a grant from Texas Instruments.
-- PBS
-
Random signature generator 3.0 by Paul "TBBle" Hampson
=


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


RE: Radius does not try to register with SMUX

2003-06-20 Thread Yousef Jamous
:
configure:8005: too many arguments to function `gethostbyaddr_r'
configure: failed program was:
#line 8002 "configure"
#include "confdefs.h"
#include 
int main() {
 gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL, NULL) 
; return 0; }
configure:8032: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs  conftest.c 1>&5
configure:8027: warning: function declaration isn't a prototype

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Hampson
Sent: June 21, 2003 8:05 AM
To: [EMAIL PROTECTED]
Subject: RE: Radius does not try to register with SMUX

> From: Yousef Jamous
> Sent: Saturday, 21 June 2003 5:41 AM

> Does this mean that I have missing packages?

Dunno yet. The bits where I said "*FAIL: Appears to be missing crypto*"
don't mean _you're_ missing crypto, they mean that the test-compile
was missing crypto.

> And should I send you more lines from the config.log file?
Yes. I'm particularly interested in the lines starting with
configure:7943: gcc -o
up 'til
configure:7981: checking gethostbyaddr_r() syntax

--
=
Paul "TBBle" Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]


- 
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: Radius does not try to register with SMUX

2003-06-20 Thread Paul Hampson
> From: Yousef Jamous
> Sent: Saturday, 21 June 2003 5:41 AM

> Does this mean that I have missing packages?

Dunno yet. The bits where I said "*FAIL: Appears to be missing crypto*"
don't mean _you're_ missing crypto, they mean that the test-compile
was missing crypto.

> And should I send you more lines from the config.log file?
Yes. I'm particularly interested in the lines starting with
configure:7943: gcc -o
up 'til
configure:7981: checking gethostbyaddr_r() syntax

--
=
Paul "TBBle" Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]


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


RE: Radius does not try to register with SMUX- REPOSTED

2003-06-20 Thread Yousef Jamous
So Paul
Does this mean that I have missing packages?
And should I send you more lines from the config.log file?
Many thanks Paul.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Hampson
Sent: June 20, 2003 8:48 PM
To: [EMAIL PROTECTED]
Subject: RE: Radius does not try to register with SMUX- REPOSTED

> From: Yousef Jamous
> Sent: Friday, 20 June 2003 9:36 PM

> As I checked my config.log file, I found the following messages, do
they
> mean that my snmp support was not installed? And how can I fix it?

> configure:7887: checking for snmp_build_var_op in -lsnmp
> configure:7899: gcc -o conftest -g -O2 -D_REENTRANT
> -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG   c
> onftest.c -lnsl -lresolv -lsocket -lposix4  -lpthread -lsnmp 1>&5
*FAIL: Appears to be missing crypto*

> configure:7921: gcc -o conftest -g -O2 -D_REENTRANT
> -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG   c
> onftest.c -lnsl -lresolv -lsocket -lposix4  -lpthread -L/usr/lib
-lsnmp
> 1>&5
*FAIL: Appears to be missing crypto*

> configure:7943: gcc -o

Aah, drat... That next set would have been helpful, since the next thing
configure tries is to link in crypto as well

Mind you, your configure's slightly different to mine...
I have offsets 7918 and 7940 for the last test and the truncated test.

Still, the next lines will help establish if SNMP was compiled in or
not.

--
=
Paul "TBBle" Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

The Creation of the Universe was made
possible by a grant from Texas Instruments.
-- PBS
-
Random signature generator 3.0 by Paul "TBBle" Hampson
=


- 
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: Radius does not try to register with SMUX- REPOSTED

2003-06-20 Thread Paul Hampson
> From: Yousef Jamous
> Sent: Friday, 20 June 2003 9:36 PM

> As I checked my config.log file, I found the following messages, do they
> mean that my snmp support was not installed? And how can I fix it?

> configure:7887: checking for snmp_build_var_op in -lsnmp
> configure:7899: gcc -o conftest -g -O2 -D_REENTRANT
> -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG   c
> onftest.c -lnsl -lresolv -lsocket -lposix4  -lpthread -lsnmp 1>&5
*FAIL: Appears to be missing crypto*

> configure:7921: gcc -o conftest -g -O2 -D_REENTRANT
> -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG   c
> onftest.c -lnsl -lresolv -lsocket -lposix4  -lpthread -L/usr/lib -lsnmp
> 1>&5
*FAIL: Appears to be missing crypto*

> configure:7943: gcc -o

Aah, drat... That next set would have been helpful, since the next thing
configure tries is to link in crypto as well

Mind you, your configure's slightly different to mine...
I have offsets 7918 and 7940 for the last test and the truncated test.

Still, the next lines will help establish if SNMP was compiled in or not.

--
=
Paul "TBBle" Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

The Creation of the Universe was made
possible by a grant from Texas Instruments.
-- PBS
-
Random signature generator 3.0 by Paul "TBBle" Hampson
=


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


RE: Radius does not try to register with SMUX- REPOSTED

2003-06-20 Thread Yousef Jamous
As I checked my config.log file, I found the following messages, do they
mean that my snmp support was not installed? And how can I fix it?


configure: In function `main':
configure:7755: warning: unused variable `a'
configure:7887: checking for snmp_build_var_op in -lsnmp
configure:7899: gcc -o conftest -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG   c
onftest.c -lnsl -lresolv -lsocket -lposix4  -lpthread -lsnmp 1>&5
Undefined   first referenced
 symbol in file
EVP_md5 /usr/local/lib/libsnmp.so
EVP_DigestFinal /usr/local/lib/libsnmp.so
EVP_DigestUpdate/usr/local/lib/libsnmp.so
kstat_close /usr/local/lib/libsnmp.so
des_cbc_encrypt /usr/local/lib/libsnmp.so
EVP_sha1/usr/local/lib/libsnmp.so
EVP_DigestInit  /usr/local/lib/libsnmp.so
kstat_lookup/usr/local/lib/libsnmp.so
kstat_read  /usr/local/lib/libsnmp.so
des_key_sched   /usr/local/lib/libsnmp.so
RAND_bytes  /usr/local/lib/libsnmp.so
des_ncbc_encrypt/usr/local/lib/libsnmp.so
HMAC/usr/local/lib/libsnmp.so
kstat_open  /usr/local/lib/libsnmp.so
kstat_data_lookup   /usr/local/lib/libsnmp.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 7892 "configure"
#include "confdefs.h"
extern char snmp_build_var_op();
int main() {
 snmp_build_var_op()
; return 0; }
configure:7921: gcc -o conftest -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG   c
onftest.c -lnsl -lresolv -lsocket -lposix4  -lpthread -L/usr/lib -lsnmp
1>&5
Undefined   first referenced
 symbol in file
EVP_md5 /usr/local/lib/libsnmp.so
EVP_DigestFinal /usr/local/lib/libsnmp.so
EVP_DigestUpdate/usr/local/lib/libsnmp.so
kstat_close /usr/local/lib/libsnmp.so
des_cbc_encrypt /usr/local/lib/libsnmp.so
EVP_sha1/usr/local/lib/libsnmp.so
EVP_DigestInit  /usr/local/lib/libsnmp.so
kstat_lookup/usr/local/lib/libsnmp.so
kstat_read  /usr/local/lib/libsnmp.so
des_key_sched   /usr/local/lib/libsnmp.so
RAND_bytes  /usr/local/lib/libsnmp.so
des_ncbc_encrypt/usr/local/lib/libsnmp.so
HMAC/usr/local/lib/libsnmp.so
kstat_open  /usr/local/lib/libsnmp.so
kstat_data_lookup   /usr/local/lib/libsnmp.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 7914 "configure"
#include "confdefs.h"
extern char snmp_build_var_op();
int main() {
 snmp_build_var_op()
; return 0; }
configure:7943: gcc -o

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Hampson
Sent: June 20, 2003 5:49 AM
To: [EMAIL PROTECTED]
Subject: RE: Radius does not try to register with SMUX- REPOSTED

> From: Yousef Jamous
> Sent: Friday, 20 June 2003 7:18 AM

> Can you please send me the lines before and after the "$INCLUDE
> ${confdir}/snmp.conf" to compare it with mine?


# SNMP CONFIGURATION
#
#  Snmp configuration is only valid if SNMP support was enabled
#  at compile time.
#
#  To enable SNMP querying of the server, set the value of the
#  'snmp' attribute to 'yes'
#
snmp= yes
$INCLUDE  ${confdir}/snmp.conf


# THREAD POOL CONFIGURATION
--
=
Paul "TBBle" Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

The Creation of the Universe was made
possible by a grant from Texas Instruments.
-- PBS
-
Random signature generator 3.0 by Paul "TBBle" Hampson
=


- 
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: Radius does not try to register with SMUX- REPOSTED

2003-06-19 Thread Paul Hampson
> From: Yousef Jamous
> Sent: Friday, 20 June 2003 7:18 AM

> Can you please send me the lines before and after the "$INCLUDE
> ${confdir}/snmp.conf" to compare it with mine?


# SNMP CONFIGURATION
#
#  Snmp configuration is only valid if SNMP support was enabled
#  at compile time.
#
#  To enable SNMP querying of the server, set the value of the
#  'snmp' attribute to 'yes'
#
snmp= yes
$INCLUDE  ${confdir}/snmp.conf


# THREAD POOL CONFIGURATION
--
=
Paul "TBBle" Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

The Creation of the Universe was made
possible by a grant from Texas Instruments.
-- PBS
-
Random signature generator 3.0 by Paul "TBBle" Hampson
=


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


RE: Radius does not try to register with SMUX- REPOSTED

2003-06-19 Thread Chris van Meerendonk
On Thu, 2003-06-19 at 18:57, Yousef Jamous wrote:
> As I mentioned in my e-mail, I specified the option to compile with
> snmp.
Yep, I read it. It seams "--enable-snmp" is equivalent to
"--enable-snmp=no". Since it's default, please don't specify it, or do
it with "--enable-snmp=yes".

Chris

> What can cause not compiling with SNMP though I specified that?
> Could it be a bug in the version I'm using (I'm using the latest
> version).
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Chris van
> Meerendonk
> Sent: June 19, 2003 6:12 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Radius does not try to register with SMUX- REPOSTED
> 
> It looks like your freeradius isn't compiled with snmp support, although
> you specified it. The only way of *not* getting the SMUX messages in
> debug mode was to compile freeradius again with --enable-snmp=no.
> 
> Please double check that snmp support was compiled. Since it's default,
> you dont have to specify the --enable-snmp feature.
> 
> Chris
> 
> 
> On Wed, 2003-06-18 at 23:06, Yousef Jamous wrote:
> > Sorry for the previous posting, it was with some HTML lines.
> > I'm trying to use net-snmp V5.0.8 to get information from my
> free-radius
> > server (V 0.8.1).
> > 
> > I did the following:
> > Compiled radius server with --enable-snmp option
> > net-snmp was compiled with SMUX option module
> > Radius MIBS are accessible by the snmpd
> > In the radius snmp.cof file I put:
> > smux_password = secretpassword
> > snmp_write_access = no
> > snmpd.conf contains the line
> > smuxpeer .1.3.6.1.4.1.3317.1.3.1 secretpassword
> > When I run the command:
> > snmpd -f -a -V -L -Dsmux
> > smux_init: [smux_init] done; smux listen sd is 8, smux port is 199
> > smux_conf: parsing registration for: 1.3.6.1.4.1.3317.1.3.1
> > secretpassword
> > NET-SNMP version 5.0.8
> > 
> > When I launch radiusd using radiusd -xxx, I see the logs, I do not see
> > an entry showing that the radiusd has connected to the SMUX. 
> > My log file looks something like:
> > 
> > Starting - reading configuration files ...
> > reread_config:  reading radiusd.conf
> > Config:   including file: /usr/local/etc/raddb/proxy.conf
> > Config:   including file: /usr/local/etc/raddb/clients.conf
> > Config:   including file: /usr/local/etc/raddb/snmp.conf
> > Config:   including file: /usr/local/etc/raddb/sql.conf
> >  main: prefix = "/usr/local"
> >  main: localstatedir = "/usr/local/var"
> >  main: logdir = "/usr/local/var/log/radius"
> >  main: libdir = "/usr/local/lib"
> >  main: radacctdir = "/usr/local/var/log/radius/radacct"
> >  main: hostname_lookups = no
> >  main: max_request_time = 30
> >  main: cleanup_delay = 5
> >  main: max_requests = 1024
> >  main: delete_blocked_requests = 0
> >  main: port = 0
> >  main: allow_core_dumps = no
> >  main: log_stripped_names = no
> >  main: log_file = "/usr/local/var/log/radius/radius.log"
> >  main: log_auth = yes
> >  main: log_auth_badpass = no
> >  main: log_auth_goodpass = no
> >  main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
> >  main: user = "(null)"
> >  main: group = "(null)"
> >  main: usercollide = no
> >  main: lower_user = "no"
> >  main: lower_pass = "no"
> >  main: nospace_user = "no"
> >  main: nospace_pass = "no"
> >  main: checkrad = "/usr/local/sbin/checkrad"
> >  main: proxy_requests = yes
> >  proxy: retry_delay = 5
> >  proxy: retry_count = 3
> >  proxy: synchronous = no
> >  proxy: default_fallback = yes
> >  proxy: dead_time = 120
> >  proxy: servers_per_realm = 15
> >  security: max_attributes = 200
> >  security: reject_delay = 1
> >  security: status_server = no
> >  main: debug_level = 0
> > read_config_files:  reading dictionary
> > read_config_files:  reading naslist
> > read_config_files:  reading clients
> > read_config_files:  reading realms
> > radiusd:  entering modules setup
> > Module: Library search path is /usr/local/lib
> > Module: Loaded expr
> > Module: Instantiated expr (expr)
> > Module: Loaded PAP
> >  pap: encryption_scheme = "crypt"
> > Module: Instantiated pap (pap)
> > Module: Loaded CHAP
> > Module: Instantiated chap (chap)
> > Module: Loaded MS-CHAP
> >  mschap: ignore_passwo

RE: Radius does not try to register with SMUX- REPOSTED

2003-06-19 Thread Yousef Jamous
Paul
Can you please send me the lines before and after the "$INCLUDE
${confdir}/snmp.conf" to compare it with mine?

Many thanks
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Hampson
Sent: June 19, 2003 10:08 PM
To: [EMAIL PROTECTED]
Subject: RE: Radius does not try to register with SMUX- REPOSTED

> From: Yousef Jamous
> Sent: Thursday, 19 June 2003 7:07 AM

> Sorry for the previous posting, it was with some HTML lines.
> I'm trying to use net-snmp V5.0.8 to get information from my
free-radius
> server (V 0.8.1).

I don't want to be patronising, but did you remember to
set "snmp = yes" istead of "snmp = no" on the line above the
"$INCLUDE  ${confdir}/snmp.conf"? (Or elsewhere in your
configuration, I guess...) It doesn't appear in your radiusd -X
output... "main: snmp = yes" should be there somewhere.

Apart from that, I can't see what else could be wrong.

--
=
Paul "TBBle" Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

The Creation of the Universe was made
possible by a grant from Texas Instruments.
-- PBS
-
Random signature generator 3.0 by Paul "TBBle" Hampson
=


- 
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: Radius does not try to register with SMUX- REPOSTED

2003-06-19 Thread Paul Hampson
> From: Yousef Jamous
> Sent: Thursday, 19 June 2003 7:07 AM

> Sorry for the previous posting, it was with some HTML lines.
> I'm trying to use net-snmp V5.0.8 to get information from my free-radius
> server (V 0.8.1).

I don't want to be patronising, but did you remember to
set "snmp = yes" istead of "snmp = no" on the line above the
"$INCLUDE  ${confdir}/snmp.conf"? (Or elsewhere in your
configuration, I guess...) It doesn't appear in your radiusd -X
output... "main: snmp = yes" should be there somewhere.

Apart from that, I can't see what else could be wrong.

--
=
Paul "TBBle" Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

The Creation of the Universe was made
possible by a grant from Texas Instruments.
-- PBS
-
Random signature generator 3.0 by Paul "TBBle" Hampson
=


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


RE: Radius does not try to register with SMUX- REPOSTED

2003-06-19 Thread Yousef Jamous
Thanks Chris for your advice.
As I mentioned in my e-mail, I specified the option to compile with
snmp.
What can cause not compiling with SNMP though I specified that?
Could it be a bug in the version I'm using (I'm using the latest
version).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris van
Meerendonk
Sent: June 19, 2003 6:12 PM
To: [EMAIL PROTECTED]
Subject: Re: Radius does not try to register with SMUX- REPOSTED

It looks like your freeradius isn't compiled with snmp support, although
you specified it. The only way of *not* getting the SMUX messages in
debug mode was to compile freeradius again with --enable-snmp=no.

Please double check that snmp support was compiled. Since it's default,
you dont have to specify the --enable-snmp feature.

Chris


On Wed, 2003-06-18 at 23:06, Yousef Jamous wrote:
> Sorry for the previous posting, it was with some HTML lines.
> I'm trying to use net-snmp V5.0.8 to get information from my
free-radius
> server (V 0.8.1).
> 
> I did the following:
> Compiled radius server with --enable-snmp option
> net-snmp was compiled with SMUX option module
> Radius MIBS are accessible by the snmpd
> In the radius snmp.cof file I put:
> smux_password = secretpassword
> snmp_write_access = no
> snmpd.conf contains the line
> smuxpeer .1.3.6.1.4.1.3317.1.3.1 secretpassword
> When I run the command:
> snmpd -f -a -V -L -Dsmux
> smux_init: [smux_init] done; smux listen sd is 8, smux port is 199
> smux_conf: parsing registration for: 1.3.6.1.4.1.3317.1.3.1
> secretpassword
> NET-SNMP version 5.0.8
> 
> When I launch radiusd using radiusd -xxx, I see the logs, I do not see
> an entry showing that the radiusd has connected to the SMUX. 
> My log file looks something like:
> 
> Starting - reading configuration files ...
> reread_config:  reading radiusd.conf
> Config:   including file: /usr/local/etc/raddb/proxy.conf
> Config:   including file: /usr/local/etc/raddb/clients.conf
> Config:   including file: /usr/local/etc/raddb/snmp.conf
> Config:   including file: /usr/local/etc/raddb/sql.conf
>  main: prefix = "/usr/local"
>  main: localstatedir = "/usr/local/var"
>  main: logdir = "/usr/local/var/log/radius"
>  main: libdir = "/usr/local/lib"
>  main: radacctdir = "/usr/local/var/log/radius/radacct"
>  main: hostname_lookups = no
>  main: max_request_time = 30
>  main: cleanup_delay = 5
>  main: max_requests = 1024
>  main: delete_blocked_requests = 0
>  main: port = 0
>  main: allow_core_dumps = no
>  main: log_stripped_names = no
>  main: log_file = "/usr/local/var/log/radius/radius.log"
>  main: log_auth = yes
>  main: log_auth_badpass = no
>  main: log_auth_goodpass = no
>  main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
>  main: user = "(null)"
>  main: group = "(null)"
>  main: usercollide = no
>  main: lower_user = "no"
>  main: lower_pass = "no"
>  main: nospace_user = "no"
>  main: nospace_pass = "no"
>  main: checkrad = "/usr/local/sbin/checkrad"
>  main: proxy_requests = yes
>  proxy: retry_delay = 5
>  proxy: retry_count = 3
>  proxy: synchronous = no
>  proxy: default_fallback = yes
>  proxy: dead_time = 120
>  proxy: servers_per_realm = 15
>  security: max_attributes = 200
>  security: reject_delay = 1
>  security: status_server = no
>  main: debug_level = 0
> read_config_files:  reading dictionary
> read_config_files:  reading naslist
> read_config_files:  reading clients
> read_config_files:  reading realms
> radiusd:  entering modules setup
> Module: Library search path is /usr/local/lib
> Module: Loaded expr
> Module: Instantiated expr (expr)
> Module: Loaded PAP
>  pap: encryption_scheme = "crypt"
> Module: Instantiated pap (pap)
> Module: Loaded CHAP
> Module: Instantiated chap (chap)
> Module: Loaded MS-CHAP
>  mschap: ignore_password = no
>  mschap: use_mppe = yes
>  mschap: require_encryption = no
>  mschap: require_strong = no
>  mschap: passwd = "(null)"
>  mschap: authtype = "MS-CHAP"
> Module: Instantiated mschap (mschap)
> Module: Loaded System
>  unix: cache = no
>  unix: passwd = "(null)"
>  unix: shadow = "(null)"
>  unix: group = "(null)"
>  unix: radwtmp = "/usr/local/var/log/radius/radwtmp"
>  unix: usegroup = no
>  unix: cache_reload = 600
> Module: Instantiated unix (unix)
> Module: Loaded preprocess
>  preprocess: huntgroups = "/usr/local/etc/raddb/huntgroups"
>  preprocess: hints = "/usr/local/etc/raddb/hints"
>  preprocess: with_ascend_hack = 

Re: Radius does not try to register with SMUX- REPOSTED

2003-06-19 Thread Chris van Meerendonk
It looks like your freeradius isn't compiled with snmp support, although
you specified it. The only way of *not* getting the SMUX messages in
debug mode was to compile freeradius again with --enable-snmp=no.

Please double check that snmp support was compiled. Since it's default,
you dont have to specify the --enable-snmp feature.

Chris


On Wed, 2003-06-18 at 23:06, Yousef Jamous wrote:
> Sorry for the previous posting, it was with some HTML lines.
> I'm trying to use net-snmp V5.0.8 to get information from my free-radius
> server (V 0.8.1).
> 
> I did the following:
> Compiled radius server with --enable-snmp option
> net-snmp was compiled with SMUX option module
> Radius MIBS are accessible by the snmpd
> In the radius snmp.cof file I put:
> smux_password = secretpassword
> snmp_write_access = no
> snmpd.conf contains the line
> smuxpeer .1.3.6.1.4.1.3317.1.3.1 secretpassword
> When I run the command:
> snmpd -f -a -V -L -Dsmux
> smux_init: [smux_init] done; smux listen sd is 8, smux port is 199
> smux_conf: parsing registration for: 1.3.6.1.4.1.3317.1.3.1
> secretpassword
> NET-SNMP version 5.0.8
> 
> When I launch radiusd using radiusd -xxx, I see the logs, I do not see
> an entry showing that the radiusd has connected to the SMUX. 
> My log file looks something like:
> 
> Starting - reading configuration files ...
> reread_config:  reading radiusd.conf
> Config:   including file: /usr/local/etc/raddb/proxy.conf
> Config:   including file: /usr/local/etc/raddb/clients.conf
> Config:   including file: /usr/local/etc/raddb/snmp.conf
> Config:   including file: /usr/local/etc/raddb/sql.conf
>  main: prefix = "/usr/local"
>  main: localstatedir = "/usr/local/var"
>  main: logdir = "/usr/local/var/log/radius"
>  main: libdir = "/usr/local/lib"
>  main: radacctdir = "/usr/local/var/log/radius/radacct"
>  main: hostname_lookups = no
>  main: max_request_time = 30
>  main: cleanup_delay = 5
>  main: max_requests = 1024
>  main: delete_blocked_requests = 0
>  main: port = 0
>  main: allow_core_dumps = no
>  main: log_stripped_names = no
>  main: log_file = "/usr/local/var/log/radius/radius.log"
>  main: log_auth = yes
>  main: log_auth_badpass = no
>  main: log_auth_goodpass = no
>  main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
>  main: user = "(null)"
>  main: group = "(null)"
>  main: usercollide = no
>  main: lower_user = "no"
>  main: lower_pass = "no"
>  main: nospace_user = "no"
>  main: nospace_pass = "no"
>  main: checkrad = "/usr/local/sbin/checkrad"
>  main: proxy_requests = yes
>  proxy: retry_delay = 5
>  proxy: retry_count = 3
>  proxy: synchronous = no
>  proxy: default_fallback = yes
>  proxy: dead_time = 120
>  proxy: servers_per_realm = 15
>  security: max_attributes = 200
>  security: reject_delay = 1
>  security: status_server = no
>  main: debug_level = 0
> read_config_files:  reading dictionary
> read_config_files:  reading naslist
> read_config_files:  reading clients
> read_config_files:  reading realms
> radiusd:  entering modules setup
> Module: Library search path is /usr/local/lib
> Module: Loaded expr
> Module: Instantiated expr (expr)
> Module: Loaded PAP
>  pap: encryption_scheme = "crypt"
> Module: Instantiated pap (pap)
> Module: Loaded CHAP
> Module: Instantiated chap (chap)
> Module: Loaded MS-CHAP
>  mschap: ignore_password = no
>  mschap: use_mppe = yes
>  mschap: require_encryption = no
>  mschap: require_strong = no
>  mschap: passwd = "(null)"
>  mschap: authtype = "MS-CHAP"
> Module: Instantiated mschap (mschap)
> Module: Loaded System
>  unix: cache = no
>  unix: passwd = "(null)"
>  unix: shadow = "(null)"
>  unix: group = "(null)"
>  unix: radwtmp = "/usr/local/var/log/radius/radwtmp"
>  unix: usegroup = no
>  unix: cache_reload = 600
> Module: Instantiated unix (unix)
> Module: Loaded preprocess
>  preprocess: huntgroups = "/usr/local/etc/raddb/huntgroups"
>  preprocess: hints = "/usr/local/etc/raddb/hints"
>  preprocess: with_ascend_hack = no
>  preprocess: ascend_channels_per_line = 23
>  preprocess: with_ntdomain_hack = no
>  preprocess: with_specialix_jetstream_hack = no
>  preprocess: with_cisco_vsa_hack = no
> Module: Instantiated preprocess (preprocess)
> Module: Loaded realm
>  realm: format = "suffix"
>  realm: delimiter = "@"
> Module: Instantiated realm (suffix)
> Module: Loaded files
>  files: usersfile = "/usr/local/etc/raddb/users"
>  files: acctusersfile = "/usr/local/etc/raddb/acct_users"
>  files: preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"
>  files: compat = "no"
> Module: Instantiated files (files)
> Module: Loaded Acct-Unique-Session-Id
>  acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address,
> Client-I=
> P-Address, NAS-Port-Id"
> Module: Instantiated acct_unique (acct_unique)
> Module: Loaded detail
>  detail: detailfile =
> "/usr/local/var/log/radius/radacct/%{Client-IP-Addr=
> ess}/detail-%Y%m%d"
>  detail: detailperm = 384
>  detail: dirperm = 493
>  detail: locking = no
> Module: Instantiated detail (deta