From owner-freebsd-current@FreeBSD.ORG Thu Dec 18 04:11:42 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 042BB16A4D9 for ; Thu, 18 Dec 2003 04:11:42 -0800 (PST) Received: from pixies.tirloni.org (pixies.tirloni.org [200.203.183.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDEF443D31 for ; Thu, 18 Dec 2003 04:11:39 -0800 (PST) (envelope-from tirloni@tirloni.org) Received: by pixies.tirloni.org (Postfix, from userid 1000) id 7AA6F1E1469; Thu, 18 Dec 2003 10:11:37 -0200 (BRST) Date: Thu, 18 Dec 2003 10:11:37 -0200 From: "Giovanni P. Tirloni" To: freebsd-current@freebsd.org Message-ID: <20031218121137.GA74657@pixies.tirloni.org> Mail-Followup-To: freebsd-current@freebsd.org References: <029001c3c55a$58070750$714835a1@lara> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9pltayyoy9lWEMH" Content-Disposition: inline In-Reply-To: <029001c3c55a$58070750$714835a1@lara> X-Info: http://www.tirloni.org User-Agent: Mutt/1.5.4i Subject: Re: if_tun X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2003 12:11:42 -0000 --M9pltayyoy9lWEMH Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Ivan Voras (ivoras@fer.hr) wrote: > If I understand correctly, loading if_tun.ko should make /dev/tun entry > appear. But 'kldload if_tun' on 5.2RC1 writes following errors: It shouldn't. Those interfaces are created on demand. When you unload the module they are removed. If you've compiled it into your kernel they can't be removed. > module_register: module if_tun already exists! > Module iff_tun failed to register: 17 > can't re-use a leaf (if_tun_debug)! >=20 > Subsequent 'kldstat' invocations show that if_tun.ko is loaded, but there= is > no /dev/tun. It seems you already have tun compiled in (device tun). -- Giovanni P. Tirloni Fingerprint: 8C3F BEC5 79BD 3E9B EDB8 72F4 16E8 BA5E D031 5C26 --M9pltayyoy9lWEMH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/4Zl5Fui6XtAxXCYRAoolAKCSSta9r52oyjVop5ignrcUzfej9gCgtYcX FcuJwb8SM70chbDszdudgkQ= =51gy -----END PGP SIGNATURE----- --M9pltayyoy9lWEMH--