Re: Freeradius from inetd

2005-10-10 Thread A . L . M . Buxey
Hi,

> Thanks, I am wondering, is there any other way that I can start
> radiusd automatically after every boot.

use the daemon scripts.  what OS are you using? theres usually an
'init.d' script that will fit the bill.  simply copy it into
the correct directory (eg /etc/init.d) and softlink to that from
your run directory - eg /etc/rc.d/rc3.d as other scripts are -
and then use the correct tool to do the job.   ah, the joys
of each Linux distribution being totally different.  chkconfig
on RedHat-style systems,  rc-update is your friend on gentoo etc

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


RE: Freeradius from inetd

2005-10-10 Thread Jonathan De Graeve
Put it in your startup scripts?


J.

-- 
Jonathan De Graeve
Network/System Administrator
Imelda vzw
Informatica Dienst
015/50.52.98
[EMAIL PROTECTED]

-
Always read the manual for the correct way to do things because the
number of incorrect ways to do things is almost infinite
-

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Adharsh P
Verzonden: maandag 10 oktober 2005 7:58
Aan: Alan DeKok; freeradius-users@lists.freeradius.org
Onderwerp: Re: Freeradius from inetd

Hello Alan,

Thanks, I am wondering, is there any other way that I can start
radiusd automatically after every boot.

Thanks and regards,
adharsh

 --
> > I am trying to start radiusd from inetd.conf.
>   Don't.  It won't work.
>   Alan DeKok.
--

- 
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: Freeradius from inetd

2005-10-09 Thread Adharsh P
Hello Alan,

Thanks, I am wondering, is there any other way that I can start
radiusd automatically after every boot.

Thanks and regards,
adharsh

 --
> > I am trying to start radiusd from inetd.conf.
>   Don't.  It won't work.
>   Alan DeKok.
--

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


Re: Freeradius from inetd

2005-10-07 Thread Alan DeKok
Adharsh P <[EMAIL PROTECTED]> wrote:
> I am trying to start radiusd from inetd.conf.

  Don't.  It won't work.

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


Freeradius from inetd

2005-10-07 Thread Adharsh P
Hello all,

I am trying to start radiusd from inetd.conf.

The entry in inetd.conf
 radiusdgramudp  waitroot   
/usr/local/sbin/radiusd radiusd

I have added the entries in /etc/services/ as

radius 1812/udp
radacct 1813/udp

when I reload inetd, the logs say
inetd[940]: /usr/local/sbin/radiusd: exit status (1)

netstat -n  displays *1812 but not *1813
udp  120  0  *.1812*.*

however radiusd is not accepting any request from the localhost using
radclient/radtest.

However, when I run radiusd from the command line  /usr/local/sbin/radiusd
radiusd starts and accepts requests.

netstat -n displays
udp0  0  *.1812*.*
udp0  0  *.1813*.*

I am not able to understand when using inetd, radiusd doesn't start.
Am I missing something ? Do I have to modify anything in the
configuration files ? I tried looking in the docs and archives,  there
is no mention on this. Could you please guide me, or give some
pointers on where to look for.

regards,
adharsh.

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