LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 03-06-2006, 07:47 AM   #1
skyfly
LQ Newbie
 
Registered: Apr 2004
Location: Johannesburg, South Africa
Distribution: Redhat Fedora Slackware
Posts: 7

Rep: Reputation: 0
OpenVPN tunnel problem


I have two servers, both running Red Hat Enterprise Linux AS release 4. I installed the same distro of OpenVPN on both of them. Both servers config files are the same. However, on the one OpenVPN is up and running without any problems. On the other, the tun device is not recognized. The one that is OK looks like this:

Linux distro: Red Hat Enterprise Linux AS release 4 (Nahant)

OpenVPN distro: openvpn-2.0.2-1.1.fc3.rf

Kernel: 2.6.9-5.EL i686

[root@fw1 dev]# grep TUN /boot/config-2.6.9-5.EL
CONFIG_INET_TUNNEL=m
CONFIG_INET6_TUNNEL=m
CONFIG_IPV6_TUNNEL=m
CONFIG_TUN=m
# CONFIG_8139TOO_TUNE_TWISTER is not set
# CONFIG_ATM_ENI_TUNE_BURST is not set
# CONFIG_TUNER_3036 is not set

[root@fw1 dev]# cd /dev/net
[root@fw1 net]# ls -l
total 0
crw------- 1 root root 10, 200 Feb 24 13:35 tun

The one that does not want to come up looks like this:

Linux distro: Red Hat Enterprise Linux AS release 4 (Nahant Update 2)

OpenVPN distro: openvpn-2.0.2-1.1.fc3.rf

Kernel: 2.6.9-22.0.1.ELsmp x86_64

[root@localhost ~]# grep TUN /boot/config-2.6.9-22.0.1.EL
CONFIG_INET_TUNNEL=m
CONFIG_INET6_TUNNEL=m
CONFIG_IPV6_TUNNEL=m
CONFIG_TUN=m
# CONFIG_8139TOO_TUNE_TWISTER is not set
# CONFIG_ATM_ENI_TUNE_BURST is not set
# CONFIG_TUNER_3036 is not set

[root@localhost ~]# cd /dev/net/
[root@localhost net]# ls -l
total 0
crw------- 1 root root 10, 200 Mar 4 09:25 tun

The error is:
[root@localhost ~]# openvpn --config /etc/openvpn/server.conf
Sat Mar 4 10:46:03 2006 OpenVPN 2.0.2 i386-redhat-linux [SSL] [LZO] [EPOLL] built on Sep 8 2005
Sat Mar 4 10:46:03 2006 Diffie-Hellman initialized with 1024 bit key
Sat Mar 4 10:46:03 2006 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Sat Mar 4 10:46:03 2006 TUN/TAP device opened
Sat Mar 4 10:46:03 2006 Note: Cannot set tx queue length on : No such device (errno=19)
Sat Mar 4 10:46:03 2006 /sbin/ip link set dev up mtu 1500
SIOCSIFMTU: No such device
Sat Mar 4 10:46:03 2006 Linux ip link set failed: shell command exited with error status: 255
Sat Mar 4 10:46:03 2006 Exiting

There is a space where the device name should be. I have tried numerous times, but nothing. Anyone have an idea how to fix this?
 
Old 04-12-2006, 12:56 AM   #2
filex
Member
 
Registered: Sep 2004
Posts: 56

Rep: Reputation: 15
Can u post ur servers.conf file please?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 03:20 AM
Problem with OpenVPN eantoranz Linux - Networking 8 10-10-2005 05:49 PM
OpenVPN config problem linuxpyro Linux - Networking 7 10-07-2005 08:12 PM
openvpn and shorewall problem from outside network nbccbn Linux - Networking 1 07-12-2005 02:24 AM
OpenVPN Routing problem groetschel Linux - Networking 4 04-28-2004 05:07 AM


All times are GMT -5. The time now is 09:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration