CompuLab SBC-FITPC2 Manual do Utilizador Página 13

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 18
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 12
vi /etc/freeradius/sql.conf
readclients = yes
vi /etc/freeradius/sites-available/default
$INCLUDE ${confdir}/sql.conf
authorize {
preprocess
chap
suffix
eap
#files
sql
}
authenticate {
Auth-Type PAP {
pap
}
Auth-Type CHAP {
chap
}
eap
}
accounting {
detail
radutmp
sql # change
}
session {
sql # change
}
STEP 5: Add Chilli user to work as Radius client
Coova-chilli uses the username 'chillispot' with the password 'chillispot' for logging
into the radius by default. Add this user in the table radcheck.
echo "INSERT INTO radcheck (UserName, Attribute, Value) VALUES ('chillispot',
'Password', 'chillispot');" | mysql -u radius -p radius
Enter password:mysqlsecret
Test the radius access against the SQL backend.
radtest chillispot chillispot 127.0.0.1 0 radiussecret
Sending Access-Request of id 39 to 127.0.0.1 port 1812
User-Name = "chillispot"
User-Password = "chillispot"
NAS-IP-Address = 127.0.1.1
NAS-Port = 0
Vista de página 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18

Comentários a estes Manuais

Sem comentários