Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: vpnc: devel

MacOSX 10.6.2 vpnc tap not working

 

 

vpnc devel RSS feed   Index | Next | Previous | View Threaded


f_koch at gmx

Nov 28, 2009, 1:53 AM

Post #1 of 2 (1248 views)
Permalink
MacOSX 10.6.2 vpnc tap not working

Hi @all,

i try to use vpnc with a tap interface on Mac OSX 10.6.2

I have Installed vpnc and tuntaposx

with the tun device , no problem, but with the tap device , i get the following error (the conf, user, and pw are the same as with tun)

core:~ flo$ /usr/bin/sudo /opt/local/sbin/vpnc --ifmode tap /Users/flo/Tools/xxx.conf
Enter password for <user>@<ip>:
can't get tunnel HW address: Function not implemented


Any Idea? On Debian it's working without problems.

Here are more Informations:

uname -a

Darwin core.fritz.box 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386

core:~ flo$ ls -l /dev/tap*
crw-rw---- 1 root wheel 19, 0 25 Nov 11:09 /dev/tap0
crw-rw---- 1 root wheel 19, 1 25 Nov 11:09 /dev/tap1
crw-rw---- 1 root wheel 19, 10 25 Nov 11:09 /dev/tap10
crw-rw---- 1 root wheel 19, 11 25 Nov 11:09 /dev/tap11
crw-rw---- 1 root wheel 19, 12 25 Nov 11:09 /dev/tap12
crw-rw---- 1 root wheel 19, 13 25 Nov 11:09 /dev/tap13
crw-rw---- 1 root wheel 19, 14 25 Nov 11:09 /dev/tap14
crw-rw---- 1 root wheel 19, 15 25 Nov 11:09 /dev/tap15
crw-rw---- 1 root wheel 19, 2 25 Nov 11:09 /dev/tap2
crw-rw---- 1 root wheel 19, 3 25 Nov 11:09 /dev/tap3
crw-rw---- 1 root wheel 19, 4 25 Nov 11:09 /dev/tap4
crw-rw---- 1 root wheel 19, 5 25 Nov 11:09 /dev/tap5
crw-rw---- 1 root wheel 19, 6 25 Nov 11:09 /dev/tap6
crw-rw---- 1 root wheel 19, 7 25 Nov 11:09 /dev/tap7
crw-rw---- 1 root wheel 19, 8 25 Nov 11:09 /dev/tap8
crw-rw---- 1 root wheel 19, 9 25 Nov 11:09 /dev/tap9


core:~ flo$ ls -l /opt/local/Library/StartupItems/
total 0
drwxr-xr-x 3 root wheel 170 25 Nov 11:05 tap
drwxr-xr-x 3 root wheel 170 25 Nov 11:05 tun
core:~ flo$

core:~ flo$ port list installed
expat @2.0.1 textproc/expat
gettext @0.17 devel/gettext
gperf @3.0.4 devel/gperf
libgcrypt @1.4.4 devel/libgcrypt
libgpg-error @1.7 devel/libgpg-error
libiconv @1.13 textproc/libiconv
ncurses @5.7 devel/ncurses
ncursesw @5.7 devel/ncursesw
tuntaposx @20090913 net/tuntaposx
vpnc @0.5.3 net/vpnc


I have postet this on the macports mailinglist but get no response.

kind regards flo


_______________________________________________
vpnc-devel mailing list
vpnc-devel [at] unix-ag
https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
http://www.unix-ag.uni-kl.de/~massar/vpnc/


paolo.zarpellon at gmail

Dec 22, 2009, 4:05 AM

Post #2 of 2 (1062 views)
Permalink
Re: MacOSX 10.6.2 vpnc tap not working [In reply to]

Hi Florian,
it seems that SIOCGIFHWADDR ioctl does not work on MacOSX. I think
tap's hw address must be retrieved as explained at
http://developer.apple.com/mac/library/samplecode/GetPrimaryMACAddress/
Mac experts may help you out.
Regards,
Paolo

On Sat, Nov 28, 2009 at 10:53 AM, Florian Koch <f_koch [at] gmx> wrote:
> Hi @all,
>
> i try to use  vpnc with a tap interface on Mac OSX 10.6.2
>
> I have Installed vpnc and tuntaposx
>
> with the tun device , no problem, but with the tap device , i get the following error (the conf, user, and pw are the same as with tun)
>
> core:~ flo$ /usr/bin/sudo /opt/local/sbin/vpnc --ifmode tap /Users/flo/Tools/xxx.conf
> Enter password for <user>@<ip>:
> can't get tunnel HW address: Function not implemented
>
>
> Any Idea? On Debian it's working without problems.
>
> Here are more Informations:
>
> uname -a
>
> Darwin core.fritz.box 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386
>
> core:~ flo$ ls -l /dev/tap*
> crw-rw----  1 root  wheel   19,   0 25 Nov 11:09 /dev/tap0
> crw-rw----  1 root  wheel   19,   1 25 Nov 11:09 /dev/tap1
> crw-rw----  1 root  wheel   19,  10 25 Nov 11:09 /dev/tap10
> crw-rw----  1 root  wheel   19,  11 25 Nov 11:09 /dev/tap11
> crw-rw----  1 root  wheel   19,  12 25 Nov 11:09 /dev/tap12
> crw-rw----  1 root  wheel   19,  13 25 Nov 11:09 /dev/tap13
> crw-rw----  1 root  wheel   19,  14 25 Nov 11:09 /dev/tap14
> crw-rw----  1 root  wheel   19,  15 25 Nov 11:09 /dev/tap15
> crw-rw----  1 root  wheel   19,   2 25 Nov 11:09 /dev/tap2
> crw-rw----  1 root  wheel   19,   3 25 Nov 11:09 /dev/tap3
> crw-rw----  1 root  wheel   19,   4 25 Nov 11:09 /dev/tap4
> crw-rw----  1 root  wheel   19,   5 25 Nov 11:09 /dev/tap5
> crw-rw----  1 root  wheel   19,   6 25 Nov 11:09 /dev/tap6
> crw-rw----  1 root  wheel   19,   7 25 Nov 11:09 /dev/tap7
> crw-rw----  1 root  wheel   19,   8 25 Nov 11:09 /dev/tap8
> crw-rw----  1 root  wheel   19,   9 25 Nov 11:09 /dev/tap9
>
>
> core:~ flo$ ls -l /opt/local/Library/StartupItems/
> total 0
> drwxr-xr-x  3 root  wheel  170 25 Nov 11:05 tap
> drwxr-xr-x  3 root  wheel  170 25 Nov 11:05 tun
> core:~ flo$
>
> core:~ flo$ port list installed
> expat                          @2.0.1          textproc/expat
> gettext                        @0.17           devel/gettext
> gperf                          @3.0.4          devel/gperf
> libgcrypt                      @1.4.4          devel/libgcrypt
> libgpg-error                   @1.7            devel/libgpg-error
> libiconv                       @1.13           textproc/libiconv
> ncurses                        @5.7            devel/ncurses
> ncursesw                       @5.7            devel/ncursesw
> tuntaposx                      @20090913       net/tuntaposx
> vpnc                           @0.5.3          net/vpnc
>
>
> I have postet this on the macports mailinglist but get no response.
>
> kind regards flo
>
>
> _______________________________________________
> vpnc-devel mailing list
> vpnc-devel [at] unix-ag
> https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
> http://www.unix-ag.uni-kl.de/~massar/vpnc/
>

_______________________________________________
vpnc-devel mailing list
vpnc-devel [at] unix-ag
https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
http://www.unix-ag.uni-kl.de/~massar/vpnc/

vpnc devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.