Wireless RADIUS server
From Ilianko
Инсталация Radius server
В Ubuntu
~#sudo apt-get install freeradius
Спиране на сървъра и стартиране в debug режим
sudo /etc/init.d/freeradius stop sudo freeradius -X
Добавяне на потребител
- логване като администратор
~$sudo su
- добавяне на потребител
~$nano /etc/freeradius
добавя се най-накрая
testing Cleartext-Password := "password"
radtest testing password 127.0.0.1 1812 testing123
Sending Access-Request of id 39 to 127.0.0.1 port 1812
User-Name = "testing"
User-Password = "password"
NAS-IP-Address = 127.0.1.1
NAS-Port = 1812
rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=39, length=20
radtest testing password 127.0.0.1 1812 testing123
Sending Access-Request of id 135 to 127.0.0.1 port 1812
User-Name = "testing"
User-Password = "password"
NAS-IP-Address = 127.0.1.1
NAS-Port = 1812
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=135, length=20
Добавяне на клиент
client NAME { ipaddr = IPADDRESS secret = SECRET }