Freeradius + DHCP server ?
Hi, Is it works ? If yes, can somebody tell me how i can do that ? My users is auth. and i want get him some address IP. BR -- Rafal Kaminski http://blstream.com email: rafal.kaminski@blstream.com jid: rka@im.blstream.com
On Mon 22 Jan 2007 12:13, Rafał Kamiński wrote:
Hi,
Is it works ?
If yes, can somebody tell me how i can do that ?
My users is auth. and i want get him some address IP.
http://wiki.freeradius.org/DHCP -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Rafał Kamiński wrote:
Hi,
Is it works ?
No
If yes, can somebody tell me how i can do that ?
My users is auth. and i want get him some address IP.
FreeRadius contains an ippool module suitable for assigning IPs to things like dialup links. Things like wireless/802.1x use DHCP, which FreeRadius does not support. You could use an Exec-Program to integrate an external DHCP server with FreeRadius, but you would have to write that yourself. This is a FAQ - could someone who has registered with the Wiki (grr openid grr) add it?
Oki, I set ippool main {} and what i must set in users to add auth. user IP "rka" Auth-Type := EAP, Pool-Name := "main_ippool" Framed-Route = 192.168.1.245 Is it correct ?? -- Rafal Kaminski http://blstream.com email: rafal.kaminski@blstream.com jid: rka@im.blstream.com
Hi! I trying to set up freeradius not in the "stadnard directory" I would like to have it installed in the directory specifiedby hand for instance /home/radius/freeradius so I run configure in such a way: ./configure --prefix=/home/radius/freeradius --with-logdir=/home/radius/freeradius/log --with-radacctdir=/home/radius/freeradius/radacc --with-raddbdir=/home/radius/freeradius/raddb then I run make and make install and during make install receive the following error: make[6]: Wejście do katalogu `/home/radius/src/radiusd/src/modules/rlm_acct_unique' if [ "xrlm_acct_unique" != "x" ]; then \ /home/radius/src/radiusd/libtool --mode=install /home/radius/src/radiusd/install-sh -c -c \ rlm_acct_unique.la /home/radius/freeradius/lib/rlm_acct_unique.la || exit $?; \ rm -f /home/radius/freeradius/lib/rlm_acct_unique-2.0.0-pre0.la; \ ln -s rlm_acct_unique.la /home/radius/freeradius/lib/rlm_acct_unique-2.0.0-pre0.la || exit $?; \ fi libtool: install: error: cannot install `rlm_acct_unique.la' to a directory not ending in /usr/local/lib make[6]: *** [install] Błąd 1 make[6]: Opuszczenie katalogu `/home/radius/src/radiusd/src/modules/rlm_acct_unique' make[5]: *** [common] Błąd 2 make[5]: Opuszczenie katalogu `/home/radius/src/radiusd/src/modules' make[4]: *** [install] Błąd 2 make[4]: Opuszczenie katalogu `/home/radius/src/radiusd/src/modules' make[3]: *** [common] Błąd 2 make[3]: Opuszczenie katalogu `/home/radius/src/radiusd/src' make[2]: *** [install] Błąd 2 make[2]: Opuszczenie katalogu `/home/radius/src/radiusd/src' make[1]: *** [common] Błąd 2 make[1]: Opuszczenie katalogu `/home/radius/src/radiusd' make: *** [install] Błąd 2 Please help me with this one. BEsts Tomasz
Dear U have to specifiy lib directory or lib directory path in install option ./configure --help Satish patel tzieleniewski <tzieleniewski@o2.pl> wrote: Hi! I trying to set up freeradius not in the "stadnard directory" I would like to have it installed in the directory specifiedby hand for instance /home/radius/freeradius so I run configure in such a way: ./configure --prefix=/home/radius/freeradius --with-logdir=/home/radius/freeradius/log --with-radacctdir=/home/radius/freeradius/radacc --with-raddbdir=/home/radius/freeradius/raddb then I run make and make install and during make install receive the following error: make[6]: WejÅcie do katalogu `/home/radius/src/radiusd/src/modules/rlm_acct_unique' if [ "xrlm_acct_unique" != "x" ]; then \ /home/radius/src/radiusd/libtool --mode=install /home/radius/src/radiusd/install-sh -c -c \ rlm_acct_unique.la /home/radius/freeradius/lib/rlm_acct_unique.la || exit $?; \ rm -f /home/radius/freeradius/lib/rlm_acct_unique-2.0.0-pre0.la; \ ln -s rlm_acct_unique.la /home/radius/freeradius/lib/rlm_acct_unique-2.0.0-pre0.la || exit $?; \ fi libtool: install: error: cannot install `rlm_acct_unique.la' to a directory not ending in /usr/local/lib make[6]: *** [install] BÅÄ d 1 make[6]: Opuszczenie katalogu `/home/radius/src/radiusd/src/modules/rlm_acct_unique' make[5]: *** [common] BÅÄ d 2 make[5]: Opuszczenie katalogu `/home/radius/src/radiusd/src/modules' make[4]: *** [install] BÅÄ d 2 make[4]: Opuszczenie katalogu `/home/radius/src/radiusd/src/modules' make[3]: *** [common] BÅÄ d 2 make[3]: Opuszczenie katalogu `/home/radius/src/radiusd/src' make[2]: *** [install] BÅÄ d 2 make[2]: Opuszczenie katalogu `/home/radius/src/radiusd/src' make[1]: *** [common] BÅÄ d 2 make[1]: Opuszczenie katalogu `/home/radius/src/radiusd' make: *** [install] BÅÄ d 2 Please help me with this one. BEsts Tomasz - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --------------------------------- Heres a new way to find what you're looking for - Yahoo! Answers
Rafał Kamiński wrote:
Oki,
I set ippool main {} and what i must set in users to add auth. user IP
"rka" Auth-Type := EAP, Pool-Name := "main_ippool" Framed-Route = 192.168.1.245
Read the documentation please. Don't set Auth-Type. Your Pool-Name is wrong. The Framed-Route is not needed. Just do this: rka Pool-Name := "main" ...then in radiusd.conf: modules { ippool main { ... } } authorize { preprocess files eap ... } authenticate { ... } post-auth { main }
On Mon 22 Jan 2007 17:39, Phil Mayers wrote:
Rafał Kamiński wrote:
Oki,
I set ippool main {} and what i must set in users to add auth. user IP
"rka" Auth-Type := EAP, Pool-Name := "main_ippool" Framed-Route = 192.168.1.245
Read the documentation please.
Don't set Auth-Type.
It is also unlikely that you have a device doing EAP and PPP at the same time so your IP Assignment will likely not work... Cheers -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
On Mon 22 Jan 2007 13:01, Phil Mayers wrote:
Rafał Kamiński wrote:
Hi,
Is it works ?
No
If yes, can somebody tell me how i can do that ?
My users is auth. and i want get him some address IP.
FreeRadius contains an ippool module suitable for assigning IPs to things like dialup links.
Things like wireless/802.1x use DHCP, which FreeRadius does not support.
You could use an Exec-Program to integrate an external DHCP server with FreeRadius, but you would have to write that yourself.
I made: http://wiki.freeradius.org/DHCP We probably should add it to the FAQ also..
This is a FAQ - could someone who has registered with the Wiki (grr openid grr) add it?
I just checked out OpenID and it seems like a great way to allow the entire world to spam your wiki! At least with the current system people have to go to the trouble to sign up, AND wait for the account to be enabled for editing (it happends automatically after a period of time has passed to defeat signup bots). Cheers -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Peter Nixon wrote:
I just checked out OpenID and it seems like a great way to allow the entire world to spam your wiki! At least with the current system people have to go
You're misunderstanding the intended use. The idea *is* that you sign up by submitting your ID and waiting for it to be enabled. You just don't have a password specific to that site anymore. The idea of OpenID is to make everyone their own ID provider and to make whitelisting and blacklisting effective. One could easily imagine making wiki changes from newly-signed-up users both non-google-indexable and added to some kind of list for interested admins to check against and eventually click a button marked "whitelist this user" or "blacklist and rollback all". External reputation providers are currently non-existent (in any field, not just wiki spam). It's an unsolved problem. Anyhow, we're getting off-topic.
participants (5)
-
Peter Nixon -
Phil Mayers -
Rafał Kamiński -
satish patel -
tzieleniewski