Date: Fri, 25 Feb 2000 11:29:05 +1030 (CST) From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Ptacek <ptacek@dashmail.net> Cc: freebsd-hackers@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: RE: modem program... Help Message-ID: <XFMail.000225112905.doconnor@gsoft.com.au> In-Reply-To: <013701bf7f2a$1c4681c0$0301a8c0@Ptacek>
next in thread | previous in thread | raw e-mail | index | archive | help
On 25-Feb-00 Ptacek wrote: > I just can't seem to get the modem to hangup. I probably have > to bring the DTR low (+++ATH<CR> doesn't work). How > do I do this? Also how can I detect if the modem is in > command mode, for example if the line gets unplugged and I > get a NO CARRIER back how do I know to read that as a > command instead of data? Your '+++ATH0' won't work because there is no delay between the +++ and the ATH0. ie do '+++' wait 2 seconds then send 'ATH0' Or you could set the modem to go into command mode on DTR drop.. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000225112905.doconnor>