From owner-freebsd-questions Thu Jan 22 18:42:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA17344 for questions-outgoing; Thu, 22 Jan 1998 18:42:20 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA17329 for ; Thu, 22 Jan 1998 18:42:05 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.7/8.8.7) with ESMTP id CAA29687; Fri, 23 Jan 1998 02:38:12 GMT (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199801230238.CAA29687@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: Clendaniel Ian IB cc: "'freebsd-questions@freebsd.org'" Subject: Re: PPP/tun0 problems.... In-reply-to: Your message of "Thu, 22 Jan 1998 17:15:27 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Jan 1998 02:38:12 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk > I was attempting to configure my FreeBSD machine to function as a PPP > router last night and was following the procedures laid out in the PPP > tutorial. The machine is currently hooked up to a 9-port hub and runs > on the LAN just fine. But when I attempted to run the ppp command it > returned the following error: > > #ppp > User Process PPP. Written by Toshiharu OHNO. > OpenTunnel: Can't find ifindex. > Jan 21 21:08:43 kamikaze ppp[299]: Error: OpenTunnel: Can't find > ifindex. > Jan 21 21:08:43 kamikaze ppp[299]: Error: OpenTunnel: Can't find > ifindex. > Jan 21 21:08:43 kamikaze ppp[299]: Error: OpenTunnel: Can't find > ifindex. > open_tun: No such file or directory > # > > This error was after completing all necessary steps listed in the > tutorial. The kernel is compiled for one tun device and it is listed > when I run ifconfig...the only problem is that it differs slightly from > listing I see everywhere else...here it is: > > #ifconfig tun0 > tun0: flags=8010 mtu 1500 > > The one listed in the tutorial and in the handbook is: > > tun0: flags=8010 mtu 1500 > > I could not figure out how to change this. I tried to remake the device > with no luck...it still came up with the same thing. Any ideas?? > > Please copy my email address on the message, also, as I'm not subscribed > right now...thanks. That line can say one of tun0: flags=8051 mtu 1500 tun0: flags=8050 mtu 1500 tun0: flags=8010 mtu 1500 depending on if it's been configured or not. Assuming you have an entry for /dev/tun0, your best bet is to get the latest ppp from http://www.FreeBSD.org/~brian. I've heard of this before, but it doesn't happen with newer versions of ppp.... > Ian Clendaniel > Zeneca Pharmaceuticals > IT Technician > FOC1 NW255 > ian.clendaniel@phwilm.zeneca.com > -- Brian , , Don't _EVER_ lose your sense of humour....