[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-newbies
Subject:    Re: your mail
From:       Junichi Saito <j.saito () wanadoo ! fr>
Date:       2000-09-11 13:23:28
[Download RAW message or body]


Indeed, 'cat < /dev/tun0' gives me tun0 entry. I now see I misunderstood
what handbook says about tunnel divice.

Thank you.

j.


On Sun, 10 Sep 2000, Nik Clayton wrote:

> On Mon, Sep 04, 2000 at 09:29:43AM +0200, Junichi Saito wrote:
> > In my case, ppp as well as tun are compiled in the kernel. When the
> > command 'ifconfig -a' is run, they should show up: so dose indeed ppp0 but
> > not tun0.
> 
> The tun? interfaces are created when a device tries to read from them.
> 
> For example, I currently have tun0, because of my PPP link.
> 
>     # ifconfig -a | grep tun
>     tun0: flags=8150<POINTTOPOINT,RUNNING,PROMISC,MULTICAST> mtu 1500
> 
> If I now try and read from /dev/tun1, using cat(1), the interface tun1
> will be created.
> 
>     # cat < /dev/tun1
>     ^C
>     # ifconfig -a | grep tun
>     tun0: flags=8150<POINTOPOINT,RUNNING,PROMISC,MULTICAST> mtu 1500
>     tun1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> 
> For you, tun0 will be created when you run a program that tries to use it.
> 
> N
> -- 
> Internet connection, $19.95 a month.  Computer, $799.95.  Modem, $149.95.
> Telephone line, $24.95 a month.  Software, free.  USENET transmission,
> hundreds if not thousands of dollars.  Thinking before posting, priceless.
> Somethings in life you can't buy.  For everything else, there's MasterCard.
>   -- Graham Reed, in the Scary Devil Monastery
> 




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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic