pppd blocks on receiving....

pppd blocks on receiving....

Post by M.Kaseman » Sun, 04 May 1997 04:00:00



Dear Linux friends,

I have the following problem with my ppp connection on Linux:

- dialing in and connection to the PPP-server works ok
- pinging a remote machine is ok
- as soon as I ftp_get a big piece of data the connection is
   blocked after a short while. The TX light on the modem still
   flashes from the ongoing ping, but no data are received.

I am using Linux.2.0.0 with pppd.2.2.0 connected to a
US robotics sportster 28800 external modem on cua1, IRQ3 IO-port 2f8
with hardware handshake. (My PPP connection under windows works fine,
thats how this news is posted...)

Any help is highly welcome (via news or email: kasem...@desy.de).

Many thanks to anybody trying to help.

P.S. Below I append part of the log of the session (sorry for the
longish output), may be someone is more expert than I am and can
spot the problem.

from /var/log/messages:
-----------------------
 00:46:01 ip-nn kernel: PPP: ppp line discipline successfully
unregistered
 00:46:36 ip-nn syslog: Exit.
 00:47:35 ip-nn kernel: PPP: version 2.2.0 (dynamic channel allocation)
 00:47:35 ip-nn kernel: PPP Dynamic channel allocation code copyright
1995 Caldera, Inc.
 00:47:35 ip-nn kernel: PPP line discipline registered.
 00:47:35 ip-nn kernel: registered device ppp0
 00:47:35 ip-nn pppd[853]: pppd 2.2.0 started by root, uid 0
 00:47:36 ip-nn chat[854]: timeout set to 3 seconds
 00:47:36 ip-nn chat[854]: abort on (\nBUSY\r)
 00:47:36 ip-nn chat[854]: abort on (\nNO ANSWER\r)
 00:47:36 ip-nn chat[854]: abort on (\nNO CARRIER\r)
 00:47:36 ip-nn chat[854]: abort on (\nRINGING\r\n\r\nRINGING\r)
 00:47:36 ip-nn chat[854]: send (ATS0=0&C1&N0&B1&H1&K1+FCLASS=0^M)
 00:47:37 ip-nn chat[854]: expect (OK)
 00:47:37 ip-nn chat[854]: ATS0=0&C1&N0&B1&H1&K1+FCLASS=0^M^M
 00:47:37 ip-nn chat[854]: OK -- got it
 00:47:37 ip-nn chat[854]: send (ATH0^M)
 00:47:37 ip-nn chat[854]: timeout set to 75 seconds
 00:47:37 ip-nn chat[854]: expect (OK)
 00:47:37 ip-nn chat[854]: ^M
 00:47:37 ip-nn chat[854]: ATH0^M^M
 00:47:37 ip-nn chat[854]: OK -- got it
 00:47:37 ip-nn chat[854]: send (ATDPnnnnnnnnnnnn^M)
 00:47:37 ip-nn chat[854]: expect (CONNECT)
 00:47:37 ip-nn chat[854]: ^M
 00:48:10 ip-nn chat[854]: ATDPnnnnnnnnnnnn^M^M
 00:48:10 ip-nn chat[854]: CONNECT -- got it
 00:48:10 ip-nn chat[854]: send (^M)
 00:48:10 ip-nn chat[854]: expect (ogin:)
 00:48:10 ip-nn chat[854]:  26400/ARQ^M
 00:48:15 ip-nn chat[854]: ^M
 00:48:15 ip-nn chat[854]:  
 00:48:15 ip-nn last message repeated 23 times
 00:48:15 ip-nn chat[854]: ** Ascend Pipeline Terminal Server **^M
 00:48:15 ip-nn chat[854]: ^M
 00:48:15 ip-nn chat[854]: ^M
 00:48:15 ip-nn chat[854]: Login: -- got it
 00:48:15 ip-nn chat[854]: send (xxxxxxxxxxx^M)
 00:48:15 ip-nn chat[854]: expect (assword:)
 00:48:15 ip-nn chat[854]:  xxxxxxxxxxx^M
 00:48:15 ip-nn chat[854]: Password: -- got it
 00:48:15 ip-nn chat[854]: send (xxxxxxx^M)
 00:48:15 ip-nn pppd[853]: Serial connection established.
 00:48:16 ip-nn kernel: ppp_tty_ioctl: set flags to 70000
 00:48:16 ip-nn kernel: ppp_tty_ioctl: get flags: addr bffffcb4 flags 0
 00:48:16 ip-nn kernel: ppp_tty_ioctl: set flags to 70000
 00:48:16 ip-nn pppd[853]: Using interface ppp0
 00:48:16 ip-nn pppd[853]: Connect: ppp0 <--> /dev/ttyS1
 00:48:16 ip-nn kernel: ppp_tty_ioctl: set xasyncmap
 00:48:16 ip-nn kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
 00:48:16 ip-nn kernel: ppp_tty_ioctl: get flags: addr bffffc64 flags 0
 00:48:16 ip-nn kernel: ppp_tty_ioctl: set flags to 70000
 00:48:16 ip-nn kernel: ppp_tty_ioctl: set mru to 5dc
 00:48:16 ip-nn kernel: ppp_tty_ioctl: set rcv asyncmap 0
 00:48:16 ip-nn kernel: ppp_tty_ioctl: get flags: addr bffffc90 flags 0
 00:48:16 ip-nn kernel: ppp_tty_ioctl: set flags to 70010
 00:48:16 ip-nn pppd[853]: sent [LCP ConfReq id=0x1 <mru 1500> <asyncmap
0x200a0000> <magic 0xd53e32c2> <pcomp> <accomp>]
 00:48:16 ip-nn kernel: ppp: write frame, count = 28
 00:48:16 ip-nn kernel: FF 03 C0 21 01 01 00 18 ...!....
 00:48:16 ip-nn kernel: 01 04 05 DC 02 06 20 0A ...... .
 00:48:16 ip-nn kernel: 00 00 05 06 D5 3E 32 C2 .....>2.
 00:48:16 ip-nn kernel: 07 02 08 02             ....
 00:48:16 ip-nn kernel: ppp_dev_xmit_lower: fcs is 2c8b
 00:48:16 ip-nn kernel: ppp_dev_xmit: writing 52 chars
 00:48:16 ip-nn kernel: ppp: receive frame, count = 31
 00:48:16 ip-nn kernel: FF 03 C0 21 01 01 00 1B ...!....
 00:48:16 ip-nn kernel: 01 04 05 F4 02 06 00 0A ........
 00:48:16 ip-nn kernel: 00 00 07 02 08 02 13 09 ........
 00:48:16 ip-nn kernel: 03 00 C0 7B 53 C5 93    ...{S..
 00:48:16 ip-nn kernel: ppp: successfully queued 29 bytes, flags =
f070010
 00:48:16 ip-nn kernel: ppp_tty_read: called buf=0805b642 nr=1504
 00:48:16 ip-nn kernel: ppp_tty_read: len = 29
 00:48:16 ip-nn kernel: ppp_tty_read: passing 31 bytes up
 00:48:16 ip-nn pppd[853]: rcvd [LCP ConfReq id=0x1 <mru 1524> <asyncmap
0xa0000> <pcomp> <accomp> < 13 09 03 00 c0 7b 53 c5 93>]
 00:48:16 ip-nn pppd[853]: sent [LCP ConfRej id=0x1 < 13 09 03 00 c0 7b
53 c5 93>]
 00:48:16 ip-nn kernel: ppp: write frame, count = 17
 00:48:16 ip-nn kernel: FF 03 C0 21 04 01 00 0D ...!....
 00:48:16 ip-nn kernel: 13 09 03 00 C0 7B 53 C5 .....{S.
 00:48:16 ip-nn kernel: 93                      .
 00:48:16 ip-nn kernel: ppp_dev_xmit_lower: fcs is 4478
 00:48:16 ip-nn kernel: ppp_dev_xmit: writing 31 chars
 00:48:16 ip-nn kernel: ppp: receive frame, count = 28
 00:48:16 ip-nn kernel: FF 03 C0 21 02 01 00 18 ...!....
 00:48:16 ip-nn kernel: 01 04 05 DC 02 06 20 0A ...... .
 00:48:16 ip-nn kernel: 00 00 05 06 D5 3E 32 C2 .....>2.
 00:48:16 ip-nn kernel: 07 02 08 02             ....
 00:48:16 ip-nn kernel: ppp: successfully queued 26 bytes, flags =
f070010
 00:48:16 ip-nn kernel: ppp_tty_read: called buf=0805b642 nr=1504
 00:48:16 ip-nn kernel: ppp_tty_read: len = 26
 00:48:16 ip-nn kernel: ppp_tty_read: passing 28 bytes up
 00:48:16 ip-nn pppd[853]: rcvd [LCP ConfAck id=0x1 <mru 1500> <asyncmap
0x200a0000> <magic 0xd53e32c2> <pcomp> <accomp>]
 00:48:17 ip-nn kernel: ppp: receive frame, count = 22
 00:48:17 ip-nn kernel: FF 03 C0 21 01 02 00 12 ...!....
 00:48:17 ip-nn kernel: 01 04 05 F4 02 06 00 0A ........
 00:48:17 ip-nn kernel: 00 00 07 02 08 02       ......
 00:48:17 ip-nn kernel: ppp: successfully queued 20 bytes, flags =
f070010
 00:48:17 ip-nn kernel: ppp_tty_read: called buf=0805b642 nr=1504
 00:48:17 ip-nn kernel: ppp_tty_read: len = 20
 00:48:17 ip-nn kernel: ppp_tty_read: passing 22 bytes up
 00:48:17 ip-nn pppd[853]: rcvd [LCP ConfReq id=0x2 <mru 1524> <asyncmap
0xa0000> <pcomp> <accomp>]
 00:48:17 ip-nn pppd[853]: sent [LCP ConfAck id=0x2 <mru 1524> <asyncmap
0xa0000> <pcomp> <accomp>]
 00:48:17 ip-nn kernel: ppp: write frame, count = 22
 00:48:17 ip-nn kernel: FF 03 C0 21 02 02 00 12 ...!....
 00:48:17 ip-nn kernel: 01 04 05 F4 02 06 00 0A ........
 00:48:17 ip-nn kernel: 00 00 07 02 08 02       ......
 00:48:17 ip-nn kernel: ppp_dev_xmit_lower: fcs is b5b9
 00:48:17 ip-nn kernel: ppp_dev_xmit: writing 45 chars
 00:48:17 ip-nn kernel: ppp_tty_ioctl: set xmit asyncmap a0000
 00:48:17 ip-nn kernel: ppp_tty_ioctl: get flags: addr bffffbe4 flags
f000010
 00:48:17 ip-nn kernel: ppp_tty_ioctl: set flags to f070013
 00:48:17 ip-nn kernel: ppp_tty_ioctl: set mru to 5dc
 00:48:17 ip-nn kernel: ppp_tty_ioctl: set rcv asyncmap 200a0000
 00:48:17 ip-nn kernel: ppp_tty_ioctl: get flags: addr bffffbf0 flags
f000013
 00:48:17 ip-nn kernel: ppp_tty_ioctl: set flags to f070003
 00:48:17 ip-nn pppd[853]: sent [IPCP ConfReq id=0x1 <addr
aaa.bbb.ccc.dd> <compress VJ 0f 01>]
 00:48:17 ip-nn kernel: ppp: write frame, count = 20
 00:48:17 ip-nn kernel: FF 03 80 21 01 01 00 10 ...!....
 00:48:17 ip-nn kernel: 03 06 83 A9 F1 28 02 06 .....(..
 00:48:17 ip-nn kernel: 00 2D 0F 01             .-..
 00:48:17 ip-nn kernel: ppp_dev_xmit_lower: fcs is bc2a
 00:48:17 ip-nn kernel: ppp_dev_xmit: writing 22 chars
 00:48:17 ip-nn kernel: ppp_tty_ioctl: get flags: addr bffffbc0 flags
f000003
 00:48:17 ip-nn kernel: ppp_tty_ioctl: set flags to f070043
 00:48:17 ip-nn kernel: ppp0: no compressor for [15 3 29], 3
 00:48:17 ip-nn kernel: ppp: receive frame, count = 14
 00:48:17 ip-nn kernel: FF 03 80 FD 01 01 00 0A ........
 00:48:17 ip-nn kernel: 11 06 00 01 01 03       ......
 00:48:17 ip-nn kernel: ppp: successfully queued 12 bytes, flags =
f070043
 00:48:17 ip-nn kernel: ppp_tty_read: called buf=0805b642 nr=1504
 00:48:17 ip-nn kernel: ppp_tty_read: len = 12
 00:48:17 ip-nn kernel: ppp_tty_read: passing 14 bytes up
 00:48:17 ip-nn pppd[853]: rcvd [CCP ConfReq id=0x1 < 11 06 00 01 01
03>]
 00:48:17 ip-nn kernel: ppp0: no compressor for [15 3 29], 3
 00:48:17 ip-nn pppd[853]: sent [CCP ConfReq id=0x1]
 00:48:17 ip-nn kernel: ppp: write frame, count = 8
 00:48:17 ip-nn kernel: FF 03 80 FD 01 01 00 04 ........
 00:48:17 ip-nn kernel: ppp_dev_xmit_lower: fcs is 11bc
 00:48:17 ip-nn kernel: ppp_dev_xmit: writing 11 chars
 00:48:17 ip-nn kernel: ppp: receive frame, count = 20
 00:48:17 ip-nn kernel: FF 03 80 21 01 01 00 10 ...!....
 00:48:17 ip-nn kernel: 02 06 00 2D 0F 01 03 06 ...-....
 00:48:17 ip-nn kernel: 83 A9 F0 11             ....
 00:48:17 ip-nn kernel: ppp: successfully queued 18 bytes, flags =
f070043
 00:48:17 ip-nn pppd[853]: sent [CCP ConfRej id=0x1 < 11 06 00 01 01
03>]
 00:48:17 ip-nn kernel: ppp: write frame, count = 14
 00:48:17 ip-nn kernel: FF 03 80 FD 04 01 00 0A ........
 00:48:17 ip-nn kernel: 11 06 00 01 01 03       ......
 00:48:17 ip-nn kernel: ppp_dev_xmit_lower: fcs is ad0b
 00:48:17 ip-nn kernel: ppp_dev_xmit: writing 17 chars
 00:48:17 ip-nn kernel: ppp_tty_read: called buf=0805b642 nr=1504
 00:48:17 ip-nn kernel: ppp_tty_read: len = 18
 00:48:17 ip-nn kernel: ppp_tty_read: passing 20 bytes up
 00:48:17 ip-nn pppd[853]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01>
<addr aaa.bbb.eee.ff>]
 00:48:17 ip-nn pppd[853]: sent [IPCP ConfAck id=0x1 <compress VJ 0f 01>
<addr aaa.bbb.eee.ff>]
 00:48:17 ip-nn kernel: ppp: write frame, count = 20
 00:48:17 ip-nn kernel: FF 03 80 21 02 01 00
...

read more »

 
 
 

pppd blocks on receiving....

Post by Ben S. Had » Sun, 04 May 1997 04:00:00



>Dear Linux friends,

>I have the following problem with my ppp connection on Linux:

>- dialing in and connection to the PPP-server works ok
>- pinging a remote machine is ok
>- as soon as I ftp_get a big piece of data the connection is
>   blocked after a short while. The TX light on the modem still
>   flashes from the ongoing ping, but no data are received.

Shot in the dark...you might try setting the MTU (in /etc/ppp/options on my box)
to something like, oh, 256, to see if that fixes the problem...If it does, it
will also probably also decrease the modem's throughput (though it's hard to see
how it could be any slower :-) A better long-term solution might be 'irqtune' at
http://shell5.ba.best.com/~cae/irqtune/
I haven't tried it yet myself...but planning to give it a shot.

Ben

 
 
 

pppd blocks on receiving....

Post by Craig Este » Sun, 04 May 1997 04:00:00



> how it could be any slower :-) A better long-term solution might be 'irqtune' at
> http://shell5.ba.best.com/~cae/irqtune/

Thanks for the vote of confidence.

The correct URL is:
  http://www.best.com/~cae/irqtune
Any other URL is subject to change without notice!

At my ISP (Best Internet Communications, Inc.), customers fought hard to
get Best to commit to the continuity of the URL, regardless of which
machine actually serves up the web pages.  In the past, a single machine
served up pages, but now any one of a proposed 20 machines will do it.
Download speed has improved dramatically.

Regards,
Craig