Página 6 de 7 PrimeiroPrimeiro ... 234567 ÚltimoÚltimo
+ Responder ao Tópico



  1. Fiz a modificaçao no client.conf

    client 192.168.40.1 {

    ipaddr = 192.168.40.1
    nastype = other
    secret = 123456
    shortname = RB750
    }


    dei ctrl+C
    e freeradius -X novamente


    tentei logar pelo hotspot
    Clique na imagem para uma versão maior

Nome:	         56.png
Visualizações:	59
Tamanho: 	27,4 KB
ID:      	51551

  2. freeradius -X
    Clique na imagem para uma versão maior

Nome:	         56.jpg
Visualizações:	61
Tamanho: 	34,7 KB
ID:      	51552

    depois que tento logar
    Clique na imagem para uma versão maior

Nome:	         56.jpg
Visualizações:	57
Tamanho: 	50,7 KB
ID:      	51553



  3. Tabela do db
    Clique na imagem para uma versão maior

Nome:	         Sem título7.jpg
Visualizações:	66
Tamanho: 	37,9 KB
ID:      	51554

  4. Mudei Auth-Type para PAP

    Código :
     
    rad_recv: Access-Request packet from host 192.168.40.1 port 40085, id=24, length=191
            NAS-Port-Type = Wireless-802.11
            Calling-Station-Id = "80:EE:73:1B:CD:CC"
            Called-Station-Id = "hotspot1"
            NAS-Port-Id = "teste"
            User-Name = "teste"
            NAS-Port = 2147483669
            Acct-Session-Id = "80000015"
            Framed-IP-Address = 10.0.5.254
            Mikrotik-Host-IP = 10.0.5.254
            CHAP-Challenge = 0x1a07368e7ad9033c2c3afc83f78eab52
            CHAP-Password = 0x66af1b7658d5787074736308e564e3900b
            Service-Type = Login-User
            WISPr-Logoff-URL = "http://10.0.5.1/logout"
            NAS-Identifier = "jatonet"
            NAS-IP-Address = 192.168.40.1
    # Executing section authorize from file /etc/freeradius/sites-enabled/default
    +- entering group authorize {...}
    ++[preprocess] returns ok
    [chap] Setting 'Auth-Type := CHAP'
    ++[chap] returns ok
    ++[mschap] returns noop
    ++[digest] returns noop
    [suffix] No '@' in User-Name = "teste", looking up realm NULL
    [suffix] No such realm "NULL"
    ++[suffix] returns noop
    [eap] No EAP-Message, not doing EAP
    ++[eap] returns noop
    ++[files] returns noop
    [sql]   expand: %{User-Name} -> teste
    [sql] sql_set_user escaped user --> 'teste'
    rlm_sql (sql): Reserving sql socket id: 4
    [sql]   expand: SELECT id, username, attribute, value, op           FROM radcheck           WHERE username = '%{SQL-User-Name}'           ORDER BY id -> SELECT id, username, attribute, value, op           FROM radcheck           WHERE username = 'teste'           ORDER BY id
    WARNING: Found User-Password == "...".
    WARNING: Are you sure you don't mean Cleartext-Password?
    WARNING: See "man rlm_pap" for more information.
    [sql] User found in radcheck table
    [sql]   expand: SELECT id, username, attribute, value, op           FROM radreply           WHERE username = '%{SQL-User-Name}'           ORDER BY id -> SELECT id, username, attribute, value, op           FROM radreply           WHERE username = 'teste'           ORDER BY id
    [sql]   expand: SELECT groupname           FROM radusergroup           WHERE username = '%{SQL-User-Name}'           ORDER BY priority -> SELECT groupname           FROM radusergroup           WHERE username = 'teste'           ORDER BY priority
    [sql]   expand: SELECT id, groupname, attribute,           Value, op           FROM radgroupcheck           WHERE groupname = '%{Sql-Group}'           ORDER BY id -> SELECT id, groupname, attribute,           Value, op           FROM radgroupcheck           WHERE groupname = 'bandalarga'           ORDER BY id
    [sql] User found in group bandalarga
    [sql]   expand: SELECT id, groupname, attribute,           value, op           FROM radgroupreply           WHERE groupname = '%{Sql-Group}'           ORDER BY id -> SELECT id, groupname, attribute,           value, op           FROM radgroupreply           WHERE groupname = 'bandalarga'           ORDER BY id
    rlm_sql (sql): Released sql socket id: 4
    ++[sql] returns ok
    ++[expiration] returns noop
    ++[logintime] returns noop
    [pap] WARNING: Auth-Type already set.  Not setting to PAP
    ++[pap] returns noop
    Found Auth-Type = PAP
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!    Replacing User-Password in config items with Cleartext-Password.     !!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!! Please update your configuration so that the "known good"               !!!
    !!! clear text password is in Cleartext-Password, and not in User-Password. !!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    # Executing group from file /etc/freeradius/sites-enabled/default
    +- entering group PAP {...}
    [pap] ERROR: You set 'Auth-Type = PAP' for a request that does not contain a User-Password attribute!
    ++[pap] returns invalid
    Failed to authenticate the user.
    Using Post-Auth-Type Reject
    # Executing group from file /etc/freeradius/sites-enabled/default
    +- entering group REJECT {...}
    [attr_filter.access_reject]     expand: %{User-Name} -> teste
    attr_filter: Matched entry DEFAULT at line 11
    ++[attr_filter.access_reject] returns updated
    Delaying reject of request 0 for 1 seconds
    Going to the next request
    Waking up in 0.9 seconds.
    rad_recv: Access-Request packet from host 192.168.40.1 port 40085, id=24, length=191
    Waiting to send Access-Reject to client RB750 port 40085 - ID: 24
    Waking up in 0.6 seconds.
    rad_recv: Access-Request packet from host 192.168.40.1 port 40085, id=24, length=191
    Waiting to send Access-Reject to client RB750 port 40085 - ID: 24
    Waking up in 0.3 seconds.
    Sending delayed reject for request 0
    Sending Access-Reject of id 24 to 192.168.40.1 port 40085
    Waking up in 4.9 seconds.
    Cleaning up request 0 ID 24 with timestamp +37
    Ready to process requests.

    apresentou isso



  5. me adiciona no skype

    oracl3@hotmail.com






Tópicos Similares

  1. Freeradius 2.x no Debian Lenny (Tutorial)
    Por netxtreme no fórum Redes
    Respostas: 14
    Último Post: 08-11-2012, 17:37
  2. freeradius no debian lenny
    Por pedrovigia no fórum Sistemas Operacionais
    Respostas: 3
    Último Post: 24-04-2009, 16:59
  3. Fontes True Type no Debian e no Slackware
    Por Mandrake no fórum Servidores de Rede
    Respostas: 4
    Último Post: 11-01-2003, 15:10
  4. FreeRadius
    Por no fórum Servidores de Rede
    Respostas: 5
    Último Post: 28-12-2002, 11:45
  5. Inicialização no Debian
    Por gil_maq no fórum Servidores de Rede
    Respostas: 3
    Último Post: 29-11-2002, 10:14

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L