Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2002 02:44:08 +1100 (EST)
From:      =?iso-8859-1?q?Paul=20Jansen?= <vlaero@yahoo.com.au>
To:        Joe & Fhe Barbish <barbish@a1poweruser.com>
Cc:        FBSDQ <questions@FreeBSD.ORG>
Subject:   RE: ppp problem (was ltmdm problem)
Message-ID:  <20020327154408.96646.qmail@web12908.mail.yahoo.com>
In-Reply-To: <LPBBIGIAAKKEOEJOLEGOGEDBCMAA.barbish@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hmmm.  I can't belive I missed that.  I tried it using
the 'papchap' lable and it works fine.  In fact I've
sent this from my freeBSD 4.5R with winmodem.
Thanks very much for your help.  I've been waiting for
this port for ages.  1 less thing freeBSD can't do.

 --- Joe & Fhe Barbish <barbish@a1poweruser.com>
wrote: > When you start ppp the default section is all
ways
> read.
> 
> Use ppp -ddial papchap  to tell ppp to execute the
> papchap section.
> 
> Or ppp -background papchap     to only dial once.
> 
> The test looked good execpt fot that.  Post log
> again.
> 
> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On
> Behalf Of Paul Jansen
> Sent: Tuesday, March 26, 2002 8:30 PM
> To: questions@freebsd.org
> Subject: ppp problem (was ltmdm problem)
> 
> Here's some more info on my problem with getting the
> ltmdm port to work for me.
> 
> Here's the relevant portion of dmesg:
> "
> ltmdm0: <Lucent Winmodem> port
> 0xc800-0xc8ff,0xc400-0xc407 mem
> 0xd9100000-0xd91000ff
> irq 9 at device 9.0 on pci0
> ltmdm0: type Virtual 16550A
> "
> 
> Here's what my ppp.conf looks like:
> "
> default:
>  set log Phase Chat LCP IPCP CCP tun command
>  ident user-ppp VERSION (built COMPILATIONDATE)
> 
>  # Ensure that "device" references the correct
> serial
> port
>  # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
>  #
>  set device /dev/cual0
> 
>  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                        # 3 minute
> idle timer (the default)
>  enable dns                             # request
> DNS
> info (for resolv.conf)
> 
> papchap:
>  #
>  # edit the next three lines and replace the items
> in
> caps with
>  # the values which have been assigned by your ISP.
>  #
> 
>  set phone 12345678
>  set authname username
>  set authkey password
> 
>  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
> 0.0.0.0
>  add default HISADDR                    # Add a
> (sticky) default route
> "
> 
> 
> Here's what's in /var/log/ppp.log:
> "
> Mar 27 11:03:49 edessa ppp[207]: Phase: Using
> interface: tun0
> Mar 27 11:03:49 edessa ppp[207]: Phase: deflink:
> Created in closed state
> Mar 27 11:03:49 edessa ppp[207]: tun0: Command:
> default: ident user-ppp VERSION
> (built COMPILATIONDATE)
> Mar 27 11:03:49 edessa ppp[207]: tun0: Command:
> default: set device /dev/cual0
> Mar 27 11:03:49 edessa ppp[207]: tun0: Command:
> default: set speed 115200
> Mar 27 11:03:49 edessa ppp[207]: tun0: Command:
> default: set dial ABORT BUSY ABORT NO\sCARRIER
> TIMEOUT
> 5            "" AT OK-AT-OK ATE1Q0 OK \dATDT\T
> TIMEOUT
> 40 CONNECT
> Mar 27 11:03:49 edessa ppp[207]: tun0: Command:
> default: set timeout 180
> Mar 27 11:03:49 edessa ppp[207]: tun0: Command:
> default: enable dns
> Mar 27 11:03:49 edessa ppp[207]: tun0: Command:
> default: set log Phase Chat LCP
> IPCP CCP tun command
> Mar 27 11:03:49 edessa ppp[207]: tun0: Command:
> default: ident user-ppp VERSION
> (built COMPILATIONDATE)
> Mar 27 11:03:49 edessa ppp[207]: tun0: Command:
> default: set device /dev/cual0
> Mar 27 11:03:49 edessa ppp[207]: tun0: Command:
> default: set speed 115200
> Mar 27 11:03:49 edessa ppp[207]: tun0: Command:
> default: set dial ABORT BUSY ABORT NO\sCARRIER
> TIMEOUT
> 5            "" AT OK-AT-OK ATE1Q0 OK \dATDT\T
> TIMEOUT
> 40 CONNECT
> Mar 27 11:03:49 edessa ppp[207]: tun0: Command:
> default: set timeout 180
> Mar 27 11:03:49 edessa ppp[207]: tun0: Command:
> default: enable dns
> Mar 27 11:03:49 edessa ppp[208]: tun0: Phase: PPP
> Started (ddial mode).
> Mar 27 11:03:49 edessa ppp[208]: tun0: Phase:
> bundle:
> Establish
> Mar 27 11:03:49 edessa ppp[208]: tun0: Phase:
> deflink:
> closed -> opening
> Mar 27 11:03:49 edessa ppp[208]: tun0: Phase:
> deflink:
> Connected!
> Mar 27 11:03:49 edessa ppp[208]: tun0: Phase:
> deflink:
> opening -> dial
> Mar 27 11:03:49 edessa ppp[208]: tun0: Chat: Send:
> AT^M
> Mar 27 11:03:49 edessa ppp[208]: tun0: Chat:
> Expect(5): OK
> Mar 27 11:03:49 edessa ppp[208]: tun0: Chat:
> Received:
> AT^M^M
> Mar 27 11:03:49 edessa ppp[208]: tun0: Chat:
> Received:
> OK^M
> Mar 27 11:03:49 edessa ppp[208]: tun0: Chat: Send:
> ATE1Q0^M
> Mar 27 11:03:49 edessa ppp[208]: tun0: Chat:
> Expect(5): OK
> Mar 27 11:03:49 edessa ppp[208]: tun0: Chat:
> Received:
> ATE1Q0^M^M
> Mar 27 11:03:49 edessa ppp[208]: tun0: Chat:
> Received:
> OK^M
> Mar 27 11:03:49 edessa ppp[208]: tun0: Chat: Send:
> ATDT^M
> Mar 27 11:03:51 edessa ppp[208]: tun0: Chat:
> Expect(40): CONNECT
> Mar 27 11:04:31 edessa ppp[208]: tun0: Chat: Expect
> timeout
> Mar 27 11:04:31 edessa ppp[208]: tun0: Warning: Chat
> script failed
> Mar 27 11:04:31 edessa ppp[208]: tun0: Phase:
> deflink:
> dial -> hangup
> Mar 27 11:04:31 edessa ppp[208]: tun0: Phase:
> deflink:
> Disconnected!
> Mar 27 11:04:31 edessa ppp[208]: tun0: Phase:
> deflink:
> Connect time: 42 secs: 0
> octets in, 0 octets out
> Mar 27 11:04:31 edessa ppp[208]: tun0: Phase:
> deflink:
> : 0 packets in, 0 packets out
> Mar 27 11:04:31 edessa ppp[208]: tun0: Phase:  total
> 0
> bytes/sec, peak 0 bytes/s on Wed Mar 27 11:04:31
> 2002
> Mar 27 11:04:31 edessa ppp[208]: tun0: Phase:
> deflink:
> hangup -> opening
> Mar 27 11:04:31 edessa ppp[208]: tun0: Phase:
> deflink:
> Enter pause (30) for redialing.
> Mar 27 11:05:01 edessa ppp[208]: tun0: Chat:
> deflink:
> Redial timer expired.
> Mar 27 11:05:01 edessa ppp[208]: tun0: Phase:
> deflink:
> Connected!
> Mar 27 11:05:01 edessa ppp[208]: tun0: Phase:
> deflink:
> opening -> dial
> Mar 27 11:05:01 edessa ppp[208]: tun0: Chat: Send:
> AT^M
> Mar 27 11:05:01 edessa ppp[208]: tun0: Chat:
> Expect(5): OK
> Mar 27 11:05:01 edessa ppp[208]: tun0: Chat:
> Received:
> ATDT^MAT^M^M
> Mar 27 11:05:01 edessa ppp[208]: tun0: Chat:
> Received:
> OK^M
> Mar 27 11:05:01 edessa ppp[208]: tun0: Chat: Send:
> 
=== message truncated === 

http://www.sold.com.au - SOLD.com.au Auctions
- 1,000s of Bargains!

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