we had got a working radius server. I was testing accel-ppp but m not getting mikrotik-rate-limit attributes in logs.
added mikrotik dictionary in /usr/share/accel-ppp/radius/dictionary
radius is already working many mikrotiks
defined in shaper
vendor=mikrotik
attr=Mikrotik-Rate-Limit
rate-multiplier=0.001
ifname | username | calling-sid | ip | rate-limit | type | comp | state | uptime
--------+----------+-------------------+--------------+------------+-------+------+--------+----------
pppoe0 | megademo | e4:8d:8c:0a:95:e0 | 100.90.48.57 | | pppoe | | active | 01:46:22
2019-12-31 01:23:15]: info: pppoe0: disconnected
[2019-12-31 01:23:15]: info: recv [RADIUS(1) Accounting-Response id=5]
[2019-12-31 01:23:15]: warn: eth1.121: radius:packet: vendor 26 not found
[2019-12-31 01:23:15]: info: eth1.121: recv [RADIUS(1) Access-Accept id=1 <MS-CHAP2-Success 0x01533d36364644353733353538343433333346433534433439343435433030383936464544353334394441> <MS-MPPE-Recv-Key 0xa70c1d3756f15a5a6e6aa68fd44cf4af11af908219e1dbeae1d5bbb0d8529ef0a02f> <MS-MPPE-Send-Key 0xad2e32a67872ab3accdcd84282e47f6fa9129a0f54ec99649cd3372c20407b745304> <MS-MPPE-Encryption-Policy 1> <MS-MPPE-Encryption-Type 6> <Vendor-Specific 0x00003a8c081331303438353736302f3130343835373630> <Session-Timeout 4258845> <Acct-Interim-Interval 1800>]
[2019-12-31 01:23:15]: info: ppp0: connect: ppp0 <--> pppoe(e4:8d:8c:0a:95:e0)
[2019-12-31 01:23:15]: info: ppp0: megademo: authentication succeeded
help would be appreciated
thnks
Mikrotik-Rate-Limit not working
Re: Mikrotik-Rate-Limit not working
Hi hashbang. I think you need set correct vendor
Code: Select all
[shaper]
vendor=Mikrotik
attr=Mikrotik-Rate-Limit
rate-multiplier=0.001
[SOLVED]Re: Mikrotik-Rate-Limit not working
ty, its working
I'd to restart accel-ppp
reload was not loading the new config (looks like)
Next problem in next section
I'd to restart accel-ppp
reload was not loading the new config (looks like)
Next problem in next section
Re: Mikrotik-Rate-Limit not working
And Tx and Rx from "Mikrotik-Rate-Limit" is opposite to accel-ppp.dimka88 wrote: ↑31 Dec 2019, 13:56 Hi hashbang. I think you need set correct vendorCode: Select all
[shaper] vendor=Mikrotik attr=Mikrotik-Rate-Limit rate-multiplier=0.001
If TX=RX it's not problem
Re: Mikrotik-Rate-Limit not working
nik247, should we fix this?
Re: Mikrotik-Rate-Limit not working
yes I'm having the same problem. Plz fix it
thanks
thanks
Re: Mikrotik-Rate-Limit not working
My answer here:
viewtopic.php?f=12&t=2856
viewtopic.php?f=12&t=2856