Snazime sa spustit freeradius ale nejak nám to nejde (chceme prehodit ludi ktorý maju PPPoE na radius),
konfiguracia radiusu vyzera byt ok
root@radiusServer1:/etc/freeradius/3.0/mods-available# radtest Fi_V Filip159 localhost 0 testing123
Sent Access-Request Id 210 from 0.0.0.5228 to 127.0.0.1:1812 length 78
User-Name = "Fi_V"
User-Password = "Filip159"
NAS-IP-Address = 192.168.102.16
NAS-Port = 0
Message-Authenticator = 0x00
Cleartext-Password = "Filip159"
Received Access-Accept Id 210 from 127.0.0.1:1812 to 0.0.0.0:0 length 56
Framed-IP-Address = 10.200.0.2
Framed-IP-Netmask = 255.255.255.255
MS-Primary-DNS-Server = 192.168.101.250
MS-Secondary-DNS-Server = 8.8.8.8
Ked sa pozriem na nastavenie radiusu tak stale tam nevidim parameter accepts nabiehat, je tam 0 (zaha je aj to že rejects je tiez nula)
prikladam nastavenie MK
00:29:25 pppoe,info PPPoE connection established from B8:69:F4:A3:2F:0A
00:29:31 pppoe,ppp,error <1cf6>: user MojTest authentication failed - radius timeout
00:29:41 pppoe,info PPPoE connection established from B8:69:F4:A3:2F:0A
00:29:45 pppoe,info PPPoE connection established from B0:4E:26:80:97:EB
00:30:21 pppoe,info PPPoE connection established from B8:69:F4:A3:2F:0A
00:30:48 pppoe,ppp,error <1cf8>: user Fi_V authentication failed - radius timeout
00:30:48 pppoe,ppp,error <1cf9>: user MojTest authentication failed - radius timeout
takto to mam nastavene
/radius
add address=192.168.102.16 secret=M#pokus> service=ppp src-address=10.200.0.1 timeout=2s
/radius incoming
set accept=yes
/ppp profileadd change-tcp-mss=yes local-address=10.200.0.1 name=PPPoEprofil use-compression=no use-encryption=no use-mpls=no/ppp aaaset interim-update=5m use-radius=yes
/interface pppoe-server serveradd default-profile=PPPoEprofil disabled=no interface=ether10 max-mru=1492 max-mtu=1492 mrru=1600 service-name=PPPoEserver
Viete mi poradit kde robim chybu ?
Ďakujem
Michal