Frequently Asked Questions for FreeBSD 2.X : Serial Communications : My stock Hayes modem isn't supported---what should I do?
Previous: Why can't I run tip or cu?
Next: How am I expected to enter these AT commands without resorting to some DOS-based terminal program?

11.10. My stock Hayes modem isn't supported---what should I do?

Actually, the man page for tip is out of date. There is a generic Hayes dialer already built in. Just use ``at=hayes'' in your /etc/remote file.

The Hayes driver isn't smart enough to recognize some of the advanced features of newer modems---messages like BUSY, NO DIALTONE, or CONNECT 115200 will just confuse it. You should turn those messages off when you use tip (using ATX0&W).

Also, the dial timeout for tip is 60 seconds. Your modem should use something less, or else tip will think there's a communication problem. Try ATS7=45&W.

Actually, as shipped tip doesn't yet support it fully. The solution is to edit the file tipconf.h in the directory /usr/src/usr.bin/tip/tip Obviously you need the source distribution to do this.

Edit the line ``#define HAYES 0'' to ``#define HAYES 1''. Then ``make'' and ``make install''. Everything works nicely after that.


Frequently Asked Questions for FreeBSD 2.X : Serial Communications : My stock Hayes modem isn't supported---what should I do?
Previous: Why can't I run tip or cu?
Next: How am I expected to enter these AT commands without resorting to some DOS-based terminal program?