From owner-freebsd-questions Sun Sep 8 17:32:19 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA07191 for questions-outgoing; Sun, 8 Sep 1996 17:32:19 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA07183 for ; Sun, 8 Sep 1996 17:32:17 -0700 (PDT) Received: from wedge.its.utas.edu.au (cp_nairn@wedge.its.utas.edu.au [131.217.10.10]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id RAA03103 for ; Sun, 8 Sep 1996 17:32:15 -0700 (PDT) Received: (from cp_nairn@localhost) by wedge.its.utas.edu.au (8.7.1/8.6.6) id KAA12827; Mon, 9 Sep 1996 10:31:09 +1000 (EST) Date: Mon, 9 Sep 1996 10:31:08 +1000 (EST) From: Carey Nairn X-Sender: cp_nairn@wedge.its.utas.edu.au Reply-To: Carey.Nairn@its.utas.edu.au To: Gary Chrysler cc: FreeBSD-Questions Subject: Re: ppp -auto In-Reply-To: <32335039.394F@ime.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 8 Sep 1996, Gary Chrysler wrote: > Hope this gets out, My ISP's mail server has been awfull hungry > here the last few days. > > Anyways, I've been trying to get ppp -auto working, I get it > running, ps aux shows it, ppp.log says: > % ppp isp > ... ... > ... ... > Automatic mode > Working in auto mode. > % > ppp.log shows: > listening at 3000 > PPP started > How does one get it to connect?? > Nothing seems to make it callout. > Sending mail, popclient, telnet, ftp... etc... etc... > > What am I missing here?? > > Yup, I can 'telnet localhost 3000' as stated in 'man ppp', Everything > looks ok except for ppp vs PPP. (not connected) > > My goal: Auto mail transfer. > A cron job to (check/get) (for/mail) every x minutes/hours. > When there is mail to go out, Connect, send it, If theres new mail > waiting, retreive it. > > Thanks all. > > -Enjoy > Gary > ~~~~~~~~~~~~~~~~ > Improve America's Knowledge... Share yours > The Borg... Where minds meet > (207) 929-3848 > This sounds like a routing problem to me. You need to have a default route configured to go to your ISP using the tun0 interface. As an example I have my tun0 interface configured using: ifconfig tun0 131.217.8.10 131.217.8.1 netmask 0xffffff00 The default route can be added using route add default 131.217.8.1 This can be automated via the /etc/sysconfig file. Cheers, Carey ========================================================================= Carey Nairn ! email : Carey.Nairn@its.utas.edu.au Infrastructure Services ! phone : (03) 6226 7419 Information Technology Services ! fax : (03) 6226 7898 University of Tasmania. ! int'l : (+61 3) =========================================================================