Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2000 14:54:48 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Dan Phoenix <dphoenix@bravenet.com>
Cc:        Bill Fumerola <billf@mu.org>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Tun driver? 
Message-ID:  <4581.976715688@critter>
In-Reply-To: Your message of "Wed, 13 Dec 2000 05:52:27 PST." <Pine.BSO.4.21.0012130550330.26146-100000@gandalf.bravenet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

You need to open the "device-side" of the tunnel (/dev/tun0) before the
interface is created.

Poul-Henning

In message <Pine.BSO.4.21.0012130550330.26146-100000@gandalf.bravenet.com>, Dan
 Phoenix writes:
>
>[root@elrond conf]# ifconfig tun0 1.1.1.1 up
>ifconfig: interface tun0 does not exist
>[root@elrond conf]# ls -al /dev/tun0
>crw-------   1 uucp     dialer    52,   0 Dec 12 13:30 /dev/tun0
>[root@elrond conf]# 
>
>this is confusing me....trying to get vtund working in ports collection.
>
>tun device is in GENERIC kernel when i checked
>and exist in /dev as per test above.....yet
>it tells me it does not exist!
>Ideas?
>
>
>
>
>
>
>
>--
>Dan
>
>
>+-----------------------------------------------------------------------+ 
>| -----	    Daniel Phoenix	Mail to:dan@bravenet.com	    |	| 
>| |   /     ___    ____ 	      ____    |____      ____	    |	|     
>| |  /	  |/	  /    |  \	 /   |	  \   |	   \   	|    \ 	  __|__	|
>| |  \	  |	 |     |   \	/    |____/   |	    |  	|____/	    |   |
>| |   /	  |	 |     |    \  /     |	      |	    |	|	    |	|
>| |__/ 	  |	  \____\     \/	      \____   |	    |	 \____	    |	|
>+_______________________________________________________________________+
>        mv /lib/ld.so /lib/ld.so.old;echo "Damnit"
>
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-hackers" in the body of the message
>

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4581.976715688>