Network Management

last person joined: 2 days ago 

Keep an informative eye on your network with IMC and Airwave network management solutions.
Expand all | Collapse all

[Tutorial] Airwave Root password recovery Jan14-Tutorial

  • 1.  [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Jan 06, 2014 09:21 AM

    Hello this time for the contest i decided to do something that could be really useful when an administrator forget the root password of the airwave, and then he cannot get into the console.  We dont use the console to much and you might ran in the trouble that you forgot it!

     

    Anyways its really easy so lets get started!

     

    1. The first thing you need to do is reboot the Airwave, but in this case as you cannot reboot it because you got no access to the console, you will have to turn it off and then turn it on
    2. You will see press any key like this: pressanykey2.JPG
    3. So you press any key! at that momment, and you will see after that something like this:pressanykey.JPG
    4. Here you press "e" to edit the command before booting, and then you willl see something like thisvmliuz.JPG
    5. you select the one that says vmlinuz, like you see in the screenshot!, after that you will see something like this:single2.JPG
    6. You need to add the word single like you see in there!, you will see that the line will end on nodma, and you need to add a space a the word single
    7. Press enter, and then press b...  After pressing b you will see it will reboot like this bootinginmode.JPG
    8. After you get the prompt you type passwd like you see in the imagenewpassword.JPG
    9. After this just type reboot, to reboot the server, and it will reload normally.

     

    So thats all in this tutorial

     

     

    Cheers

    Carlos



  • 2.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Jan 06, 2014 12:30 PM

    How timely, I have a number of AMPs in this situation, THANKS!



  • 3.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Jan 06, 2014 01:17 PM

    you would help a lot if you could kudo the tutorial, if it helped you :)

     

    Cheers

    Carlos



  • 4.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Jan 07, 2014 07:34 PM

    come on guys a bit more kudos! its a nice tutorial :)

     



  • 5.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Jan 08, 2014 05:38 AM

    @NightShade1 wrote:

    come on guys a bit more kudos! its a nice tutorial :)

     


    Yes, it is a nice tutorial :)



  • 6.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Jan 09, 2014 11:14 AM

    hahaha Thanks Collin! :)

     

    Cheers

    Carlos



  • 7.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Jun 19, 2018 08:45 AM

    when I type "e" the Airwave not go in edit mode. 



  • 8.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Jun 19, 2018 09:48 AM

    What version of AMP?  If you're on a version newer than 8.2.4.1 (hopefully 8.2.6.1), then you need to follow the 'amprecovery' method described in the user guide.



  • 9.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Jun 19, 2018 11:01 AM

    Thanks Rob, my version is 8.2.6.

    with amprecovery method I can reset the "ampadmin" user but not root user. I needed to go into the console as root to correct network parameters. But I have solved with VM restore.

     



  • 10.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Jun 19, 2018 11:16 AM

    ampadmin user has ability to run network setup from the AMPCLI menu.  AMPCLI -> 8 Advanced -> 3 Config Network Settings.  In 8.2.6.1, the network settings allows you to config multiple eth interfaces.



  • 11.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Sep 11, 2017 07:33 AM
      |   view attached

    i couldnt hit "e" what should i do?



  • 12.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Sep 11, 2017 12:50 PM

    Which version of Airwave are you on? Is it 8.2.4?



  • 13.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Sep 12, 2017 01:16 AM

    yes, it is 8.2.4.1 and i forgot the root password, what should i do?



  • 14.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Sep 12, 2017 02:20 AM

    @samet.yuksel

    with Airwave version 8.2.4.1, there is no root access anymore. You cannot login using the root user. you have to use the "ampadmin" user with the password you created during the upgrade to this version or during installation. 

     

    If you forgot the password for the "ampadmin" as well, here is how to reset this password:

     

    How to Reset Your Password

    If you forgot your password used to access the CLI, you can log in using the amprecovery credentials and reset the password.

    To reset your password:

    1. From a local terminal, or the VM host console, login to the CLI:

      <AMP server> login: amprecovery Password: recovery

    2. Select to change the OS password.
      AirWave finds the users created after the AMP CLI installation and lists the users in the menu.

    3. Select to select the user.

     

     



  • 15.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Jan 24, 2018 03:42 AM

    When I try to reset my Password for ampadmin the system give me this result:

    Changing password for user ampadmin

    Changing password for ampadmin

    (current) UNIX password: _

     

    I have no root password to change the password from ampadmin.

    What should i do here?

     

    Thanks a lot.



  • 16.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Jan 29, 2018 10:21 AM

    Please open a support case.  Do you remember setting an admin account during the upgrade?  Or during the fresh install?  If you don't recall, then you might have to boot off of a rescue CD to fix (in which case support can add extra guidance).



  • 17.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Aug 30, 2018 03:13 PM

    I did have to use 'e' twice but that did it.  Thanks



  • 18.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Oct 02, 2019 09:00 AM

    This look slike what we need - except I can't get my head around the fact that our AMP is a virtual unit so not sure how we'd see the boot process.

     

    Any thoughts?



  • 19.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Oct 02, 2019 09:10 AM

    Even on VM once you connect to the ESX you should be able to see the boot process. However, this option to enter single user mode wont work from 8.2.4 and above as the root user is disabled.



  • 20.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Oct 02, 2019 09:14 AM

    Thanks Vishnu - unfortunately we don't manage nor have access to the virtual platform so I will need to try and get clear instructions to the relevant team.



  • 21.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Oct 02, 2019 09:17 AM

    Also, as i mentioned above if we are on 8.2.4 version and above these steps wont be helpful as the root user will be disabled.

     



  • 22.  RE: [Tutorial] Airwave Root password recovery Jan14-Tutorial

    Posted Oct 02, 2019 09:27 AM

    As we aren't on version then that I didn't respond to that aspect as being irrelevant tous / my query.

     

    But thank you.