Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jul 1999 18:01:29 -0700 (PDT)
From:      Bart Trzynadlowski <trzy@powernet.net>
To:        Tony Ennis <tony@emazing.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Dialing with PPP
Message-ID:  <Pine.BSF.4.05.9907051756280.253-100000@Brzuszek>
In-Reply-To: <003001bec746$b5747920$345a33cf@bubba>

next in thread | previous in thread | raw e-mail | index | archive | help


> Send me your config file and I'll look it over.  Be sure to x out the
> password...
> 

Okay, the configuration file along with a new log have been attached. The
modem _does_ dial but the ATE-something line in SET DIAL in ppp.conf
silenced it. The prompt only gets to Ppp and then it drops back to ppp. I
looked at the log and it said that my username was verified. But it didn't
go much further than that. Something about PAP and CHAP. I'll call my ISP
tomorrow to see which authentication method they use.

/etc/ppp/ppp.conf:

default:
 allow users *
 set speed 115200
 set device /dev/cuaa2
 disable pred1
 deny pred1
 disable lqr
 deny lqr
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0 OK-AT-OK \\dATDT\\T TIMEOUT 45 CONNECT"
 
powernet:
 set phone 3265210
 set redial 3 5
 set login
 set authname trzy
 set authkey secret_=)
 set phone 3265210
 set timeout 0
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 
 set openmode active
 enable chap
 
# I don't use this stuff -- yet =)
demand:
 set login
 set authname trzy
 set authkey secret_=)
 set phone "3265210|3265100"
 set redial 5.3 2
 set reconnect 3 2
 set timeout 0
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 set openmode active
 accept chap
 
/var/log/ppp.log:

Jul  5 17:51:57 Brzuszek ppp[229]: Phase: Using interface: tun0 
Jul  5 17:51:57 Brzuszek ppp[229]: Phase: deflink: Created in closed state 
Jul  5 17:51:57 Brzuszek ppp[229]: Phase: PPP Started (interactive mode). 
Jul  5 17:52:01 Brzuszek ppp[229]: Phase: PPP Terminated (normal). 
Jul  5 17:52:35 Brzuszek ppp[232]: Phase: Using interface: tun0 
Jul  5 17:52:35 Brzuszek ppp[232]: Phase: deflink: Created in closed state 
Jul  5 17:52:35 Brzuszek ppp[232]: Phase: PPP Started (interactive mode). 
Jul  5 17:52:38 Brzuszek ppp[232]: Phase: bundle: Establish 
Jul  5 17:52:38 Brzuszek ppp[232]: Phase: deflink: closed -> opening 
Jul  5 17:52:38 Brzuszek ppp[232]: Phase: deflink: Connected! 
Jul  5 17:52:38 Brzuszek ppp[232]: Phase: deflink: opening -> dial 
Jul  5 17:52:38 Brzuszek ppp[232]: Phase: Phone: 3265210 
Jul  5 17:52:56 Brzuszek ppp[232]: Phase: deflink: dial -> login 
Jul  5 17:52:56 Brzuszek ppp[232]: Phase: deflink: login -> lcp 
Jul  5 17:53:03 Brzuszek ppp[232]: Phase: bundle: Authenticate 
Jul  5 17:53:03 Brzuszek ppp[232]: Phase: deflink: his = PAP, mine = CHAP 
Jul  5 17:53:03 Brzuszek ppp[232]: Phase: Pap Output: trzy ******** 
Jul  5 17:53:03 Brzuszek ppp[232]: Phase: Chap Output: CHALLENGE 
Jul  5 17:53:04 Brzuszek ppp[232]: Phase: Pap Input: SUCCESS (Login Succeeded) 
Jul  5 17:53:06 Brzuszek ppp[232]: Phase: Chap Output: CHALLENGE 
Jul  5 17:53:06 Brzuszek ppp[232]: Phase: Chap Input: RESPONSE (from p3) 
Jul  5 17:53:06 Brzuszek ppp[232]: Phase: Chap Output: FAILURE 
Jul  5 17:53:07 Brzuszek ppp[232]: Phase: deflink: Disconnected! 
Jul  5 17:53:07 Brzuszek ppp[232]: Phase: deflink: lcp -> hangup 
Jul  5 17:53:07 Brzuszek ppp[232]: Phase: deflink: Connect time: 29 secs: 356 octets in, 377 octets out 
Jul  5 17:53:07 Brzuszek ppp[232]: Phase:  total 25 bytes/sec, peak 95 bytes/sec on Mon Jul  5 17:53:07 1999 
Jul  5 17:53:07 Brzuszek ppp[232]: Phase: deflink: hangup -> closed 
Jul  5 17:53:07 Brzuszek ppp[232]: Phase: bundle: Dead 
Jul  5 17:53:13 Brzuszek ppp[232]: Phase: PPP Terminated (normal). 



Thanks,

Bart Trzynadlowski



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.4.05.9907051756280.253-100000>