[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

PPP 2.3.2 and demand dialing



Hello,

	I am seeking assistance in configuring PPP 2.3.2 for demand
dialing. My setup works up until I add the demand option and the remote ip
to the options file. PPP will even initiate the link and will dial only
when there is data to be transmitted, which is the correct behaviour. PPP
then connects and the pc is issued a dynamic IP by my provider. At this
point no internet programs return any data. 

Here is my /etc/ppp/peers/acorn:

connect "/usr/sbin/chat -v -f /etc/chatscripts/acorn"
/dev/modem 38400 defaultroute noipdefault modem crtscts noauth
demand :199.218.0.5 idle 180



A typical session:
$ pon acorn (link is established but not dialed)
$ telnet rover (ppp dials and apparently connects but i never get the
		prompt back from this command)


plog shows:

Jan  7 06:11:36 woody pppd[1405]: pppd 2.3.2 started by jfoltz, uid 1000
Jan  7 06:11:36 woody pppd[1405]: Using interface ppp0
Jan  7 06:11:36 woody pppd[1405]: Cannot determine ethernet address for
proxy ARP
Jan  7 06:11:36 woody pppd[1405]: local  IP address 0.0.0.0
Jan  7 06:11:36 woody pppd[1405]: remote IP address 199.218.0.5

Jan  7 06:12:30 woody pppd[1405]: Starting link
Jan  7 06:12:31 woody chat[1409]: timeout set to 30 seconds
Jan  7 06:12:31 woody chat[1409]: abort on (BUSY)
Jan  7 06:12:31 woody chat[1409]: abort on (NO CARRIER)
Jan  7 06:12:31 woody chat[1409]: abort on (VOICE)
Jan  7 06:12:31 woody chat[1409]: abort on (NO DIALTONE)
Jan  7 06:12:31 woody chat[1409]: send (ATZ3^M)
Jan  7 06:12:31 woody chat[1409]: expect (OK)
Jan  7 06:12:32 woody chat[1409]: ATZ3^M^M
Jan  7 06:12:32 woody chat[1409]: OK
Jan  7 06:12:32 woody chat[1409]:  -- got it
Jan  7 06:12:32 woody chat[1409]: send (ATM0^M)
Jan  7 06:12:32 woody chat[1409]: expect (OK)
Jan  7 06:12:32 woody chat[1409]: ^M
Jan  7 06:12:32 woody chat[1409]: ATM0^M^M
Jan  7 06:12:32 woody chat[1409]: OK
Jan  7 06:12:32 woody chat[1409]:  -- got it
Jan  7 06:12:32 woody chat[1409]: send (ATDT434-2736^M)
Jan  7 06:12:32 woody chat[1409]: expect (CONNECT)
Jan  7 06:12:32 woody chat[1409]: ^M
Jan  7 06:12:47 woody chat[1409]: ATDT434-2736^M^M
Jan  7 06:12:47 woody chat[1409]: CONNECT
Jan  7 06:12:47 woody chat[1409]:  -- got it
Jan  7 06:12:47 woody chat[1409]: send ()
Jan  7 06:12:47 woody pppd[1405]: Serial connection established.
Jan  7 06:12:48 woody pppd[1405]: Connect: ppp0 <--> /dev/modem
Jan  7 06:12:48 woody pppd[1405]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xffff1009> <pcomp> <accomp>]
Jan  7 06:13:03 woody last message repeated 5 times
Jan  7 06:13:04 woody pppd[1405]: rcvd [LCP ConfReq id=0xe4 <asyncmap
0xa0000> <auth chap 05> <magic 0x8a858563> <pcomp> <accomp>]
Jan  7 06:13:04 woody pppd[1405]: sent [LCP ConfAck id=0xe4 <asyncmap
0xa0000> <auth chap 05> <magic 0x8a858563> <pcomp> <accomp>]
Jan  7 06:13:06 woody pppd[1405]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xffff1009> <pcomp> <accomp>]
Jan  7 06:13:06 woody pppd[1405]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>
<magic 0xffff1009> <pcomp> <accomp>]
Jan  7 06:13:06 woody pppd[1405]: sent [LCP EchoReq id=0x0
magic=0xffff1009]
Jan  7 06:13:06 woody pppd[1405]: rcvd [CHAP Challenge id=0x4c
<8a858cd8115c3c39cfb27740c1b5d81a>, name = "ASCPL_AS5200"]
Jan  7 06:13:06 woody pppd[1405]: sent [CHAP Response id=0x4c
<cc23dc341e9cef8285db8dc7d2457d61>, name = "aa204@rover.acorn.net"]
Jan  7 06:13:06 woody pppd[1405]: rcvd [LCP EchoRep id=0x0
magic=0x8a858563]
Jan  7 06:13:06 woody pppd[1405]: rcvd [CHAP Success id=0x4c ""]
Jan  7 06:13:06 woody pppd[1405]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>
<compress VJ 0f 01>]
Jan  7 06:13:06 woody pppd[1405]: rcvd [IPCP ConfReq id=0x66 <addr
199.218.0.5>]Jan  7 06:13:06 woody pppd[1405]: sent [IPCP ConfAck id=0x66
<addr 199.218.0.5>]Jan  7 06:13:07 woody pppd[1405]: rcvd [IPCP ConfRej
id=0x1 <compress VJ 0f 01>]Jan  7 06:13:07 woody pppd[1405]: sent [IPCP
ConfReq id=0x2 <addr 0.0.0.0>]
Jan  7 06:13:07 woody pppd[1405]: rcvd [IPCP ConfNak id=0x2 <addr
205.133.131.55>]
Jan  7 06:13:07 woody pppd[1405]: sent [IPCP ConfReq id=0x3 <addr
205.133.131.55>]
Jan  7 06:13:07 woody pppd[1405]: rcvd [IPCP ConfAck id=0x3 <addr
205.133.131.55>]
Jan  7 06:13:07 woody pppd[1405]: Local IP address changed to
205.133.131.55
Jan  7 06:13:07 woody pppd[1405]: Cannot determine ethernet address for
proxy ARP
Jan  7 06:13:07 woody pppd[1405]: sent [proto=0x21] 45 00 00 3d 00 e3 00
00 40 11 b1 f1 00 00 00 00 c7 da 00 02 04 59 00 35 00 29 7e 87 93 2d 01 00
00 01 00 00
00 00 00 00 05 72 6f 76 65 72 05 61 63 6f 72 6e 03 6e 65 74 00 00 01 00 01
Jan  7 06:13:36 woody pppd[1405]: sent [LCP EchoReq id=0x1
magic=0xffff1009]
Jan  7 06:13:36 woody pppd[1405]: rcvd [LCP EchoRep id=0x1
magic=0x8a858563]




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: