Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Mar 1999 11:21:52 -0500
From:      Charles Owens <owensc@enc.edu>
To:        freebsd-net@freebsd.org
Subject:   help with nak'd MAGICNUM on ppp link
Message-ID:  <36E3F920.AE6722DE@enc.edu>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------9B4D64ADB1600D4F783A3612
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Howdy,

Currently in place is a ppp link on a dedicated line... the server runs
Linux 2.0.33 while the client runs Linux 2.0.30.  I'm trying to replace
the client with a new box running FreeBSD_3.0-stable but am running into
some trouble getting the ppp link up.

It appears that the connection setup is failing during the negotiation
of the "magic number".  Any ideas as to why this is happenning?  What is
the Linux server expecting here?  (I don't have access to the server
side of the connection).

Could my enabling of LQR be the problem?

I'm going to try using "set enddisc" to change the what Magic number the
client suggests, but testing is slow as the system is several continents
away.

Any help would be most appreciated!  Please cc: me directly.  Thanks
much!

Here's the /var/log/ppp.log output from the unhappy FreeBSD box.


Mar  7 14:02:49 s1 ppp[279]: tun0: Command: rom-client: set device
/dev/cuaa1
Mar  7 14:02:49 s1 ppp[279]: tun0: Command: rom-client: set speed 115200

Mar  7 14:02:49 s1 ppp[279]: tun0: Command: rom-client: set dial ABORT
BUSY ABOR
T NO\sCARRIER ABORT Invalid\sLogin TIMEOUT 5 "" AT OK-AT-OK
ATE1Q0&d3x1s7=120 OK
 \dATDP\T TIMEOUT 125 CONNECT
Mar  7 14:02:49 s1 ppp[279]: tun0: Command: rom-client: set timeout 0
Mar  7 14:02:49 s1 ppp[279]: tun0: Command: rom-client: set lqrperiod 10

Mar  7 14:02:49 s1 ppp[279]: tun0: Command: rom-client: set log Phase
Chat LQM L
CP IPCP CCP tun command
Mar  7 14:02:49 s1 ppp[279]: tun0: Command: rom-client: set ifaddr
193.231.160.3
3/24 193.231.160.65/24
Mar  7 14:02:49 s1 ppp[279]: tun0: Command: rom-client: enable lqr
Mar  7 14:02:49 s1 ppp[279]: tun0: Command: rom-client: accept lqr
Mar  7 14:02:49 s1 ppp[287]: tun0: Phase: PPP Started (dedicated mode).
Mar  7 14:02:49 s1 ppp[287]: tun0: Phase: bundle: Establish
Mar  7 14:02:49 s1 ppp[287]: tun0: Phase: deflink: closed -> opening
Mar  7 14:02:49 s1 ppp[287]: tun0: Phase: deflink: Connected!
Mar  7 14:02:49 s1 ppp[287]: tun0: Phase: deflink: opening -> lcp
Mar  7 14:02:49 s1 ppp[287]: tun0: LCP: FSM: Using "deflink" as a
transport
Mar  7 14:02:49 s1 ppp[287]: tun0: LCP: deflink: State change Initial
--> Closed

Mar  7 14:02:49 s1 ppp[287]: tun0: LCP: deflink: State change Closed -->
Stopped
Mar  7 14:02:50 s1 ppp[287]: tun0: LCP: deflink: LayerStart
Mar  7 14:02:50 s1 ppp[287]: tun0: LCP: deflink: SendConfigReq(1) state
= Stoppe
d
Mar  7 14:02:50 s1 ppp[287]: tun0: LCP:  ACFCOMP[2]
Mar  7 14:02:50 s1 ppp[287]: tun0: LCP:  PROTOCOMP[2]
Mar  7 14:02:50 s1 ppp[287]: tun0: LCP:  ACCMAP[6] 0x00000000
Mar  7 14:02:50 s1 ppp[287]: tun0: LCP:  MRU[4] 1500
Mar  7 14:02:50 s1 ppp[287]: tun0: LCP:  MAGICNUM[6] 0x4e42605b
Mar  7 14:02:50 s1 ppp[287]: tun0: LCP:  QUALPROTO[8] proto c025,
interval 10000
ms
Mar  7 14:02:50 s1 ppp[287]: tun0: LCP: deflink: State change Stopped
--> Req-Se
nt
Mar  7 14:02:50 s1 ppp[287]: tun0: LCP: deflink: RecvConfigReq(1) state
= Req-Se
nt
Mar  7 14:02:50 s1 ppp[287]: tun0: LCP:  ACFCOMP[2]
Mar  7 14:02:50 s1 ppp[287]: tun0: LCP:  PROTOCOMP[2]
Mar  7 14:02:50 s1 ppp[287]: tun0: LCP:  ACCMAP[6] 0x00000000
Mar  7 14:02:50 s1 ppp[287]: tun0: LCP:  MRU[4] 1500
Mar  7 14:02:50 s1 ppp[287]: tun0: LCP:  MAGICNUM[6] 0x4e42605b
Mar  7 14:02:50 s1 ppp[287]: tun0: LCP: Magic is same (4e42605b) - 1
times
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP:  QUALPROTO[8] proto c025,
interval 10000
ms
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP: deflink: SendConfigNak(1) state
= Req-Se
nt
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP:  MAGICNUM[6] 0x4e42605b
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP: deflink: RecvConfigNak(1) state
= Req-Sent
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP:  MAGICNUM[6] 0x4e42605b
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP:  Magic 0x4e42605b is NAKed!
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP: deflink: SendConfigReq(2) state
= Req-Se
nt
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP:  ACFCOMP[2]
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP:  PROTOCOMP[2]
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP:  ACCMAP[6] 0x00000000
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP:  MRU[4] 1500
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP:  MAGICNUM[6] 0x1db3f26f
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP:  QUALPROTO[8] proto c025,
interval 10000
ms
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP: deflink: RecvConfigReq(2) state
= Req-Sent
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP:  ACFCOMP[2]
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP:  PROTOCOMP[2]
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP:  ACCMAP[6] 0x00000000
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP:  MRU[4] 1500
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP:  MAGICNUM[6] 0x1db3f26f
Mar  7 14:02:51 s1 ppp[287]: tun0: LCP: Magic is same (1db3f26f) - 2
times
Mar  7 14:02:52 s1 ppp[287]: tun0: LCP:  QUALPROTO[8] proto c025,
interval 10000
ms
Mar  7 14:02:52 s1 ppp[287]: tun0: LCP: deflink: SendConfigNak(2) state
= Req-Sent
Mar  7 14:02:52 s1 ppp[287]: tun0: LCP:  MAGICNUM[6] 0x1db3f26f
Mar  7 14:02:52 s1 ppp[287]: tun0: LCP: deflink: RecvConfigNak(2) state
= Req-Sent
Mar  7 14:02:52 s1 ppp[287]: tun0: LCP:  MAGICNUM[6] 0x1db3f26f
Mar  7 14:02:52 s1 ppp[287]: tun0: LCP:  Magic 0x1db3f26f is NAKed!
Mar  7 14:02:52 s1 ppp[287]: tun0: LCP: deflink: SendConfigReq(3) state
= Req-Sent

