54.3 Chat Script Giving up Too Early

By default pon does not wait around too long to establish a connection. Sometimes it does not wait long enough. You can introduce a longer wait (e.g., two minutes) as below.

Edit /etc/ppp/peers/provider (assuming your connection is the default, called provider) to replace:

  connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"

with

  connect "/usr/sbin/chat -v -t120 -f /etc/chatscripts/provider"

If you connection is not the default provider but something else, then edit the file with the same name in /etc/ppp/peers/.



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0