From owner-freebsd-stable@FreeBSD.ORG Wed Feb 9 11:34:41 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 421E916A4CE for ; Wed, 9 Feb 2005 11:34:41 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78E0243D1F for ; Wed, 9 Feb 2005 11:34:40 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id j19BYaoi038621; Wed, 9 Feb 2005 22:04:37 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Wed, 9 Feb 2005 22:04:33 +1030 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1518743.HjDWn9vUV3"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200502092204.34194.doconnor@gsoft.com.au> X-Spam-Score: -3.3 () PGP_SIGNATURE_2,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: matthias.andree@web.de Subject: tun creation problem with security/openvpn X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2005 11:34:41 -0000 --nextPart1518743.HjDWn9vUV3 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I am trying to using openvpn on a 4.x system but it doesn't seem to want to= =20 create tun devices and I can't make them by hand with ifconfig. I've currently worked around it by running PPP first which creates a tun=20 device but it's a bit difficult to automate properly. I've tried this for ifconfig.. [inchoate 22:01] ~ >sudo ifconfig tun0 create inet 1.2.3.4 ifconfig: SIOCIFCREATE: Invalid argument [inchoate 22:02] ~ >sudo ifconfig tun0 create inet 1.2.3.4 4.5.6.7 ifconfig: SIOCIFCREATE: Invalid argument [inchoate 22:02] ~ >sudo ifconfig tun0 create ifconfig: SIOCIFCREATE: Invalid argument Anyone got any hints? =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1518743.HjDWn9vUV3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBCCfVK5ZPcIHs/zowRAnLWAJ9JlDRdOF22RtYULCqyXptk6/ZL7ACfbSI4 TZo2SwL58sWhk+4lRQlaAfk= =4ADb -----END PGP SIGNATURE----- --nextPart1518743.HjDWn9vUV3--