Skip site navigation (1)Skip section navigation (2)
Date:      22 Oct 2000 16:59:44 -0000
From:      vladimir@math.uic.edu
To:        freebsd-questions@freebsd.org
Subject:   user PPP and ppp.linkup
Message-ID:  <20001022165944.16351.qmail@math.uic.edu>

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

Did anyone run into a problem when PPP executes commands from
ppp.linkup file only for the first label in /etc/ppp/ppp.conf?

Here is my ppp.conf file:

default:
 allow users vladimir
 set authkey XXXXXXXX
 set timeout 0
 enable deflate
 set hangup "\"\" AT OK-AT-OK AT&F OK"
 set redial 3.3 5
 set reconnect 3 5
 set speed 115200
 set mtu 500
 set line /dev/cuaa2
 set log chat

pmdemand:
 enable lqr
 set phone XXXXXXX
 set socket /var/run/internet "" 0111
 set ifaddr XXXXXXXXXXXXXXX XXXXXXXXXXXXXXX 255.255.255.0 0.0.0.0
 delete ALL
 add 0 0 HISADDR
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 4 \"\" AT OK AT&FW2S37=17M1L2 OK ATDT\\T TIMEOUT 60 CONNECT"
 set login "TIMEOUT 20 ogin:--ogin: ppp word: \\P"

uic:
 enable lqr
 set phone "XXXXXXX"
 set log Phase Chat Connect hdlc LCP IPCP CCP tun
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 delete ALL
 add 0 0 HISADDR
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 4 \"\" AT OK AT&FW2S37=17 OK ATDT\\T TIMEOUT 60 CONNECT"
 set login "TIMEOUT 5 name:--name: egorin word: XXXXXXXX > PPP"

If I use 'pmdemand' label to dial, ppp.linkup is executed correctly, and 
if I dial 'uic' label, nothing happens.    I can provide a trace of ppp's 
process and logging info if someone would like to have a look
(not enclosing those in this message so that I don't fill up mailboxes).

System is 4.1.1 - STABLE.

Thanks!
	Vladimir


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?20001022165944.16351.qmail>