Imported OpenVPN connection failing

Got a problem with Viscosity or need help? Ask here!

Andrew


Post by Andrew » Mon Dec 15, 2008 3:49 am
I've been passed a macbook with a previous install of openvpn which I'm trying to get working.

I dutifully imported the my existing functional openvpn configuration (from a windows openvpn) install and it *almost* works. Here's where it's stopping:

Sun Dec 14 11:43:45 2008: Control Channel Authentication: using 'ta.key' as a OpenVPN static key file
Sun Dec 14 11:43:45 2008: LZO compression initialized
Sun Dec 14 11:43:45 2008: UDPv4 link local: [undef]
Sun Dec 14 11:43:45 2008: UDPv4 link remote: 99.99.99.99:34443
Sun Dec 14 11:43:50 2008: [duke] Peer Connection Initiated with 99.99.99.99:34443
Sun Dec 14 11:43:52 2008: Cannot allocate TUN/TAP dev dynamically

Any suggestions?

James

User avatar
Posts: 2313
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Tue Dec 16, 2008 5:55 am
Hi Andrew,

This line appears to be your culprit:
Code: Select all
Cannot allocate TUN/TAP dev dynamically
There are two common reasons for why this may be occurring:

1. The TUN/TAP drivers are not correctly installed/loaded on your computer. In this case I'd recommend restarting your computer and re-running Viscosity. Alternatively you can manually install the TUN/TAP drivers from:
http://tuntaposx.sourceforge.net/

2. Viscosity is unable to start the connection with root permissions. In this case I'd also recommend restarting the computer and re-running Viscosity.

Cheers
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs

kg23

Posts: 1
Joined: Fri Jul 03, 2009 8:42 am

Post by kg23 » Fri Jul 03, 2009 8:44 am
If you reinstall TunTap, you may have to manually delete these files first:

/Library/Extensions/tap.kext
/Library/Extensions/tun.kext
/Library/StartupItems/tap
/Library/StartupItems/tun

I had problems with the installer until I did that.
3 posts Page 1 of 1