gencfg command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gencfg: command not found
or when using sudo you get the following error message
sudo: gencfg: command not found
Solutions to gencfg: command not found
How To Fix gencfg: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gencfg is provided by z8530-utils2 package.
z8530-utils2 is:
This package contains utilities to load, configure and modify the kernel driver for Z8530 based SCC cards.
It should at least work with the following boards and connected modems:
BayCom USCC. PA0HZP card with and without ESCC and/or external clock divider (up to 19200 baud (loopback)) and compatibles. TCM3105 modem, 4k8 modem, 9k6 DF9IC modem (loopback), HAPN 4k8 modem (connected to a SCC board, of course!).
To fix this problem, we can install more using the command below.
sudo apt-get -y install z8530-utils2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install z8530-utils2.
sudo apt -y install z8530-utils2
Or if you have aptitude installed you can use the following command.
sudo aptitude install z8530-utils2
Summary
In this tutorial we learn how to fix gencfg command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.