Skip to contentSkip to conversation

no chance trying openvpn

Openvpn-devel pi 5 participants 5 messages Mar 16, 2004 – Mar 17, 2004

lore
Share & tools
lore

pi

author
#0 lore raw

I can really say "I'm not lucky with VPN solutions!!"

First, I tried superfreeswan then openswan then freeswan with kernel compiled for NAT-T support. In lab, it worked. Over the internet it never worked.........
I had no good support neither answers to some of my questions (surely due to bugs)

I discovered today openvpn (tada.....),

first: impossible to install it on my redhat9.0
I always got the message

configure: checking for OpenSSL SSL Library and Header files... checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: error: OpenSSL SSL headers not found.

I have openssl installed on this system:

# rpm -qa|grep ssl
mod_ssl-2.0.40-21.9
openssl-devel-0.9.7a-20
openssl-0.9.7a-20

I post a message on this list but no answer :-((
I tried to attach my config.log to this mail, but there's a limit of 40k/message.

Then I find a RPM package from dag's repository (http://dag.wieers.com/packages/openvpn/)
Installation is correct, but when I try to launch openvpn, I got the following in /var/log/messages:

Mar 16 20:30:05 moulinsart openvpn[2593]: OpenVPN 1.5.0 i386-redhat-linux [SSL] [LZO] [PTHREAD] built on Nov 25 2003
Mar 16 20:30:05 moulinsart openvpn[2593]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mar 16 20:30:05 moulinsart openvpn[2593]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mar 16 20:30:05 moulinsart openvpn[2593]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mar 16 20:30:05 moulinsart openvpn[2593]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mar 16 20:30:05 moulinsart openvpn[2593]: LZO compression initialized
Mar 16 20:30:05 moulinsart modprobe: modprobe: Can't locate module char-major-10-200
Mar 16 20:30:05 moulinsart openvpn[2593]: Note: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
Mar 16 20:30:05 moulinsart openvpn[2593]: Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Mar 16 20:30:05 moulinsart openvpn[2593]: Cannot allocate TUN/TAP dev dynamically
Mar 16 20:30:05 moulinsart openvpn[2593]: Exiting
Mar 16 20:30:05 moulinsart openvpn:  failed

WHAT CAN I DO ???

Phil

#1 lore raw
Quoted 2 lines · pi

Installation is correct, but when I try to launch openvpn, I got the following in /var/log/messages:

...

Quoted 2 lines
Mar 16 20:30:05 moulinsart modprobe: modprobe: Can't locate module 

char-major-10-200

Put "alias char-major-10-200 tun" in /etc/modules.conf

--
Dick St.Peters, [email protected]...

#2 lore raw
In reply to pi

I have to tell you my experience on SuSE distro(s) [Sparc & Intel] worked like a charm. Perhaps if you look at the configure options you can help configure find the ssl headers. For example...

fuego:/tmp/openvpn-1.6_beta1 # ./configure --help
[snip...]
Optional Packages:

  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-ssl-headers=DIR  Crypto/SSL Include files location
  --with-ssl-lib=DIR      Crypto/SSL Library location

[snip...]

Also googling shows you are not alone in having this problem on Redhat, e.g.
http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=redhat+%22checking+for+openssl%2Fssl.h...+no%22&btnG=Google+Search

Good luck...

Quoted 82 lines · On Tue, 16 Mar 2004 20:35:03 +0100 pi <[email protected]...> wrote:

I can really say "I'm not lucky with VPN solutions!!"

First, I tried superfreeswan then openswan then freeswan with kernel compiled for NAT-T support.
In lab, it worked. Over the internet it never worked......... I had no good support neither answers to some of my questions (surely due to bugs)

I discovered today openvpn (tada.....),

first: impossible to install it on my redhat9.0
I always got the message

configure: checking for OpenSSL SSL Library and Header files... checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: error: OpenSSL SSL headers not found.

I have openssl installed on this system:

# rpm -qa|grep ssl
mod_ssl-2.0.40-21.9
openssl-devel-0.9.7a-20
openssl-0.9.7a-20

I post a message on this list but no answer :-((
I tried to attach my config.log to this mail, but there's a limit of 40k/message.

Then I find a RPM package from dag's repository
(http://dag.wieers.com/packages/openvpn/)
Installation is correct, but when I try to launch openvpn, I got the following in /var/log/messages:

Mar 16 20:30:05 moulinsart openvpn[2593]: OpenVPN 1.5.0 
i386-redhat-linux [SSL] [LZO] [PTHREAD] built on Nov 25 2003
Mar 16 20:30:05 moulinsart openvpn[2593]: Static Encrypt: Cipher 
'BF-CBC' initialized with 128 bit key
Mar 16 20:30:05 moulinsart openvpn[2593]: Static Encrypt: Using 160 bit 
message hash 'SHA1' for HMAC authentication
Mar 16 20:30:05 moulinsart openvpn[2593]: Static Decrypt: Cipher 
'BF-CBC' initialized with 128 bit key
Mar 16 20:30:05 moulinsart openvpn[2593]: Static Decrypt: Using 160 bit 
message hash 'SHA1' for HMAC authentication
Mar 16 20:30:05 moulinsart openvpn[2593]: LZO compression initialized
Mar 16 20:30:05 moulinsart modprobe: modprobe: Can't locate module 
char-major-10-200
Mar 16 20:30:05 moulinsart openvpn[2593]: Note: Cannot open TUN/TAP dev 
/dev/net/tun: No such device (errno=19)
Mar 16 20:30:05 moulinsart openvpn[2593]: Note: Attempting fallback to 
kernel 2.2 TUN/TAP interface
Mar 16 20:30:05 moulinsart openvpn[2593]: Cannot allocate TUN/TAP dev 
dynamically
Mar 16 20:30:05 moulinsart openvpn[2593]: Exiting
Mar 16 20:30:05 moulinsart openvpn:  failed

WHAT CAN I DO ???

Phil

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Openvpn-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

#3 lore raw
In reply to pi
Quoted 45 lines · pi

I can really say "I'm not lucky with VPN solutions!!"

First, I tried superfreeswan then openswan then freeswan with kernel compiled for NAT-T support. In lab, it worked. Over the internet it never worked.........
I had no good support neither answers to some of my questions (surely due to bugs)

I discovered today openvpn (tada.....),

first: impossible to install it on my redhat9.0
I always got the message

configure: checking for OpenSSL SSL Library and Header files... checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: error: OpenSSL SSL headers not found.

I have openssl installed on this system:

# rpm -qa|grep ssl
mod_ssl-2.0.40-21.9
openssl-devel-0.9.7a-20
openssl-0.9.7a-20

I post a message on this list but no answer :-((
I tried to attach my config.log to this mail, but there's a limit of 40k/message.

Then I find a RPM package from dag's repository (http://dag.wieers.com/packages/openvpn/)
Installation is correct, but when I try to launch openvpn, I got the following in /var/log/messages:

Mar 16 20:30:05 moulinsart openvpn[2593]: OpenVPN 1.5.0 i386-redhat-linux [SSL] [LZO] [PTHREAD] built on Nov 25 2003
Mar 16 20:30:05 moulinsart openvpn[2593]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mar 16 20:30:05 moulinsart openvpn[2593]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mar 16 20:30:05 moulinsart openvpn[2593]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mar 16 20:30:05 moulinsart openvpn[2593]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mar 16 20:30:05 moulinsart openvpn[2593]: LZO compression initialized
Mar 16 20:30:05 moulinsart modprobe: modprobe: Can't locate module char-major-10-200
Mar 16 20:30:05 moulinsart openvpn[2593]: Note: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
Mar 16 20:30:05 moulinsart openvpn[2593]: Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Mar 16 20:30:05 moulinsart openvpn[2593]: Cannot allocate TUN/TAP dev dynamically
Mar 16 20:30:05 moulinsart openvpn[2593]: Exiting
Mar 16 20:30:05 moulinsart openvpn:  failed
Quoted 1 line

WHAT CAN I DO ???

it should have to run. do you use the default latest rh kernel? if you need I can send an rpm for rh9.
put into your /etc/modules.conf a line:
alias char-major-10-200 tun

Signature · 1 line
  Levente                               "Si vis pacem para bellum!"
#4 lore raw
In reply to pi

I have 'rpmbuild --rebuild'-ed dag's 1.5.0 .src.rpm and have it running with
Mandrake 8.2, RedHat 9 and Fedora Core 1. Then I tryed 1.6.0-test3,4,7, rc1, rc2 and rc3 now. No problems rebuilding and running on all systems. I have not added any aliases in /etc/sysconfig or whatever, only added configs files in /etc/openvpn...

Quoted 20 lines · pi

I can really say "I'm not lucky with VPN solutions!!"

First, I tried superfreeswan then openswan then freeswan with kernel compiled for NAT-T support.
In lab, it worked. Over the internet it never worked......... I had no good support neither answers to some of my questions (surely due to bugs)

I discovered today openvpn (tada.....),

first: impossible to install it on my redhat9.0
I always got the message

configure: checking for OpenSSL SSL Library and Header files... checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: error: OpenSSL SSL headers not found.

Quoted 5 lines

I have openssl installed on this system:

# rpm -qa|grep ssl
mod_ssl-2.0.40-21.9
openssl-devel-0.9.7a-20
openssl-0.9.7a-20

Here they are:
[ pts/18:[email protected]...:~ ]$ rpm -qa \*ssl\*
openssl-0.9.7a-20
mod_ssl-2.0.40-21.9
docbook-style-dsssl-1.76-8
openssl096b-0.9.6b-12
openssl-devel-0.9.7a-20
openssl096-0.9.6-23.9
openssl-perl-0.9.7a-20

[pts/18:[email protected]...:~]$ rpm -q gcc
gcc-3.2.2-5
Quoted 8 lines

I post a message on this list but no answer :-((
I tried to attach my config.log to this mail, but there's a limit of 40k/message.

Then I find a RPM package from dag's repository
(http://dag.wieers.com/packages/openvpn/)

Yep, I just updated to newer sources and --rebuild-ed...

Quoted 25 lines

Installation is correct, but when I try to launch openvpn, I got the following in /var/log/messages:

Mar 16 20:30:05 moulinsart openvpn[2593]: OpenVPN 1.5.0 
i386-redhat-linux [SSL] [LZO] [PTHREAD] built on Nov 25 2003
Mar 16 20:30:05 moulinsart openvpn[2593]: Static Encrypt: Cipher 
'BF-CBC' initialized with 128 bit key
Mar 16 20:30:05 moulinsart openvpn[2593]: Static Encrypt: Using 160 bit 
message hash 'SHA1' for HMAC authentication
Mar 16 20:30:05 moulinsart openvpn[2593]: Static Decrypt: Cipher 
'BF-CBC' initialized with 128 bit key
Mar 16 20:30:05 moulinsart openvpn[2593]: Static Decrypt: Using 160 bit 
message hash 'SHA1' for HMAC authentication
Mar 16 20:30:05 moulinsart openvpn[2593]: LZO compression initialized
Mar 16 20:30:05 moulinsart modprobe: modprobe: Can't locate module 
char-major-10-200
Mar 16 20:30:05 moulinsart openvpn[2593]: Note: Cannot open TUN/TAP dev 
/dev/net/tun: No such device (errno=19)
Mar 16 20:30:05 moulinsart openvpn[2593]: Note: Attempting fallback to 
kernel 2.2 TUN/TAP interface
Mar 16 20:30:05 moulinsart openvpn[2593]: Cannot allocate TUN/TAP dev 
dynamically
Mar 16 20:30:05 moulinsart openvpn[2593]: Exiting
Mar 16 20:30:05 moulinsart openvpn:  failed
Quoted 4 lines

WHAT CAN I DO ???

Phil

See why tun does not load. Loda it by hand 'modprobe'. Do a
'rpmverify openssl-devel-0.9.7a-20' and so on to check your packages and so on. There's something wrong with your system. For me it worked without any problems with Mandrake 8.2, RedHat 9 and Fedora Core 1. I tryed 1.4, 1.5, 1.6-test3,4,7, 1.6-rc1,rc2 and rc3 - no problem at all. (I am still testing it, so I can update with every new test/rc, even 1.4 works with 1.6-rc3)

Signature · 4 lines
Regards,
  Doncho N. Gunchev    Registered Linux User #291323 at counter.li.org
  GPG-Key-ID: 1024D/DA454F79
  Key fingerprint = 684F 688B C508 C609 0371  5E0F A089 CB15 DA45 4F79