RE: FreeRADIUS under Cygwin

2003-01-29 Thread Philip Blow
Glad to be of help.

Sorry about the diffs. The doc was originally for my own use. When I get
a
Chance I will tidy up and repost.

The out of the grep is:
exeext=""

Philip Blow
Senior Technical Manager
Simply Wireless
[EMAIL PROTECTED]

> "Philip Blow" <[EMAIL PROTECTED]> wrote:
> > Here are some brief notes I but together for compiling FreeRADIUS
0.8.1
> > on Windows XP with EAP/TLS support.
> ...
> 
>   Nice, but your diff's are reversed.
> 
> 4. the top-level Makefile change isn't needed in the CVS head, I've
>   fixed that issue.
> 
> - On the cygwin system, can you do:
> 
>   grep ^exeext libtool
> 
>   and mail the output to the list?  I'll see if I can fix the problems
> with installing executables.
> 
> 
> 6.  Hmm... I'll fix that in the CVS head.  It may also explain
> weirdness on MACOSX.
> 
> 
>   It's a good document.  I'll add it as 'doc/CYGWIN'
> 
>   Alan DeKok.
> 

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



Re: FreeRADIUS under Cygwin

2003-01-29 Thread Alan DeKok
"Philip Blow" <[EMAIL PROTECTED]> wrote:
> Here are some brief notes I but together for compiling FreeRADIUS 0.8.1
> on Windows XP with EAP/TLS support.
...

  Nice, but your diff's are reversed.

4. the top-level Makefile change isn't needed in the CVS head, I've
  fixed that issue.

- On the cygwin system, can you do:

  grep ^exeext libtool

  and mail the output to the list?  I'll see if I can fix the problems
with installing executables.


6.  Hmm... I'll fix that in the CVS head.  It may also explain
weirdness on MACOSX.


  It's a good document.  I'll add it as 'doc/CYGWIN'

  Alan DeKok.

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



RE: FreeRADIUS under Cygwin

2003-01-28 Thread Philip Blow
Here are some brief notes I but together for compiling FreeRADIUS 0.8.1
on Windows XP with EAP/TLS support.

Configuring FreeRADIUS for EAP under CygWin.

1.  Installing CygWin

