[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Got the same problem on Solaris - Warning: Driver (tun) successfully added to system but failed to attach


  • Subject: [Openvpn-users] Got the same problem on Solaris - Warning: Driver (tun) successfully added to system but failed to attach
  • From: <james.huang@xxxxxxxxxxxxxx>
  • Date: Sat, 5 Aug 2006 14:55:45 -0500

I just started to build/install tun/tap driver on Solaris v8 and v9, and
getting the identical problem on v8 as the following previous email
described. Was this problem solved? Can anybody share the solution?
Thanks a lot.

To answer Jon Bendtsen's question:
==> what happens if you make the device? (A: what command to use? I
haven't done it since it's not in the installation guide, which says
everything is taken care of automatically.)
==> are there a /dev/net/tun device? (A: no, there is even no /dev/net
under /dev)
==> are you installing it as root? (A: yes)
==> did you try rebooting? (A: not yet, will try later)

On Solaris v9 I got another slightly different error:
# make install
......
/usr/sbin/add_drv tun
No 64-bit version of (tun) found; 32-bit version of this driver exists.
32-bit driver (tun) not loadable on 64-bit kernel.
System configuration files modified but tun driver not loaded or
attached.
......

I tried to put -m64 in for 64-bit but somehow compiler complained about
it. Here is gcc and make I'm using, any problem with it? What's your gcc
and make on Solaris?

# make -v
GNU Make version 3.76.1, by Richard Stallman and Roland McGrath.

# gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/specs
gcc version 2.95.3 20010315 (release)

---------------------------------
http://openvpn.net/archive/openvpn-users/2006-04/msg00011.html
    Hi,

    I have downloaded the Universal TUN/TAP device driver from
vtun.sourceforge.net, tun-1.1.tar.gz. But 'make install' fails with the
following error:

    devfsadm: driver failed to attach: tun
    Warning: Driver (tun) successfully added to system but failed to
attach

    System is:
    # uname -X
    System = SunOS
    Node = right
    Release = 5.8
    KernelID = Generic_117350-24
    Machine = sun4u
    I've found two references to this error in previous posts but no
working solution. Followed simple instructions:

    ./configure
    make install

    I have no /dev/tun? device, and openvpn reports Can't open /dev/
tun: No such file or directory. 
------
what happens if you make the device?
are there a /dev/net/tun device?
are you installing it as root?
did you try rebooting?

JonB
______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-08/msg00074.html on line 243

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-08/msg00074.html on line 243