dongle_attach: 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 CentOS possible default full paths are:

/usr/sbin/dongle_attach - from package: irda-utils

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