Page 1 of 1

Radius , PPPoE and user with "-"

Posted: Mon Apr 02, 2007 11:08 pm
by marko_bg
When I try discconect user with "-" in username ,
etc. <pppoe-username-1> ,

... I recived this in log "Error-Cause = 406" ,

... 406 Unsupported Extension ... by who , mikrotik or radius ?

Posted: Tue Apr 03, 2007 8:06 pm
by virtualmystic
it must be a mikrotik error...radius wont stop you from disconnecting a user.

regards,
Asad

Posted: Tue Apr 03, 2007 8:26 pm
by marko_bg
now I see this...

.. if user have "-" , etc. <pppoe-user-name> disconnect work fine,

but , if I try disconnect user with "-1" , etc. <pppoe-username-1>, (ghost or second login with same username), I recived error 406

my script find username with "-" over snmp, and send disconnect request for that user,

I try with this to resolve problems with ghost user

Posted: Wed Apr 04, 2007 8:13 am
by savage
The pppoe and 1 part are added by Mikrotik, it's not the username.

How exactly are you trying to 'disconnect' this user?

Posted: Wed Apr 04, 2007 9:28 am
by marko_bg
script read OID (simplequeue), and recived <pppoe-username-1>

then used username-1 , put in disconnect request and send to radius ...

radius send request to mikrotik ...

but mikrotik have error 406 and put request in Naks.

mikrotik have username with -1, but this "-1" make mikrotik and probably this is problem ?

Posted: Wed Apr 04, 2007 9:55 am
by savage
Strip the pppoe and -1 parts. Mikrotik adds them internally.

Best would be to use the Radius Accounting data, you need far more than just a username to send a radius disconnect message...