Install the latest version of CygWin (at time of writing 1.3.19-1) from
the web download (http://www.cygwin.com).

2.  Install the following packages (make as minimum list)

Package Version
_update-info-dir00126-1
ash 20020731-1
autoconf2.54-1
autoconf-devel  2.57-1
autoconf-stable 2.13-4
automake1.7.1-1
automake-devel  1.7.2-1
automake-stable 1.4p5-5
base-files  1.1-1
base-passwd 1.0-1
bash2.05b-8
bc  1.06-1
binutils20021117-1
byacc   1.9-1
bzip2   1.0.2-2
crypt   1.0-1
cygrunsrv   0.95-1
cygutils1.1.3-1
cygwin  1.3.19-1
cygwin-doc  1.3-2
diff1.0-1
diffutils   2.8.1-1
ed  0.2-1
file3.37-1
fileutils   4.1-1
findutils   4.1.7-4
gawk3.1.1-5
gcc 3.2-3
gcc-mingw   20020817-5
gcc22.95.3-10
gdb 20021218-1
gdbm1.8.0-4
gettext 0.11.5-1
grep2.5-1
groff   1.18.1-2
gzip1.3.3-4
inetutils   1.3.2-20
initscripts 0.9-1
less378-1
libbz2_01.0.2-1
libbz2_11.0.2-2
libiconv2   1.8-2
libintl 0.10.38-3
libintl10.10.40-1
libintl20.11.5-1
libltdl320030103-1
libncurses5 5.2-1
libncurses6 5.2-8
libpng101.0.14-2
libpng121.2.4-2
libpopt01.6.4-4
libreadline44.1-2
libreadline54.3-2
libtool 20020202a-1
libtool-devel   20021227-1
libtool-stable  1.4.2-2
libxml2 2.4.23-1
login   1.7-1
m4  1.4-1
make3.79.1-7
man 1.5j-1
mingw-runtime   2.3-1
mktemp  1.4-1
more2.11o-1
nasm0.98.35-1
ncurses 5.2-8
newlib-man  20020801
openssh 3.5p1-3
openssl 0.9.7-1
openssl-devel   0.9.7-1
openssl096  0.9.6h-1
patch   2.5.8-2
pcre3.7-1
perl5.6.1-2
readline4.3-2
sed 4.0.5-1
sh-utils2.0.15-3
sharutils   4.2.1-2
sysvinit2.84-3
tar 1.13.25-1
tcltk   20021218-1
termcap 20020930-1
terminfo5.2-3
texinfo 4.2-4
textutils   2.0.21-1
tiff3.5.7-1
time1.7-1
unzip   5.50-1
vim 6.1-2
w32api  2.1-1
wget1.8.2-2
which   1.5-1
xinetd  2.3.9-1
zip 2.3-2
zlib1.1.4-1

3.  Download the FreeRADIUS source code form
http://www.freeradius.org/. Version 0.8.1 is the most recent at time of
writing.

4.  Expand freeradius.0.8.1.tar.gz

5.  Make the following changes to the source code

Makefile

< install: installed
---
> install:
71,73d70
< installed:
<   touch installed
<

src/main/Makefile.in

145,148c145,148
<   $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP)
radiusd.exe $(R)$(sbindir)
<   $(INSTALL) -m 755 $(INSTALLSTRIP) radwho.exe
$(R)$(bindir)
<   $(INSTALL) -m 755 $(INSTALLSTRIP) raduse.exe
$(R)$(bindir)
<   $(INSTALL) -m 755 $(INSTALLSTRIP) radzap.exe
$(R)$(bindir)
---
>   $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP)
radiusd $(R)$(sbindir)
>   $(INSTALL) -m 755 $(INSTALLSTRIP) radwho
$(R)$(bindir)
>   $(INSTALL) -m 755 $(INSTALLSTRIP) raduse
$(R)$(bindir)
>   $(INSTALL) -m 755 $(INSTALLSTRIP) radzap
$(R)$(bindir)
150,151c150,151
<   $(INSTALL) -m 755radclient.exe  $(R)$(bindir)
<   $(INSTALL) -m 755radrelay.exe   $(R)$(bindir)
---
>   $(INSTALL) -m 755radclient  $(R)$(bindir)
>   $(INSTALL) -m 755radrelay   $(R)$(bindir)

src/modules/rlm_dbm/Makefile.in

22,23c22,23
<   $(INSTALL) -m 755 $(INSTALLSTRIP) rlm_dbm_parser.exe
$(R)$(bindir)
<   $(INSTALL) -m 755 $(INSTALLSTRIP) rlm_dbm_cat.exe
$(R)$(bindir)
---
>   $(INSTALL) -m 755 $(INSTALLSTRIP) rlm_dbm_parser $(R)$(bindir)
>   $(INSTALL) -m 755 $(INSTALLSTRIP) rlm_dbm_cat$(R)$(bindir)

src/modules/rlm_mschap/Makefile

20c20
<   $(INSTALL) -m 755 $(INSTALLSTRIP) smbencrypt.exe $(R)$(bindir)
---
>   $(INSTALL) -m 755 $(INSTALLSTRIP) smbencrypt $(R)$(bindir)

6.  Link gcc.exe to cc.exe is /bin with ln -s ./gcc.exe cc.exe -
this is required because the rlm_eap_tls configure file is incorrect can
uses cc even if it is not defined.

7.  Run configure with the following command line

./configure -without-snmp -disable-shared -enabled-static

8.  Modify the Make.inc after configure has completed so that the
STATIC_MODULES variable is set to
-dlpreopen ../modules/rlm_eap/types/rlm_eap_md5/rlm_eap_md5.la \
-dlpreopen ../modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.la

9.  Execute make and then make install


Philip Blow
Senior Technical Manager
Simply Wireless
[EMAIL PROTECTED]
 

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



Re: FreeRADIUS under Cygwin

2003-01-21 Thread Simon White
21-Jan-03 at 09:07, Amiri ( IranData.com ) ([EMAIL PROTECTED]) wrote :
> Does any one know how is the performance of the cygwin version of freeradius?
> Does it work well?

There's no reason to assume it won't work reasonably, but it won't run
as fast as on a platform for which it will natively compile.

-- 
|-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



Re: FreeRADIUS under Cygwin

2003-01-21 Thread Amiri \( IranData.com \)
Does any one know how is the performance of the cygwin version of freeradius?
Does it work well?

MAK
IranData

