Jump to content
Калькуляторы

UTM 5.2.1-006 HotSpot mikrotik. проблема с авторизацией

Здравствуйте!

Настраивал связку mikrotik+UTM для HotSpot по статье http://netup.ru/articles.php?n=4

 

Версия NetUP - 5.2.1-006

Версия mikrotik OS - 3.20

 

Не могу авторизоваться через utm_radius.

В Debug получаю:

?Debug : Mar 01 14:37:51 RadiusSocket: RADIUS packet successfully received 
?Debug : Mar 01 14:37:51 RadiusSocket: RADIUS raw data obtained 
?Debug : Mar 01 14:37:51 RADIUS Packet: Size <196>; HDR.Size <196> 
?Debug : Mar 01 14:37:51 AuthServer: Recv... 
?Debug : Mar 01 14:37:51 AuthServer: Packet from NAS <192.168.88.2> 
?Debug : Mar 01 14:37:51 RADIUS DBA: NAS found. Data size <0> 
?Debug : Mar 01 14:37:51 AuthServer: Packet from <192.168.88.2> packet dump: RPacket: 
Code: 1; ID: 48 
<Vendor: 0; Attr: 1>[4]: 37393831 
<Vendor: 0; Attr: 3>[17]: 19f7e4903f5e7c10835cca6d473c41a75f 
<Vendor: 0; Attr: 4>[4]: c0a86815 
<Vendor: 0; Attr: 5>[4]: 80100032 
<Vendor: 0; Attr: 6>[4]: 00000001 
<Vendor: 0; Attr: 8>[4]: c0a801fe 
<Vendor: 0; Attr: 30>[8]: 686f7473706f7431 
<Vendor: 0; Attr: 31>[17]: 30303a34303a34353a32423a36353a3334 
<Vendor: 0; Attr: 32>[8]: 4d696b726f54696b 
<Vendor: 0; Attr: 44>[8]: 3830313030303332 
<Vendor: 0; Attr: 60>[16]: 552691fc1fa82f6c5389bc3e9c85f508 
<Vendor: 0; Attr: 61>[4]: 00000011 
<Vendor: 0; Attr: 87>[7]: 686f7473706f74 
<Vendor: 14122; Attr: 3>[25]: 687474703a2f2f3139322e3136382e312e312f6c6f676f7574 
<Vendor: 14988; Attr: 10>[4]: c0a801fe 

?Debug : Mar 01 14:37:51 AuthServer: User <7981> connecting 
?Debug : Mar 01 14:37:51 AuthServer: Session for sessionid <7981> not found in <192.168.88.2> cache 
ERROR : Mar 01 14:37:51 RADIUS DBA: Can't find login <7981> 
?Debug : Mar 01 14:37:51 RADIUS DBA: Searching card login <000007981> 
ERROR : Mar 01 14:37:51 RADIUS DBA: Can't find card login <000007981> 
?Debug : Mar 01 14:37:51 AuthServer: Attempt to add new Card user: <7981> 
?Debug : Mar 01 14:37:51 AuthServer: CHAP Autoadd: Challenge size: 16 
?Debug : Mar 01 14:37:51 RADIUS DBA: Sending Auto-Add Request for Card-ID: 7981 
?Debug : Mar 01 14:37:51 RADIUS Stream[plugin]: Got User-Autoadd id <-13> (CHAP) 
?Debug : Mar 01 14:37:51 AuthServer: Got AutoAdd -13 UID from core. 
ERROR : Mar 01 14:37:51 AuthServer: No data for User <7981> found. 
?Debug : Mar 01 14:37:51 AuthServer: Auth reply: RPacket: 
Code: 3; ID: 48 
<Vendor: 0; Attr: 18>[21]: 417574686f72697a6174696f6e206661696c65642e 
<Vendor: 9; Attr: 103>[19]: 683332332d72657475726e2d636f64653d2d31 

?Debug : Mar 01 14:37:51 RADIUS Packet: raw data constructed! size <70> 
?Debug : Mar 01 14:37:51 RadiusSocket: Moving RADIUS packet into send queue 
?Debug : Mar 01 14:37:51 RadiusSocket: RADIUS raw data sent 
?Debug : Mar 01 14:37:51 AuthServer: Next... 
?Trace : Mar 01 14:37:51 AuthServer: Process loop step 
?Debug : Mar 01 14:37:51 RadiusSocket: Waiting for RADIUS raw data

 

 

 

 

 

В log-файле "radius_main":

 

ERROR : Mar 01 14:38:58 RADIUS DBA: Can't find login <7981> 
ERROR : Mar 01 14:38:58 RADIUS DBA: Can't find card login <000007981> 
ERROR : Mar 01 14:38:58 AuthServer: No data for User <7981> found.

 

 

Пользователь есть точно. NAS, как видно из логов определяется.

К сожалению, поиск по форуме результатов не принёс.

 

Спасибо.

Share this post


Link to post
Share on other sites

"чудесный" netup заработал после 5-ой перезагрузки сервера. почти "чудо".

 

будет возможность - купим другой биллинг.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this