public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] PPP Timeout not reset automatically?
@ 2012-09-15 20:29 Ken Yee
  0 siblings, 0 replies; only message in thread
From: Ken Yee @ 2012-09-15 20:29 UTC (permalink / raw)
  To: ecos-discuss

I'm running with the FreeBSD stack if it matters, but what I'm seeing is PPP doesn't seem to reset the PPP timeout the next time it connects.n

Code is roughly init_all_network_interfaces(), followed by cyg_ppp_up() which is then allowed to time out from traffic going to idle.  Then cyg_ppp_up() is called a few minutes later and eCos seems to be timing out immediately.  Info printed to the debug output looks like this:

SYSLOG 08: Using interface ppp0 
SYSLOG 04: Connect: ppp0 <--> /dev/ser0 
SYSLOG 04: local  IP address 10.20.20.2 
SYSLOG 04: remote IP address 10.20.20.1 
SYSLOG 08: Terminating connection due to lack of activity. 
SYSLOG 04: Connection terminated, connected for 1 minutes 

Then later on:
SYSLOG 08: Using interface ppp0 
SYSLOG 04: Connect: ppp0 <--> /dev/ser0 
SYSLOG 08: Connect time expired 
SYSLOG 04: Connection terminated, connected for 1 minutes 

Note that the second connection doesn't show that termination is due to lack of activity but that connect time has expired.
No matter how many times cyg_ppp_up is called again, it never connects again :-(

Figured I'd ask in case someone else has hit this...

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-15 20:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-15 20:29 [ECOS] PPP Timeout not reset automatically? Ken Yee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).