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

[Openvpn-users] Re: Sparc/Solaris configure problem


  • Subject: [Openvpn-users] Re: Sparc/Solaris configure problem
  • From: Pascal Gauthier <pgauthier@xxxxxxxxxxxx>
  • Date: Thu, 21 Oct 2004 21:13:49 +0000 (UTC)

Russell Sutherland <russ <at> madhaus.cns.utoronto.ca> writes:

> I get the same error with or without the flag:
> 
>  gmake install
>  PATH=/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin:/opt/gnu/bin:/usr/ccs/bin
>  cd solaris; make all
>  make[1]: Entering directory `/tmp/src/tun-1.1/solaris'
>  gcc -DTUN_VER=\"1.1\ 10/01/2004\"  -m64 -O2 -Wall -D_KERNEL -I. -c
>  tun.c
>  tun.c: In function `tuninfo':
>  tun.c:218: warning: cast to pointer from integer of different size
>  ld -r -o tun tun.o
>  make[1]: Leaving directory `/tmp/src/tun-1.1/solaris'
>  cd solaris; make inst
>  make[1]: Entering directory `/tmp/src/tun-1.1/solaris'
>  ld -r -o tun tun.o
>  ./../install-sh -c -m 644 -o root -g root if_tun.h /usr/include/net
>  ./../install-sh -c -m 644 -o root -g root tun /usr/kernel/drv
>  ./../install-sh -c -m 644 -o root -g root tun.conf /usr/kernel/drv
>  /usr/sbin/rem_drv tun >/dev/null 2>&1
>  /usr/sbin/add_drv tun
>  devfsadm: driver failed to attach: tun
>  Warning: Driver (tun) successfully added to system but failed to attach
>  make[1]: Leaving directory `/tmp/src/tun-1.1/solaris'
> 


You have to manually copy the tun driver to /usr/kernel/drv/sparcv9
because it's a 64bits modules

mv /usr/kernel/drv/tun /usr/kernel/drv/sparcv9

and then: devfsadm -i tun

After that, reboot you server with "boot -r"

but after that, GRRR, "ifconfig tun0 plumb" does'nt seem to work, i don't known
why... I run solaris 9 09/04 (and solaris 10beta6) and tun doesn't seem to work
on this release.

Someone have sucessfully installed tun-1.1 on >= Solaris 9 09/04 in 64bits?? I
seriously thinks it's a tun driver bugs... and it's doesn't seem to be
maintained at all (last release 2001) 

---
Pascal Gauthier
Unix administrator


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users