[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: modem hangup problems continue



On 22/03/2014 18:04, Ron Leach wrote:
On 21/03/2014 23:10, Mike McClain wrote:
I'm running Squeeze on a P3 board and dialup.
My modem gets hungup after 2.5 minutes about 30% - 40% of the time I
connect. Being idle, in the middle of fetching email or loading a
webpage seems to make no difference. Is there any way to log all
transactions going to the modem which is on ttyS2? Something like
script but for a serial port?


If you can find a PPP conf file or, maybe, a dialup or chat conf file,
perhaps even an LCP conf, and set logging to debug or verbose, then
that might bring the first clues for whatever condition the link is
getting into.


I found some old notes from the time I had problems with dial-up links resetting. My Wheezy system seems to use
/etc/ppp/options for various settings, including logging.

I suggest you change the entry in /etc/ppp/options for logging, uncommenting the debugging logging level:

#debug

to become

debug

There are a number of other quite-powerful options in that file, but which shouldn't be touched (yet). Once the reason that PPP is dropping the link becomes clear, then it is possible that a settings change in this file might fix it.

See what that ppp log now tells you about the link reset or disconnection. Further checks will then be needed.

If you're feeling you need to understand more,

man pon, and
man pppd

expose you to a lot of detail.

regards, Ron


Reply to: