iwpan command not found

In this troubleshooting guide we learn how to fix iwpan command not found error message

Introduction

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

iwpan: command not found

or when using sudo you get the following error message

sudo: iwpan: command not found

Solutions to iwpan: command not found

How To Fix iwpan: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu iwpan is provided by wpan-tools package.

wpan-tools is:

This package contains two CLI tools for working with devices based on IEEE 802.15.4 via the netlink interface. IEEE 802.15.4 describes the standards for Low-Rate Wireless Personal Area Networks (6LoWPAN).

  • iwpan - configure a wpan network device to create a 6LoWPAN network

  • wpan-ping - network testing tool like ping or ping6, especially for 6LoWPAN nodes

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

sudo apt-get -y install wpan-tools

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

You can also use apt command to install wpan-tools.

sudo apt -y install wpan-tools

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

sudo aptitude install wpan-tools

Summary

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