• MikroTik.com
  • RouterBOARD
  • User Meeting
  • Training
  • User Manual
  • Support
  • Downloads
  • Videos
Register |   * Login | HOME

View unanswered posts | View active topics

geode sc1100 and external login  Page 1 of 1
 [ 4 posts ]  Post new topic Reply to topic
  Print view Previous topic | Next topic 
Author Message
regan
 Post subject: geode sc1100 and external login
PostPosted: Tue Dec 19, 2006 6:09 am 
Offline
just joined

Joined: Tue Nov 28, 2006 5:01 am
Posts: 6
Karma: 0
Hi all,

We have recently moved our wireless network to a mikrotik based system and so far its been working well (good learning curve too).

However we still have some of our old equipment left over (geode sc1100 with atheros) and would like to implement it in our system. We have managed to get the RouterOS up and running fine, users logging in etc etc from the hotspot pages but when I try to authenticate to our external RADIUS server I end up in a world of pain. I have managed to locate the problem to the fact the RADUIS is not getting the variables from the radio

I am using the recommended settings (just like on the routerboard radios) and using the HTTP_VIA on the RADIUS to pull the data, but it wont pick it up from the geode radios.

Any ideas out there?

Reg


Top
 Profile  
 
sergejs
 Post subject:
PostPosted: Tue Dec 19, 2006 8:18 am 
Offline
MikroTik Support
MikroTik Support

Joined: Thu Mar 31, 2005 2:33 pm
Posts: 6080
Location: Riga, Latvia
Do you need RADIUS AAA for wireless AP clients or for HotSpot ?
Make sure that you have enabled RADIUS for the clients, wireless requires security configuration for the appropriate server, HotSpot requires 'use-radius=yes' for the profile.
Additionally RADIUS client has to be enabled for the respective service.


Top
 Profile  
 
regan
 Post subject:
PostPosted: Tue Dec 19, 2006 11:33 pm 
Offline
just joined

Joined: Tue Nov 28, 2006 5:01 am
Posts: 6
Karma: 0
Its all turned on and configured , i have even tried taking a known working configuration from a routerboard radio and ghosting (for lack of a better term) onto the Geode radio.

Obviously the Geode radio can authenticate users tot he radius from the local hotspot pages but i find it very strange that the RADUIS can't use the HTTP_VIA to request the POST data from the radio.

Below is the code on the RADIUS, the code on the Radios is the recommended FORM for external authentication

Code:

if (isset($_SERVER['HTTP_VIA'])) {
   $wifispot = explode(' ',$_SERVER['HTTP_VIA']);
   $smarty->assign('wifispot',$wifispot[1]);

   $smarty->assign('macaddress',$_REQUEST['mac']);
   $smarty->assign('wifiidentiy',$_REQUEST['identiy']);
   $smarty->assign('refererlink',$_REQUEST['link-orig']);
   $smarty->assign('trialok',$_REQUEST['trial']);
   $smarty->assign('usererror',$_REQUEST['hserror']);
   $smarty->assign('userip',$_REQUEST['ip']);


Top
 Profile  
 
regan
 Post subject:
PostPosted: Wed Dec 20, 2006 1:00 am 
Offline
just joined

Joined: Tue Nov 28, 2006 5:01 am
Posts: 6
Karma: 0
I have changes my HTTP_VIA to HTTP_X_FORWARDED_FOR and it seems to be working, not the optimal way but it is working. I would rather use HTTP_VIA so ill keep on it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  Page 1 of 1
 [ 4 posts ] 

Board index » RouterOS » General

All times are UTC + 2 hours


Who is online

Users browsing this forum: Google [Bot] and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Karma functions powered by Karma MOD © 2007, 2009 m157y