Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2000 09:29:43 +0200 (CEST)
From:      Junichi Saito <j.saito@wanadoo.fr>
To:        Jaroshenko Serge <jaroshenko@mail.ru>
Cc:        freebsd-newbies@FreeBSD.ORG
Subject:   Re: your mail
Message-ID:  <Pine.LNX.4.21.0009040923160.236-100000@kintaro.linux.org>
In-Reply-To: <Pine.BSF.4.21.0009041101550.260-100000@freebsd.merlin.ru>

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


>
>All correct!
>
>Do ifconfig -a:
>
>de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        inet XXX.XXX.XXX.XXX netmask 0xffffff00 broadcast 192.168.5.255
>        ether 00:80:48:da:1f:56
>        media: 10base2/BNC status: active
>        supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP
><full-du
>plex> 10baseT/UTP
>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>        inet 127.0.0.1 netmask 0xffffff00
>
>
>Just run command (for example):
>^^^^^^^^^^^^^^^^
>ppp -auto MY_ISP
>^^^^^^^^^^^^^^^^
>and ifconfig -a (for me):
>
>de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        inet XXX.XXX.XXX.XXX netmask 0xffffff00 broadcast 192.168.5.255
>        ether 00:80:48:da:1f:56
>        media: 10base2/BNC status: active
>        supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP
><full-du
>plex> 10baseT/UTP
>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>        inet 127.0.0.1 netmask 0xffffff00
>tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
>        inet XXX.XXX.XXX.XXX --> XXX.XXX.XXX.XXX netmask 0xffffffff
>        Opened by PID 205
>
>Interface tun0, for me, compile as module (no "pseudo-device  tun"
>in kernel config file and no other options). When I run connection to
>my ISP, kernel  auto load if_tun.ko and configure interface tun0
>(with ppp.conf, ppp.* in /etc/ppp directory).
>
>Good luck!
>(Sory for bad english!)
>
>Serge.

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.


>On Sun, 3 Sep 2000 j.saito@wanadoo.fr wrote:
>
>> 
>> For  some  reason,  there  is  no tunnel device available on my system
>> (FreeBSD  4.0-RELEASE). I compiled the kernel with the support for it,
>> but when I run 'ifconfig -a' (as root), I only get this:
>> 
>> ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
>> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>>         inet 127.0.0.1 netmask 0xff000000
>> 
>> The divices files exist.
>> 
>> ls -l /dev/tun*
>> crw-------  1 uucp  dialer  52,  0 Aug 27 15:47 /dev/tun0
>> crw-------  1 uucp  dialer  52,  1 Aug 27 15:47 /dev/tun1
>> crw-------  1 uucp  dialer  52,  2 Aug 27 15:47 /dev/tun2
>> crw-------  1 uucp  dialer  52,  3 Aug 27 15:47 /dev/tun3
>> 
>> 
>> The same is true with the GENERIC kernel.
>> 
>> What  can be the reason ? Are there some other options to enable other
>> than 'pseudo-device  tun' ?
>> 
>> tia.
>> 
>> j.



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




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