Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2002 22:32:59 -0500
From:      "Joe & Fhe Barbish" <barbish@a1poweruser.com>
To:        "Culley Harrelson" <culleyharrelson@yahoo.com>
Cc:        "FBSDQ" <questions@FreeBSD.ORG>
Subject:   RE: ppp setup-- modem isn't even dialing
Message-ID:  <LPBBIGIAAKKEOEJOLEGOEEFBCLAA.barbish@a1poweruser.com>
In-Reply-To: <20020320013336.29347.qmail@web21410.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It came right out and told you the problem.  Warning: Chat script failed


Login as root and use root to test.
Make your ppp.conf look like this.

################################
# ppp.conf
################################

default:
 set log Phase Chat LCP IPCP CCP tun command
 set device /dev/cuaa0
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 0
 disable pred1 deflate lqr    # compression features & line quality
reporting
 deny    pred1 deflate lqr	# compression features & line quality reporting

provider:
 set phone **********         # no spaces, no ( ), no ", just run numbers
together
 set authname ***
 set authkey ***

 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


Add this to rc.conf to start at boot time
    ppp_enable="YES"
    ppp_mode="ddial"
    ppp_profile="provider"
    ppp_nat="YES"


To test before rebooting, enter on command line

   ppp -ddial -nat provider

ppp.linkup & ppp.deny not used, you can delete.

-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Culley Harrelson
Sent: Tuesday, March 19, 2002 8:34 PM
To: freebsd-questions@freebsd.org
Subject: ppp setup-- modem isn't even dialing

I have been working through this document:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html

in an attempt to get ppp going on a brand new 4.5 build.  At this point I
can't
even get the modem to dial.  I expect I am experiencing some fundamental
problem....  but I have included my conf files and log files just in case
anyone can guess from this info what might help.  Below is:

1. ppp.conf
2. ppp.linkup
3. ppp.deny
4. /etc/hosts
5. rc.conf
6. resolv.conf
7. netstat output before attempt
8. netstat output after attempt
9. the commands actually entered into ppp (as user culley)
10.  the ppp.log for this session


Any ideas why this isn't dialing? I have a removeable drive on this
machine
and
another os (red hat 7.1-- trying to relpace it!) accesses the modem fine--
so
the modem does work...

Culley


################################
# ppp.conf
################################

default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)
 allow user culley
 set device /dev/cuaa0
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \
           OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 180
 enable dns

provider:
 set phone "(***) *** ****"
 set authname ***
 set authkey ***
 set login "TIMEOUT 10 \"\" \"\" gin:--gin: \\U word: \\P col: ppp"
 set timeout 900
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR


################################
# ppp.linkup
################################

MYADDR:
 delete ALL
 add 0 0 HISADDR



################################
# ppp.deny
################################

# $FreeBSD: src/etc/ppp/ppp.deny,v 1.3.2.1 2000/07/11 16:56:01 brian Exp $
#
# list of users disallowed any pppd access via 'system
# password login'.
# read by pppd(8).
root
toor
daemon
operator
bin
tty
kmem
games
news
man
bind
ftp
uucp
xten
pop
ingres
nobody


################################
# /etc/hosts
################################

127.0.0.1               localhost.my.domain localhost
::1                     localhost.my.domain localhost
192.168.0.1             toad.my.domain


################################
# rc.conf
################################


# -- sysinstall generated deltas -- # Sat Mar 16 12:38:11 2002
# Created: Sat Mar 16 12:38:11 2002
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
gateway_enable="YES"
hostname="toad.my.domain"
ifconfig_ppp0="inet 192.168.0.1  netmask 255.255.255.0"
inetd_enable="YES"
kern_securelevel_enable="NO"
linux_enable="YES"
nfs_reserved_port_only="YES"
sendmail_enable="NO"
sshd_enable="YES"
usbd_enable="YES"
network_interfaces="lo0 ed0"
ifconfig_lo0="inet 127.0.0.1"
ifconfig_ed0="inet 192.168.0.1 netmask 255.255.255.0"


################################
# resolv.conf
################################

domain my.domain
nameserver 206.26.36.34
nameserver 198.107.0.14



################################
# the commands actually entered
################################

