Hello everyone, In uclinux environment, sometimes, when I run my pppd process, the result is improper, and the running terminal downed and exited. The pppd uses the COM2(/dev/ttyS1), The message from the file /var/log/syslog reports that the serial data received is gibberish, and a SIGHUP signal is appeared. I don't know if this is the cause of the problem.The problem often appear when the process runs some times. Where is the SIGHUP from? Why the termianl downed and exited? Thanks for any ideas.
the file /var/log/syslog log of pppd running successfully:
Tue Nov 30 02:08:10 1999 pppd: pppd 2.3.8 started by (unknown), uid 0 Tue Nov 30 02:08:11 1999 chat: abort on (NO CARRIER) Tue Nov 30 02:08:11 1999 chat: abort on (NO DIALTONE) Tue Nov 30 02:08:11 1999 chat: abort on (ERROR) Tue Nov 30 02:08:11 1999 chat: abort on (NO ANSWER) Tue Nov 30 02:08:11 1999 chat: abort on (BUSY) Tue Nov 30 02:08:11 1999 chat: abort on (Username/Password Incorrect) Tue Nov 30 02:08:11 1999 chat: send (ATZ0^M) Tue Nov 30 02:08:11 1999 chat: send (AT^M) Tue Nov 30 02:08:11 1999 chat: expect (OK) Tue Nov 30 02:08:11 1999 chat: ATZ0^M^M Tue Nov 30 02:08:11 1999 chat: OK Tue Nov 30 02:08:11 1999 chat: -- got it Tue Nov 30 02:08:11 1999 chat: send (ATD#777^M) Tue Nov 30 02:08:11 1999 [422]: Serial connection established. Tue Nov 30 02:08:11 1999 [422]: using channel 31 Tue Nov 30 02:08:11 1999 [422]: Using interface ppp0 Tue Nov 30 02:08:11 1999 [422]: pppd create pidfile Tue Nov 30 02:08:11 1999 [422]: Connect: ppp0 /dev/ttyS1 Tue Nov 30 02:08:12 1999 [422]: sent [LCP ConfReq id=0x1