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

Reply via email to