bash-2.05a$ ppp
Working in interactive mode
Using interface: tun0
ppp ON toad> dial provider
ppp ON toad> Warning: Chat script failed
ppp ON toad> term
deflink: Entering terminal mode on /dev/cuaa0
Type `~?' for help

Packet mode.
ppp ON toad>
ppp ON toad>


################################
# ppp.log
################################


Mar 18 23:13:18 toad ppp[113]: Phase: Using interface: tun0
Mar 18 23:13:18 toad ppp[113]: Phase: deflink: Created in closed state
Mar 18 23:13:18 toad ppp[113]: tun0: Command: default: ident user-ppp
VERSION (built COMPILATIONDATE)
Mar 18 23:13:18 toad ppp[113]: tun0: Command: default: set device
/dev/cuaa0
Mar 18 23:13:18 toad ppp[113]: tun0: Command: default: set speed 115200
Mar 18 23:13:18 toad ppp[113]: tun0: Command: default: set dial ABORT BUSY
ABORT NO\sCARRIER TIMEOUT 5 "" AT            O
K-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT
Mar 18 23:13:18 toad ppp[113]: tun0: Command: default: set timeout 180
Mar 18 23:13:18 toad ppp[113]: tun0: Command: default: enable dns
Mar 18 23:13:18 toad ppp[113]: tun0: Phase: PPP Started (interactive
mode).
Mar 18 23:13:53 toad ppp[113]: tun0: Command: /dev/tty: dial provider
Mar 18 23:13:53 toad ppp[113]: tun0: Command: default: allow user culley
Mar 18 23:13:53 toad ppp[113]: tun0: Command: provider: set phone (503)
677
2100
Mar 18 23:13:53 toad ppp[113]: tun0: Command: provider: set authname
culley
Mar 18 23:13:53 toad ppp[113]: tun0: Command: provider: set authkey
********
Mar 18 23:13:53 toad ppp[113]: tun0: Command: provider: set login TIMEOUT
10 "" "" gin:--gin: \U word: \P col: ppp
Mar 18 23:13:53 toad ppp[113]: tun0: Command: provider: set timeout 900
Mar 18 23:13:53 toad ppp[113]: tun0: Command: provider: set ifaddr
10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
Mar 18 23:13:53 toad ppp[113]: tun0: Command: provider: add default
HISADDR
Mar 18 23:13:53 toad ppp[113]: tun0: Phase: bundle: Establish
Mar 18 23:13:53 toad ppp[113]: tun0: Phase: deflink: closed -> opening
Mar 18 23:13:53 toad ppp[113]: tun0: Phase: deflink: Connected!
Mar 18 23:13:53 toad ppp[113]: tun0: Phase: deflink: opening -> dial
Mar 18 23:13:53 toad ppp[113]: tun0: Chat: Phone: (503) 677 2100
Mar 18 23:13:53 toad ppp[113]: tun0: Chat: deflink: Dial attempt 1 of 1
Mar 18 23:13:53 toad ppp[113]: tun0: Chat: Send: AT^M
Mar 18 23:13:53 toad ppp[113]: tun0: Chat: Expect(5): OK
Mar 18 23:13:58 toad ppp[113]: tun0: Chat: Expect timeout
Mar 18 23:13:58 toad ppp[113]: tun0: Chat: Send: AT^M
Mar 18 23:13:58 toad ppp[113]: tun0: Chat: Expect(5): OK
Mar 18 23:14:03 toad ppp[113]: tun0: Chat: Expect timeout
Mar 18 23:14:03 toad ppp[113]: tun0: Warning: Chat script failed
Mar 18 23:14:03 toad ppp[113]: tun0: Phase: deflink: dial -> hangup
Mar 18 23:14:03 toad ppp[113]: tun0: Phase: deflink: Disconnected!
Mar 18 23:14:03 toad ppp[113]: tun0: Phase: deflink: Connect time: 10
secs:
0 octets in, 0 octets out
Mar 18 23:14:03 toad ppp[113]: tun0: Phase: deflink: : 0 packets in, 0
packets out
Mar 18 23:14:03 toad ppp[113]: tun0: Phase:  total 0 bytes/sec, peak 0
bytes/sec on Mon Mar 18 23:14:03 2002
Mar 18 23:14:03 toad ppp[113]: tun0: Phase: deflink: hangup -> closed
Mar 18 23:14:03 toad ppp[113]: tun0: Phase: bundle: Dead
Mar 18 23:15:11 toad ppp[113]: tun0: Command: /dev/tty: term
Mar 18 23:15:11 toad ppp[113]: tun0: Phase: bundle: Establish
Mar 18 23:15:11 toad ppp[113]: tun0: Phase: deflink: closed -> opening
Mar 18 23:15:11 toad ppp[113]: tun0: Phase: deflink: Connected!
Mar 18 23:15:11 toad ppp[113]: tun0: Phase: deflink: opening -> carrier
Mar 18 23:15:12 toad ppp[113]: tun0: Phase: deflink: /dev/cuaa0 doesn't
support CD
Mar 18 23:15:12 toad ppp[113]: tun0: Phase: deflink: carrier -> ready
Mar 18 23:15:32 toad ppp[113]: tun0: Phase: deflink: ready -> carrier
Mar 18 23:15:32 toad ppp[113]: tun0: Phase: deflink: carrier -> lcp
Mar 18 23:15:32 toad ppp[113]: tun0: LCP: FSM: Using "deflink" as a
transport
Mar 18 23:15:32 toad ppp[113]: tun0: LCP: deflink: State change Initial
-->
Closed
Mar 18 23:15:32 toad ppp[113]: tun0: LCP: deflink: State change Closed -->
Stopped
Mar 18 23:15:34 toad ppp[113]: tun0: LCP: deflink: LayerStart
Mar 18 23:15:34 toad ppp[113]: tun0: LCP: deflink: SendConfigReq(1) state
=
Stopped
Mar 18 23:15:34 toad ppp[113]: tun0: LCP:  ACFCOMP[2]
Mar 18 23:15:34 toad ppp[113]: tun0: LCP:  PROTOCOMP[2]
Mar 18 23:15:34 toad ppp[113]: tun0: LCP:  ACCMAP[6] 0x00000000
Mar 18 23:15:34 toad ppp[113]: tun0: LCP:  MRU[4] 1500
Mar 18 23:15:34 toad ppp[113]: tun0: LCP:  MAGICNUM[6] 0x92976e05
Mar 18 23:15:34 toad ppp[113]: tun0: LCP: deflink: State change Stopped
-->
Req-Sent
Mar 18 23:15:37 toad ppp[113]: tun0: LCP: deflink: SendConfigReq(1) state
=
Req-Sent
Mar 18 23:15:37 toad ppp[113]: tun0: LCP:  ACFCOMP[2]
Mar 18 23:15:37 toad ppp[113]: tun0: LCP:  PROTOCOMP[2]
Mar 18 23:15:37 toad ppp[113]: tun0: LCP:  ACCMAP[6] 0x00000000
Mar 18 23:15:37 toad ppp[113]: tun0: LCP:  MRU[4] 1500
Mar 18 23:15:37 toad ppp[113]: tun0: LCP:  MAGICNUM[6] 0x92976e05
Mar 18 23:15:40 toad ppp[113]: tun0: LCP: deflink: SendConfigReq(1) state
=
Req-Sent
Mar 18 23:15:40 toad ppp[113]: tun0: LCP:  ACFCOMP[2]
Mar 18 23:15:40 toad ppp[113]: tun0: LCP:  PROTOCOMP[2]
Mar 18 23:15:40 toad ppp[113]: tun0: LCP:  ACCMAP[6] 0x00000000
Mar 18 23:15:40 toad ppp[113]: tun0: LCP:  MRU[4] 1500
Mar 18 23:15:40 toad ppp[113]: tun0: LCP:  MAGICNUM[6] 0x92976e05
Mar 18 23:15:43 toad ppp[113]: tun0: LCP: deflink: SendConfigReq(1) state
=
Req-Sent
Mar 18 23:15:43 toad ppp[113]: tun0: LCP:  ACFCOMP[2]
Mar 18 23:15:43 toad ppp[113]: tun0: LCP:  PROTOCOMP[2]
Mar 18 23:15:43 toad ppp[113]: tun0: LCP:  ACCMAP[6] 0x00000000
Mar 18 23:15:43 toad ppp[113]: tun0: LCP:  MRU[4] 1500
Mar 18 23:15:43 toad ppp[113]: tun0: LCP:  MAGICNUM[6] 0x92976e05
Mar 18 23:15:46 toad ppp[113]: tun0: LCP: deflink: SendConfigReq(1) state
=
Req-Sent
Mar 18 23:15:46 toad ppp[113]: tun0: LCP:  ACFCOMP[2]
Mar 18 23:15:46 toad ppp[113]: tun0: LCP:  PROTOCOMP[2]
Mar 18 23:15:46 toad ppp[113]: tun0: LCP:  ACCMAP[6] 0x00000000
Mar 18 23:15:46 toad ppp[113]: tun0: LCP:  MRU[4] 1500
Mar 18 23:15:46 toad ppp[113]: tun0: LCP:  MAGICNUM[6] 0x92976e05
Mar 18 23:15:49 toad ppp[113]: tun0: LCP: deflink: LayerFinish
Mar 18 23:15:49 toad ppp[113]: tun0: LCP: deflink: State change Req-Sent
--
> Stopped
Mar 18 23:15:49 toad ppp[113]: tun0: LCP: deflink: State change Stopped
-->
Closed
Mar 18 23:15:49 toad ppp[113]: tun0: LCP: deflink: State change Closed -->
Initial
Mar 18 23:15:49 toad ppp[113]: tun0: Phase: deflink: Disconnected!
Mar 18 23:15:49 toad ppp[113]: tun0: Phase: deflink: Connect time: 38
secs:
0 octets in, 265 octets out
Mar 18 23:15:49 toad ppp[113]: tun0: Phase: deflink: : 0 packets in, 5
packets out
Mar 18 23:15:49 toad ppp[113]: tun0: Phase:  total 6 bytes/sec, peak 21
bytes/sec on Mon Mar 18 23:15:49 2002
Mar 18 23:15:49 toad ppp[113]: tun0: Phase: deflink: lcp -> closed
Mar 18 23:15:49 toad ppp[113]: tun0: Phase: bundle: Dead



__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

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


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?LPBBIGIAAKKEOEJOLEGOEEFBCLAA.barbish>