Hi,

I have a 14.4Kb modem (no name) on /dev/ttyS3. I'm using RedHat5.1 with
2.0.36 kernel and ppp-2.3.3 daemon.
I run following script to connect with my ISP:
pppd connect 'chat -v "" ATDP471100 CONNECT "" ogin: myuser word:
mypassword' \
     /dev/cua3 38400 debug crtscts modem defaultroute kdebug 25

In /var/log/messages appear:
Dec 26 18:36:16 localhost pppd[825]: pppd 2.3.3 started by root, uid 0
Dec 26 18:36:17 localhost chat[826]: send (ATDP471100^M)
Dec 26 18:36:18 localhost chat[826]: expect (CONNECT)
Dec 26 18:36:18 localhost chat[826]: K^M
Dec 26 18:36:42 localhost kernel: PPP: ppp line discipline successfully
unregistered
Dec 26 18:37:01 localhost chat[826]: ATDP471100^M^M
Dec 26 18:37:01 localhost chat[826]: CONNECT
Dec 26 18:37:01 localhost chat[826]:  -- got it
Dec 26 18:37:01 localhost chat[826]: send (^M)
Dec 26 18:37:01 localhost chat[826]: expect (ogin:)
Dec 26 18:37:01 localhost chat[826]:  14400/REL-LAPM V.42 BIS^M
Dec 26 18:37:02 localhost chat[826]: ^M
Dec 26 18:37:02 localhost chat[826]: ^MWelcome to Linux 2.0.36.
Dec 26 18:37:02 localhost chat[826]: ^M
Dec 26 18:37:02 localhost chat[826]: ^M^M
Dec 26 18:37:02 localhost chat[826]: main!login:
Dec 26 18:37:02 localhost chat[826]:  -- got it
Dec 26 18:37:02 localhost chat[826]: send (myuser^M)
Dec 26 18:37:02 localhost chat[826]: expect (word:)
Dec 26 18:37:02 localhost chat[826]:  myuser^M
Dec 26 18:37:02 localhost chat[826]: Password:
Dec 26 18:37:02 localhost chat[826]:  -- got it
Dec 26 18:37:02 localhost chat[826]: send (mypassword^M)
Dec 26 18:37:02 localhost pppd[825]: Serial connection established.
Dec 26 18:37:03 localhost kernel: PPP: version 2.2.0 (dynamic channel
allocation)
Dec 26 18:37:03 localhost kernel: PPP Dynamic channel allocation code
copyright 1995 Caldera, Inc.
Dec 26 18:37:03 localhost kernel: PPP line discipline registered.
Dec 26 18:37:03 localhost kernel: registered device ppp0
Dec 26 18:37:03 localhost kernel: ppp_tty_ioctl: set flags to 190000
Dec 26 18:37:03 localhost kernel: ppp_tty_ioctl: set flags to 190000
Dec 26 18:37:03 localhost kernel: ppp_tty_ioctl: set xasyncmap
Dec 26 18:37:03 localhost kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
Dec 26 18:37:03 localhost kernel: ppp_tty_ioctl: set flags to 190000
Dec 26 18:37:03 localhost kernel: ppp_tty_ioctl: set mru to 5dc
Dec 26 18:37:03 localhost kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff
Dec 26 18:37:03 localhost kernel: ppp_tty_ioctl: set flags to 190000
Dec 26 18:37:03 localhost pppd[825]: Using interface ppp0
Dec 26 18:37:03 localhost pppd[825]: Connect: ppp0 <--> /dev/cua3
Dec 26 18:37:04 localhost kernel: ppp: frame with bad fcs, excess = 83f0
Dec 26 18:37:07 localhost kernel: ppp: frame with bad fcs, excess = 6067
Dec 26 18:37:07 localhost kernel: ppp: frame with bad fcs, excess = fbed
Dec 26 18:37:10 localhost kernel: ppp: frame with bad fcs, excess = 6067
Dec 26 18:37:10 localhost kernel: ppp: frame with bad fcs, excess = 7480
Dec 26 18:37:13 localhost kernel: ppp: frame with bad fcs, excess = 83f0
Dec 26 18:37:16 localhost kernel: ppp: frame with bad fcs, excess = 25ba
Dec 26 18:37:19 localhost kernel: ppp: frame with bad fcs, excess = 5dce
Dec 26 18:37:19 localhost kernel: ppp: frame with bad fcs, excess = eeb1
Dec 26 18:37:22 localhost kernel: ppp: frame with bad fcs, excess = 5dce
Dec 26 18:37:22 localhost kernel: ppp: frame with bad fcs, excess = a18
Dec 26 18:37:25 localhost kernel: ppp: frame with bad fcs, excess = 5dce
Dec 26 18:37:25 localhost kernel: ppp: frame with bad fcs, excess = 5cfa
Dec 26 18:37:28 localhost kernel: ppp: frame with bad fcs, excess = 4046
Dec 26 18:37:31 localhost kernel: ppp: frame with bad fcs, excess = 7821
Dec 26 18:37:34 localhost kernel: ppp: channel ppp0 closing.
Dec 26 18:37:34 localhost pppd[825]: LCP: timeout sending Config-Requests
Dec 26 18:37:34 localhost pppd[825]: Connection terminated.
Dec 26 18:37:34 localhost pppd[825]: Receive serial link is not 8-bit clean:
Dec 26 18:37:34 localhost pppd[825]: Problem: all had bit 7 set to 0
Dec 26 18:37:34 localhost pppd[825]: Hangup (SIGHUP)
Dec 26 18:37:34 localhost pppd[825]: Exit.

In Readme-Linux (<If it doesn't work> section), from PPP documentation
directory, write: "During the initial connection sequence, you may see one
or more messages which indicate "bad fcs".  This refers to a checksum error
in a received PPP frame, and usually occurs at the start of a session when
the peer system is sending some "text" messages,  such as "hello this is the
XYZ company".  Messages of "bad fcs" once the link is established and the
routes have been added are not normal and indicate transmission errors or
noise on the telephone line."

But the problem isn't noises or transmission errors because the modem and
PPP connection works fine in Windows98.

P.S. I can make a shell connection with my ISP using minicom.
Please take a look at log file from attachment (how works transmission bit
by bit).

Thanks,
Cata.
--------------------------------------------
Happy holidays everyone !!!
--------------------------------------------

Ppplog.tgz

Reply via email to