Page 1 of 1

Nas-Port-ID via Radius

Posted: 25 Feb 2018, 22:17
by maxthetor
When a Nas-Port-Id > 14 parameter is sent via radius,
the interface is not renamed and the pppoe tunnel does not stay up
is there any configuration to help with this?

---------------------------------------------------cut------------------------------------------------------------
info: ppp7: connect: ppp7 <--> pppoe(74:DA:DA:B7:8D:AD)
[2018-02-25 17:08:48]: info: ppp7: antoniojosemartins: authentication succeeded
[2018-02-25 17:08:48]: error: ppp7: cannot rename interface (name is too long)
[2018-02-25 17:08:50]: info: ppp7: disconnected
------------------------------------------------------------------------------------------------------------------

Re: Nas-Port-ID via Radius

Posted: 25 Feb 2018, 22:50
by nik247
not 14, but 15.
15 is maxim chars of linux ifname.

Re: Nas-Port-ID via Radius

Posted: 26 Feb 2018, 07:18
by Dmitry
which version ?

Re: Nas-Port-ID via Radius

Posted: 27 Feb 2018, 00:07
by maxthetor
accel-cmd -V
accel-cmd 54f225b10ddd13ad4a7e3e5359fdbd2bf927d130
Dmitry wrote: 26 Feb 2018, 07:18which version ?

Re: Nas-Port-ID via Radius

Posted: 02 Mar 2018, 17:45
by nik247
You can control correct username and ifname from radius side.
I think it is correct - if usename very long - reject this sessions.
I asked xeb about it (reject of failed rename) - I want have correct ifname in system.