Author Archives: aek82

Upgrading ArubaOS from a USB port

If you have a small (less than 8 GB) USB drive available, upgrading AOS can be done via the USB port on a wireless controller. For the USB’s file system, FAT32 is an option for Windows users.

After booting into CPBoot (the second boot prompt)

#start the usb port

usb start 1

#check if usb port is reading

usb dev
# to check if the file system is readable..
dir 1
# ex. upgrade command
upgrade 0:0 1:1 Arubaimage/ArubaOS_72xx_6.4.4.4_53338


Reference: Airheads How To Upgrade a controller through the USB Port

Microsoft Service Fabric – Setting up a Linux Environment

Service Fabric was officially released about a year ago with the promise that it would be ported to Linux. The first Linux port, which is a preview, is out. You can find the directions on getting it up and running here.

I was able to setup Service Fabric using Ubuntu Server 16.01 LTS running on Virtual Box. A few notes about this Service Fabric release:

  • Allocate plenty of disk space. Running the service fabric cluster and installing everything (Azure CLI, Service Fabric SDK, Cluster Manager, OS) is 6.7 GB on my main user partition.
  • Starting the server cluster does take awhile, about 4-5 minutes on my machine. You have to wait a few minutes after the script finishes setting up.
  • The Yeoman Generator seen in the demo, azuresfcsharp, is in the Service Fabric SDK.

.NET Core – Compiling applications for multiple platforms

Modify project.json

"frameworks": {
  "netcoreapp1.0": {
    "dependencies": {
      "Microsoft.NETCore.App": {
        "version": "1.0.1"
"runtimes": {
     "win10-x64": {},
     "osx.10.10-x64": {},
     "ubuntu.14.04-x64": {}

From the CLI run:

dotnet restore
dotnet build -r win10-x64
dotnet build -r osx.10.10-x64
dotnet build -r ubuntu.14.04-x64

dotnet publish -c release -r win10-x64
dotnet publish -c release -r osx.10.10-x64
dotnet publish -c release -r ubuntu.14.04-x64

Reference: Self-Contained NET Core Applications

Upgrade Mobility Controller / ArubaOS from the CLI

It’s not completely obvious that upgrading the partition means upgrading the OS on the controller. Use this if the Web UI gives you an error about running out of space.

To upgrade partition 0 in enable mode:

copy tftp: <IP ADDRESSS> <FILENAME> system: partition 0


copy tftp: A800_3.4.2.4_23915 system: partition 0

Other useful commands


show storage

show memory

Airheads Thread

HP 2530 Pro Curve Switch – Exporting and Importing Switch Configuration via SFTP

Import Switch Configuration

copy sftp startup-config user <username> <IP Address> <Path to File>


copy sftp startup-config user alexkuo /var/home/alexkuo/switch-import.cfg

Export Switch Configuration

copy running-config sftp user <username> <IP Address> <Path to File>


copy running-config sftp user alexkuo /var/home/alexkuo/switch-exported.cfg

ASP.NET Web Server Here Context Option


You can download here the updated registry entry for opening the ASP.NET Development Web Server using context menu in Explorer. The path has been updated to use Visual Studio 2015’s development web server.

This is used to quickly open a web server in a directory. After merging the registry, just do the following:

  1. Open explorer and navigate to the target directory
  2. Right click and select the ASP.NET Web Server Here option

I have not tested this in Windows 10.