Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Mar 1997 23:00:31 -0500
From:      Charles Reese <reese@chem.duke.edu>
To:        freebsd-isp@freebsd.org
Subject:   HELP: tun problem
Message-ID:  <1.5.4.32.19970307040031.0068c928@chem.duke.edu>

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

Thanks to everyone who responed to my tun ifconfig message.  I must have
some other problem as I still can't get more then 1 line to work at a time.
Here is the message I get when I try to connect with a second line.

user Process PPP. Written by Toshiharu OHNO.

Log level is 0b

can't open /etc/ppp/ppp.secret.
Warning: No password entry for this host in ppp.secret
Warning: All manipulation is allowed by anyone in the world
No tunnel device is available.
open_tun: Device not configured


Here is a bit of ifconfig -a (with one line running)

sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 576
        inet 207.86.0.130 --> 207.86.0.146 netmask 0xffffff00
tun1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun2: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun3: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun4: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun5: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
...
tun16: flags=8010<POINTOPOINT,MULTICAST> mtu 1500


Here is a bit of ppp.conf

default:
 disable lqr
 deny lqr
 set debug phase lcp chat
 set timeout 0
 enable msext
 set ns 204.91.99.128 164.109.0.23

ttyd1:
 set ifaddr 207.86.0.130 207.86.0.145 netmask 255.255.255.224
 enable proxy


ttyc0:
 set ifaddr 207.86.0.130 207.86.0.146 netmask 255.255.255.224
 enable proxy

ttyc1:
 set ifaddr 207.86.0.130 207.86.0.147 netmask 255.255.255.224
 enable proxy

.....

A bit of /dev
crw-------  1 uucp    dialer     52,   0 Mar  6 22:25 tun0
crw-------  1 uucp    dialer     52,   1 Oct 22 15:13 tun1
crw-------  1 uucp    dialer     52,   2 Oct 22 15:13 tun2
....
crw-------  1 uucp    dialer     52,   0 Oct 22 15:14 tunf

Is there anywhere besides the kernel and /dev that tuns have to be setup?
Any help would be greatly appreciated.


Cheers
Charlie Reese





-------------------------------------------------------------
Charles E. Reese        *                                   *
Durham, NC 27710        *   Buy      Sell     Trade    CDs  *
919-660-1585            *            NO MIDDLEMAN           *
919-544-7217            *            TOTALLY FREE           *
                        *       http://trader.ourway.com    *
reese@chem.duke.edu     *                                   *
-------------------------------------------------------------  




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