ap-config command not found

In this troubleshooting guide we learn how to fix ap-config command not found error message

Introduction

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

ap-config: command not found

or when using sudo you get the following error message

sudo: ap-config: command not found

Solutions to ap-config: command not found

How To Fix ap-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ap-config is provided by ap-utils package.

ap-utils is:

A set of utilities for remotely administrating a variety of wireless access points via SNMP:

  • ap-auth - update authentication list
  • ap-config - interactively configure or get statistics from devices that support MIB-II, IEEE 802.11 MIB or NWN DOT11EXT MIB and most Atmel-chipset based APs
  • ap-gl - interactively configure or get statistics from Atmel Prism-based APs
  • ap-mrtg - get statistics from an AP in MRTG format
  • ap-rrd - get statistics from an AP in RRDtool format
  • ap-tftp - update AP firmware by TFTP
  • ap-trapd - receive, parse and log trap messages from an AP

Access points supported include Global Sun ProWave GL2411AP, Compex WavePort WP11, Linksys WAP11, SMC MC2655W, Netgear ME102, Edimax WLAN Access Point, D-Link DWL 900AP and Eumitcom WA3001A. Others based on Atmel chipsets or supporting MIB-II, IEEE 802.11 MIB and NWN DOT11EXT MIB should also work.

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

sudo apt-get -y install ap-utils

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

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

sudo apt -y install ap-utils

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

sudo aptitude install ap-utils

Summary

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