Wireless Access

Reply
Occasional Contributor II
Posts: 34
Registered: ‎04-24-2013

Auto Entry from another application to aruba controller.

We are having a aruba controller of Model 3200 and version is 6.1.3.4.We are providing internet access to our staff using mac based authentication.we have to enter the username and password for user and his mac address which takes time.We are planning to develop a application which automatically gets login to the aruba controller and can do the entry for user's credential.Could you please help us in doing the auto login to the controller which will reduce our work.  

Aruba
Posts: 1,290
Registered: ‎08-29-2007

Re: Auto Entry from another application to aruba controller.

It sounds like what you need is a mac auth.  Are the users putting their details (mac and password) into the captive portal login?

 

If you don't have a captive portal profile assigned to that vap, then just use mac auth and then will just be allowed on.  Set the default role for the mac auth to be that of internet access, but make the initial role to be the captive portal.

 

If a user connects with a mac not in the internal db, then they'll get the captive portal.  Your staff, with valid macs, will get the internet only role.

 

Is that what you're trying to achieve?


If my post is helpful please give kudos, or mark as solved if it answers your post.

ACCP, ACMP, ACMX #294
mclarke@arubanetworks.com
Guru Elite
Posts: 21,260
Registered: ‎03-29-2007

Re: Auto Entry from another application to aruba controller.


vinit wrote:

We are having a aruba controller of Model 3200 and version is 6.1.3.4.We are providing internet access to our staff using mac based authentication.we have to enter the username and password for user and his mac address which takes time.We are planning to develop a application which automatically gets login to the aruba controller and can do the entry for user's credential.Could you please help us in doing the auto login to the controller which will reduce our work.  


Would 802.1x be an option?



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Occasional Contributor II
Posts: 34
Registered: ‎04-24-2013

Re: Auto Entry from another application to aruba controller.

No,actually we have developed application which we want it to automatically login in aruba controller and can do the entry.Kindly suggest what to do in such case. 

Super Contributor II
Posts: 354
Registered: ‎09-26-2012

Re: Auto Entry from another application to aruba controller.

we have achieved the same by writing vb application. This application open telnet session with controller and add user to internal db than dis-connect the telnet session
Thanks & Regards
Syed Murad Ali
ACMP ACMA CCNA
Aruba
Posts: 1,290
Registered: ‎08-29-2007

Re: Auto Entry from another application to aruba controller.

[ Edited ]

Would some sort of expect script be what your looking for.  It needs to run from a linux server, though there may be a Windows version floating around. An example is here, http://community.arubanetworks.com/t5/ArubaOS-and-Mobility-Controllers/Sharing-quot-Expect-quot-script-to-backup-controllers/m-p/85362

 

You could have a webpage that the user enters their password and then puts this into the script which will put it into the controller.

 

 


If my post is helpful please give kudos, or mark as solved if it answers your post.

ACCP, ACMP, ACMX #294
mclarke@arubanetworks.com
Guru Elite
Posts: 21,260
Registered: ‎03-29-2007

Re: Auto Entry from another application to aruba controller.

You can also use the XML-API to accomplish the same thing.  Instructions are in the ArubaOS user guide.



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Occasional Contributor II
Posts: 34
Registered: ‎04-24-2013

Re: Auto Entry from another application to aruba controller.

Could you please help in building the application using php as a backend.

Occasional Contributor II
Posts: 34
Registered: ‎04-24-2013

Re: Auto Entry from another application to aruba controller.

Hey please help me in auto login to aruba controller via cli and doing the entry for accessing internet.

Occasional Contributor II
Posts: 34
Registered: ‎04-24-2013

Re: Auto Entry from another application to aruba controller.

Dear Support 

 

                           I am using the following command to do auto login to aruba controller and add users via a text file.

 

plink.exe -v -ssh username@ControllerIP -pw password -m Commands.txt

 

but i am geting the following error.

 

Looking up host "158.144.76.132"
Connecting to 158.144.76.132 port 22
Server version: SSH-2.0-OpenSSH_4.6
Using SSH protocol version 2
We claim version: SSH-2.0-PuTTY_Release_0.62
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-256
Host key fingerprint is:
ssh-rsa 2048 07:50:d9:41:2b:2e:d7:26:5c:f8:96:f6:da:7c:75:6a
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Using username "admin".
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% ((( W A R N I N G ))) %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The access to this system is restricted.Authorised users are to perform %%
%% appropriate system/administrative activities only.Misuse or Unauthorized %%
%% access will be investigated and penalised as per applicable security %%
%% policies. %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Sent password
Access granted
Opened channel for session
Started a shell/command
Server sent command exit status 1
Disconnected: All channels closed

 

Could please guide us in this we are close to automate the process

 

 

Search Airheads
Showing results for 
Search instead for 
Did you mean: