Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 1998 15:48:19 -0400 (EDT)
From:      Spike Gronim <spork@cncn.com>
To:        fbsdqs <freebsd-questions@FreeBSD.ORG>
Subject:   More PPP help
Message-ID:  <Pine.BSF.3.96.980503153944.252A-100000@pigstuy>

next in thread | raw e-mail | index | archive | help
Hey.

	Ok, I have continued to work on getting my ppp to work. 
	If I type "dial cncn", it dials, connects, attempts to
authenticate and fails. It wants to authenticate via CHAP. I am kinda
fuzzy on CHAP, so bear with me...

My ppp.conf reads:

default:
        set device /dev/cuaa1
        set speed 115200
	set log Phase Chat Connect Carrier lcp ipcp ccp command
	set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT
	set authname cnet442@cncn.com
	set authkey  password
	enable msext

cncn:
        set phone "2339882" 
       	enable CHAP
	accept CHAP	
        set timeout 0
   	deny lqr
        set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
	set authname cnet442@cncn.com
	set authkey  password
        delete ALL
        add 0 0 HISADDR

My ppp.secret reads:

pigstuy		password	209.25.17.33/32
authname	cnet442@cncn.com	209.25.17.33/0
cnet442@cncn.com    	password	209.25.17.33/0
spork		password	209.25.17.33/0
root 		password	209.25.17.33/0
cnet442@cncn.com    	password

I am of course running the program as root. My login name on cncn is
cnet442@cncn.com. If cncn's network (cncn2.com) is 209.25.17.XXX, should I
put 209.25.17.33/0? (cncn2.com being 209.25.17.33) Could somebody give a
line which would give the password for the CHAP user cnet442@cncn.com? 

I have included the logs (minus lots of LCP and initialization stuff)


	-Spike Gronim
	 spork@cncn.com	


		"Hacker, n: One who hacks real good"
			--Computer Contradictionary


