ifnames2.64: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/ifnames2.64 - from package: autoconf2.64

You may install the required package with command apt-get install {package}
Error in other languages:
ifnames2.64: bevel nie gevind nie
ifnames2.64: comandă negăsită
ifnames2.64: comando não encontrado
ifnames2.64: commande introuvable
ifnames2.64: command not found
ifnames2.64: käsku ei ole
ifnames2.64: không tìm thấy lệnh
ifnames2.64: komanda nerasta
ifnames2.64: Kommando nicht gefunden.
ifnames2.64: kommandot finns inte
ifnames2.64: komut yok
ifnames2.64: nie znaleziono polecenia
ifnames2.64: níor aimsíodh an t-ordú
ifnames2.64: no se encontró la orden
ifnames2.64: no s'ha trobat l'ordre
ifnames2.64: opdracht niet gevonden
ifnames2.64: parancs nem található
ifnames2.64: perintah tidak ditemukan
ifnames2.64: príkaz nenájdený
ifnames2.64: příkaz nenalezen
ifnames2.64: команда не найдена
ifnames2.64: командата не е открита
ifnames2.64: 命令找不到
ifnames2.64: コマンドが見つかりません