+ Responder ao Tópico



  1. roda o radius com as opções de debug

    radius -X

    fica observando o tipo do pacote q recebe.. se eh accounting-start .. accounting-stop ou se eh interim-update

    se for update.. l radius ta rececebendo os updates do concentrador (mikrotik) .. entao o problema eh no radius.. caso nao esteja recebendo... o problema eh no concentrador (mikrotik)

    ai vc precisa procurar o pq...

  2. Caro Alexandre,

    Não vi nada referente a pacotes, olha um exemplo:

    rad_recv: Access-Request packet from host 7.7.7.7:1711, id=222, length=197
    Service-Type = Framed-User
    Framed-Protocol = PPP
    NAS-Port = 757
    NAS-Port-Type = Ethernet
    User-Name = "rpcicerobezerra"
    Calling-Station-Id = "00:0A:52:7A:CF:7C"
    Called-Station-Id = "blkparafuso"
    NAS-Port-Id = "ether1"
    MS-CHAP-Challenge = 0x8333a497b42e8b0eb9d63d645319f213
    MS-CHAP2-Response = 0x010077a2ef5bdc545d725b57c77008f5583a0000000000000000b9b5a020fe1834150895dbff990d2e2c125895ce5e673729
    NAS-Identifier = "blkpar"
    NAS-IP-Address = 7.7.7.7
    Processing the authorize section of radiusd.conf
    modcall: entering group authorize for request 7
    modcall[authorize]: module "preprocess" returns ok for request 7
    modcall[authorize]: module "chap" returns noop for request 7
    rlm_mschap: Found MS-CHAP attributes. Setting 'Auth-Type = mschap'
    modcall[authorize]: module "mschap" returns ok for request 7
    radius_xlat: 'rpcicerobezerra'
    rlm_sql (sql): sql_set_user escaped user --> 'rpcicerobezerra'
    radius_xlat: 'SELECT id, UserName, Attribute, Value, op FROM radcheck WHERE Username = 'rpcicerobezerra' ORDER BY id'
    rlm_sql (sql): Reserving sql socket id: 2
    rlm_sql_mysql: query: SELECT id, UserName, Attribute, Value, op FROM radcheck WHERE Username = 'rpcicerobezerra' ORDER BY id
    radius_xlat: 'SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op FROM radgroupcheck,usergroup WHERE usergroup.Username = 'rpcicerobezerra' AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id'
    rlm_sql_mysql: query: SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op FROM radgroupcheck,usergroup WHERE usergroup.Username = 'rpcicerobezerra' AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id
    radius_xlat: 'SELECT id, UserName, Attribute, Value, op FROM radreply WHERE Username = 'rpcicerobezerra' ORDER BY id'
    rlm_sql_mysql: query: SELECT id, UserName, Attribute, Value, op FROM radreply WHERE Username = 'rpcicerobezerra' ORDER BY id
    radius_xlat: 'SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op FROM radgroupreply,usergroup WHERE usergroup.Username = 'rpcicerobezerra' AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id'
    rlm_sql_mysql: query: SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op FROM radgroupreply,usergroup WHERE usergroup.Username = 'rpcicerobezerra' AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id
    rlm_sql (sql): Released sql socket id: 2
    modcall[authorize]: module "sql" returns ok for request 7
    rlm_pap: Found existing Auth-Type, not changing it.
    modcall[authorize]: module "pap" returns noop for request 7
    modcall: leaving group authorize (returns ok) for request 7
    rad_check_password: Found Auth-Type MS-CHAP
    auth: type "MS-CHAP"
    Processing the authenticate section of radiusd.conf
    modcall: entering group MS-CHAP for request 7
    rlm_mschap: Told to do MS-CHAPv2 for rpcicerobezerra with NT-Password
    modcall[authenticate]: module "mschap" returns ok for request 7
    modcall: leaving group MS-CHAP (returns ok) for request 7
    Sending Access-Accept of id 222 to 7.7.7.7 port 1711
    Framed-IP-Address = 192.168.215.10
    MS-CHAP2-Success = 0x01533d31433238383532313038343332344633303342453046354546373346303732383137334330434139
    Finished request 7
    Going to the next request
    --- Walking the entire request list ---
    Waking up in 6 seconds...
    --- Walking the entire request list ---
    Cleaning up request 7 ID 222 with timestamp 49d50866
    Nothing to do. Sleeping until we see a request.

    Ajuda em algo esse exemplo?



  3. sua sessao de accouting esta como ?

  4. Caro Alexandre,

    Está ativada (descomentada o SQL)



  5. vc precisa revisar todas as confs.. do mikrotik e do radius.. talvez seja melhora começar do 0 dinovo..






Tópicos Similares

  1. Mikrotik + PPPOE + Freeradius = benchmark
    Por jmartins no fórum Mikrotik
    Respostas: 0
    Último Post: 20-07-2016, 12:23
  2. Sistema Administrativo para Mikrotik ( mysql/delphi/ssh )
    Por AndersonMachado no fórum Redes
    Respostas: 22
    Último Post: 26-10-2007, 18:09
  3. mysql + freeradius
    Por jasonlinux no fórum Servidores de Rede
    Respostas: 0
    Último Post: 27-08-2007, 10:35
  4. mikrotik freeradius e mysql socorro
    Por walteramelo no fórum Redes
    Respostas: 0
    Último Post: 20-10-2006, 20:28
  5. Mikrotik+FreeRadius+MySQL
    Por gondim no fórum Redes
    Respostas: 2
    Último Post: 13-07-2006, 09:20

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L