May  3 15:37:40 pigstuy ppp[245]: Command: default: set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT  
May  3 15:37:40 pigstuy ppp[245]: Command: default: set authname cnet442@cncn.com  
May  3 15:37:40 pigstuy ppp[245]: Command: default: set authkey  p3opera4  
May  3 15:37:40 pigstuy ppp[245]: Command: default: enable msext  
May  3 15:37:40 pigstuy ppp[245]: Phase: Using interface: tun0 
May  3 15:37:40 pigstuy ppp[245]: Phase: PPP Started. 
May  3 15:37:42 pigstuy ppp[245]: Command: Client: dial cncn  
May  3 15:37:42 pigstuy ppp[245]: Command: cncn: set phone "2339882"   
May  3 15:37:42 pigstuy ppp[245]: Command: cncn: enable CHAP  
May  3 15:37:42 pigstuy ppp[245]: Command: cncn: accept CHAP	  
May  3 15:37:42 pigstuy ppp[245]: Command: cncn: set timeout 0  
May  3 15:37:42 pigstuy ppp[245]: Command: cncn: deny lqr  
May  3 15:37:42 pigstuy ppp[245]: Command: cncn: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0  
May  3 15:37:42 pigstuy ppp[245]: Command: cncn: set authname cnet442@cncn.com  
May  3 15:37:42 pigstuy ppp[245]: Command: cncn: set authkey  p3opera4  
May  3 15:37:42 pigstuy ppp[245]: Command: cncn: delete ALL  
May  3 15:37:42 pigstuy ppp[245]: Command: cncn: add 0 0 HISADDR  
May  3 15:37:42 pigstuy ppp[245]: Chat: Expecting  
May  3 15:37:42 pigstuy ppp[245]: Chat: sending: ATE1Q0^M 
May  3 15:37:42 pigstuy ppp[245]: Chat: Expecting OK-AT-OK 
May  3 15:37:42 pigstuy ppp[245]: Chat: Wait for (5): OK --> OK 
May  3 15:37:42 pigstuy ppp[245]: Connect: ATE1Q0^M^M 
May  3 15:37:42 pigstuy ppp[245]: Connect: OK 
May  3 15:37:42 pigstuy ppp[245]: Phase: Phone: 2339882 
May  3 15:37:42 pigstuy ppp[245]: Chat: sending: ATDT2339882^M 
May  3 15:37:42 pigstuy ppp[245]: Chat: Expecting CONNECT 
May  3 15:37:42 pigstuy ppp[245]: Chat: Wait for (40): CONNECT --> CONNECT 
May  3 15:37:42 pigstuy ppp[245]: Connect: ^M 
May  3 15:38:03 pigstuy ppp[245]: Connect: ATDT2339882^M^M 
May  3 15:38:03 pigstuy ppp[245]: Connect: CONNECT 
May  3 15:38:03 pigstuy ppp[245]: Phase: *Connected! 
May  3 15:38:03 pigstuy ppp[245]: LCP: State change Initial --> Closed 
May  3 15:38:03 pigstuy ppp[245]: LCP: LcpSendConfigReq 
May  3 15:38:03 pigstuy ppp[245]: LCP:  ACFCOMP 
May  3 15:38:03 pigstuy ppp[245]: LCP:  PROTOCOMP 
May  3 15:38:03 pigstuy ppp[245]: LCP:  ACCMAP [6] 00000000 
May  3 15:38:03 pigstuy ppp[245]: LCP:  MRU [4] 1500 
May  3 15:38:03 pigstuy ppp[245]: LCP:  MAGICNUM [6] 0377d7ce 
May  3 15:38:03 pigstuy ppp[245]: LCP:  AUTHPROTO [5] 49699 
May  3 15:38:03 pigstuy ppp[245]: LCP: State change Closed --> Req-Sent 
May  3 15:38:04 pigstuy ppp[245]: LCP: Received Configure Request (1) state = Req-Sent (6) 
May  3 15:38:04 pigstuy ppp[245]: LCP:  ACCMAP 00000000 
May  3 15:38:04 pigstuy ppp[245]: LCP:  MAGICNUM 81b33ad0 
May  3 15:38:04 pigstuy ppp[245]: LCP:  PROTOCOMP 
May  3 15:38:04 pigstuy ppp[245]: LCP:  ACFCOMP 
May  3 15:38:04 pigstuy ppp[245]: LCP:  ???[11] 
May  3 15:38:04 pigstuy ppp[245]: LCP:  ???[12] 
May  3 15:38:04 pigstuy ppp[245]: LCP:  ???[13] 
May  3 15:38:04 pigstuy ppp[245]: LCP: SendConfigRej(Req-Sent) 
May  3 15:38:04 pigstuy ppp[245]: LCP:  ???[11] 
May  3 15:38:04 pigstuy ppp[245]: LCP:  ???[12] 
May  3 15:38:04 pigstuy ppp[245]: LCP:  ???[13] 
May  3 15:38:04 pigstuy ppp[245]: LCP: Received Configure Request (2) state = Req-Sent (6) 
May  3 15:38:04 pigstuy ppp[245]: LCP:  ACCMAP 00000000 
May  3 15:38:04 pigstuy ppp[245]: LCP:  MAGICNUM 81b33ad0 
May  3 15:38:04 pigstuy ppp[245]: LCP:  PROTOCOMP 
May  3 15:38:04 pigstuy ppp[245]: LCP:  ACFCOMP 
May  3 15:38:04 pigstuy ppp[245]: LCP: SendConfigAck(Req-Sent) 
May  3 15:38:04 pigstuy ppp[245]: LCP:  ACCMAP 00000000 
May  3 15:38:04 pigstuy ppp[245]: LCP:  MAGICNUM 81b33ad0 
May  3 15:38:04 pigstuy ppp[245]: LCP:  PROTOCOMP 
May  3 15:38:04 pigstuy ppp[245]: LCP:  ACFCOMP 
May  3 15:38:04 pigstuy ppp[245]: LCP: State change Req-Sent --> Ack-Sent 
May  3 15:38:06 pigstuy ppp[245]: LCP: LcpSendConfigReq 
May  3 15:38:06 pigstuy ppp[245]: LCP:  ACFCOMP 
May  3 15:38:06 pigstuy ppp[245]: LCP:  PROTOCOMP 
May  3 15:38:06 pigstuy ppp[245]: LCP:  ACCMAP [6] 00000000 
May  3 15:38:06 pigstuy ppp[245]: LCP:  MRU [4] 1500 
May  3 15:38:06 pigstuy ppp[245]: LCP:  MAGICNUM [6] 0377d7ce 
May  3 15:38:06 pigstuy ppp[245]: LCP:  AUTHPROTO [5] 49699 
May  3 15:38:07 pigstuy ppp[245]: Command: Client: add 0 0 HISADDR  
May  3 15:38:07 pigstuy ppp[245]: LCP: Received Configure Ack (2) state = Ack-Sent (8) 
May  3 15:38:07 pigstuy ppp[245]: LCP: State change Ack-Sent --> Opened 
May  3 15:38:07 pigstuy ppp[245]: LCP: LcpLayerUp 
May  3 15:38:07 pigstuy ppp[245]: Phase: NewPhase: Authenticate 
May  3 15:38:07 pigstuy ppp[245]: Phase:  his = 0, mine = c223 
May  3 15:38:07 pigstuy ppp[245]: LCP: ChapOutput: CHALLENGE 
May  3 15:38:07 pigstuy ppp[245]: LCP: ChapInput: RESPONSE 
May  3 15:38:07 pigstuy ppp[245]: Phase:  Valsize = 16, Name =  
May  3 15:38:07 pigstuy ppp[245]: LCP: ChapOutput: FAILURE 
May  3 15:38:07 pigstuy ppp[245]: LCP: LcpLayerDown 
May  3 15:38:07 pigstuy ppp[245]: LCP: SendTerminateReq. 
May  3 15:38:07 pigstuy ppp[245]: LCP: State change Opened --> Closing 
May  3 15:38:07 pigstuy ppp[245]: LCP: Received Terminate Ack (3) state = Closing (4) 
May  3 15:38:07 pigstuy ppp[245]: LCP: State change Closing --> Closed 
May  3 15:38:07 pigstuy ppp[245]: LCP: LcpLayerFinish 
May  3 15:38:07 pigstuy ppp[245]: Phase: Disconnected! 
May  3 15:38:07 pigstuy ppp[245]: Phase: Connect time: 4 secs 
May  3 15:38:07 pigstuy ppp[245]: Phase: NewPhase: Dead 
May  3 15:38:07 pigstuy ppp[245]: LCP: State change Closed --> Initial 
May  3 15:38:07 pigstuy ppp[245]: Phase: NewPhase: Dead 
May  3 15:38:07 pigstuy ppp[245]: Phase: NewPhase: Terminate 
May  3 15:38:12 pigstuy ppp[245]: Command: Client: show proto  
May  3 15:38:12 pigstuy ppp[245]: Command: proto: Failed 1 
May  3 15:38:19 pigstuy ppp[245]: Command: Client: quit  
May  3 15:38:20 pigstuy ppp[245]: Phase: PPP Terminated (normal). 


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980503153944.252A-100000>