Re: mulitipule connections

2012-02-06 Thread ousmane sanogo
Hi,
look in /etc/freeradius/sites-enable/default and uncomment
#sradutmp

2012/2/6 Marinko Tarlac mangi...@gmail.com

 Here we go again


 On 2/6/2012 10:08 PM, Ski Mountain wrote:

Hello, I have searched quite a bit.  I am looking for a answer on the
 best way to disable mulitipule logins by the same user.

 I have been reading
 http://freeradius.org/radiusd/**doc/Simultaneous-Usehttp://freeradius.org/radiusd/doc/Simultaneous-Use

 One problem is I get a error when I try to run
  radwho
 radwho: Error reading /var/log/freeradius/sradutmp: No such file or
 directory


 This checkrad.pl scrpt I can not find it anywhere on my ubuntu 10.04
 server.  Where would if find a copy.
 I do have a

 radutmp file.  Should there be entries in it when no one is connected?

 So is the only way,to run snmp on the server, or has that way outdated
 now?

 Thanks for the help

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


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

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


Re: impossible to be authenticated

2012-01-17 Thread ousmane sanogo
this is some line of debug mode

##
freeradius -X


radiusd:  Instantiating modules 
 instantiate {
 Module: Linked to module rlm_exec
 Module: Instantiating module exec from file /etc/freeradius/modules/exec
  exec {
wait = no
input_pairs = request
shell_escape = yes
  }
 Module: Linked to module rlm_expr
 Module: Instantiating module expr from file /etc/freeradius/modules/expr
 Module: Linked to module rlm_expiration
 Module: Instantiating module expiration from file
/etc/freeradius/modules/expiration
  expiration {
reply-message = Password Has Expired  
  }
 Module: Linked to module rlm_logintime
 Module: Instantiating module logintime from file
/etc/freeradius/modules/logintime
  logintime {
reply-message = You are calling outside your allowed timespan  
minimum-timeout = 60
  }
 }
radiusd:  Loading Virtual Servers 
server inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel
 modules {
 Module: Checking authenticate {...} for more modules to load
 Module: Linked to module rlm_pap
 Module: Instantiating module pap from file /etc/freeradius/modules/pap
  pap {
encryption_scheme = auto
auto_header = no
  }
 Module: Linked to module rlm_chap
 Module: Instantiating module chap from file /etc/freeradius/modules/chap
 Module: Linked to module rlm_mschap
 Module: Instantiating module mschap from file
/etc/freeradius/modules/mschap
  mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = no
  }
 Module: Linked to module rlm_unix
 Module: Instantiating module unix from file /etc/freeradius/modules/unix
  unix {
radwtmp = /var/log/freeradius/radwtmp
  }
 Module: Linked to module rlm_eap
 Module: Instantiating module eap from file /etc/freeradius/eap.conf
  eap {
default_eap_type = md5
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 4096
  }
 Module: Linked to sub-module rlm_eap_md5
 Module: Instantiating eap-md5
 Module: Linked to sub-module rlm_eap_leap
 Module: Instantiating eap-leap
 Module: Linked to sub-module rlm_eap_gtc
 Module: Instantiating eap-gtc
   gtc {
challenge = Password: 
auth_type = PAP
   }
 Module: Linked to sub-module rlm_eap_tls
 Module: Instantiating eap-tls
   tls {
rsa_key_exchange = no
dh_key_exchange = yes
rsa_key_length = 512
dh_key_length = 512
verify_depth = 0
CA_path = /etc/freeradius/certs
pem_file_type = yes
private_key_file = /etc/freeradius/certs/server.key
certificate_file = /etc/freeradius/certs/server.pem
CA_file = /etc/freeradius/certs/ca.pem
private_key_password = whatever
dh_file = /etc/freeradius/certs/dh
random_file = /dev/urandom
fragment_size = 1024
include_length = yes
check_crl = no
cipher_list = DEFAULT
make_cert_command = /etc/freeradius/certs/bootstrap
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
}
   }
 Module: Linked to sub-module rlm_eap_ttls
 Module: Instantiating eap-ttls
   ttls {
default_eap_type = md5
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = inner-tunnel
include_length = yes
   }
 Module: Linked to sub-module rlm_eap_peap
 Module: Instantiating eap-peap
   peap {
default_eap_type = mschapv2
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = inner-tunnel
   }
 Module: Linked to sub-module rlm_eap_mschapv2
 Module: Instantiating eap-mschapv2
   mschapv2 {
with_ntdomain_hack = no
   }
 Module: Checking authorize {...} for more modules to load
 Module: Linked to module rlm_realm
 Module: Instantiating module suffix from file
/etc/freeradius/modules/realm
  realm suffix {
format = suffix
delimiter = @
ignore_default = no
ignore_null = no
  }
 Module: Linked to module rlm_files
 Module: Instantiating module files from file
/etc/freeradius/modules/files
  files {
usersfile = /etc/freeradius/users
acctusersfile = /etc/freeradius/acct_users
preproxy_usersfile = /etc/freeradius/preproxy_users
compat = no
  }
 Module: Checking session {...} for more modules to load
 Module: Linked to module rlm_radutmp
 Module: Instantiating module radutmp from file
/etc/freeradius/modules/radutmp
  radutmp {
filename = /var/log/freeradius/radutmp
username = %{User-Name}
case_sensitive = yes
check_with_nas = yes
perm = 384
callerid = yes
  }
 Module: Checking post-proxy {...} for more modules to load
 Module: Checking post-auth {...} for more modules to load
 

impossible to be authenticated

2012-01-16 Thread ousmane sanogo
Hello

Please i use radius with captival portal, but i can't autheticated.
i have this message :

pepperspot[2939]: redir.c: 1397: Radius request timed out

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