On 30.09.2008 14:49, Oleg Litvinov wrote:

на /dev/ttyS0 висит vdsl модем

каким образом можно получить ответ от модема (допустим вывести в файл)?

"man chat", скорее всего.

NAME
       chat - Automated conversational script with a modem

SYNOPSIS
       chat [ options ] script

DESCRIPTION
The chat program defines a conversational exchange between the computer and the modem. Its primary purpose is to establish the connection between the Point-to-Point Protocol Daemon (pppd) and the remote’s pppd
       process.





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Ответить