[... keeps trying 6 more times ...]

Mar  7 14:03:12 s1 ppp[287]: tun0: LCP: deflink: SendTerminateReq(10)
state = Re
q-Sent
Mar  7 14:03:12 s1 ppp[287]: tun0: LCP: deflink: State change Req-Sent
--> Closi
ng
Mar  7 14:03:12 s1 ppp[287]: tun0: LCP: deflink: RecvTerminateReq(10)
state = Cl
osing
Mar  7 14:03:12 s1 ppp[287]: tun0: LCP: deflink: SendTerminateAck(10)
state = Cl
osing
Mar  7 14:03:12 s1 ppp[287]: tun0: LCP: deflink: RecvTerminateAck(10)
state = Cl
osing
Mar  7 14:03:12 s1 ppp[287]: tun0: LCP: deflink: LayerFinish
Mar  7 14:03:12 s1 ppp[287]: tun0: LCP: deflink: State change Closing
--> Closed

Mar  7 14:03:12 s1 ppp[287]: tun0: LCP: deflink: State change Closed -->
Initial

Mar  7 14:03:12 s1 ppp[287]: tun0: Phase: deflink: Disconnected!
Mar  7 14:03:12 s1 ppp[287]: tun0: LCP: FSM: Using "deflink" as a
transport
Mar  7 14:03:12 s1 ppp[287]: tun0: LCP: deflink: State change Initial
--> Closed

Mar  7 14:03:12 s1 ppp[287]: tun0: LCP: deflink: State change Closed -->
Stopped

Mar  7 14:03:13 s1 ppp[287]: tun0: LCP: deflink: LayerStart
Mar  7 14:03:13 s1 ppp[287]: tun0: LCP: deflink: SendConfigReq(11) state
= Stopp
ed

[... then tries some more...]

Mar  7 14:03:13 s1 ppp[287]: tun0: LCP:  ACFCOMP[2]
Mar  7 14:03:13 s1 ppp[287]: tun0: LCP:  PROTOCOMP[2]
Mar  7 14:03:13 s1 ppp[287]: tun0: LCP:  ACCMAP[6] 0x00000000
Mar  7 14:03:13 s1 ppp[287]: tun0: LCP:  MRU[4] 1500
Mar  7 14:03:13 s1 ppp[287]: tun0: LCP:  MAGICNUM[6] 0x67b941bf
Mar  7 14:03:13 s1 ppp[287]: tun0: LCP:  QUALPROTO[8] proto c025,
interval 10000

[ etc...]
--
---
-------------------------------------------------------------------------

  Charles N. Owens                               Email:  owensc@enc.edu
                                             http://www.enc.edu/~owensc
  Network & Systems Administrator
  Information Technology Services  "Outside of a dog, a book is a man's
  Eastern Nazarene College         best friend.  Inside of a dog it's
                                   too dark to read." - Groucho Marx
-------------------------------------------------------------------------



--------------9B4D64ADB1600D4F783A3612
Content-Type: text/x-vcard; charset=us-ascii;
 name="owensc.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Charles Owens
Content-Disposition: attachment;
 filename="owensc.vcf"

begin:vcard 
n:Owens;Charles
tel;fax:617-745-7907
tel;work:617-745-3725
x-mozilla-html:FALSE
url:http://www.enc.edu/~owensc
org:Eatern Nazarene College;Information Technology Services
adr:;;23 East Elm Avenue;Quincy;MA;02170;USA
version:2.1
email;internet:owensc@enc.edu
title:Network & Systems Coordinator
x-mozilla-cpt:;0
fn:Charles N. Owens
end:vcard

--------------9B4D64ADB1600D4F783A3612--



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36E3F920.AE6722DE>