Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 2000 02:49:56 -0500
From:      "Harris Kauffman" <hpk104@hotmail.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   PPP problem in 4.0-release
Message-ID:  <20000401074857.57413.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help
I am having problems setting up ppp on a freshly installed 4.0-releae
box.  I have done this before w/o trouble on 3.x

any help in figuring out why it isn't working(and how to get it
working)
would be much appreciated.

my ppp.conf looks like this(except with a correct phone #, username,
password):

default:
 set log Phase Chat LCP IPCP CCP tun command
 set device /dev/cuaa2
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \
           OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"

psu:
 set phone 1234567
 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: username word:
password ice:ppp"
 set timeout 0
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR
 enable dns

and my ppp.log looks like this(i cleared it out before making a copy,
this is a single dial-up attempt):

Apr  1 02:28:44 wolverine ppp[162]: Phase: Using interface: tun0
Apr  1 02:28:44 wolverine ppp[162]: Phase: deflink: Created in closed
state
Apr  1 02:28:44 wolverine ppp[162]: tun0: Command: default: set device
/dev/cuaa2
Apr  1 02:28:44 wolverine ppp[162]: tun0: Command: default: set speed
115200
Apr  1 02:28:44 wolverine ppp[162]: tun0: Command: default: set dial
ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" ATE1Q0 OK-AT-OK \dATDT\T
TIMEOUT 120 CONNECT
Apr  1 02:28:44 wolverine ppp[162]: tun0: Phase: PPP Started
(interactive mode).
Apr  1 02:28:46 wolverine ppp[162]: tun0: Command: /dev/tty: quit
Apr  1 02:28:46 wolverine ppp[162]: tun0: Phase: PPP Terminated
(normal).
Apr  1 02:30:52 wolverine ppp[177]: Phase: Using interface: tun0
Apr  1 02:30:52 wolverine ppp[177]: Phase: deflink: Created in closed
state
Apr  1 02:30:52 wolverine ppp[177]: tun0: Command: default: set device
/dev/cuaa2
Apr  1 02:30:52 wolverine ppp[177]: tun0: Command: default: set speed
115200
Apr  1 02:30:52 wolverine ppp[177]: tun0: Command: default: set dial
ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT            OK-AT-OK
ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT
Apr  1 02:30:52 wolverine ppp[177]: tun0: Phase: PPP Started
(interactive mode).
Apr  1 02:30:53 wolverine ppp[177]: tun0: Command: /dev/tty: dial psu
Apr  1 02:30:53 wolverine ppp[177]: tun0: Command: psu: set phone
1234567
Apr  1 02:30:53 wolverine ppp[177]: tun0: Command: psu: set login
ABORT NO\sCARRIER TIMEOUT 5 ogin:--ogin: username word: password
ice:ppp
Apr  1 02:30:53 wolverine ppp[177]: tun0: Command: psu: set timeout 0
Apr  1 02:30:53 wolverine ppp[177]: tun0: Command: psu: set ifaddr
10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
Apr  1 02:30:53 wolverine ppp[177]: tun0: Command: psu: add default
HISADDR
Apr  1 02:30:53 wolverine ppp[177]: tun0: Command: psu: enable dns
Apr  1 02:30:53 wolverine ppp[177]: tun0: Phase: bundle: Establish
Apr  1 02:30:53 wolverine ppp[177]: tun0: Phase: deflink: closed ->
opening
Apr  1 02:30:53 wolverine ppp[177]: tun0: Phase: deflink: Connected!
Apr  1 02:30:53 wolverine ppp[177]: tun0: Phase: deflink: opening ->
dial
Apr  1 02:30:53 wolverine ppp[177]: tun0: Phase: Phone: 1234567
Apr  1 02:30:53 wolverine ppp[177]: tun0: Chat: deflink: Dial attempt
1 of 1
Apr  1 02:30:53 wolverine ppp[177]: tun0: Chat: Send: AT^M
Apr  1 02:30:53 wolverine ppp[177]: tun0: Chat: Expect(5): OK
Apr  1 02:30:58 wolverine ppp[177]: tun0: Chat: Expect timeout
Apr  1 02:30:58 wolverine ppp[177]: tun0: Chat: Send: AT^M
Apr  1 02:30:58 wolverine ppp[177]: tun0: Chat: Expect(5): OK
Apr  1 02:30:58 wolverine ppp[177]: tun0: Chat: Received: AT^M^M
Apr  1 02:30:58 wolverine ppp[177]: tun0: Chat: Received: OK^M
Apr  1 02:30:58 wolverine ppp[177]: tun0: Chat: Send: ATE1Q0^M
Apr  1 02:30:58 wolverine ppp[177]: tun0: Chat: Expect(5): OK
Apr  1 02:30:58 wolverine ppp[177]: tun0: Chat: Received: AT^M^M
Apr  1 02:30:58 wolverine ppp[177]: tun0: Chat: Received: OK^M
Apr  1 02:30:58 wolverine ppp[177]: tun0: Chat: Send: ATDT1234567^M
Apr  1 02:31:00 wolverine ppp[177]: tun0: Chat: Expect(40): CONNECT
Apr  1 02:31:00 wolverine ppp[177]: tun0: Chat: Received: ATE1Q0^M^M
Apr  1 02:31:41 wolverine ppp[177]: tun0: Chat: Expect timeout
Apr  1 02:31:41 wolverine ppp[177]: tun0: Warning: Chat script failed
Apr  1 02:31:41 wolverine ppp[177]: tun0: Phase: deflink: dial ->
hangup
Apr  1 02:31:41 wolverine ppp[177]: tun0: Phase: deflink:
Disconnected!
Apr  1 02:31:41 wolverine ppp[177]: tun0: Phase: deflink: Connect
time: 48 secs: 0 octets in, 0 octets out
Apr  1 02:31:41 wolverine ppp[177]: tun0: Phase:  total 0 bytes/sec,
peak 0 bytes/sec on Sat Apr  1 02:31:41 2000
Apr  1 02:31:41 wolverine ppp[177]: tun0: Phase: deflink: hangup ->
closed
Apr  1 02:31:41 wolverine ppp[177]: tun0: Phase: bundle: Dead
Apr  1 02:31:52 wolverine ppp[177]: tun0: Command: /dev/tty: quit
Apr  1 02:31:52 wolverine ppp[177]: tun0: Phase: PPP Terminated
(normal).

TIA,
Harris




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