Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2002 09:52:45 -0800
From:      Randy Bush <randy@psg.com>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   ppp - Magic is same
Message-ID:  <E18IBnJ-0005wb-00@roam.psg.com>

next in thread | raw e-mail | index | archive | help
ppp from a 4.7-stable system to a 4.7-stable system

if i hang up and then call back within 15 minutes or so, i get

    ppp[21876]: tun0: Phase: deflink: login -> lcp 
    ppp[21876]: tun0: LCP: FSM: Using "deflink" as a transport 
    ppp[21876]: tun0: LCP: deflink: State change Initial --> Closed 
    ppp[21876]: tun0: Phase: deflink: Entering STOPPED state for 3 seconds 
    ppp[21876]: tun0: LCP: deflink: State change Closed --> Stopped 
    ppp[21876]: tun0: LCP: deflink: LayerStart 
    ppp[21876]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped 
    ppp[21876]: tun0: LCP:  ACFCOMP[2] 
    ppp[21876]: tun0: LCP:  PROTOCOMP[2] 
    ppp[21876]: tun0: LCP:  ACCMAP[6] 0x00000000 
    ppp[21876]: tun0: LCP:  MRU[4] 1500 
    ppp[21876]: tun0: LCP:  MAGICNUM[6] 0xb4ca4b58 
    ppp[21876]: tun0: LCP: deflink: State change Stopped --> Req-Sent 
    ppp[21876]: tun0: LCP: deflink: RecvConfigReq(1) state = Req-Sent 
    ppp[21876]: tun0: LCP:  ACFCOMP[2] 
    ppp[21876]: tun0: LCP:  PROTOCOMP[2] 
    ppp[21876]: tun0: LCP:  ACCMAP[6] 0x00000000 
    ppp[21876]: tun0: LCP:  MRU[4] 1500 
    ppp[21876]: tun0: LCP:  MAGICNUM[6] 0xb4ca4b58 
    ppp[21876]: tun0: LCP: Magic is same (b4ca4b58) - 1 times 
    ppp[21876]: tun0: LCP: deflink: SendConfigNak(1) state = Req-Sent 
    ppp[21876]: tun0: LCP:  MAGICNUM[6] 0xb4ca4b58 
    ppp[21876]: tun0: LCP: deflink: RecvConfigNak(1) state = Req-Sent 
    ppp[21876]: tun0: LCP:  MAGICNUM[6] 0xb4ca4b58 
    ppp[21876]: tun0: LCP:  Magic 0xb4ca4b58 is NAKed! 
    ppp[21876]: tun0: LCP: deflink: SendConfigReq(2) state = Req-Sent 
    ppp[21876]: tun0: LCP:  ACFCOMP[2] 
    ppp[21876]: tun0: LCP:  PROTOCOMP[2] 
    ppp[21876]: tun0: LCP:  ACCMAP[6] 0x00000000 
    ppp[21876]: tun0: LCP:  MRU[4] 1500 
    ppp[21876]: tun0: LCP:  MAGICNUM[6] 0x725d8edd 
    ppp[21876]: tun0: LCP: deflink: RecvConfigReq(2) state = Req-Sent 
    ppp[21876]: tun0: LCP:  ACFCOMP[2] 
    ppp[21876]: tun0: LCP:  PROTOCOMP[2] 
    ppp[21876]: tun0: LCP:  ACCMAP[6] 0x00000000 
    ppp[21876]: tun0: LCP:  MRU[4] 1500 
    ppp[21876]: tun0: LCP:  MAGICNUM[6] 0x725d8edd 
    ppp[21876]: tun0: LCP: Magic is same (725d8edd) - 2 times 
    ppp[21876]: tun0: LCP: deflink: SendConfigNak(2) state = Req-Sent 
    ppp[21876]: tun0: LCP:  MAGICNUM[6] 0x725d8edd 
    ppp[21876]: tun0: LCP: deflink: RecvConfigNak(2) state = Req-Sent 
    ppp[21876]: tun0: LCP:  MAGICNUM[6] 0x725d8edd 
    ppp[21876]: tun0: LCP:  Magic 0x725d8edd is NAKed! 
    ppp[21876]: tun0: LCP: deflink: SendConfigReq(3) state = Req-Sent 
    ppp[21876]: tun0: LCP:  ACFCOMP[2] 
    ppp[21876]: tun0: LCP:  PROTOCOMP[2] 
    ppp[21876]: tun0: LCP:  ACCMAP[6] 0x00000000 
    ppp[21876]: tun0: LCP:  MRU[4] 1500 
    ppp[21876]: tun0: LCP:  MAGICNUM[6] 0xd183dd6f 
    ppp[21876]: tun0: LCP: deflink: RecvConfigReq(3) state = Req-Sent 
    ppp[21876]: tun0: LCP:  ACFCOMP[2] 
    ppp[21876]: tun0: LCP:  PROTOCOMP[2] 
    ppp[21876]: tun0: LCP:  ACCMAP[6] 0x00000000 
    ppp[21876]: tun0: LCP:  MRU[4] 1500 
    ppp[21876]: tun0: LCP:  MAGICNUM[6] 0xd183dd6f 
    ppp[21876]: tun0: LCP: Magic is same (d183dd6f) - 3 times 

until it gives up.  wait half an hour or more and it works fine.

caller is configured as

    default:
     set log Debug Phase Chat LCP IPCP CCP tun command Warning
     set speed 57600
     set timeout 0

    foo:
     set device /dev/cuaa2
     set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK ATZ OK-ATZ-OK ATE1Q0M1L2S11=100 OK \\dATDT\\T TIMEOUT 180 CONNECT" 
     set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin:--ogin: feen word: frappe"
     set ifaddr 666.42.7.11 666.42.7.1 255.255.255.0
     set timeout 0
     set phone "555-1212"

callee is configured as

    default:
     set log Phase Chat LCP IPCP CCP tun command
     ident user-ppp VERSION (built COMPILATIONDATE)
     set log phase lcp chat
     set nbns 666.42.7.42
     enable dns
     set timeout 0

    feen:
     set ifaddr 666.42.7.1 666.42.7.11 255.255.255.255
     allow users feen

i tried adding

  set openmode active 3

on the caller side, per a message found in the archives in response
to me whining about this a year or two ago.  it still has no
positive effect.

please send new magic :-)

thanks.

randy


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E18IBnJ-0005wb-00>