*BSD News Article 81394


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.erols.net!news-peer.gsl.net!news.gsl.net!hammer.uoregon.edu!arclight.uoregon.edu!newsfeed.direct.ca!news.wildstar.net!serv.hinet.net!netnews.hinet.net!news
From: vcba79@ms1.hinet.net (Vincent Chen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: can't open tun device after new kernel installed?
Date: Wed, 23 Oct 1996 17:58:11 GMT
Organization: Vincent Research
Lines: 119
Message-ID: <326e5b61.10460641@netnews.hinet.net>
NNTP-Posting-Host: 168.95.103.83
X-Newsreader: Forte Free Agent 1.1/32.230


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?

Any comment would be greatly appreciated.


--> Here is my kernel config file:

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
#	$Id: GENERIC,v 1.46.2.18 1996/07/16 08:53:04 davidg Exp $
#

machine		"i386"
#cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
ident		IDE
maxusers	16

options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
#options	"SCSI_DELAY=15"		#Be pessimistic about Joe SCSI device
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		UCONSOLE		#Allow users to grab the console

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

#options	QUOTA

config		kernel	root on wd0 

controller	isa0
#controller	eisa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
tape		ft0	at fdc0 drive 2

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1

options         ATAPI   #Enable ATAPI support for IDE bus
device          wcd0    #IDE CD-ROM

device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr

# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device ed0 at isa? port 0x340 net irq 11 iomem 0xd8000 vector edintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	8
# ijppp uses tun instead of ppp device
pseudo-device	ppp	16
pseudo-device	tun	8
pseudo-device	pty	32
pseudo-device	gzip		# Exec gzipped a.out's
#pseudo-device	bpfilter	4
#pseudo-device	snp		4


--> I do have a tun device

pc2:/etc/ppp# l /dev/tun*
crw-------  1 uucp  dialer   52,   0 Oct 24 00:26 /dev/tun0


--> But still got this??? :-(

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
-----

Vincent Chen

E-mail address:
vcba79@ms1.hinet.net

Taipei,Taiwan
R.O.C.