prism2_srec: 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
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

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/sbin/prism2_srec - from package: hostap-utils

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