From owner-freebsd-questions Thu Sep 25 19:01:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA28967 for questions-outgoing; Thu, 25 Sep 1997 19:01:00 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA28962 for ; Thu, 25 Sep 1997 19:00:52 -0700 (PDT) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id BAA07305; Fri, 26 Sep 1997 01:58:08 +0100 (BST) Message-Id: <199709260058.BAA07305@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Keith Spencer" cc: freebsd-questions@FreeBSD.ORG Subject: Re: start_if.tun0 <> OK In-reply-to: Your message of "Thu, 25 Sep 1997 17:10:19 +1000." <199709250555.PAA26244@smmcroute.smmc.qld.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 26 Sep 1997 01:58:08 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Hi Brian... > I'll include my rc.conf at the end of this message... > > > > I followed your previous instructions to auto start ppp at boot. > > > In rc.local the command ppp -auto -alias ISP works. > > > I put this line in /etc/start_if.tun0 instaead as suggested & it > > > doesn't appear to work. > > > i.e. ping xx.xx.xx.xx doesn't initiate a dial out. Other strange > > > effects...Have I got things set up right??... with ppp -auto ISP > > > running > > > a) ping localhost gives a blank line > > > b) ping xx.xx.xx.xx gives a blank line response as well > > > c) ifconfig -a reports none of the interfaces...lo0 tun0 de0 sl0 > > > as being RUNNING or UP ???? > > > > Have you got tun0 mentioned in your network_interfaces variable ? > As you can see I have. (I think) [.....] > network_interfaces= "lo0 tun0 de0" # List of network interfaces (lo0 > is loopback). > ifconfig_lo0="inet 127.0.0.1" # default loopback device > configuration. > ifconfig_tun0= > ifconfig_de0="inet 203.56.180.200 netmask 255.255.255.0" [.....] Looks good. If none of your interfaces are up, surely you see some messages at boot time. You can press "SCROLL LOCK" and PGUP to see the boot messages that have scrolled off the top of your screen. Of course start_if.tun0 shouldn't be doing an "exit" either. > > Keith Spencer > Teacher...St Margaret Marys College > Townsville Australia -- Brian , , Don't _EVER_ lose your sense of humour....