Hi everybody on the list !


First, sorry for  bad English that will follow, despite of it I hope
you will understand !

Well, I don't have any special problem, but I'would like to better
understand role of the different parameters involved in the ppp
connection in order to achieve best transfer speed. The pppd manual
page doesn't seem to me very explicit. So could anybody give me
some advice about the following subjects :

- use of compression or not. If yes:
             
              - which type of compression to use
                (I guess there are several ones?)

              - How to know which compression protocol is 
                supported by the peer

              - what level of compression to set?

- How to determine optimal values of the mru and mtu parameters ?

- what speed to set for the serial port.




Here is my linux box :

- Cyrix p166+  48M RAM
- ide drive
- linux 2.2.1
- pppd 2.3.3
- USR sporster message+  56K   (serial port baud rate at 115000)
- use of "irqtune" and "hdparm"
- use of "xisp" as interface with pppd


I usually get V90 connections at 50,666 kB. 


Here is a sample of /var/adm/debug (with kdebug 1 as pppd options) :


Feb 24 19:12:42 jah kernel: PPP: version 2.3.3 (demand dialling)
Feb 24 19:12:42 jah kernel: PPP line discipline registered.
Feb 24 19:12:42 jah kernel: PPP BSD Compression module registered
Feb 24 19:12:44 jah kernel: registered device ppp0
Feb 24 19:12:45 jah pppd[217]: pppd 2.3.5 started by laurent, uid 501
Feb 24 19:14:28 jah pppd[230]: Serial connection established.
Feb 24 19:14:29 jah pppd[230]: Using interface ppp0
Feb 24 19:14:29 jah pppd[230]: Connect: ppp0 <--> /dev/ttyS0
Feb 24 19:14:29 jah kernel: ppp_ioctl: set dbg flags to 10000
Feb 24 19:14:29 jah kernel: ppp_ioctl: set flags to 10000
Feb 24 19:14:29 jah kernel: ppp_tty_ioctl: set xasyncmap
Feb 24 19:14:29 jah kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
Feb 24 19:14:29 jah kernel: ppp_ioctl: set flags to 10000
Feb 24 19:14:29 jah kernel: ppp_ioctl: set mru to 5dc
Feb 24 19:14:29 jah kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff
Feb 24 19:14:29 jah kernel: ppp_ioctl: set flags to 10000
Feb 24 19:14:29 jah pppd[230]: sent [LCP ConfReq id=0x1 <mru 256> <asyncmap 0x0> 
<magic 0xc07f04f> <pcomp> <accomp>]
Feb 24 19:14:30 jah kernel: ppp: tossing frame (e0)
Feb 24 19:14:30 jah kernel: ppp: frame with bad fcs, length = 66
Feb 24 19:14:30 jah kernel: ppp: bad frame, count = 66             <---------- What's 
up doc ???
Feb 24 19:14:30 jah kernel: FF 03 20 03 50 50 50 20 .. .PPP 
Feb 24 19:14:30 jah kernel: 73 65 73 73 69 6F 6E 20 session 
Feb 24 19:14:30 jah kernel: 66 72 6F 6D 20 28 31 39 from (19
Feb 24 19:14:30 jah kernel: 34 2E 32 30 36 2E 31 32 4.206.12
Feb 24 19:14:30 jah kernel: 36 2E 32 32 31 29 20 74 6.221) t
Feb 24 19:14:30 jah kernel: 6F 20 4E 65 67 6F 74 69 o Negoti
Feb 24 19:14:30 jah kernel: 61 74 65 64 20 62 65 67 ated beg
Feb 24 19:14:30 jah kernel: 69 6E 6E 69 6E 67 2E 2E inning..
Feb 24 19:14:30 jah kernel: 2E 2E                   ..
Feb 24 19:14:30 jah pppd[230]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 
0xf8afacce> <pcomp> <accomp> <auth pap>]
Feb 24 19:14:30 jah pppd[230]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 
0xf8afacce> <pcomp> <accomp> <auth pap>]
Feb 24 19:14:32 jah pppd[230]: sent [LCP ConfReq id=0x1 <mru 256> <asyncmap 0x0> 
<magic 0xc07f04f> <pcomp> <accomp>]
Feb 24 19:14:32 jah kernel: ppp_tty_ioctl: set xmit asyncmap 0
Feb 24 19:14:32 jah kernel: ppp_ioctl: set flags to f010003
Feb 24 19:14:32 jah kernel: ppp_ioctl: set mru to 5dc
Feb 24 19:14:32 jah kernel: ppp_tty_ioctl: set rcv asyncmap 0
Feb 24 19:14:32 jah kernel: ppp_ioctl: set flags to f010003
Feb 24 19:14:32 jah pppd[230]: rcvd [LCP ConfAck id=0x1 <mru 256> <asyncmap 0x0> 
<magic 0xc07f04f> <pcomp> <accomp>]
Feb 24 19:14:32 jah pppd[230]: sent [PAP AuthReq id=0x1 user="ladescamps" 
password="beeeeeepp  !!!"
Feb 24 19:14:32 jah kernel: ppp_ioctl: set flags to f010043
Feb 24 19:14:32 jah pppd[230]: rcvd [PAP AuthAck id=0x1 "Login Succeeded"]
Feb 24 19:14:32 jah pppd[230]: Remote message: Login Succeeded
Feb 24 19:14:32 jah pppd[230]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 
0f 01>]
Feb 24 19:14:32 jah kernel: PPP Deflate Compression module registered
Feb 24 19:14:32 jah pppd[230]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 
15> <bsd v1 12>]
Feb 24 19:14:32 jah kernel: ppp_proto_ccp rcvd=0 code=1 flags=f010043
Feb 24 19:14:32 jah pppd[230]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 00> <addr 
194.206.126.221>]
Feb 24 19:14:32 jah pppd[230]: sent [IPCP ConfAck id=0x1 <compress VJ 0f 00> <addr 
194.206.126.221>]
Feb 24 19:14:32 jah pppd[230]: rcvd [IPCP ConfNak id=0x1 <addr 195.146.228.71>]
Feb 24 19:14:32 jah pppd[230]: sent [IPCP ConfReq id=0x2 <addr 195.146.228.71> 
<compress VJ 0f 01>]
Feb 24 19:14:33 jah pppd[230]: rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 
18 04 78 00 15 03 2c]
Feb 24 19:14:33 jah kernel: ppp0: ccp closed
Feb 24 19:14:33 jah kernel: ppp_ioctl: set flags to f010003
Feb 24 19:14:33 jah kernel: ppp_ioctl: set maxcid to 16
Feb 24 19:14:33 jah kernel: ppp_ioctl: set flags to f01000f
Feb 24 19:14:33 jah pppd[230]: rcvd [IPCP ConfAck id=0x2 <addr 195.146.228.71> 
<compress VJ 0f 01>]
Feb 24 19:14:33 jah kernel: ppp: set np 0 to 0
Feb 24 19:14:33 jah pppd[230]: local  IP address 195.146.228.71
Feb 24 19:14:33 jah pppd[230]: remote IP address 194.206.126.221




Thanks in advance


Salut,

Laurent.


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to