Aruba Wireless: Difference between revisions

From Dave-Wiki
Jump to navigation Jump to search
m (Dave moved page Aruba AP to Aruba without leaving a redirect)
No edit summary
Line 50: Line 50:


<code>apboot> boot</code>
<code>apboot> boot</code>
=AirWave=
==General==
===ampcli===
<code>/usr/local/airwave/bin/ampcli</code>
===Restart AirWave services===
<code>amp_disable</code>
<code>amp_enable</code>
===Monitor services===
Useful after a restart
<code>logs</code>
<code>tailf service_watcher</code>
===Find large files===
<code>find / -type f -size +1000M | xargs du -h | sort -nr</code>
===Delete kernel log file===
<code>truncate -s 0 kernel</code>

Revision as of 22:14, 11 February 2024

Convert CAP to IAP

Source: https://blog.theitrebel.com/2020/04/28/two-simple-words/

Campus AP Keeps Rebooting / Upgrade Failed

If a Campus AP keeps rebooting, and its serial console output shows:

SAPD: Reboot after image upgrade failed: 65280

Interrupt the AP boot and execute:

apboot> osinfo Partition 0 does not contain a valid OS image

Partition 1:

   image type: 0
 machine type: 40
         size: 7211308
      version: 6.4.4.0-wave2
 build string: ArubaOS version 6.4.4.0-wave2 for 32x (p4build@cyprus) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #49847 SMP Thu Apr 30 14:49:32 PDT 2015
        flags: preserve factory
          oem: aruba

Image is signed; verifying checksum... passed Signer Cert OK Policy Cert OK RSA signature verified.

This means the problem is the old 6.4.4.0 firmware. You need to clear it:

apboot> clear all Checking OS image and flags Invalid image format version: 0x0 Continuing with OS clear 512 bytes written to volume aos0 Erasing flash sector @ 0x3a0000...OK

Device 0: nand0... is now current device Erasing UBIFS ...OK Remove UBI volume ubifs (id 0) Creating dynamic volume ubifs of size 63361024 Device 1: nand1... is now current device

Now tell the AP to boot and it should find mama (the Master):

apboot> boot

AirWave

General

ampcli

/usr/local/airwave/bin/ampcli

Restart AirWave services

amp_disable

amp_enable

Monitor services

Useful after a restart

logs

tailf service_watcher

Find large files

find / -type f -size +1000M | xargs du -h | sort -nr

Delete kernel log file

truncate -s 0 kernel