Wireless Access

last person joined: yesterday 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

Auto Entry from another application to aruba controller.

This thread has been viewed 0 times
  • 1.  Auto Entry from another application to aruba controller.

    Posted Jul 11, 2013 01:25 AM

    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.  


    #3200


  • 2.  RE: Auto Entry from another application to aruba controller.

    EMPLOYEE
    Posted Jul 11, 2013 03:00 AM

    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?



  • 3.  RE: Auto Entry from another application to aruba controller.

    Posted Jul 11, 2013 08:57 AM

    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. 



  • 4.  RE: Auto Entry from another application to aruba controller.

    Posted Jul 12, 2013 02:18 AM
    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


  • 5.  RE: Auto Entry from another application to aruba controller.

    EMPLOYEE
    Posted Jul 12, 2013 03:49 AM

    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.

     

     



  • 6.  RE: Auto Entry from another application to aruba controller.

    EMPLOYEE
    Posted Jul 12, 2013 06:05 AM

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



  • 7.  RE: Auto Entry from another application to aruba controller.

    Posted Jul 15, 2013 07:29 AM

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



  • 8.  RE: Auto Entry from another application to aruba controller.

    Posted Jul 19, 2013 11:50 AM

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



  • 9.  RE: Auto Entry from another application to aruba controller.

    Posted Aug 05, 2013 05:05 AM

    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

     

     



  • 10.  RE: Auto Entry from another application to aruba controller.

    EMPLOYEE
    Posted Jul 11, 2013 03:34 AM

    @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?