airport2-ipinspector command not found

In this troubleshooting guide we learn how to fix airport2-ipinspector command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

airport2-ipinspector: command not found

or when using sudo you get the following error message

sudo: airport2-ipinspector: command not found

Solutions to airport2-ipinspector: command not found

How To Fix airport2-ipinspector: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu airport2-ipinspector is provided by airport-utils package.

airport-utils is:

This package contains various utilities to manage the Apple AirPort base stations.

Be aware that Apple released several versions of the AirPort base station; the original AirPort (“Graphite”) was a rebranded Lucent RG-1000 base station, doing 802.11a/b. The AirPort Extreme (“Snow”) is an Apple-built 802.11a/b/g base station.

For the original Apple AirPort and the Lucent RG-1000 base stations only:

  • airport-config: base station configurator
  • airport-linkmon: wireless link monitor, gives information on the wireless link quality between the base station and the associated hosts

For the Apple AirPort Extreme base stations only:

  • airport2-config: base station configurator
  • airport2-portinspector: port maps monitor
  • airport2-ipinspector: WAN interface monitoring utility

For all:

  • airport-modem: modem control utility, displays modem state, starts/stops modem connections, displays the approximate connection time (Extreme only)
  • airport-hostmon: wireless hosts monitor, lists wireless hosts connected to the base station (see airport2-portinspector for the Snow)

To fix this problem, we can install more using the command below.

sudo apt-get -y install airport-utils

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install airport-utils.

sudo apt -y install airport-utils

Or if you have aptitude installed you can use the following command.

sudo aptitude install airport-utils

Summary

In this tutorial we learn how to fix airport2-ipinspector command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.