Re: ppp on freebsd 4.7 - disable ccp?

2003-01-03 Thread Matthew Emmerton
- Original Message -
From: Lauri Ahonen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 03, 2003 9:06 PM
Subject: ppp on freebsd 4.7 - disable ccp?


 If I'm reading this logfile right trying to negotiate compression levels
 kills my connection.
 I got the connection working on windows by disabling software compression.
 Dns is static,
 so it's defined in resolv.conf. No ipv6 thank you

 (This is a GPRS connection, that's why the odd dial-in number and low com
 speed)

 -bash-2.05b$ ppp
 Working in interactive mode
 Using interface: tun0
 ppp ON libretto set device /dev/cuaa0
 ppp ON libretto set speed 57600
 ppp ON libretto disable dns
 ppp ON libretto disable ipv6
 ppp ON libretto disable ipv6cp
 ppp ON libretto  set log local phase lcp ipcp
 ppp ON libretto term
 Phase: bundle: Establish
 Phase: deflink: closed - opening
 Phase: deflink: Connected!
 deflink: Entering terminal mode on /dev/cuaa0
 Type `~?' for help
 Phase: deflink: opening - carrier
 Phase: deflink: /dev/cuaa0 doesn't support CD
 Phase: deflink: carrier - ready
 AT
 OK
 ATZ
 OK
 AT+CGDCONT=1,IP,internet
 OK
 ATDT*99***1#
 CONNECT
 Phase: deflink: PPP packet detected, coming up
 Phase: deflink: ready - carrier
 Phase: deflink: carrier - lcp
 LCP: FSM: Using deflink as a transport
 LCP: deflink: State change Initial -- Closed
 LCP: deflink: State change Closed -- Stopped
 ppp ON libretto LCP: deflink: LayerStart
 LCP: deflink: SendConfigReq(1) state = Stopped
 LCP:  ACFCOMP[2]
 LCP:  PROTOCOMP[2]
 LCP:  ACCMAP[6] 0x
 LCP:  MRU[4] 1500
 LCP:  MAGICNUM[6] 0xd8c553ad
 LCP: deflink: State change Stopped -- Req-Sent
 LCP: deflink: RecvConfigNak(1) state = Req-Sent
 LCP:  ACCMAP[6] 0x000a
 LCP: deflink: SendConfigReq(2) state = Req-Sent
 LCP:  ACFCOMP[2]
 LCP:  PROTOCOMP[2]
 LCP:  ACCMAP[6] 0x000a
 LCP:  MRU[4] 1500
 LCP:  MAGICNUM[6] 0xd8c553ad
 LCP: deflink: RecvConfigAck(2) state = Req-Sent
 LCP:  ACFCOMP[2]
 LCP:  PROTOCOMP[2]
 LCP:  ACCMAP[6] 0x000a
 LCP:  MRU[4] 1500
 LCP:  MAGICNUM[6] 0xd8c553ad
 LCP: deflink: State change Req-Sent -- Ack-Rcvd
 LCP: deflink: RecvConfigReq(3) state = Ack-Rcvd
 LCP:  ACCMAP[6] 0x000a
 LCP:  PROTOCOMP[2]
 LCP:  ACFCOMP[2]
 LCP:  MAGICNUM[6] 0x7e8713c3
 LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
 LCP: deflink: SendConfigAck(3) state = Ack-Rcvd
 LCP:  ACCMAP[6] 0x000a
 LCP:  PROTOCOMP[2]
 LCP:  ACFCOMP[2]
 LCP:  MAGICNUM[6] 0x7e8713c3
 LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
 LCP: deflink: State change Ack-Rcvd -- Opened
 LCP: deflink: LayerUp
 LCP: deflink: SendIdent(0) state = Opened
 LCP:  MAGICNUM d8c553ad
 LCP:  TEXT user-ppp 3.1 (built Oct  8 2002)
 Phase: bundle: Authenticate
 Phase: deflink: his = CHAP 0x05, mine = none
 Ppp ON libretto Phase: Chap Input: CHALLENGE (20 bytes)
 Phase: Chap Output: RESPONSE ()
 Phase: Chap Input: SUCCESS
 Phase: deflink: lcp - open
 Phase: bundle: Network
 IPCP: FSM: Using deflink as a transport
 IPCP: deflink: State change Initial -- Closed
 IPCP: deflink: LayerStart.
 IPCP: deflink: SendConfigReq(1) state = Closed
 IPCP:  IPADDR[6] 127.0.0.1
 IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
 IPCP: deflink: State change Closed -- Req-Sent
 PPp ON libretto LCP: deflink: RecvProtocolRej(4) state = Opened
 LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was
 rejected!
 IPCP: deflink: RecvConfigRej(1) state = Req-Sent
 LCP: deflink: SendIdent(1) state = Opened
 LCP:  MAGICNUM d8c553ad
 LCP:  TEXT user-ppp 3.1 (built Oct  8 2002)
 IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
 IPCP: deflink: SendConfigReq(2) state = Req-Sent
 IPCP:  IPADDR[6] 127.0.0.1
 LCP: deflink: RecvTerminateReq(5) state = Opened
 LCP: deflink: LayerDown
 LCP: deflink: SendTerminateAck(5) state = Opened
 LCP: deflink: State change Opened -- Stopping
 Phase: deflink: open - lcp
 IPCP: deflink: State change Req-Sent -- Starting
 IPCP: deflink: LayerFinish.
 IPCP: Connect time: 1 secs: 0 octets in, 0 octets out
 IPCP: 0 packets in, 0 packets out
 IPCP:  total 0 bytes/sec, peak 0 bytes/sec on Sat Jan  4 04:02:01 2003
 IPCP: deflink: State change Starting -- Initial
 Phase: bundle: Terminate
 ppp ON libretto LCP: deflink: LayerFinish
 LCP: deflink: State change Stopping -- Stopped
 LCP: deflink: State change Stopped -- Closed
 LCP: deflink: State change Closed -- Initial
 Phase: deflink: Disconnected!
 Phase: deflink: Connect time: 132 secs: 289 octets in, 362 octets out
 Phase: deflink: 13 packets in, 10 packets out
 Phase:  total 4 bytes/sec, peak 129 bytes/sec on Sat Jan  4 04:02:03 2003
 Phase: deflink: lcp - closed
 Phase: bundle: Dead
 ppp ON libretto

Since you didn't ask a question, I assume you wanted to ask how can I
disable software compression on FreeBSD?

The answer is to add disable vjcomp to your ppp.conf file.

--
Matt Emmertno


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ppp on freebsd 4.7 - disable ccp?

2003-01-03 Thread Lauri Ahonen

- Original Message -
From: Matthew Emmerton [EMAIL PROTECTED]
To: Lauri Ahonen [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, January 04, 2003 4:13 AM
Subject: Re: ppp on freebsd 4.7 - disable ccp?


 - Original Message -
 From: Lauri Ahonen [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, January 03, 2003 9:06 PM
 Subject: ppp on freebsd 4.7 - disable ccp?


  If I'm reading this logfile right trying to negotiate compression levels
  kills my connection.
  I got the connection working on windows by disabling software
compression.
  Dns is static,
  so it's defined in resolv.conf. No ipv6 thank you
 
  (This is a GPRS connection, that's why the odd dial-in number and low
com
  speed)
 CLIP - Let's save a little bandwidth

 Since you didn't ask a question, I assume you wanted to ask how can I
 disable software compression on FreeBSD?

 The answer is to add disable vjcomp to your ppp.conf file.

 --
 Matt Emmertno

Sorry. What I meant to ask is how to disable compression control protocol,
not only vj compression(tried disabling vjcomp, but my link still dies after
LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was
rejected!). The problem might be something else than ccp, but the link dies
everytime at the same point




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message