From owner-freebsd-questions Fri Mar 27 07:14:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA11934 for freebsd-questions-outgoing; Fri, 27 Mar 1998 07:14:59 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gatekeeper.aib.ie (firewall-user@gatekeeper.aib.ie [194.125.66.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA11919 for ; Fri, 27 Mar 1998 07:14:41 -0800 (PST) (envelope-from Niall.E.Burke@aib.ie) Received: by gatekeeper.aib.ie; id AA13372; Fri, 27 Mar 98 15:13:39 GMT Received: from unknown(200.19.100.3) by gatekeeper.aib.ie via smap (3.2) id xma013364; Fri, 27 Mar 98 15:13:32 GMT Received: from aib.ie (200.19.100.2) by mimesweeper.aib.ie (Integralis SMTPRS 1.51) with SMTP id ; Fri, 27 Mar 1998 13:52:55 +0000 Received: from aib.ie by aib.ie (SMI-8.6/SMI-SVR4) id NAA26358; Fri, 27 Mar 1998 13:50:06 GMT Message-Id: <351C1F8B.EEB1F745@aib.ie> Date: Fri, 27 Mar 1998 13:52:12 -0800 From: Niall Burke Reply-To: Niall.E.Burke@aib.ie Organization: AIB X-Mailer: Mozilla 4.04 [en] (Win16; I) Mime-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: PPP help Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Before I start telling you about my PPP problems, I would just like to compliment you on your FAQ pages, very insightful, well laid out and very fast to download. The problem that I'm experiencing at the moment is an IPCP Timeout error. The LCP packet negotiation seems to go fine, when the remote host issues me a dynamic IP address, IPCP proceeds to send another Configure Request, and then ultimately times out, the last note in the message log before terminating the link is 'IPCP: Timeout event in state 2!' I've pasted the latter section of the messages log below, also my dial-up script, /etc/ppp/options file and the results of a netstat -rn. Any assistance you can provide would be greatly appreciated. Regards, Niall Burke /var/log/messages .... Mar 27 11:47:59 niallyb pppd[143]: local IP address 194.125.148.164 Mar 27 11:47:59 niallyb pppd[143]: fsm_sdata(IPCP): Sent code 1, id 2. Mar 27 11:47:59 niallyb pppd[143]: IPCP: sending Configure-Request, id 2 Mar 27 11:47:59 niallyb pppd[143]: fsm_rconfack(IPCP): Rcvd id 2. Mar 27 11:47:59 niallyb pppd[143]: ipcp: up Mar 27 11:47:59 niallyb pppd[143]: ipcp: down Mar 27 11:47:59 niallyb pppd[143]: fsm_sdata(IPCP): Sent code 5, id 3. Mar 27 11:47:59 niallyb pppd[143]: fsm_rtermack(IPCP). Mar 27 11:48:02 niallyb pppd[143]: IPCP: Timeout event in state 2! Mar 27 11:50:42 niallyb pppd[143]: Terminating link. ppp-on script ... #!/bin/sh # # ppp-on # # Set up a PPP link # LOCKDIR=/var/spool/uucp DEVICE=/dev/cua1 PHONE=0604-7000 USER=***** PASSWORD=***** if [ -f $LOCKDIR/LCK..$DEVICE ] then echo "PPP device is locked" exit 1 fi ( echo "(START)" 1>&2 sleep 1 stty 57600 -tostop sleep 1 echo -n "Initializing Modem," 1>&2 /usr/sbin/chat -v -t 4 ATH0 OK ATZ OK echo -n "Dialing...." $PHONE 1>&2 if /usr/sbin/chat -v ABORT BUSY ABORT 'NO CARRIER' "" ATH0 OK ATZ OK ATDT$PHONE name: $USER ord: $PASSWORD ts ppp then echo 1>&2 echo 1>&2 echo "You are now connected please minimize the window, haha !!!" 1>&2 /usr/sbin/pppd $DEVICE -ac -pc -vj debug defaultroute & echo 'ps -ax|grep pppd|grep -v grep' else echo " ******* Something Screwed Up ! ******* " 1>&2 rm -f $LOCKDIR/LCK..$DEVICE fi ) < $DEVICE > $DEVICE /etc/ppp/options .... # /etc/ppp/options (NO PAP/CHAP) modem crtscts defaultroute asyncmap 0 mtu 1500 mru 1500 lcp-restart 10 lcp-max-terminate 10 ipcp-accept-local ipcp-accept-remote netmask 255.255.255.0 netstat -rn results are as follows ... Kernel routing table Destination Gateway Genmask Flags Metric Ref Use Iface 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 12 lo -- _______________________________________ Niall Burke AIB Internet Developer Block H1, Internet Department, Bankcentre, Ballsbridge, Dublin 4. Phone: +353 (0)1-6600311/11051 Web Site: http://www.aib.ie _______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message