--- Chris Parker <[EMAIL PROTECTED]> wrote:
> At 04:44 PM 1/21/2003 +0300, 3APA3A wrote:
> >Dear leaobicalho,
> >
> >Last  time  I've  tried  I  was  able  to complile FreeRADIUS with minor
> >patches  (already included in latest releases, so it should compile OK),
> >but  I  was not able to run it due to DLL things. You can try to compile
> >it static.
> 
> If you configure it with --disable-shared it should work for you.  For
> grins I built it under cygwin on a win2k box here:
> 
> [(OSMIUM) ~/radiusd/src/main ]$ uname -a
> CYGWIN_NT-5.0 OSMIUM 1.3.6(0.47/3/2) 2001-12-08 17:02 i686 unknown
> [(OSMIUM) ~/radiusd/src/main ]$ ./radiusd -v
> lt-radiusd.exe: FreeRADIUS Version 0.9-pre, for host i686-pc-cygwin, built 
> on Jan  9 2003 at 10:51:13
> 
> -Chris
> 
> 
> --
> \\\|||///  \  StarNet Inc.  \ Chris Parker
> \ ~   ~ /   \   WX *is* Wireless!\   Director, Engineering
> | @   @ |\   http://www.starnetwx.net \  (847) 963-0116
> oOo---(_)---oOo--\--
>\ Wholesale Internet Services - http://www.megapop.net
> 
> 
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: FreeRADIUS under Cygwin

2003-01-21 Thread Chris Parker
At 04:44 PM 1/21/2003 +0300, 3APA3A wrote:

Dear leaobicalho,

Last  time  I've  tried  I  was  able  to complile FreeRADIUS with minor
patches  (already included in latest releases, so it should compile OK),
but  I  was not able to run it due to DLL things. You can try to compile
it static.


If you configure it with --disable-shared it should work for you.  For
grins I built it under cygwin on a win2k box here:

[(OSMIUM) ~/radiusd/src/main ]$ uname -a
CYGWIN_NT-5.0 OSMIUM 1.3.6(0.47/3/2) 2001-12-08 17:02 i686 unknown
[(OSMIUM) ~/radiusd/src/main ]$ ./radiusd -v
lt-radiusd.exe: FreeRADIUS Version 0.9-pre, for host i686-pc-cygwin, built 
on Jan  9 2003 at 10:51:13

-Chris


--
   \\\|||///  \  StarNet Inc.  \ Chris Parker
   \ ~   ~ /   \   WX *is* Wireless!\   Director, Engineering
   | @   @ |\   http://www.starnetwx.net \  (847) 963-0116
oOo---(_)---oOo--\--
  \ Wholesale Internet Services - http://www.megapop.net



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


Re: FreeRADIUS under Cygwin

2003-01-21 Thread Alan DeKok
"leaobicalho" <[EMAIL PROTECTED]> wrote:
> I need run Radius Server under
> WindowsXP, are possible?

  Under Cygwin?  I don't know, why don't you try?

  Alan DeKok.

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



Re: FreeRADIUS under Cygwin

2003-01-21 Thread 3APA3A
Dear leaobicalho,

Last  time  I've  tried  I  was  able  to complile FreeRADIUS with minor
patches  (already included in latest releases, so it should compile OK),
but  I  was not able to run it due to DLL things. You can try to compile
it static.

--Tuesday, January 21, 2003, 4:30:19 PM, you wrote to 
[EMAIL PROTECTED]:

l> I need run Radius Server under
l> WindowsXP, are possible?

 
l> __
l> E-mail Premium BOL
l> Antivírus, anti-spam e até 100 MB de espaço. Assine já!
l> http://email.bol.com.br/



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


-- 
~/ZARAZA
Èòàê, ÿ áóäó êðàòîê. (Òâåí)


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



FreeRADIUS under Cygwin

2003-01-21 Thread leaobicalho
I need run Radius Server under
WindowsXP, are possible?


__
E-mail Premium BOL
Antivírus, anti-spam e até 100 MB de espaço. Assine já!
http://email.bol.com.br/



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



FreeRADIUS under Cygwin

2003-01-21 Thread leaobicalho
I need run Radius Server under
WindowsXP, are possible?


__
E-mail Premium BOL
Antivírus, anti-spam e até 100 MB de espaço. Assine já!
http://email.bol.com.br/



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