2008-11-11 09:52:21 Chat problem - ELF : not found
Alex Pereira (BRAZIL)
Message: 65030
I'm having trouble trying to execute a script with chat (from pppd) in order to talk to a serial device.
Here is the command I execute, and the message I receive:
root:/> chat -v -f /etc/chatscripts/script
ELF : not found
Does anybody know how to solve it?
Here is the content of the script:
# ispauth PAP
# abortstring
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
# modeminit
'' ATZ
# ispnumber
OK-AT-OK "ATDT*99***1#"
# ispconnect
CONNECT \d\c
# end of pppconfig stuff
Thank you very much,
Alex
QuoteReplyEditDelete
2008-11-11 10:07:31 Re: Chat problem - ELF : not found
Mike Frysinger (UNITED STATES)
Message: 65031
the ELF means the binary was not properly compiled ... it needs to either be a FLAT or FDPIC ELF
QuoteReplyEditDelete
2008-11-11 14:00:50 Re: Chat problem - ELF : not found
Alex Pereira (BRAZIL)
Message: 65051
Mike,
It worked fine.
Thank you very much,
Alex