oc200 external radius

oc200 external radius

oc200 external radius
oc200 external radius
a week ago - last edited Yesterday
Model: OC200  
Hardware Version: V1
Firmware Version: 1.34.2 Build 20250110 Rel.75707

Hello everyone,

I have successfully integrated an external captive portal with Omada Cloud.
Now, I wanted to do the same integration on an OC200, but the first request I make from a device connected to the WiFi generated by AP+OC200 returns "network unreachable."
The same request made via Postman returns a result. How is this possible?

The request is as follows:

 

$Url = 

192.168.75.238/

openapi/

authorize/l

ogin?

client_id=XXXXXXXX&omadac_id=XXXXXXXXXXXX


<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => $Url,
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS =>'{"username":"USER","password":"PWD"}',
  CURLOPT_HTTPHEADER => array(
    'content-type: application/json',
    'Cookie: TPOMADA_SESSIONID=iam-c0ae7dfb535f4c1cbb7e9fad3bd2f507'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;


Thanks.
Mirco
Bye

  0      
  0      
#1
Options
1 Accepted Solution
Re:oc200 external radius-Solution
a week ago - last edited Yesterday

Hi  @marcorusso 

 

We should make sure the communication between the external radius server and the controller is working.

 

Plug a PC into the OC200's network, can you ping the external radius server's IP address?

Is the server installed on the same network of the OC200 and the EAP?

Recommended Solution
  0  
  0  
#2
Options
1 Reply
Re:oc200 external radius-Solution
a week ago - last edited Yesterday

Hi  @marcorusso 

 

We should make sure the communication between the external radius server and the controller is working.

 

Plug a PC into the OC200's network, can you ping the external radius server's IP address?

Is the server installed on the same network of the OC200 and the EAP?

Recommended Solution
  0  
  0  
#2
Options