Date: Fri, 23 Jan 1998 02:38:12 +0000 From: Brian Somers <brian@Awfulhak.org> To: Clendaniel Ian IB <ian.clendaniel@phwilm.zeneca.com> Cc: "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG> Subject: Re: PPP/tun0 problems.... Message-ID: <199801230238.CAA29687@awfulhak.org> In-Reply-To: Your message of "Thu, 22 Jan 1998 17:15:27 EST." <c=GB%a=TMAILUK%p=ZENECA%l=USUWPHMSX10-980122221527Z-3261@usuwphmsxhub02.usuwph.zeneca.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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<POINTOPOINT,MULTICAST> mtu 1500 > > The one listed in the tutorial and in the handbook is: > > tun0: flags=8010<UP,POINTOPOINT,RUNNING,MULTICAST> 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<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 tun0: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1500 tun0: flags=8010<POINTOPOINT,MULTICAST> 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 <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801230238.CAA29687>