From owner-freebsd-questions Mon Jun 24 22:38:54 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA16337 for questions-outgoing; Mon, 24 Jun 1996 22:38:54 -0700 (PDT) Received: from obie.softweyr.com (slc108.xmission.com [204.228.136.108]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA16332 for ; Mon, 24 Jun 1996 22:38:49 -0700 (PDT) Received: (from wes@localhost) by obie.softweyr.com (8.7.5/8.6.12) id XAA05980; Sat, 22 Jun 1996 23:09:46 -0600 (MDT) Date: Sat, 22 Jun 1996 23:09:46 -0600 (MDT) Message-Id: <199606230509.XAA05980@obie.softweyr.com> From: softweyr@xmissino.com To: Nathaniel Wayne McConathy CC: questions@freebsd.org Subject: User PPP feature? In-Reply-To: <73145129@toto.iv> Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nathaniel Wayne McConathy writes: > Reason for problem: My ISP automatically disconnects 2 hours after > initial logon. Since I dont plan (at the moment at least) to run a > web server, or carry news it is not a problem. However I would > like to be able to access my machine from the outside world pretty > much all of the time. In order to do this I need to setup my > machine so that each time my ISP logs me off it dials up and > reconnects, and then mails me a copy of the netstat at one of the > other machines I have access to. > > My solution: Using the user PPP I configured the ppp.conf so that > it dials and logs onto the remote machine. However in order to > have all of this run automatically I added a line to the default: > section of the ppp.conf that said dial > > My problem: whenever I run the user PPP with this configuration I > recieve a segmentation fault error. > > Could someone confirm, explain, provide a solution to, this error. First, you'll want to use the auto-dial feature of PPP. Remove the dial line, and start PPP with: # ppp -auto instead. Set your timeout to zero; anytime you get disconnected, PPP will attempt to automatically bring you back on-line. You should be able to email yourself the new IP address by using a 'shell' command in your ppp.linkup file; run a shell script that mails the output of ifconfig -a to your known outside address. -- Wes Peters | Softweyr | Where am I, and what am I doing in this handbasket? Consulting | softweyr@xmission.com