Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 1996 10:31:08 +1000 (EST)
From:      Carey Nairn <cp_nairn@cc.utas.edu.au>
To:        Gary Chrysler <tcg@ime.net>
Cc:        FreeBSD-Questions <questions@FreeBSD.org>
Subject:   Re: ppp -auto
Message-ID:  <Pine.SOL.3.91.960909102625.12146A-100000@wedge.its.utas.edu.au>
In-Reply-To: <32335039.394F@ime.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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)
=========================================================================






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.91.960909102625.12146A-100000>