Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!www.nntp.primenet.com!nntp.primenet.com!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@anorak.coverform.lan (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: can't open tun device after new kernel installed? Date: 25 Oct 1996 01:50:32 +0100 Organization: Coverform Ltd. Lines: 41 Sender: brian@awfulhak.demon.co.uk Message-ID: <54p2so$qin@anorak.coverform.lan> References: <326e5b61.10460641@netnews.hinet.net> Reply-To: brian@awfulhak.demon.co.uk NNTP-Posting-Host: anorak.coverform.lan X-NNTP-Posting-Host: awfulhak.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 In article <326e5b61.10460641@netnews.hinet.net>, vcba79@ms1.hinet.net (Vincent Chen) writes: : : Hi, : : I can't use user process ppp after new custom kernel installed : on my freebsd 2.1.5 release box. Many config combinations has : been tested, but never succeed. Is there any wrong in my system : configuration? [.....] : User Process PPP. Written by Toshiharu OHNO. : Log level is 09 : Warning: No password entry for this host in ppp.secret : Warning: All manipulation is allowed by anyone in the world : can't find ifindex. : open_tun: No such file or directory Well, this is pretty wierd ! From what I can see in the code, /dev/tun0 has been successfully opened, but then, when the code goes to find an interface w/ the same name, it fails ! What does "ifconfig -a" say ? You could always try: cd /dev sh ./MAKEDEV tun8 so that you have all of your device files - but I can't see that that'll help :( The only way I can see you finding your problem is by: cd /usr/src/usr.sbin/ppp make CFLAGS+=-DDEBUG This may give some interesting results !!?! -- Brian <brian@awfulhak.demon.co.uk> <http://www.awfulhak.demon.co.uk/> Don't _EVER_ lose your sense of humour.... .